1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Building ldetect on Cauldron is broken.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Building%20ldetect%20on%20Cauldron%20is%20broken.&In-Reply-To=%3CCAL%2BdqvCdCJrehGVV%3DKOqTn1zwr_4zcW4ScQaoL_vViaxfNyK_w%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008582.html">
<LINK REL="Next" HREF="008584.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Building ldetect on Cauldron is broken.</H1>
<B>D.Morgan</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Building%20ldetect%20on%20Cauldron%20is%20broken.&In-Reply-To=%3CCAL%2BdqvCdCJrehGVV%3DKOqTn1zwr_4zcW4ScQaoL_vViaxfNyK_w%40mail.gmail.com%3E"
TITLE="[Mageia-dev] Building ldetect on Cauldron is broken.">dmorganec at gmail.com
</A><BR>
<I>Sat Oct 1 13:14:00 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="008582.html">[Mageia-dev] Building ldetect on Cauldron is broken.
</A></li>
<LI>Next message: <A HREF="008584.html">[Mageia-dev] [changelog] [RPM] cauldron core/release unetbootin-0-0.555.mga2
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8583">[ date ]</a>
<a href="thread.html#8583">[ thread ]</a>
<a href="subject.html#8583">[ subject ]</a>
<a href="author.html#8583">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sat, Oct 1, 2011 at 12:16 PM, Shlomi Fish <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>> wrote:
><i> Hi all,
</I>><i>
</I>><i> building ldetect on Cauldron is broken:
</I>><i>
</I>><i> [Q]
</I>><i> 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
</I>><i> 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
</I>><i> ranlib libldetect.a
</I>><i> ln -sf libldetect.so.0.11.1 libldetect.so.0.11
</I>><i> ln -sf libldetect.so.0.11 libldetect.so
</I>><i> cc -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden -g    lspcidrake.c libldetect.so   -o lspcidrake
</I>><i> lspcidrake.c: In function ‘main’:
</I>><i> lspcidrake.c:107:2: warning: suggest parentheses around ‘&&’ within ‘||’
</I>><i> libldetect.so: undefined reference to `read_toplevel_config'
</I>><i> libldetect.so: undefined reference to `read_config'
</I>><i> collect2: ld returned 1 exit status
</I>><i> make: *** [lspcidrake] Error 1
</I>><i> error: Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
</I>><i>
</I>><i>
</I>><i> RPM build errors:
</I>><i>    Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
</I>><i> error: failed!
</I>><i> shlomif[rpms]:$mageia/ldetect$
</I>><i> [/Q]
</I>><i>
</I>><i> 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.
</I>><i>
</I>><i> This prevents upgrading kdiff3 and many other packages.
</I>><i>
</I>><i> Regards,
</I>><i>
</I>><i>        Shlomi Fish
</I>
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.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008582.html">[Mageia-dev] Building ldetect on Cauldron is broken.
</A></li>
<LI>Next message: <A HREF="008584.html">[Mageia-dev] [changelog] [RPM] cauldron core/release unetbootin-0-0.555.mga2
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8583">[ date ]</a>
<a href="thread.html#8583">[ thread ]</a>
<a href="subject.html#8583">[ subject ]</a>
<a href="author.html#8583">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|