Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 484002

Summary: net-misc/curl-7.26.0 - aclocal: Use of uninitialized value $m4dir in opendir at /usr/bin/aclocal-1.13 line 377.
Product: Gentoo Linux Reporter: Anton Bolshakov <anton.bugs>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: gregkh
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: enforce the previous version of automake tools

Description Anton Bolshakov 2013-09-06 14:40:35 UTC
Created attachment 358064 [details, diff]
enforce the previous version of automake tools

I'm aware that there is a newer version has stable for awhile, however some packages might still require that one.

Currently, that version (and might be few others) fails to compile with the following message:

 * curl-7.26.0.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                         [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                              [ ok ]
>>> Unpacking source...
>>> Unpacking curl-7.26.0.tar.bz2 to /var/tmp/portage/net-misc/curl-7.26.0/work
>>> Source unpacked in /var/tmp/portage/net-misc/curl-7.26.0/work
>>> Preparing source in /var/tmp/portage/net-misc/curl-7.26.0/work/curl-7.26.0 ...
 * Applying curl-7.18.2-prefix.patch ...                                                                                            [ ok ]
 * Applying curl-respect-cflags-3.patch ...                                                                                         [ ok ]
 * Applying curl-fix-gnutls-nettle.patch ...                                                                                        [ ok ]
 * Adjusting to prefix /
 *   curl-config.in ...                                                                                                             [ ok ]
 * Running eautoreconf in '/var/tmp/portage/net-misc/curl-7.26.0/work/curl-7.26.0' ...
 * Running libtoolize --install --copy --force --automake ...                                                                       [ ok ]
 * Running aclocal -I m4 ...                                                                                                        [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/net-misc/curl-7.26.0/temp/aclocal.out


***** aclocal *****
***** PWD: /var/tmp/portage/net-misc/curl-7.26.0/work/curl-7.26.0
***** aclocal -I m4

Use of uninitialized value $item in exists at /usr/share/automake-1.13/Automake/General.pm line 60, <GEN135> line 801.
Use of uninitialized value $item in hash element at /usr/share/automake-1.13/Automake/General.pm line 62, <GEN135> line 801.
Use of uninitialized value $item in exists at /usr/share/automake-1.13/Automake/General.pm line 60.
Use of uninitialized value $item in hash element at /usr/share/automake-1.13/Automake/General.pm line 62.
Use of uninitialized value $m4dir in opendir at /usr/bin/aclocal-1.13 line 377.
Use of uninitialized value $m4dir in concatenation (.) or string at /usr/bin/aclocal-1.13 line 380.
aclocal-1.13: error: couldn't open directory '': No such file or directory



The patch is very simple:
we need to enforce the previous version of autotools
Comment 1 Anthony Basile gentoo-dev 2013-09-06 17:26:49 UTC
Thanks.  Its fixed.