Hi, you've modified the wml-ebuild a few days ago, so I just assigned this bug to you. Sorry if this isn't the Right Thing. The ebuild fails to build. Please see the attached log for details. Reverting parts of your change to the ebuild (namely unsetting CFLAGS and CC) works for me, and the installation goes through without problems. I've attached the diff for the current ebuild to make things work again. Cheers, Tobias
Created attachment 20903 [details] The log of the failed ebuild
Created attachment 20904 [details, diff] wml-2.0.9.ebuild.diff
your patch just reverts the package back to the way it was ... using those 2 variables is exactly what i was trying to accomplish ... the auto commands in src_unpack() should have taken care of the configure bugs ... could you verify you have a bunch of autoconf calls in your src_unpack ... if you do, please post this info: emerge info qpkg -I -v auto
Hi, using the CFLAGS and CC variables would be nice, and I understand that you tried to enable them again. To clarify: I did use your ebuild with the newly added src_unpack() function, the only thing I changed is the unsetting of CFLAGS and CC in src_compile(). As you requested, I'll include some more info below. bash-2.05b$ emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(TM) XP 2400+ Gentoo Base System version 1.4.3.10p1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts tetex bonobo svga tcltk java guile ruby mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla gphoto2 cdr apache2 dvd emacs fbcon gtk2 hbci imap ipv6 pda ruby18 tiff usb wmf wxwindows xml" bash-2.05b$ qpkg -I -v auto sys-devel/automake-1.7.5-r2 * sys-devel/autoconf-2.57-r1 * Cheers, Tobias
ok, seems that autoconf-2.58 will do this the right way but autoconf-2.57 will not i setup the ebuild so that if 2.57 is found CC and CFLAGS are unset, otherwise they're used