Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152853 - net-libs/libwww 5.4.0-r7 compilation automake failed...
Summary: net-libs/libwww 5.4.0-r7 compilation automake failed...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 152953 153142 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-26 00:57 UTC by Jiri Tyr
Modified: 2006-10-28 07:16 UTC (History)
9 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2006-10-26 00:57:44 UTC
I have tried to upgrade libwww up to the version 5.4.0-r7 and it failed with this error:

 * Done with patching
 * Running eautoreconf in '/var/tmp/portage/libwww-5.4.0-r7/work/w3c-libwww-5.4.0' ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.59
 * Using autoheader (GNU Autoconf) 2.59
 * Requested automake 1.10
 * Using automake (GNU automake) 1.4-p6
 * Using aclocal (GNU automake) 1.4-p6
 * Running aclocal ...                                                          [ ok ]
 * Running libtoolize --copy --force --automake ...                             [ ok ]
 * Running aclocal ...                                                          [ ok ]
 * Running autoconf ...                                                         [ ok ]
 * Running autoheader ...                                                       [ ok ]
 * Running automake --add-missing --copy --foreign ...                          [ !! ]

 * Failed Running automake !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libwww-5.4.0-r7/temp/automake-2881.out


!!! ERROR: net-libs/libwww-5.4.0-r7 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  libwww-5.4.0-r7.ebuild, line 36:   Called eautoreconf
  autotools.eclass, line 87:   Called eautomake
  autotools.eclass, line 188:   Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
  autotools.eclass, line 242:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if relevant.


Compilation of libwww-5.4.0-r6 is without any problems.


Content of the /var/tmp/portage/libwww-5.4.0-r7/temp/automake-2881.out:

***** automake *****

modules/expat/xmltok/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
modules/expat/xmlparse/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
Library/src/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
Library/src/SSL/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
Comment 1 Jiri Tyr 2006-10-26 01:01:03 UTC
(In reply to comment #0)

And my emerge --info:
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.12.5 i686)
=================================================================
System uname: 2.6.12.5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 25 Oct 2006 21:30:02 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ linguas_cs mmx ncurses nls nptl nptlonly pam pcre perl posix ppds pppd python readline reflection session spl sse sse2 ssl truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon video_cards_vesa xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Phillip Berndt 2006-10-26 03:44:40 UTC
Confirmed.

The patch "50_all_libwww-5.4.0-respectflags.patch" is the one which raises this error.
Comment 3 Phillip Berndt 2006-10-26 03:47:45 UTC
(In reply to comment #2)
> Confirmed.
> 
> The patch "50_all_libwww-5.4.0-respectflags.patch" is the one which raises this
> error.
> 

See bug #126863
Comment 4 Neil Skrypuch 2006-10-26 05:20:19 UTC
Same error here.
Comment 5 Péter Werner 2006-10-26 05:25:30 UTC
> The patch "50_all_libwww-5.4.0-respectflags.patch" is the one which raises this
> error.

Same here even without libwww-5.4.0-respectflags.patch.
Comment 6 Phillip Berndt 2006-10-26 06:25:58 UTC
(In reply to comment #5)
> > The patch "50_all_libwww-5.4.0-respectflags.patch" is the one which raises this
> > error.
> 
> Same here even without libwww-5.4.0-respectflags.patch.
> 

Hm that's strange. The patch in portage seems to differ from the one in /var/tmp/portage/libwww-5.4.0-r7/work/patch/

I didn't even think about checking that before :)

I guess it's some kind of bug in eautoreconf then...
Comment 7 Phillip Berndt 2006-10-26 06:31:37 UTC
(In reply to comment #6)

Never mind. I should really think before posting comments.

libwww-5.4.0-patches-1.0.tar.bz2 contains a version of the patch mentioned above which differs from the one in the files/ directory, called 50_all_libwww-5.4.0-respectflags.patch
Comment 8 Aleksandr Ivanov 2006-10-26 11:10:05 UTC
same erroor...

$ vi /var/tmp/portage/libwww-5.4.0-r7/temp/automake-11420.out
***** automake *****

modules/expat/xmltok/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
modules/expat/xmlparse/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
Library/src/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
Library/src/SSL/Makefile.am:3: invalid unused variable name: `AM_LDFLAGS'
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2006-10-26 15:55:00 UTC
emerge --sync in an hour or so, or apply this patch to autotools.eclass if you can't wait:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?r1=1.52&r2=1.54&diff_format=u

Closing.
Comment 10 Jiri Tyr 2006-10-27 00:40:09 UTC
(In reply to comment #9)
> emerge --sync in an hour or so
> Closing.
> 

I can confirm, that the problem is gone. Thank you for quick solution.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-10-27 03:23:50 UTC
*** Bug 152953 has been marked as a duplicate of this bug. ***
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-10-28 07:16:54 UTC
*** Bug 153142 has been marked as a duplicate of this bug. ***