On Die, 2006-03-14 at 13:27 -0800, Jim Gifford wrote: > Jürg Billeter wrote: > > On Die, 2006-03-14 at 14:10 +0100, Jürg Billeter wrote: > > > > Short preliminary report after rebuilding the base system (about 240 > > packages). Following problems found so far: > > > > - dvd+rw-tools: /\b__user/ matched a struct in linux/capability.h whose > > name starts with __user. Fixed that by using /\b__user\b/ > > > > - iproute2: Uses linux/if.h and linux/ip.h instead of net/if.h and > > netinet/ip.h. > > > > - nmap: Uses linux/if.h instead of net/if.h. > > > > - openssh: do. > > > > - ifplugd: similar > > > > - ifmetric: similar > > > > - rp-pppoe: Need to add -D_BSD_SOURCE to CFLAGS to get the definition of > > struct ifreq from net/if.h > > > > - strace: Need to remove a linux-specific workaround. > > > > - netinet/ip.h can be used instead of linux/ip.h > > > Is there anything I can add to the script to get around some of these > issues? > Or is this a upstream patch sceario
Those are upstream bugs, IMO. Opinions may differ but as replacing non-portable headers (linux/...) with POSIX compliant headers (netinet/..., net/...) fixes the problems, I don't think the script should be changed. BTW: These package were built with headers from my script, i.e. with a lot of headers removed; it may well be that some problems don't arise with a full blown kernel header set, as you got duplicated content there. Jürg -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page