| Summary: | libwww fails to compile. Has a problem with autoconf/automake. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Andrew MacKenzie <amackenz-gentoo> |
| Component: | Current packages | Assignee: | Text-Markup Team (OBSOLETE) <text-markup+disabled> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | r.moesbergen, vapier |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Andrew MacKenzie
2004-02-17 15:29:50 UTC
exact same issue here. tried disabling distcc and made no difference (didn't think it would). enti conf # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2-rc1-gentoo) ================================================================= System uname: 2.6.2-rc1-gentoo i686 AMD-K7(tm) Processor Gentoo Base System version 1.4.3.13 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo" MAKEOPTS="-j4" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="3dnow X aalib alsa apache2 apm avi berkdb cdr crypt cups curl dga dvd dvdr encode esd evms2 faad flash foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 imap imlib ipv6 java jpeg kde kerberos libg++ libwww lirc mad matroska mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcpd tiff truetype v4l wxwindows x86 xml2 xmms xosd xv xvid zlib" i was able to emerge libwww-5.4.0-r2, which has the patch libwww-5.4.0-debian-autoconf-2.5.patch.bz2 included. since the emerge of r1 fails without the patch, i feel r2 should be unmasked. This is related to bug #40892. Seems these all occur because patches against configure.in are present in the ebuild and therefore autoconf is forced to run. If there is a problem with the autoconf installation (e.g., wrong version) the build fails. Maybe the thing to do is to include diffs against both configure.in and configure if configure.in needs changes. This is consistent with distributing both configure.in and configure in the source tarballs. SpanKY: could you have a look at this bug, please? well if -r1 is causing problems but the new -r2 seems to fix autotool issues, why not just unmask it ? :) Alright, I unmasked libwww-5.4.0-r2. Hope I didn't break anything ;) Hi. This bug is still a problem, as described in this forum thread: http://forums.gentoo.org/viewtopic.php?p=976715 okay, I reopen it. The problem is I cannot reproduce the bug on my machine :-( Thanks for reopening it. I can tell you the exact cause of the problem - on line 45 of the Makefile.am for libwww, there is a rule with a commented out section that is tabbed in. Later versions of automake say that a tabbed-in comment is unportable. I am pretty sure that removing the tab before the # for the comment (ie aligning it back to the left) will fix this, or just removing the line completely (line 45). Hope that helps, thanks for assisting. Thanks for the comment. I added a patch to remove the line. Please run `emerge sync` and report back if it works or not. Yep that did the trick - compiles a treat now. Thanks for all the help! |