Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 316583 - sys-devel/autogen-5.10.1 fails to build (could not generate doc)
Summary: sys-devel/autogen-5.10.1 fails to build (could not generate doc)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 317167 328669 (view as bug list)
Depends on: 335703
Blocks:
  Show dependency tree
 
Reported: 2010-04-21 21:07 UTC by lamusic
Modified: 2010-09-15 09:26 UTC (History)
10 users (show)

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


Attachments
My emerge --info in attachment. (emerge.info,4.27 KB, text/plain)
2010-04-21 21:09 UTC, lamusic
Details
My build.log in attachment. (build.log,67.16 KB, text/plain)
2010-04-21 21:11 UTC, lamusic
Details
FAILURES.tar.gz (FAILURES.tar.gz,2.75 KB, text/plain)
2010-04-25 08:15 UTC, Peter Volkov (RETIRED)
Details
build.log (build.log,68.84 KB, text/plain)
2010-04-25 08:20 UTC, Peter Volkov (RETIRED)
Details
My build.log in attachment. (build.log,67.75 KB, text/plain)
2010-07-02 19:39 UTC, lamusic
Details
My emerge --info in attachment. (emerge.info,4.46 KB, text/plain)
2010-07-02 19:42 UTC, lamusic
Details
My /etc/portage/package.use (package.use,5.02 KB, text/plain)
2010-07-02 19:42 UTC, lamusic
Details
My /etc/make.conf (make.conf,4.04 KB, text/plain)
2010-07-02 19:45 UTC, lamusic
Details
build.log (build.log,67.21 KB, text/plain)
2010-08-04 00:35 UTC, Ricardo I. Vieitez
Details
Fail emerging autogen 5.10.2 (build.log,65.98 KB, text/plain)
2010-08-04 03:30 UTC, Mykola Konyk
Details
/var/tmp/portage/sys-devel/autogen-5.10.2/temp/build.log (build.log,71.28 KB, text/plain)
2010-08-29 11:02 UTC, Alexey Shvetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lamusic 2010-04-21 21:07:55 UTC
autogen-5.10.1 could not regenerate doc so the install fails on my system.


Reproducible: Always
Comment 1 lamusic 2010-04-21 21:09:20 UTC
Created attachment 228667 [details]
My emerge --info in attachment.

This is my emerge --info.
Comment 2 lamusic 2010-04-21 21:11:04 UTC
Created attachment 228669 [details]
My build.log in attachment.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2010-04-22 17:54:35 UTC
Could you try to emerge with MAKEOPTS="-j1" ? I've emake -j1 from ebuild since there was no reference on real failure anywhere and I was unable to reproduce this issue.
Comment 4 lamusic 2010-04-22 18:52:24 UTC
(In reply to comment #3)
> Could you try to emerge with MAKEOPTS="-j1" ? I've emake -j1 from ebuild since
> there was no reference on real failure anywhere and I was unable to reproduce
> this issue.
> 

I come testing with MAKEOPTS="-j1" and the build fail with the same issue.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-04-23 08:11:18 UTC
All my attempts to reproduce this problem failed so far... try to go into doc directory and run ./mk-agen-texi.sh to see if it fails same way.
Comment 6 lamusic 2010-04-23 10:24:55 UTC
(In reply to comment #5)
> All my attempts to reproduce this problem failed so far... try to go into doc
> directory and run ./mk-agen-texi.sh to see if it fails same way.
> 

Yes, fail with the same issue, but with this, i thinks i understand, my /bin/sh point on /bin/dash and not on /bin/bash, i'm testing this when point on bash.
Comment 7 lamusic 2010-04-23 10:27:06 UTC
Yes it run ! Thanks Peter. The problem are because my /bin/sh point on dash and not bash. Thanks you !


Comment 8 Peter Volkov (RETIRED) gentoo-dev 2010-04-23 10:50:11 UTC
Could you try with different dash version? Also I've forwarded this bug upstream:

https://sourceforge.net/tracker/?func=detail&aid=2991318&group_id=3593&atid=103593

I'm not sure if this needs to be fixed, so I'll keep this bug closed. Thanks for investigation of this issue.
Comment 9 Bruce Korb 2010-04-23 16:26:07 UTC
> Changing server shell from /bin/bash to /bin/sh

I need to determine why autogen didn't seem to like /bin/bash.
I suspect it lost an environment value that told it where to
find checkopt.def:

> Killing AutoGen:  cannot locate checkopt.def
> AutoGen aborting on signal 15 (Terminated) in state EMITTING
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2010-04-24 19:51:21 UTC
In the past we've supported dash as /bin/sh, so this should be fixed.  Also see bug #316903.
Comment 11 Bruce Korb 2010-04-24 21:33:35 UTC
I believe I have the issue fixed, but I don't use dash anywhere.
The problem stems from hard wiring doc/auto_gen.tpl to using /bin/sh
when /bin/bash has been configured as the preferred shell.  In fact,
the scripts used should behave identically for both shells.  The problem
lies in the fact that some information is conveyed with variable
assignments that get lost when one shell is killed off and another started.
The solution to this is to configure the doc/auto_gen.tpl file with the
configure script avoiding the kill and restart.  Please try this so I know:
http://autogen.sourceforge.net/data/autogen-5.10.2pre1.tar.bz2
Thank you very much!  Regards, Bruce
Comment 12 Peter Volkov (RETIRED) gentoo-dev 2010-04-25 08:14:48 UTC
lamusic, please, try autogen-5.10.2_pre1. It is hardmasked, so you need to unmask it (echo "=sys-devel/autogen-5.10.2_pre1" >> /etc/portage/package.unmask) prior to emerge.

Bruce, thank you for your help. I've tried to build autogen-5.10.2_pre1 with /bin/sh -> /bin/dash and it succeeds, but autoopts tests failed as reported in bug #316903 (please, take a look at attachments there).

Also having /bin/sh -> /bin/bash agen5/test tests fail:
FAIL: error.test

I'll attach output shortly here, but what I found so far that this tests succeeds in case I ran it as 
LC_ALL="C" ./error.test
while following fails
LC_ALL="ru_RU.UTF-8" ./error.test
Comment 13 Peter Volkov (RETIRED) gentoo-dev 2010-04-25 08:15:59 UTC
Created attachment 229053 [details]
FAILURES.tar.gz

FAILURES.tar.gz - compressed autogen-5.10.2pre1/agen5/test/FAILURES directory.
Comment 14 Peter Volkov (RETIRED) gentoo-dev 2010-04-25 08:20:35 UTC
Created attachment 229055 [details]
build.log

This is build.log. (here and above /bin/sh points to /bin/bash).

It looks like nothing critical is in this issue and we just need to add LC_ALL=C before running test suit, but probably it's good idea to set locale in test itself.
Comment 15 Bruce Korb 2010-04-26 16:20:30 UTC
Yep.  There is one file:  autoopts/test/defs.in that configures
the environment for the tests.  There is probably an "ls" invocation
somewhere and the output is expected to be in LC_ALL=C order.
I'll fix that, too, before the real 5.10.2 release.  Thank you.
Comment 16 Peter Volkov (RETIRED) gentoo-dev 2010-06-29 09:41:08 UTC
Should be fixed in 5.10.2. Thank you lamusic for report.
Comment 17 lamusic 2010-07-02 19:39:44 UTC
Created attachment 237315 [details]
My build.log in attachment.

(In reply to comment #16)
> Should be fixed in 5.10.2. Thank you lamusic for report.
> 

Hi thanks for fix, but for me the build fail even, i detailled all for the best.
I'm on full gentoo current with ~ and i use the dash build with libedit.

I paste in attachment all the files.
Comment 18 lamusic 2010-07-02 19:42:06 UTC
Created attachment 237317 [details]
My emerge --info in attachment.
Comment 19 lamusic 2010-07-02 19:42:49 UTC
Created attachment 237319 [details]
My /etc/portage/package.use
Comment 20 lamusic 2010-07-02 19:44:15 UTC
I'm using dash version 0.5.5.1.2 with libedit USE flag set.
Comment 21 lamusic 2010-07-02 19:45:17 UTC
Created attachment 237321 [details]
My /etc/make.conf
Comment 22 lamusic 2010-07-02 19:46:58 UTC
Ho sorry i have forgot one point, if i symlink sh with bash the build finish in success.
Comment 23 Bruce Korb 2010-07-03 17:12:09 UTC
This issue should now be resolved with the 5.11 release I intend to
make fairly quickly.  Until then:
http://autogen.sourceforge.net/data/autogen-5.11pre4.tar.bz2

The cause of the problem is the $INCLUDES environment string 
was not pasted into CFLAGS so the include mechanism did not look
around in the build directory.  Fixed.
Comment 24 Markos Chandras (RETIRED) gentoo-dev 2010-07-17 23:36:57 UTC
*** Bug 328669 has been marked as a duplicate of this bug. ***
Comment 25 Ricardo I. Vieitez 2010-08-04 00:35:19 UTC
Created attachment 241355 [details]
build.log

The error I receive.

localhost ~ # emerge --info =sys-devel/autogen-5.10.2
Portage 2.1.8.3 (hardened/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-hardened-r1toshiba x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-hardened-r1toshiba-x86_64-Intel-R-_Core-TM-_i3_CPU_M_330_@_2.13GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 03 Aug 2010 02:35:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.localhost.net.ar/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.arcticnetwork.ca/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US es_AR"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d aalib acl acpi alsa amd64 apache2 avahi bash-completion berkdb bzip2 cairo caps cdda cdr cjk clamav cleartype cli cracklib crypt css cups custom-optimization cxx dbus dga dri dv dvd dvdr dvi encode esd ffmpeg firefox flac fontconfig fuse gd gdbm geoip gif gimp glitz gnutls gocr gpm gstreamer gtk gtk+ gzip hal hardened iceweasel iconv idn ieee1394 imagemagick imap ipv6 java6 javascript jpeg jpeg2k justify kde kpathsea latex ldap libnotify libwww lm_sensors lzo mmx mng modules mozdevelop mp3 mplayer msn mudflap multilib ncurses networkmanager nls nodrm nptl nptlonly nsplugin ntfs ogg opengl openmp pam pcmcia pcre pdf perl php pic plasma png posix postgres postscript pppd python qt3support qt4 quicktime quotas readline reflection reiserfs samba sdl session skey smp sockets socks5 spamassassin spell spl sqlite sse sse2 sse2rt ssl ssse3 svg sysfs syslog sysvipc tcpd tesseract theora threads tidy timidity tk truetype unicode urandom usb v4l v4l2 vaapi vorbis vpopmail vpx wifi x264 xcb xchatdccserver xcomposite xinerama xinetd xml xorg xpm xps xscreensaver xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US es_AR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i915 vesa vga fbdev v4l" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

localhost ~ # emerge -pqv =sys-devel/autogen-5.10.2
[ebuild  N    ] sys-devel/autogen-5.10.2
Comment 26 Mykola Konyk 2010-08-04 03:30:49 UTC
Created attachment 241365 [details]
Fail emerging autogen 5.10.2
Comment 27 Mykola Konyk 2010-08-04 03:33:16 UTC
Sorry, forgot to attach emerge info. Problem is similar to what Ricardo I. Vieitez posted.

sudo emerge --info =sys-devel/autogen-5.10.2
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 04 Aug 2010 02:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru ua en uk"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lottanzb /var/lib/layman/lottanzb"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cleartype cli cracklib crypt cuda cups cxx dbus dri emerald examples ffmpeg fortran fuse gdbm gif glsl gnome gnome-keyring gpm gpu gtk gtk2 gzip hal iconv ipv6 joystick jpeg jpeg2k keyboard mmx mmx2 modules mouse mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nvidia openal opencl opengl openmp pam pcre perl png pppd python qt qt3support qt4 readline reflection ruby ruby19 samba session smp sound spl sql src sse sse2 sse3 sse4 ssl ssse3 svg symlink sysfs tcpd threads tiff tools truetype unicode wmf x264 xcb xinerama xml xorg xpm zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru ua en uk" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 28 Bruce Korb 2010-08-04 14:06:04 UTC
This bug is fixed with 5.11.  Unfortunately, that version introduces a problem in that it doesn't shoot down the server shell on exit leaving a shell process hanging around.  5.11.1 anyone?  Please give me a few days.  I'm adding the URI to this bug to my bug so I update this when 5.11.1 is out.  Thanks.
Comment 29 Rebecca Menessec 2010-08-26 16:23:38 UTC
Can someone suggest a work-around for 5.10.2?  grub-9999 added autogen as a dependency, and I use grub-9999.

TIA
Comment 30 Bruce Korb 2010-08-26 16:50:12 UTC
Terribly sorry I'm taking so long with 5.11.1.  I have a new day job &
had to take on a major project on my house.  That's just finished, but
I still have my job :).  It would be nice to know that this fixes it:
  http://autogen.sourceforge.net/data/autogen-5.11pre7.tar.bz2
but I don't have a gentoo build box, so I have to do what I think will
likely work and hope for the best.  Unless someone please tries it out.
Thank you!  Regards, Bruce
Comment 31 Rebecca Menessec 2010-08-27 17:38:00 UTC
(In reply to comment #30)
> Terribly sorry I'm taking so long with 5.11.1.  I have a new day job &
> had to take on a major project on my house.  That's just finished, but
> I still have my job :).  It would be nice to know that this fixes it:
>   http://autogen.sourceforge.net/data/autogen-5.11pre7.tar.bz2
> but I don't have a gentoo build box, so I have to do what I think will
> likely work and hope for the best.  Unless someone please tries it out.
> Thank you!  Regards, Bruce

I suspect most of us will survive, somehow, while you deal with real life.  Those who don't can draw up living wills to leave their worldly goods to the survivors. ;)

Link leads to a 404, I'm afraid.  I'm just looking for a simple, ugly hack to get autogen working.  I would say "any version", but grub-9999's dependency is on >=sys-devel/autogen-5.10.

In the meantime, my month-old snapshot build of grub-1.9999 does continue to boot my firewall.  Presumably it will also boot the 2.6.35.4 kernel image I'm waiting on right now.

If it doesn't, I shall amuse myself by filing an upstream bug to enquire whether grub 2.0 will be released the same time as Duke Nukem Forever or Uplink 2.
Comment 32 Bruce Korb 2010-08-27 17:55:47 UTC
"the link leads to 404"  Oops.  cut-n-paste-o.
The directory has an index and the real link is:
  http://autogen.sourceforge.net/data/autogen-5.11.1pre7.tar.bz

because it is a pre 5.11.1 release, not a pre 5.11 release. Sorry.
Comment 33 Bruce Korb 2010-08-27 17:57:05 UTC
Two in a row.  Sorry;
http://autogen.sourceforge.net/data/autogen-5.11.1pre7.tar.bz2
Comment 34 Alexey Shvetsov archtester gentoo-dev 2010-08-29 11:02:50 UTC
Created attachment 245207 [details]
/var/tmp/portage/sys-devel/autogen-5.10.2/temp/build.log

Same here =(
Comment 35 Bruce Korb 2010-08-29 16:22:38 UTC
(In reply to comment #34)
> /var/tmp/portage/sys-devel/autogen-5.10.2/temp/build.log
> 
> Same here =(

That attachment leads to a build for this version:

> GNU AutoGen-5.10.2

I think version 5.10.2 will always have this problem.
Question:  Does 5.11.1 have this problem?
Comment 36 Rebecca Menessec 2010-08-30 01:27:46 UTC
(In reply to comment #35)
> (In reply to comment #34)
> > /var/tmp/portage/sys-devel/autogen-5.10.2/temp/build.log
> > 
> > Same here =(
> 
> That attachment leads to a build for this version:
> 
> > GNU AutoGen-5.10.2
> 
> I think version 5.10.2 will always have this problem.
> Question:  Does 5.11.1 have this problem?

Loads of warnings, no actual errors-- bearing in mind there was no Portage involved. :)  Config-ed with --with-gnu-ld, no other flags.

putshell.c:90: warning: ignoring return value of âfwriteâ, declared with attribute warn_unused_result

gcc 4.4.4-r1 and so forth.  For an encore, tried again with CFLAGS="-O3 -fomit-frame-pointer -march=core2 -pipe -findirect-inlining -ftree-switch-conversion -mssse3 -mcx16 -mfpmath=sse -w" and a make -j3.  No errors.
Comment 37 Bruce Korb 2010-08-30 05:08:21 UTC
Thank you, Rebecca,

(In reply to comment #36)
> Loads of warnings, no actual errors-- bearing in mind there was no Portage
> involved. :)  Config-ed with --with-gnu-ld, no other flags.
> 
> putshell.c:90: warning: ignoring return value of âfwriteâ, declared with
> attribute warn_unused_result

Ignoring results from fwrite is not particularly unusual.
That should probably be a pedantic warning, especially given that I am
*EXPLICITLY* ignoring the return result:
  (void)fwrite(...)
Class that as a "won't fix" bug.  I'll look at real warnings, if you'd
be kind enough to pass them along.

> gcc 4.4.4-r1 and so forth.  For an encore, tried again with CFLAGS="-O3
> -fomit-frame-pointer -march=core2 -pipe -findirect-inlining
> -ftree-switch-conversion -mssse3 -mcx16 -mfpmath=sse -w" and a make -j3.  No
> errors.

Thanks! - Bruce
Comment 38 Rebecca Menessec 2010-08-30 06:19:47 UTC
(In reply to comment #37)
> Thank you, Rebecca,
>
> Class that as a "won't fix" bug.  I'll look at real warnings, if you'd
> be kind enough to pass them along.

They're useless errors, all right.  I got colorgcc working again and had a closer look.  There's a huge, long thread about this gcc/glibc/someone's fault garbage over here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 -- fix in gcc 4.5.  Which I would be insane to use right now.  (Maybe 4.5.3?)

The upshot appears to be: you are wasting your time void-ifying.  gcc is stripping the cast to void before even parsing for errors/warnings.  Useful, eh?

Whenever >= 4.5 is usable, it looks like I can add -Wno-unused-result to CFLAGS and pull -w back out.  Until then, I report warnings intermittently at best. :D
Comment 39 niogic 2010-09-02 16:48:18 UTC
Hem 5.11 is out since 25 Jul.
Please bump and fix this and #317167
Comment 40 Bruce Korb 2010-09-02 16:56:11 UTC
(In reply to comment #39)
> Hem 5.11 is out since 25 Jul.
Please wait for 5.11.1.  The pre-release is available as noted
in Comment  #33
Comment 41 niogic 2010-09-02 17:06:07 UTC
Can you send an ebuild?
I'm no good and 5.11.1pre7 is not a valid atom.
5.11.0.7 provide a wrong distdir...
Comment 43 Rebecca Menessec 2010-09-08 03:00:04 UTC
Built with no obvious problems with renamed 5.10.2 ebuild, built newer grub-9999 with >=sys-devel/autogen-5.10 dependency, booted successfully with grub-9999 on x86 using Conroe Core 2 Duo and Intel DG33FBC board.  If anyone needs all that detail.

Thanks, Bruce!

PS: ebuild needs one change?

-SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.bz2"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"

PPS: Or two changes?  LICENSE="GPL-2"?  Home page just says licensed under "GPL".
Comment 44 Bruce Korb 2010-09-08 14:05:02 UTC
(In reply to comment #43)
> PS: ebuild needs one change?
> 
> -SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.bz2"
> +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"

No, that was my goof on this release.  It should have the "rel${PV}"
in the path.  I'll try to get to a symlink fix.

> PPS: Or two changes?  LICENSE="GPL-2"?  Home page just says licensed under
> "GPL".

I probably didn't hunt down all the GPL2 cruft.  I also don't recognize
a "LICENSE=" expression in my code.  Perhaps that is some Gentoo add-on?
Comment 45 Rebecca Menessec 2010-09-08 17:09:12 UTC
(In reply to comment #44)
> (In reply to comment #43)
> > PS: ebuild needs one change?
> > 
> > -SRC_URI="mirror://gnu/${PN}/rel${PV}/${P}.tar.bz2"
> > +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
> 
> No, that was my goof on this release.  It should have the "rel${PV}"
> in the path.  I'll try to get to a symlink fix.

Ah.  I couldn't really find it anywhere but the primary gnu.org server(s), so I wasn't sure.

> > PPS: Or two changes?  LICENSE="GPL-2"?  Home page just says licensed under
> > "GPL".
> 
> I probably didn't hunt down all the GPL2 cruft.  I also don't recognize
> a "LICENSE=" expression in my code.  Perhaps that is some Gentoo add-on?

That's the decl in the ebuild.  I don't see a license in metadata.xml (if you can define the license type there at all anyhow; unsure).  If the code is supposed to be GPLv3, then the ebuild just needs a one-char mod. :D
Comment 46 Bruce Korb 2010-09-08 17:21:12 UTC
(In reply to comment #45)
> That's the decl in the ebuild.  I don't see a license in metadata.xml
Neither ebuild declarations nor metadata.xml are part of the autogen sources.
Comment 47 Rebecca Menessec 2010-09-08 17:28:53 UTC
(In reply to comment #46)
> (In reply to comment #45)
> > That's the decl in the ebuild.  I don't see a license in metadata.xml
> Neither ebuild declarations nor metadata.xml are part of the autogen sources. 

I assumed.  But this is a Gentoo bug tracker, and someone who maintains the ebuild (that would be: not me) needs to fix the ebuild, so I'm mentioning it. :D
Comment 48 Curtis Magyar 2010-09-10 03:05:30 UTC
5.11.1 worked for me too when I hit this bug.  All I changed was the SRC_URI, like comment #43.
Comment 49 Peter Volkov (RETIRED) gentoo-dev 2010-09-15 09:24:40 UTC
*** Bug 317167 has been marked as a duplicate of this bug. ***
Comment 50 Peter Volkov (RETIRED) gentoo-dev 2010-09-15 09:26:56 UTC
5.11.1 is in the tree. Thank you guys and gals :)