From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-October/008583.html | 99 +++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-October/008583.html (limited to 'zarb-ml/mageia-dev/2011-October/008583.html') diff --git a/zarb-ml/mageia-dev/2011-October/008583.html b/zarb-ml/mageia-dev/2011-October/008583.html new file mode 100644 index 000000000..7a8d2bfd7 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-October/008583.html @@ -0,0 +1,99 @@ + + + + [Mageia-dev] Building ldetect on Cauldron is broken. + + + + + + + + + +

[Mageia-dev] Building ldetect on Cauldron is broken.

+ D.Morgan + dmorganec at gmail.com +
+ Sat Oct 1 13:14:00 CEST 2011 +

+
+ +
On Sat, Oct 1, 2011 at 12:16 PM, Shlomi Fish <shlomif at shlomifish.org> wrote:
+> Hi all,
+>
+> building ldetect on Cauldron is broken:
+>
+> [Q]
+> cc -shared -Wl,-z,relro -Wl,-O1,-soname,libldetect.so.0.11 -o libldetect.so.0.11.1 common.o hid.o modalias.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o sysfs_attr.o sysfs_utils.o names.o -lpci -lmodprobe -lz
+> ar -cru libldetect.a common.o hid.o modalias.o pciusb.o pci.o usb.o pciclass.o usbclass.o dmi.o sysfs_attr.o sysfs_utils.o names.o
+> ranlib libldetect.a
+> ln -sf libldetect.so.0.11.1 libldetect.so.0.11
+> ln -sf libldetect.so.0.11 libldetect.so
+> cc -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden -g    lspcidrake.c libldetect.so   -o lspcidrake
+> lspcidrake.c: In function ‘main’:
+> lspcidrake.c:107:2: warning: suggest parentheses around ‘&&’ within ‘||’
+> libldetect.so: undefined reference to `read_toplevel_config'
+> libldetect.so: undefined reference to `read_config'
+> collect2: ld returned 1 exit status
+> make: *** [lspcidrake] Error 1
+> error: Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
+>
+>
+> RPM build errors:
+>    Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
+> error: failed!
+> shlomif[rpms]:$mageia/ldetect$
+> [/Q]
+>
+> Apparently, modprobe.so no longer contains "read_toplevel_config" (which isn't even in the header file) or "read_config" (which is in a patch to the header file added on Mageia, but no longer defined in the sources themselves), and as a result, building ldetect fails. Seems like we have introduced a non-blessed API of modprobe.so.
+>
+> This prevents upgrading kdiff3 and many other packages.
+>
+> Regards,
+>
+>        Shlomi Fish
+
+tvignaud is working on it, he just need to finish to port iirc.
+
+I add thierry as cc: of this mail to have his input about this.
+
+ + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1