Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 161512
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Kerberos Maintainers <kerberos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Gustavo de Lama <gdelama@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 161512 depends on: Show dependency tree
Bug 161512 blocks: 148821 173354
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-11 11:35 0000
The ebuild kth-krb-1.3_rc1 consistently fails to build. Running aclocal fails
to find the macro _m4_divert_diversion

It happens with every USE flag combination.

Reproducible: Always

Steps to Reproduce:
1.# emerge kth-krb

Actual Results:  
>>> Unpacking krb4-1.3rc1.tar.gz to /var/tmp/portage/kth-krb-1.3_rc1/work
 * Applying kth-krb-1.2.2-berkdb.patch ...                                     
                                                                               
              [ ok ]
 * Applying kth-krb-1.2.2-fPIC.patch ...                                       
                                                                               
              [ ok ]
 * Applying kth-krb-1.2.2-no_libedit.patch ...                                 
                                                                               
              [ ok ]
 * Applying kth-krb-1.2.2-gcc.patch ...                                        
                                                                               
              [ ok ]
 * Applying kth-krb-1.2.2-revoke.patch ...                                     
                                                                               
              [ ok ]
 * Running eautoreconf in '/var/tmp/portage/kth-krb-1.3_rc1/work/krb4-1.3rc1'
...
 * 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
 * Running aclocal -I cf ...                                                   
                                                                               
              [ !! ]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/kth-krb-1.3_rc1/temp/aclocal-4956.out


!!! ERROR: app-crypt/kth-krb-1.3_rc1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  kth-krb-1.3_rc1.ebuild, line 31:   Called eautoreconf
  autotools.eclass, line 90:   Called eaclocal
  autotools.eclass, line 128:   Called autotools_run_tool 'aclocal' '-I' 'cf'
  autotools.eclass, line 256:   Called die
...............................................

aclocal-4956.out
===========================
cf/wflags.m4:5: warning: underquoted definition of AC_WFLAGS
cf/wflags.m4:5:   run info '(automake)Extending aclocal'
cf/wflags.m4:5:   or see
http://sources.redhat.com/automake/automake.html#Extending-aclocal
acinclude.m4:9: error: m4_defn: undefined macro: _m4_divert_diversion
acinclude.m4:9: the top level
autom4te-2.61: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1
=========================


Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 11 Jan 2007 10:01:01 +0000
ccache version 2.4 [enabled]
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:     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 -g "
CHOST="i686-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 /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -g "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms
splitdebug strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
LANG="es_ES.utf8"
LC_ALL="es_ES.utf8"
LINGUAS="es_ES es en_US en"
MAKEOPTS="-j3"
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 X a52 aac acpi 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 audiofile
avahi bash-completion berkdb bindist bitmap-fonts bzip2 caps cdparanoia cdr cjk
cli cracklib crypt cups dbug dbus dga dlloader doc dri dts dv dvb dvd dvdr
dvdread eds elibc_glibc emboss encode esd exif expat fam ffmpeg flac foomaticdb
gdbm ggi gif gnome gnutls gpm gstreamer gtk gtkhtml guile hal iconv idn
ieee1394 imagemagick input_devices_evdev input_devices_keyboard
input_devices_mouse ipv6 isdnlog java jpeg kerberos kernel_linux krb4 lcms ldap
libg++ linguas_en linguas_en_US linguas_es linguas_es_ES lua mad mikmod mmap
mmx mng mono mp3 mpeg msn nas ncurses nls nptl nptlonly nsplugin ocaml
offensive ogg openal opengl pam pcre pda pdf perl png ppds pppd python
quicktime readline reflection ruby sasl sdl seamonkey session silc sndfile
speex spell spl sse sse2 ssl startup-notification svg svga tcl tcltk tcpd
theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb
userland_GNU v4l video_cards_radeon vorbis win32codecs wmf xine xml xorg xpm
xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Jakub Moc (RETIRED) 2007-01-11 11:41:01 0000 -------
- 1.2.2 has bogus unversioned autoconf in DEPEND
- 1.3_rc1 doesn't export WANT_AUTO* at all, so it gets "latest" from the eclass
(which apparently doesn't work)

------- Comment #2 From Ali Polatel (RETIRED) 2007-01-11 13:31:42 0000 -------
  Quoting from Autoconf manual:
"While Autoconf was relatively dormant in the late 1990s, Automake provided
Autoconf-like macros for a while. Starting with Autoconf 2.50 in 2001, Autoconf
provided versions of these macros, integrated in the AC_ namespace, instead of
AM_. But in order to ease the upgrading via autoupdate, bindings to such AM_
macros are provided.

Unfortunately older versions of Automake (e.g., Automake 1.4) did not quote the
names of these macros. Therefore, when m4 finds something like
`AC_DEFUN(AM_TYPE_PTRDIFF_T, ...)' in aclocal.m4, AM_TYPE_PTRDIFF_T is
expanded, replaced with its Autoconf definition."

 A simple solution would be adding
"rm aclocal.m4 acinclude.m4 && autoupdate"
before running eautoreconf in src_unpack()

Regards,
Ali


------- Comment #3 From Evil Compile Person 2007-01-23 18:33:06 0000 -------
same here

------- Comment #4 From Arthur I. 2007-02-16 16:12:23 0000 -------
same problem

------- Comment #5 From Ben Ridenhour 2007-03-15 06:29:43 0000 -------
(In reply to comment #2)
>   Quoting from Autoconf manual:
> "While Autoconf was relatively dormant in the late 1990s, Automake provided
> Autoconf-like macros for a while. Starting with Autoconf 2.50 in 2001, Autoconf
> provided versions of these macros, integrated in the AC_ namespace, instead of
> AM_. But in order to ease the upgrading via autoupdate, bindings to such AM_
> macros are provided.
> Unfortunately older versions of Automake (e.g., Automake 1.4) did not quote the
> names of these macros. Therefore, when m4 finds something like
> `AC_DEFUN(AM_TYPE_PTRDIFF_T, ...)' in aclocal.m4, AM_TYPE_PTRDIFF_T is
> expanded, replaced with its Autoconf definition."
>  A simple solution would be adding
> "rm aclocal.m4 acinclude.m4 && autoupdate"
> before running eautoreconf in src_unpack()
> Regards,
> Ali

Thanks for the fix Ali... it worked like a charm.

------- Comment #6 From Seemant Kulleen (RETIRED) 2007-06-16 15:46:01 0000 -------
removed from portage

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug