Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161173 - net-libs/gnutls-1.4.4-r1 fails build on autoconf (undefined macro: AM_PATH_LIBOPENCDK)
Summary: net-libs/gnutls-1.4.4-r1 fails build on autoconf (undefined macro: AM_PATH_LI...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-09 19:00 UTC by Mike Hammill
Modified: 2007-07-10 03:17 UTC (History)
6 users (show)

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


Attachments
Same issue on x86 (autoconf-2424.out,206 bytes, text/plain)
2007-01-12 19:55 UTC, FieldySnuts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammill 2007-01-09 19:00:11 UTC
When emerging gnutls on a PowerPC G3 (Blue & White), it fails with the following message:

>>> Emerging (1 of 56) net-libs/gnutls-1.4.4-r1 to /
 * gnutls-1.4.4.tar.bz2 MD5 ;-) ...                                                                                                [ ok ]
 * gnutls-1.4.4.tar.bz2 RMD160 ;-) ...                                                                                             [ ok ]
 * gnutls-1.4.4.tar.bz2 SHA1 ;-) ...                                                                                               [ ok ]
 * gnutls-1.4.4.tar.bz2 SHA256 ;-) ...                                                                                             [ ok ]
 * gnutls-1.4.4.tar.bz2 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                               [ ok ]
 * checking auxfile checksums ;-) ...                                                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                                                                             [ ok ]
 * checking gnutls-1.4.4.tar.bz2 ;-) ...                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking gnutls-1.4.4.tar.bz2 to /var/tmp/portage/gnutls-1.4.4-r1/work
 * Applying gnutls-1.4.4-selflink.patch ...                                                                                        [ ok ]
 * Running elibtoolize in: gnutls-1.4.4
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.61
 * Using autoheader (GNU Autoconf) 2.61
 * Requested automake latest: 1.10
 * Using automake (GNU automake) 1.10
 * Using aclocal (GNU automake) 1.10
 * Automake used for the package (1.9.6) differs from
 * the installed version (1.10).
 * Running eautoreconf in '/var/tmp/portage/gnutls-1.4.4-r1/work/gnutls-1.4.4' ...
 * Running aclocal ...                                                                                                             [ ok ]
 * Running libtoolize --copy --force --automake ...                                                                                [ ok ]
 * Running aclocal ...                                                                                                             [ ok ]
 * Running autoconf ...                                                                                                            [ !! ]

 * Failed Running autoconf !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/gnutls-1.4.4-r1/temp/autoconf-26231.out


!!! ERROR: net-libs/gnutls-1.4.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
birdy ~ # more /var/tmp/portage/gnutls-1.4.4-r1/temp/autoconf-26231.out
***** autoconf *****

configure.in:326: error: possibly undefined macro: AM_PATH_LIBOPENCDK
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


Reproducible: Always

Steps to Reproduce:
1. emerge kdebase-startkde
2. when it reaches gnutls (not far into it) it bombs


Actual Results:  
Bombs with given error message.

Expected Results:  
Shinny new gnutls and hopefully a very basic KDE.

Perhaps this has something to do with recent upgrade to Automake?  Note the message in the above:

 * Automake used for the package (1.9.6) differs from
 * the installed version (1.10).
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-09 19:33:29 UTC
Has nothing to do w/ KDE.
Comment 2 ytiruceslaicos 2007-01-10 00:32:10 UTC
Someone in #gentoo had this problem today. The fix was to re-emerge opencdk.
Comment 3 ytiruceslaicos 2007-01-10 00:34:47 UTC
Never mind. squidly> it appeard to have worked but no joy ><
> Someone in #gentoo had this problem today. The fix was to re-emerge opencdk.
> 

Comment 4 Piotr Zolnierczuk 2007-01-10 04:49:54 UTC
I had the very same error on my Via Ezra C3 (i586) box. I was trying to install  - pardon emerge - hplip and cups (one of the dependencies was gnutls)

I overcame the problem with 
=net-libs/gnutls-1.4.5                  ~x86
in my package.keywords 
Comment 5 Evert 2007-01-10 10:19:46 UTC
Same problem here during an emerge -e world

>>> Emerging (222 of 656) net-libs/gnutls-1.4.4-r1 to /
 * gnutls-1.4.4.tar.bz2 MD5 ;-) ...                                       [ ok ]
 * gnutls-1.4.4.tar.bz2 RMD160 ;-) ...                                    [ ok ]
 * gnutls-1.4.4.tar.bz2 SHA1 ;-) ...                                      [ ok ]
 * gnutls-1.4.4.tar.bz2 SHA256 ;-) ...                                    [ ok ]
 * gnutls-1.4.4.tar.bz2 size ;-) ...                                      [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking gnutls-1.4.4.tar.bz2 ;-) ...                                  [ ok ]
>>> Unpacking source...
>>> Unpacking gnutls-1.4.4.tar.bz2 to /compile/portage/gnutls-1.4.4-r1/work
 * Applying gnutls-1.4.4-selflink.patch ...                               [ ok ]
 * Running elibtoolize in: gnutls-1.4.4
 *   Applying portage-1.5.10.patch ...
 *   Applying max_cmd_len-1.5.20.patch ...
 *   Applying sed-1.5.6.patch ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.61
 * Using autoheader (GNU Autoconf) 2.61
 * Requested automake latest: 1.10
 * Using automake (GNU automake) 1.10
 * Using aclocal (GNU automake) 1.10
 * Automake used for the package (1.9.6) differs from
 * the installed version (1.10).
 * Running eautoreconf in '/compile/portage/gnutls-1.4.4-r1/work/gnutls-1.4.4' .
..
 * Running aclocal ...                                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok ]
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ !! ]

 * Failed Running autoconf !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /compile/portage/gnutls-1.4.4-r1/temp/autoconf-5413.out


!!! ERROR: net-libs/gnutls-1.4.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  gnutls-1.4.4-r1.ebuild, line 37:   Called eautomake
  autotools.eclass, line 186:   Called eautoreconf
  autotools.eclass, line 92:   Called eautoconf
  autotools.eclass, line 165:   Called autotools_run_tool 'autoconf'
  autotools.eclass, line 256:   Called die

!!! Failed Running autoconf !
!!! If you need support, post the topmost build error, and the call stack if rel
evant.


# cat /compile/portage/gnutls-1.4.4-r1/temp/autoconf-5413.out
***** autoconf *****

configure.in:326: error: possibly undefined macro: AM_PATH_LIBOPENCDK
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


# emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.3.6-r4, 2.6.18.6 i686)
=================================================================
System uname: 2.6.18.6 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 09 Jan 2007 16:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
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.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/data/linux/gentoo/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LINGUAS="de en nl"
MAKEOPTS="-j2"
PKGDIR="/data/linux/gentoo/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="/compile"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm berkdb bitmap-fonts cli cracklib crypt cups dlloader dri dvd dvdr dvdread elibc_glibc encode esd fortran gdbm gif gnome gpm gstreamer gtk iconv imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kernel_linux ldap libg++ linguas_de linguas_en linguas_nl mad mikmod mmx mng mozilla mp3 mpeg mplayer ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU vcd video_cards_fbdev video_cards_i810 video_cards_vesa vorbis wmf xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Mike Hammill 2007-01-10 10:47:00 UTC
Since more than just ppc appears affected, I changed the Hardware field for this bug from "ppc" to "all."  /mike (original reporter)
Comment 7 Daniel Black (RETIRED) gentoo-dev 2007-01-10 11:02:13 UTC
reporters - please note the bit that says:"Please attach /var/tmp/portage/gnutls-1.4.4-r1/temp/autoconf-*.out:
Comment 8 Daniel Black (RETIRED) gentoo-dev 2007-01-10 11:27:07 UTC
(In reply to comment #7)
> reporters - please note the bit that says:"Please attach
> /var/tmp/portage/gnutls-1.4.4-r1/temp/autoconf-*.out:
Sorry -never mind. I'll read properly next time.
Comment 9 Jan Zacharias 2007-01-11 22:50:19 UTC
The problem is, that emerge uses automake 1.10 instead of the requested:

 * Automake used for the package (1.9.6) differs from
 * the installed version (1.10).

This is no soultion, just a very bad trick for ppl who can't wait and need to get gnutls working on a production system in the next 5 minutes:
cd /usr/bin mv automake automake.bak mv automake-1.9 automake emerge gnutls mv automake automake-1.9 mv automake.bak automake

Messing with autotools arrangement is BADBADBAD!!
Comment 10 Mike Hammill 2007-01-11 23:42:55 UTC
(In reply to comment #9)

A similar workaround is expressed by InsaneHamster in the forums:

http://forums.gentoo.org/viewtopic-t-530581-highlight-gnutls.html

<quote>
export WANT_AUTOMAKE=1.9
emerge gnutls 
</quote>

I haven't tried it, but imagine it would work too.
Comment 11 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-12 16:15:09 UTC
Can someone verify that it is OK now... I cannot reproduce this.
Comment 12 FieldySnuts 2007-01-12 19:55:12 UTC
Created attachment 106722 [details]
Same issue on x86

Same issue on x86. I am attaching the file requested.

Portage 2.1.1-r2 (default-linux/x86/vserver, gcc-4.1.1, glibc-2.4-r4, 2.6.17-vs2.0.2.1-gentoo i686)
=================================================================
System uname: 2.6.17-vs2.0.2.1-gentoo i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
Last Sync: Tue, 09 Jan 2007 17:50:01 +0000
ccache version 2.4 [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:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol berkdb bitmap-fonts cli cracklib crypt dlloader dri elibc_glibc fortran iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kernel_linux ncurses nls nptl nptlonly pam pcre perl pppd python readline reflection session spl ssl truetype-fonts type1-fonts userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 13 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-12 20:54:30 UTC
(In reply to comment #12)
> Last Sync: Tue, 09 Jan 2007 17:50:01 +0000

Can you please sync and try again?
Comment 14 Mike Hammill 2007-01-13 10:24:12 UTC
Re-syncing and updating again solved the problem for me using ppc (PowerPC G3, Blue & White).  Thanks for fixing this!
/Mike
Comment 15 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-13 10:30:04 UTC
OK.
If someone else still have problem, please notify me so I will reopen.
Comment 16 Helmut Auer 2007-02-13 22:39:54 UTC
I also got this error:

***** autoconf *****

configure.in:326: error: possibly undefined macro: AM_PATH_LIBOPENCDK
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.

After upgrading automake 1.9.4 to 1.9.6 the problem was gone :)
Comment 17 Martin von Gagern 2007-07-09 20:04:29 UTC
(In reply to comment #16)
> After upgrading automake 1.9.4 to 1.9.6 the problem was gone :)

Same here. Is it possible to have the gnutls ebuild depend on at least the 1.9.6 version of the 1.9 slot of automake? Otherwise you might consider explicitly blocking 1.9.4, as this does reportedly fail and would make most admins upgrade to 1.9.6.
Comment 18 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-10 03:17:22 UTC
Can't do this, as automake-wrapper only accept major and minor.
But as automake-1.9.6 is the stable one I guess you should have been asked to pull this anyway.