Summary: | wireless-tools-26_pre9 fails | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | merwan kashouty <mkashouty> |
Component: | Git | Assignee: | Peter Johanson (RETIRED) <latexer> |
Status: | VERIFIED FIXED | ||
Severity: | major | CC: | chadh, david+gentoo.org, pvdabeel |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
merwan kashouty
2003-05-28 14:31:18 UTC
here is the output from emerge info Portage 2.0.48 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-wolk4.0s-pre-final i686 Pentium II (Deschutes) GENTOO_MIRRORS="ftp://ftp.uninett.no/linux/Gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://gentoo.oregonstat$ CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" $f mpeg ncurses nls oggvorbis opengl pdflib png qt quicktime sdl spell svga truetype X xml2 xmms xv zlib gdbm berkdb slang $ COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium2 -O3 -pipe" CXXFLAGS="-march=pentium2 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" The problem stems from the use of the variable $WARN in the ebuild system. $WARN also exists in the wireless-tools Makefile. $WARN contains the ANSI codes for bold/yellow. The following patch fixes up the problem. --- /usr/portage/net-wireless/wireless-tools/wireless-tools-26_pre9.ebuild~ 2003-05-29 19:37:53.051755434 -0400 +++ /usr/portage/net-wireless/wireless-tools/wireless-tools-26_pre9.ebuild 2003-05-29 19:59:37.417644158 -0400 @@ -21,10 +21,12 @@ check_KV mv Makefile ${T} - sed -e "s:# KERNEL_SRC:KERNEL_SRC:" \ + sed -e "s:# KERNEL_SRC:KERNEL_SRC:" -e "s:WARN:WT_WARN:g" \ ${T}/Makefile > Makefile } src_compile() { Maybe the ebuild system should prefix it's specific variables with GENTOO_ to avoid clashes in the future? I.E. $GENTOO_WARN Please apply this patch so we can mark this fixed/resolved. Fixed all of the _preX ebuilds. Will those peole getting errors please test the latest stable wireless tools package to see if the same fix is required? i won't have time til tomorrow to go digging for that info myself. latexer that stable wireless-tools-25-r1 emerges just fine here i patched the "~x86" with the above... thought he patch failed for me ... i just edited the line... but anyway it built fine after that I fixed this bug yesterday by adding an extra WARN="" to the line emake CFLAGS="${CFLAGS}" Bugzilla is being weird again... |