* [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released
@ 2014-01-17 14:28 Michael Olbrich
2014-01-18 12:47 ` Matthias Klein
0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2014-01-17 14:28 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 2102 bytes --]
Hi,
I'm happy to announce that I've just released ptxdist-2014.01.0.
Like last month this is mostly a bugfix release.
There is one significant change: We have a new 'staging' submenu. This is
for packages that are not really maintained and are starting to break. I've
started to move packages there that break e.g. with a new toolchain and I
don't care enough about them to fix it. Unless someone steps up steps up
and fixes them, these packages are removed after one year.
Thanks to all contributors and - as always - the shortlog below.
Enjoy,
Michael
Juergen Beisert (5):
PTXdist: remove useless and unmaintained files
Valgrind: adjust the menu help text a little bit
Staging: just fix a typo
lowpan-tools: ensure proper Python handling
lowpan-tools: avoid the -Werror use
Jürgen Beisert (3):
Valgrind requires a kernel version to work
PTXdist: reality check
Simple-Makefile-Template: fix missing version number
Markus Pargmann (1):
host-xz: Don't build with shared libs
Michael Olbrich (16):
rc-once: enter rescue mode if rc-once fails
introduce staging menu
mplayer: move to staging
gstreamer: add upstream patch to fix building with bison 3
upstart: move to staging
sqlite: don't forget CROSS_ENV in SQLITE_CONF_ENV
jvisu: enforce correct encoding
acpid: move to staging
grep: version bump 2.5.3 -> 2.16
setup: sync Kconfig and ptxdistrc.default
libsndfile: use the default large file check macro
libsndfile: create a proper autogen.sh
pre/Rules: readd CC/CXX to HOST_ENV
icu: version bump 50.1 -> 52.1
icu: --enable-tools is needed for libicutu
host-glib: fix sysroot fixup
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released
2014-01-17 14:28 [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released Michael Olbrich
@ 2014-01-18 12:47 ` Matthias Klein
2014-01-20 9:14 ` Jürgen Beisert
2014-01-20 9:39 ` [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains Jürgen Beisert
0 siblings, 2 replies; 6+ messages in thread
From: Matthias Klein @ 2014-01-18 12:47 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 2604 bytes --]
Hello Michael,
with the new ptxdist release udev does not build. (The same as with
ptxdist 2013.12.0)
You wrote that you have a patch floating around somewhere to link udev
with librt.
Do you still have that patch, or do we need to make a new patch ?
Best regards,
Matthias
------ Originalnachricht ------
Von: "Michael Olbrich" <m.olbrich@pengutronix.de>
An: ptxdist@pengutronix.de
Gesendet: 17.01.2014 15:28:28
Betreff: [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released
>Hi,
>
>I'm happy to announce that I've just released ptxdist-2014.01.0.
>Like last month this is mostly a bugfix release.
>
>There is one significant change: We have a new 'staging' submenu. This
>is
>for packages that are not really maintained and are starting to break.
>I've
>started to move packages there that break e.g. with a new toolchain and
>I
>don't care enough about them to fix it. Unless someone steps up steps
>up
>and fixes them, these packages are removed after one year.
>
>Thanks to all contributors and - as always - the shortlog below.
>
>Enjoy,
>Michael
>
>
>Juergen Beisert (5):
> PTXdist: remove useless and unmaintained files
> Valgrind: adjust the menu help text a little bit
> Staging: just fix a typo
> lowpan-tools: ensure proper Python handling
> lowpan-tools: avoid the -Werror use
>
>Jürgen Beisert (3):
> Valgrind requires a kernel version to work
> PTXdist: reality check
> Simple-Makefile-Template: fix missing version number
>
>Markus Pargmann (1):
> host-xz: Don't build with shared libs
>
>Michael Olbrich (16):
> rc-once: enter rescue mode if rc-once fails
> introduce staging menu
> mplayer: move to staging
> gstreamer: add upstream patch to fix building with bison 3
> upstart: move to staging
> sqlite: don't forget CROSS_ENV in SQLITE_CONF_ENV
> jvisu: enforce correct encoding
> acpid: move to staging
> grep: version bump 2.5.3 -> 2.16
> setup: sync Kconfig and ptxdistrc.default
> libsndfile: use the default large file check macro
> libsndfile: create a proper autogen.sh
> pre/Rules: readd CC/CXX to HOST_ENV
> icu: version bump 50.1 -> 52.1
> icu: --enable-tools is needed for libicutu
> host-glib: fix sysroot fixup
>
>
>--
>Pengutronix e.K. | |
>Industrial Linux Solutions | http://www.pengutronix.de/ |
>Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
>Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[-- Attachment #1.2: Type: text/html, Size: 5254 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released
2014-01-18 12:47 ` Matthias Klein
@ 2014-01-20 9:14 ` Jürgen Beisert
2014-01-20 9:39 ` [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains Jürgen Beisert
1 sibling, 0 replies; 6+ messages in thread
From: Jürgen Beisert @ 2014-01-20 9:14 UTC (permalink / raw)
To: ptxdist, Matthias Klein
Hi Matthias,
On Saturday 18 January 2014 13:47:11 Matthias Klein wrote:
> with the new ptxdist release udev does not build. (The same as with
> ptxdist 2013.12.0)
This only happens in conjunction with the new toolchain release 2013.12 and the
option "[*] Link only needed libraries (ld --as-needed)". Older toolchains do
not complain.
> You wrote that you have a patch floating around somewhere to link udev
> with librt.
> Do you still have that patch, or do we need to make a new patch ?
The patch could be more or less trivial. This is one way:
diff --git a/configs/platform-friendlyarm-mini2440/rules/udev.make b/configs/platform-friendlyarm-mini2440/rules/udev.make
index bbdf76b..9786b9f 100644
--- a/rules/udev.make
+++ b/rules/udev.make
@@ -44,6 +44,7 @@ UDEV_LICENSE := GPLv2
#
UDEV_CONF_ENV := \
$(CROSS_ENV) \
+ LIBS=-lrt \
CPPFLAGS="-I$(KERNEL_HEADERS_INCLUDE_DIR) $(CROSS_CPPFLAGS)"
UDEV_CONF_TOOL := autoconf
But a correct patch which fixes *why* the librt is missing would be much
better.
jbe
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains
2014-01-18 12:47 ` Matthias Klein
2014-01-20 9:14 ` Jürgen Beisert
@ 2014-01-20 9:39 ` Jürgen Beisert
2014-01-20 9:55 ` Uwe Kleine-König
2014-01-20 13:50 ` [ptxdist] [PATCHv2] " Juergen Beisert
1 sibling, 2 replies; 6+ messages in thread
From: Jürgen Beisert @ 2014-01-20 9:39 UTC (permalink / raw)
To: ptxdist, Matthias Klein
udev: standalone variant fails to build with newer toolchains
udev cannot be linked due to the use of the 'mq_getattr' call which requires
librt to link successfully.
The configure script already checks for "clock_gettime" in order to add librt
to the list of required libraries. This is valid only (according to the manual
page) for glibc version before 2.17. With the new glibc-2.18 in the 2013.12
toolchain librt isn't required anymore.
This patch adds a second test for 'mq_getattr' to force the librt for newer
glibc revisions as well.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
diff --git a/patches/udev-182/0001-fix_librt_detection.diff.patch b/patches/udev-182/0001-fix_librt_detection.diff.patch
new file mode 100644
index 0000000..6c0adb3
--- /dev/null
+++ b/patches/udev-182/0001-fix_librt_detection.diff.patch
@@ -0,0 +1,32 @@
+From: Juergen Beisert <jbe@pengutronix.de>
+Date: Mon, 20 Jan 2014 10:23:36 +0100
+Subject: [PATCH] udev: standalone variant fails to link with glibc >= 2.17
+
+udev cannot be linked due to the use of the 'mq_getattr' call which requires
+librt to link successfully.
+
+The configure script already checks for "clock_gettime" in order to add librt
+to the list of required libraries. This is valid only (according to the manual
+page) for glibc version before 2.17.
+
+This patch adds a second test for 'mq_getattr' to force the librt for newer
+glibc revisions as well.
+
+Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
+
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index b31b62f..6717c65 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -22,6 +22,7 @@ AC_PATH_PROG([XSLTPROC], [xsltproc])
+ AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)
+
+ AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([POSIX RT library not found])])
++AC_SEARCH_LIBS([mq_getattr], [rt], [], [AC_MSG_ERROR([POSIX RT library not found])])
+
+ PKG_CHECK_MODULES(BLKID, blkid >= 2.20)
+
diff --git a/patches/udev-182/autogen.sh b/patches/udev-182/autogen.sh
new file mode 120000
index 0000000..9f8a4cb
--- /dev/null
+++ b/patches/udev-182/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/patches/udev-182/series b/patches/udev-182/series
new file mode 100644
index 0000000..183c801
--- /dev/null
+++ b/patches/udev-182/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-fix_librt_detection.diff.patch
+# 99ddc8b7d8ec9b67ad77e0d42118f015 - git-ptx-patches magic
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains
2014-01-20 9:39 ` [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains Jürgen Beisert
@ 2014-01-20 9:55 ` Uwe Kleine-König
2014-01-20 13:50 ` [ptxdist] [PATCHv2] " Juergen Beisert
1 sibling, 0 replies; 6+ messages in thread
From: Uwe Kleine-König @ 2014-01-20 9:55 UTC (permalink / raw)
To: ptxdist; +Cc: Matthias Klein
Hello Jürgen,
On Mon, Jan 20, 2014 at 10:39:04AM +0100, Jürgen Beisert wrote:
> udev: standalone variant fails to build with newer toolchains
>
> udev cannot be linked due to the use of the 'mq_getattr' call which requires
> librt to link successfully.
>
> The configure script already checks for "clock_gettime" in order to add librt
> to the list of required libraries. This is valid only (according to the manual
> page) for glibc version before 2.17. With the new glibc-2.18 in the 2013.12
> toolchain librt isn't required anymore.
>
> This patch adds a second test for 'mq_getattr' to force the librt for newer
> glibc revisions as well.
>
> Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
For easy application here a --- is missing I think.
>
> diff --git a/patches/udev-182/0001-fix_librt_detection.diff.patch b/patches/udev-182/0001-fix_librt_detection.diff.patch
> new file mode 100644
> index 0000000..6c0adb3
> --- /dev/null
> +++ b/patches/udev-182/0001-fix_librt_detection.diff.patch
> @@ -0,0 +1,32 @@
> +From: Juergen Beisert <jbe@pengutronix.de>
> +Date: Mon, 20 Jan 2014 10:23:36 +0100
> +Subject: [PATCH] udev: standalone variant fails to link with glibc >= 2.17
> +
> +udev cannot be linked due to the use of the 'mq_getattr' call which requires
> +librt to link successfully.
> +
> +The configure script already checks for "clock_gettime" in order to add librt
> +to the list of required libraries. This is valid only (according to the manual
> +page) for glibc version before 2.17.
> +
> +This patch adds a second test for 'mq_getattr' to force the librt for newer
> +glibc revisions as well.
> +
> +Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
There is
http://cgit.freedesktop.org/systemd/systemd/commit/?id=e17187091d463ad008c0b74eb04de5078b2abb96
in upstream for v196.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
* [ptxdist] [PATCHv2] udev: standalone variant fails to build with newer toolchains
2014-01-20 9:39 ` [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains Jürgen Beisert
2014-01-20 9:55 ` Uwe Kleine-König
@ 2014-01-20 13:50 ` Juergen Beisert
1 sibling, 0 replies; 6+ messages in thread
From: Juergen Beisert @ 2014-01-20 13:50 UTC (permalink / raw)
To: ptxdist
udev cannot be linked due to the use of the 'mq_getattr' call which requires
librt to link successfully.
The configure script already checks for 'clock_gettime' in order to add librt
to the list of required libraries. This is valid only (according to the manual
page) for glibc version before 2.17. With the new glibc-2.18 in the 2013.12
toolchain librt isn't required anymore for 'clock_gettime' and that is why
librt is omitted and linking fails.
This change uses the upstream patch from the systemd repository.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
diff --git a/patches/udev-182/0001-configure.ac-fix-FTBFS-with-new-glibc.patch b/patches/udev-182/0001-configure.ac-fix-FTBFS-with-new-glibc.patch
new file mode 100644
index 0000000..4e89308
--- /dev/null
+++ b/patches/udev-182/0001-configure.ac-fix-FTBFS-with-new-glibc.patch
@@ -0,0 +1,28 @@
+From: Michal Schmidt <mschmidt@redhat.com>
+Date: Wed, 14 Nov 2012 13:44:05 +0000
+Subject: [PATCH] configure.ac: fix FTBFS with new glibc
+
+glibc moved clock_* functions from librt to the core libc. As a result,
+clock_gettime is no more a suitable symbol to use when finding librt.
+Look for mq_open instead.
+Reference:
+http://www.sourceware.org/git/gitweb.cgi?p=glibc.git&h=6e6249d0b461b952d0f544792372663feb6d792a
+
+Fixes a FTBFS in Fedora Rawhide.
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index b31b62f..b9a36e6 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -21,7 +21,7 @@ AC_PREFIX_DEFAULT([/usr])
+ AC_PATH_PROG([XSLTPROC], [xsltproc])
+ AM_CONDITIONAL(HAVE_XSLTPROC, test x"$XSLTPROC" != x)
+
+-AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([POSIX RT library not found])])
++AC_SEARCH_LIBS([mq_open], [rt], [], [AC_MSG_ERROR([POSIX RT library not found])])
+
+ PKG_CHECK_MODULES(BLKID, blkid >= 2.20)
+
diff --git a/patches/udev-182/autogen.sh b/patches/udev-182/autogen.sh
new file mode 120000
index 0000000..9f8a4cb
--- /dev/null
+++ b/patches/udev-182/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/patches/udev-182/series b/patches/udev-182/series
new file mode 100644
index 0000000..1c17f15
--- /dev/null
+++ b/patches/udev-182/series
@@ -0,0 +1,4 @@
+# generated by git-ptx-patches
+#tag:base --start-number 1
+0001-configure.ac-fix-FTBFS-with-new-glibc.patch
+# be5cd22057d8bd81ce6afd40df0f051d - git-ptx-patches magic
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-20 13:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-17 14:28 [ptxdist] [ANNOUNCE] PTXdist 2014.01.0 released Michael Olbrich
2014-01-18 12:47 ` Matthias Klein
2014-01-20 9:14 ` Jürgen Beisert
2014-01-20 9:39 ` [ptxdist] [PATCH] udev: standalone variant fails to build with newer toolchains Jürgen Beisert
2014-01-20 9:55 ` Uwe Kleine-König
2014-01-20 13:50 ` [ptxdist] [PATCHv2] " Juergen Beisert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox