Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403331 - sys-devel/autogen-5.14 with mk-agen-texi FAILED: could not regenerate doc
Summary: sys-devel/autogen-5.14 with mk-agen-texi FAILED: could not regenerate doc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-02-12 22:56 UTC by Kamen Dokov
Modified: 2013-04-14 03:15 UTC (History)
4 users (show)

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


Attachments
build.log.gz (sys-devel:autogen-5.14:20120212-223736.log.gz,17.73 KB, application/x-gzip)
2012-02-12 22:57 UTC, Kamen Dokov
Details
build.log.gz (sys-devel:autogen-5.14:20120212-223736.log.gz,17.73 KB, application/x-gzip)
2012-02-12 23:01 UTC, Kamen Dokov
Details
autogen-5.14 build log (autogen-5.14:20120220-231804.log,60.64 KB, text/plain)
2012-02-20 23:22 UTC, Chris Smith
Details
build log (build.log,57.17 KB, text/plain)
2012-02-21 16:58 UTC, Maeredhel
Details
sys-devel/autogen-5.14 failure from Gentoo Prefix on x64-macos (build.log,62.36 KB, text/plain)
2012-03-01 15:38 UTC, Richard Yao (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kamen Dokov 2012-02-12 22:56:58 UTC
sys-devel/autogen-5.14 with:

Making all in doc
make[2]: Entering directory `/var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc'
MAKE=make srcdir="." SHELL="/bin/bash" /bin/bash mk-agen-texi.sh agdoc.texi
+ /var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/getdefs/getdefs load-opt=/var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc/ag-texi-19824.d/getdefs.cfg
+   /var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/agen5/autogen --load-opts=/var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc/ag-texi-19824.d/ag.ini /var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc/ag-texi-19824.d/agdoc.def
mk-agen-texi FAILED: could not regenerate doc


Reproducible: Always

Steps to Reproduce:
1.
2.emerge '=sys-devel/autogen-5.14'
3.
Actual Results:  
Making all in doc
make[2]: Entering directory `/var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc'
MAKE=make srcdir="." SHELL="/bin/bash" /bin/bash mk-agen-texi.sh agdoc.texi
+ /var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/getdefs/getdefs load-opt=/var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc/ag-texi-19824.d/getdefs.cfg
+   /var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/agen5/autogen --load-opts=/var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc/ag-texi-19824.d/ag.ini /var/tmp/portage/sys-devel/autogen-5.14/work/autogen-5.14/doc/ag-texi-19824.d/agdoc.def
mk-agen-texi FAILED: could not regenerate doc


Expected Results:  
To build and install fine.

~ % emerge --info '=sys-devel/autogen-5.14'


Portage 2.2.0_alpha86 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.15, 3.1.10-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.1.10-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.1
Timestamp of tree: Sun, 12 Feb 2012 14:00:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.15
Repositories: gentoo kollin
Installed sets: @kde-4.8
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm/ /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=y"
FEATURES="assume-digests binpkg-logs candy ccache clean-logs compress-build-logs distlocks ebuild-locks fail-clean fixlafiles news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org http://ftp.gentoo.bg/ ftp://mirrors.telepoint.bg/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--enable-new-dtags"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --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="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam firefox flac fortran g3dvl gdbm gdu gif gles gles1 gles2 gpm gtk handbook iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp openvg pam pango pcre pdf phonon plasma png policykit ppds pppd pulseaudio qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-nvidia" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt tripmate tsip ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-devel/autogen-5.14 was built with the following:
USE="(consolekit) (multilib) (policykit)"
Comment 1 Kamen Dokov 2012-02-12 22:57:31 UTC
Created attachment 301701 [details]
build.log.gz
Comment 2 Kamen Dokov 2012-02-12 23:01:34 UTC
Created attachment 301713 [details]
build.log.gz
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-02-14 16:39:42 UTC
Comment on attachment 301713 [details]
build.log.gz

Um, you attached the same file twice.
Comment 4 Kamen Dokov 2012-02-14 21:12:36 UTC
I'm sorry for the noise!
My system is borked... Marking as INVALID ;)
Comment 5 Kamen Dokov 2012-02-16 00:31:04 UTC
Well, I reinstalled my system and I'm getting the same error with autogen.
So this bug is valid and it seems a duplicate of this one Bug 316583. 
But i think someone more experienced than me should a judge of that ;)
Comment 6 Chris Smith 2012-02-20 23:22:26 UTC
Created attachment 302647 [details]
autogen-5.14 build log

build log for autogen-5.14 failure
Comment 7 Chris Smith 2012-02-20 23:25:52 UTC
fails on both amd64 and x86
Comment 8 Maeredhel 2012-02-21 16:58:29 UTC
Created attachment 302709 [details]
build log

Here is the result of emerge --info =sys-devel/autogen-5.14

Portage 2.1.10.48 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r2, 3.2.1-gentoo-r2 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_P7450_@_2.13GHz-with-gentoo-2.1
Timestamp of tree: Tue, 21 Feb 2012 16:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.7-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.2 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gdu gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg mudflap nautilus ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds pppd pulseaudio qt3support readline sdl session socialweb spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Richard Grenville 2012-02-22 13:47:10 UTC
I suppose the bug is caused by some changes upstream made in doc/Makefile.am. It calls mk-agen-texi.sh which seemingly uses autogen itself before autogen is installed... I don't quite know how to fix it. We need somebody smarter here. :)

I found a workaround: Firstly install =sys-devel/autogen-5.12 (or any other autogen versions), then upgrade to =sys-devel/autogen-5.14.
Comment 10 Myckel Habets 2012-02-22 18:53:57 UTC
x86 doesn't belong here. bye.
Comment 11 Kamen Dokov 2012-02-23 10:35:21 UTC
(In reply to comment #9)
> I suppose the bug is caused by some changes upstream made in doc/Makefile.am.
> It calls mk-agen-texi.sh which seemingly uses autogen itself before autogen is
> installed... I don't quite know how to fix it. We need somebody smarter here.
> :)
> 
> I found a workaround: Firstly install =sys-devel/autogen-5.12 (or any other
> autogen versions), then upgrade to =sys-devel/autogen-5.14.

That worked, thank you!
Comment 12 Richard Yao (RETIRED) gentoo-dev 2012-03-01 15:38:36 UTC
Created attachment 303833 [details]
sys-devel/autogen-5.14 failure from Gentoo Prefix on x64-macos

This issue affects Gentoo Prefix on x64-macos.
Comment 13 Richard Yao (RETIRED) gentoo-dev 2012-03-01 16:09:52 UTC
I can confirm that the workaround works on Gentoo Prefix on x64-macos as well.

I am marking this as confirmed.
Comment 14 SpanKY gentoo-dev 2012-03-03 03:26:37 UTC
autogen doesn't have IUSE=doc.  so the summary makes no sense.

autogen-5.15 builds fine for me with or w/out autogen already installed.
Comment 15 Richard Yao (RETIRED) gentoo-dev 2012-03-03 03:34:44 UTC
Given that this also affects prefix, I am adding CCing the prefix team.
Comment 16 Richard Yao (RETIRED) gentoo-dev 2012-03-03 03:39:39 UTC
This package is on the whitelist, so the prefix team doesn't need to be CCed. I am reverting my previous CC.
Comment 17 SpanKY gentoo-dev 2013-04-14 01:45:40 UTC
5.17.3 still doesn't run mk-agen-texi for me
Comment 18 Richard Grenville 2013-04-14 03:15:18 UTC
(In reply to comment #17)
> 5.17.3 still doesn't run mk-agen-texi for me

I could confirm both autogen-1.15 and autogen-1.17.3 build fine without autogen installed on my system, so this issue may already has been resolved.

I believe mk-agen-texi isn't run because a pre-built doc/agdoc.texi exists in the autogen source tarball. Once I remove that file, autogen-1.17.3 no longer builds correctly. So the problem last time may be related to timestamp or something. Anyway, I don't think it's necessary to analyze this issue further, as autogen-1.4 has been dropped from the tree already.