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/008582.html | 104 ++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-October/008582.html (limited to 'zarb-ml/mageia-dev/2011-October/008582.html') diff --git a/zarb-ml/mageia-dev/2011-October/008582.html b/zarb-ml/mageia-dev/2011-October/008582.html new file mode 100644 index 000000000..bdd14e219 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-October/008582.html @@ -0,0 +1,104 @@ + + + + [Mageia-dev] Building ldetect on Cauldron is broken. + + + + + + + + + +

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

+ Shlomi Fish + shlomif at shlomifish.org +
+ Sat Oct 1 12:16:38 CEST 2011 +

+
+ +
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
+
+-- 
+-----------------------------------------------------------------
+Shlomi Fish       http://www.shlomifish.org/
+The Case for File Swapping - http://shlom.in/file-swap
+
+If Botticelli were alive today, he’d be working for Vogue.
+    — http://en.wikiquote.org/wiki/Peter_Ustinov
+
+Please reply to list if it's a mailing list post - http://shlom.in/reply .
+
+ + + + + + + + +
+

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