Gentoo Archives: gentoo-alt

From: Johan Hattne <jhattne@×××.gov>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] sys-apps/net-tools-1.60_p20120127084908 build fail on prefix
Date: Thu, 22 Mar 2012 21:08:34
Message-Id: F1690636-7CA0-4658-ACDC-510C93FF9DB1@lbl.gov
In Reply to: Re: [gentoo-alt] sys-apps/net-tools-1.60_p20120127084908 build fail on prefix by Jeremy Olexa
1 I saw this problem on an old Fedora last week, but I haven't gotten around to follow up on it. Here's a works-for-me patch for net-tools-1.60_p20111120203157 and net-tools-1.60_p20120127084908.
2
3 See http://forum.soft32.com/linux/headers-linux-atm-userspace-build-broken-recent-change-__be1-ftopict338634.html, and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=433962
4 --- lib/fddi.c.orig 2011-11-20 17:31:57.000000000 -0800
5 +++ lib/fddi.c 2012-03-07 17:49:14.858321930 -0800
6 @@ -26,6 +26,7 @@
7 #error "No FDDI Support in your current Kernelsource Tree."
8 #error "Disable HW Type FDDI"
9 #endif
10 +#include <linux/types.h>
11 #if __GLIBC__ >= 2
12 #include <netinet/if_fddi.h>
13 #else
14
15 I guess this is fixed in more recent kernel headers?
16
17 // Johan
18
19
20 On 22 Mar 2012, at 08:55, Jeremy Olexa wrote:
21
22 > (top posting to avoid confusion)
23 >
24 > Hello,
25 >
26 > The proper place to document and work on build failures is with
27 > bugs.gentoo.org. If a package is missing a dependancy then we can
28 > forward it to the proper dev.
29 > https://bugs.gentoo.org/enter_bug.cgi?product=Gentoo%2FAlt (select
30 > 'Prefix Support')
31 >
32 > Thanks,
33 > Jeremy
34 >
35 > On Thu, Mar 22, 2012 at 9:33 AM, Nicolas Pinto <nicolas.pinto@×××××.com> wrote:
36 >> Brent,
37 >>
38 >> I got similar issues a while back, here is something you could try
39 >> before emerging net-tools:
40 >> https://github.com/npinto/gentoo-prefix-bootstrap/blob/master/system.mk#L168
41 >>
42 >> HTH
43 >>
44 >> N
45 >>
46 >> On Thu, Mar 22, 2012 at 3:27 PM, Brent Millare <brent.millare@×××××.com> wrote:
47 >>> Hello,
48 >>>
49 >>> I'm following the solaris guide for installing gentoo prefix on a red hat
50 >>> system.
51 >>>
52 >>> /home/bmillare/gentoo-prefix/var/tmp/portage/sys-apps/net-tools-1.60_p20120127084908/temp/build.log
53 >>> http://pastebin.com/ytrCrYBE
54 >>>
55 >>> /home/bmillare/gentoo-prefix/var/tmp/portage/sys-apps/net-tools-1.60_p20120127084908/temp/environment
56 >>> http://pastebin.com/MhB695uS
57 >>>
58 >>> /home/bmillare/gentoo-prefix/var/tmp/portage/sys-apps/net-tools-1.60_p20120127084908/work/net-tools-1.60_p20120127084908
59 >>> http://pastebin.com/imuGuBuv
60 >>>
61 >>> Anyone know how to fix this?
62 >>>
63 >>> Thanks,
64 >>> Brent