Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33744 - wml-2.0.9.ebuild fails to build
Summary: wml-2.0.9.ebuild fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 04:10 UTC by Dr. Tobias Quathamer
Modified: 2003-11-24 09:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The log of the failed ebuild (wml.log,14.96 KB, text/plain)
2003-11-18 04:11 UTC, Dr. Tobias Quathamer
Details
wml-2.0.9.ebuild.diff (wml-2.0.9.ebuild.diff,384 bytes, patch)
2003-11-18 04:11 UTC, Dr. Tobias Quathamer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Tobias Quathamer 2003-11-18 04:10:48 UTC
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
Comment 1 Dr. Tobias Quathamer 2003-11-18 04:11:22 UTC
Created attachment 20903 [details]
The log of the failed ebuild
Comment 2 Dr. Tobias Quathamer 2003-11-18 04:11:44 UTC
Created attachment 20904 [details, diff]
wml-2.0.9.ebuild.diff
Comment 3 SpanKY gentoo-dev 2003-11-18 06:28:53 UTC
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
Comment 4 Dr. Tobias Quathamer 2003-11-18 07:11:40 UTC
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
Comment 5 SpanKY gentoo-dev 2003-11-24 09:39:43 UTC
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