summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-October/008583.html
blob: 7a8d2bfd74a12b6591cb57aad90cc56fbc2e737b (plain)
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 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">shlomif at shlomifish.org</A>&gt; wrote:
&gt;<i> Hi all,
</I>&gt;<i>
</I>&gt;<i> building ldetect on Cauldron is broken:
</I>&gt;<i>
</I>&gt;<i> [Q]
</I>&gt;<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>&gt;<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>&gt;<i> ranlib libldetect.a
</I>&gt;<i> ln -sf libldetect.so.0.11.1 libldetect.so.0.11
</I>&gt;<i> ln -sf libldetect.so.0.11 libldetect.so
</I>&gt;<i> cc -Wall -W -Wstrict-prototypes -Os -fPIC -fvisibility=hidden -g &#160; &#160;lspcidrake.c libldetect.so &#160; -o lspcidrake
</I>&gt;<i> lspcidrake.c: In function &#8216;main&#8217;:
</I>&gt;<i> lspcidrake.c:107:2: warning: suggest parentheses around &#8216;&amp;&amp;&#8217; within &#8216;||&#8217;
</I>&gt;<i> libldetect.so: undefined reference to `read_toplevel_config'
</I>&gt;<i> libldetect.so: undefined reference to `read_config'
</I>&gt;<i> collect2: ld returned 1 exit status
</I>&gt;<i> make: *** [lspcidrake] Error 1
</I>&gt;<i> error: Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
</I>&gt;<i>
</I>&gt;<i>
</I>&gt;<i> RPM build errors:
</I>&gt;<i> &#160; &#160;Bad exit status from /home/shlomif/Download/unpack/Mandriva/Mageia/ldetect/BUILDROOT/rpm-tmp.4rz0ZF (%build)
</I>&gt;<i> error: failed!
</I>&gt;<i> shlomif[rpms]:$mageia/ldetect$
</I>&gt;<i> [/Q]
</I>&gt;<i>
</I>&gt;<i> Apparently, modprobe.so no longer contains &quot;read_toplevel_config&quot; (which isn't even in the header file) or &quot;read_config&quot; (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>&gt;<i>
</I>&gt;<i> This prevents upgrading kdiff3 and many other packages.
</I>&gt;<i>
</I>&gt;<i> Regards,
</I>&gt;<i>
</I>&gt;<i> &#160; &#160; &#160; &#160;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>