Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369393 - sys-devel/autogen-5.11.9 fails to build with newer guile due to removed scm_sizet type
Summary: sys-devel/autogen-5.11.9 fails to build with newer guile due to removed scm_s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-30 21:50 UTC by georgi
Modified: 2011-06-29 02:55 UTC (History)
4 users (show)

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


Attachments
Build log of failed build (build.log,27.34 KB, text/plain)
2011-05-30 21:55 UTC, georgi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description georgi 2011-05-30 21:50:23 UTC
Reproducible: always
BTW, sys-devel/autogen-5.11.6 builds successfully.


make[3]: Entering directory `/tmp/portage/sys-devel/autogen-5.11.9/work/autogen-5.11.9/agen5'
exec > ag.c ; \
echo '#undef   PKGDATADIR' ; \
echo '#define  PKGDATADIR "/usr/share/autogen"' ; \
mk=`set -- make ; which $1` ; \
echo 'static char const zMakeProg[] = "'$mk'";' ; \
echo ; echo '#define  DEFINING' ; \
echo '#include "autoopts/project.h"' ; \
echo '#include "autoopts/ag-char-map.h"' ; \
echo '#include "autogen.h"' ; \
for f in autogen.c    cgi-fsm.c defParse-fsm.c   expExtract.c expFormat.c expGperf.c expGuile.c  expMake.c expOutput.c  expPrint.c  expState.c expString.c funcCase.c funcDef.c funcEval.c funcFor.c funcIf.c functions.c agCgi.c      agInit.c     agShell.c  agUtils.c defDirect.c  defFind.c    defLex.c   defLoad.c fmemopen.c   loadPseudo.c opts.c     scmStrings.c tpLoad.c     tpParse.c    tpProcess.c ; do echo "#include \"$f\"" ; done
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../autoopts   -pthread -march=core2 -O2 -pipe -c -o autogen-ag.o `test -f 'ag.c' || echo './'`ag.c
In file included from autogen.h:493:0,
                 from ag.c:8:
proto.h:162:31: error: expected declaration specifiers or ‘...’ before ‘scm_sizet’
In file included from ag.c:13:0:
expFormat.c: In function ‘construct_license’:
expFormat.c:372:5: warning: passing argument 2 of ‘do_multi_subs’ from incompatible pointer type
proto.h:162:1: note: expected ‘SCM’ but argument is of type ‘size_t *’
expFormat.c:372:5: error: too many arguments to function ‘do_multi_subs’
proto.h:162:1: note: declared here
In file included from ag.c:20:0:
expString.c: At top level:
expString.c:46:5: error: expected declaration specifiers or ‘...’ before ‘scm_sizet’
expString.c:50:5: error: expected declaration specifiers or ‘...’ before ‘scm_sizet’
expString.c:341:5: error: expected declaration specifiers or ‘...’ before ‘scm_sizet’
expString.c:345:5: error: expected declaration specifiers or ‘...’ before ‘scm_sizet’
expString.c: In function ‘do_substitution’:
expString.c:351:21: error: ‘strLen’ undeclared (first use in this function)
expString.c:351:21: note: each undeclared identifier is reported only once for each function it appears in
expString.c:383:6: error: ‘pResLen’ undeclared (first use in this function)
expString.c: At top level:
expString.c:394:31: error: expected declaration specifiers or ‘...’ before ‘scm_sizet’
expString.c: In function ‘do_multi_subs’:
expString.c:413:37: error: ‘pStrLen’ undeclared (first use in this function)
expString.c:414:29: warning: passing argument 4 of ‘do_substitution’ from incompatible pointer type
expString.c:339:1: note: expected ‘char **’ but argument is of type ‘SCM’
expString.c:414:29: error: too many arguments to function ‘do_substitution’
expString.c:339:1: note: declared here
expString.c:421:13: error: too many arguments to function ‘do_multi_subs’
expString.c:394:1: note: declared here
expString.c: In function ‘ag_scm_join’:
expString.c:523:5: error: ‘scm_sizet’ undeclared (first use in this function)
expString.c:523:16: error: expected ‘;’ before ‘str_len’
expString.c:537:5: error: ‘str_len’ undeclared (first use in this function)
expString.c: In function ‘ag_scm_string_tr’:
expString.c:1120:5: error: ‘scm_sizet’ undeclared (first use in this function)
expString.c:1120:15: error: expected ‘;’ before ‘lenz’
expString.c:1121:23: error: ‘lenz’ undeclared (first use in this function)
expString.c: In function ‘ag_scm_string_substitute’:
expString.c:1150:5: error: ‘scm_sizet’ undeclared (first use in this function)
expString.c:1150:16: error: expected ‘;’ before ‘len’
expString.c:1157:5: error: ‘len’ undeclared (first use in this function)
expString.c:1160:9: warning: passing argument 4 of ‘do_substitution’ from incompatible pointer type
expString.c:339:1: note: expected ‘char **’ but argument is of type ‘SCM’
expString.c:1160:9: error: too many arguments to function ‘do_substitution’
expString.c:339:1: note: declared here
expString.c:1162:9: error: too many arguments to function ‘do_multi_subs’
expString.c:394:1: note: declared here
ag.c: In function ‘assembleName’:
defLex.c:531:9: warning: ignoring return value of ‘strtol’, declared with attribute warn_unused_result
ag.c: In function ‘start_dep_file’:
agUtils.c:136:12: warning: ignoring return value of ‘mkstemp’, declared with attribute warn_unused_result
ag.c: In function ‘loadCgi’:
agCgi.c:92:5: warning: ignoring return value of ‘fdopen’, declared with attribute warn_unused_result
ag.c: In function ‘done_check’:
autogen.c:428:13: warning: ignoring return value of ‘fread_unlocked’, declared with attribute warn_unused_result
make[3]: *** [autogen-ag.o] Error 1
make[3]: Leaving directory `/tmp/portage/sys-devel/autogen-5.11.9/work/autogen-5.11.9/agen5'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/sys-devel/autogen-5.11.9/work/autogen-5.11.9/agen5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/sys-devel/autogen-5.11.9/work/autogen-5.11.9'
make: *** [all] Error 2


emerge --info:

Portage 2.1.9.50 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_6700_@_2.66GHz-with-gentoo-2.0.2
Timestamp of tree: Sun, 29 May 2011 06:30:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-march=core2 -O2 -pipe"
DISTDIR="/tmp"
EMERGE_DEFAULT_OPTS="--nospinner --with-bdeps y --alphabetical"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j2"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/oss-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi adns aesicm akonadi alisp alsa amd64 amr amrnb amrwb apng archive assistant asyncns attica audiofile avx bash-completion bios bittorrent bluetooth boost branding bzip2 cairo calendar captury cdda cdinstall cdio celt cgraph chm cli consolekit context cracklib crypt css cups curl cxx cyrillic dbus declarative development device-mapper dhcp dia dirac djbfft djvu dri dts dvd dvdr dvdread dvipdfm dynamic eap-tls ebook embedded emovix encode exif expat extensions extra extrafilters extras faac faad fam fame fbcondecor ffmpeg fftw firefox fits flac fluidsynth fontconfig fontforge fpx fts3 games gcrypt gd gdbm gif gimp git glib gme gmm gnuplot gnutls gpg graphics graphviz gs gtk hdf5 hdri hpn http humanities hyperestraier ical iconv icu id3tag idea idn ilbc imagemagick inkjar inotify iproute2 ithreads jabber jadetex java java6 javascript jbig jce jingle joystick jpeg jpeg2k jsapi kde kig-scripting kipi konqueror kpathsea ktts ladspa lame latex latex3 lcdfilter lcms libass libedit libffi libgcrypt libnotify libssh2 libtiger libwww lm_sensors lto lzma lzo mad matroska mbrola mem-scramble mercurial midi mjpeg mmap mmx mmxext mng mod modplug modules mp3 mp4 mpeg mtp mudflap multilib multimedia musepack music natspec ncurses network network-cron nls nptl nptlonly nsplugin nuv offensive ogg omega openal openexr opengl openmp optimized-qmake oscar pam pango paste64 pcre pdf pg-intdatetime pgf phonon pic plasma plotutils png policykit postproc ppds pppd private-headers projectm pstricks pth publishers pulseaudio python python3 qemu qt3support qt4 qtscript quicktime rdesktop readline realtime reports rle rss rtmp rtsp sasl scanner schroedinger science script sdk sdl sdl-image secure-delete semantic-desktop session sip sipim slang smp sndfile sound soundtouch speex spell sql sqlite sqlite3 srtp sse sse2 sse3 ssl ssse3 startup-notification stats stream subversion svg symlink sysfs system-sqlite szip taglib theora threads tidy tiff toolbar truetype udev unicode unlock-notify usb utempter vaapi vamp vcd vde vdpau video vlc vlm vorbis vorbis-psy vpx wav wavpack webkit wideband wmf x264 xcb xcomposite xetex xforms xml xmlpatterns xmp xorg xulrunner xv xvid xvmc zip zlib zrtp" ALSA_CARDS="virtuoso" 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="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="none" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson2" 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_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 georgi 2011-05-30 21:55:06 UTC
Created attachment 275231 [details]
Build log of failed build
Comment 2 Rafał Mużyło 2011-05-31 13:09:25 UTC
Minor note: 
/usr/include/libguile/deprecated.h, around line 96 (in guile 1.8.8):
#define scm_sizet size_t

After fixing this minor problem, it builds fine.
Comment 3 Rafał Mużyło 2011-05-31 13:25:41 UTC
...though there's a guile error upon 'make check', but one,  that doesn't seem related to the change:
Scheme evaluation error.  AutoGen ABEND-ing in template
	/home/voidspawn/work/lcomp/test/autogen-5.11.9/autoopts/tpl/optmain.tlib on line 29
Failing Guile command:  = = = = =
Comment 4 Bruce Korb 2011-05-31 13:43:28 UTC
(In reply to comment #3)
> ...though there's a guile error upon 'make check', but one,  that doesn't seem
> related to the change:
> Scheme evaluation error.  AutoGen ABEND-ing in template
>     /home/voidspawn/work/lcomp/test/autogen-5.11.9/autoopts/tpl/optmain.tlib on
> line 29
> Failing Guile command:  = = = = =

There is usually a little more that follows the "Failing Guile command" line.
My guess is:  (. extension-defines)

     25 =][=
     26 
     27 IF (== (get "main.main-type" "") "for-each")
     28 
     29 =][= (. extension-defines) =]
     30  
     31 #include <sys/types.h>
     32 #include <sys/stat.h>

And that ought to be defined in the configured file, tpl-config.tlib.
On my Linux x86-64 openSuSE 11.4, this is:

$ fgrep -A9 -n extension-defines tpl-config.tlib
74:[= (define extension-defines
75-   "#ifndef _ALL_SOURCE
76-# define _ALL_SOURCE 1
77-#endif
78-#ifndef _GNU_SOURCE
79-# define _GNU_SOURCE 1
80-#endif
81-#ifndef _POSIX_PTHREAD_SEMANTICS
82-# define _POSIX_PTHREAD_SEMANTICS 1
83-#endif

So, two questions:  How did that error message end? and
What are the contents of your tpl-config.tlib file?
Comment 5 Bruce Korb 2011-05-31 13:54:24 UTC
Oh, P.S. does anyone know when Guile deprecated scm_sizet?
When I wrote the code originally, it was the  correct way to
specify a size.  I got whacked when 1.9/2.0 yanked the rug,
but I'm not a Guile history major.  Or, I try not to be.
Unfortunately, if you look at guile-iface.h you'll see the
results of some amount of forensics.  Clearly I am going to
need a "ag_scm_size_t" type that changes its defined-to
string depending on the version of Guile.  I just need to
know what _its_ cut over version is.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2011-05-31 14:35:29 UTC
This package is maintained by toolchain, so I am reassigning to them. Scheme herd is still in the CC, so we'll try to help with any guile issues.
Comment 7 SpanKY gentoo-dev 2011-06-06 00:55:07 UTC
Bruce: you could add an autoconf type check that includes the relevant guile header, and if that fails, define it yourself.  then you wouldnt need to know what version things changed.
Comment 8 Bruce Korb 2011-06-06 01:57:15 UTC
(In reply to comment #7)
> Bruce: you could add an autoconf type check

The problem with type checks is that you have to have one for each interface
you need to validate and each one takes time.  So what is a ridiculous
config time becomes just that much more so by firing up a scriptlett for
each interface.  I ultimately pulled the last 1.6.x version, the first 1.7.0
version and examined each of the interfaces that changed.  There were 24.
There were 4 more, but the replacement has been stable since the 1.4/1.6
interface change, so I removed tham.  I  don't want to add 24 config tests.

I am now down to this:

#if   GUILE_VERSION < 107000
# define AG_SCM_BOOL_P(_b)            SCM_BOOLP(_b)
# define AG_SCM_CHAR(_c)              gh_scm2char(_c)
# define AG_SCM_CHARS(_s)             SCM_CHARS(_s)
# define AG_SCM_FALSEP(_r)            SCM_FALSEP(_r)
# define AG_SCM_FROM_LONG(_l)         gh_long2scm(_l)
# define AG_SCM_INT2SCM(_i)           gh_int2scm(_i)
# define AG_SCM_IS_PROC(_p)           SCM_NFALSEP( scm_procedure_p(_p))
# define AG_SCM_LIST_P(_l)            SCM_NFALSEP( scm_list_p(_l))
# define AG_SCM_LISTOFNULL()          scm_listofnull
# define AG_SCM_LONG2SCM(_i)          gh_long2scm(_i)
# define AG_SCM_NFALSEP(_r)           SCM_NFALSEP(_r)
# define AG_SCM_NULLP(_m)             SCM_NULLP(_m)
# define AG_SCM_NUM_P(_n)             SCM_NUMBERP(_n)
# define AG_SCM_PAIR_P(_p)            SCM_NFALSEP( scm_pair_p(_p))
# define AG_SCM_STR02SCM(_s)          scm_makfrom0str(_s)
# define AG_SCM_STR2SCM(_st,_sz)      scm_mem2string(_st,_sz)
# define AG_SCM_STRING_P(_s)          SCM_STRINGP(_s)
# define AG_SCM_STRLEN(_s)            SCM_STRING_LENGTH(_s)
# define AG_SCM_SYM_P(_s)             SCM_SYMBOLP(_s)
# define AG_SCM_TO_INT(_i)            gh_scm2int(_i)
# define AG_SCM_TO_LONG(_v)           gh_scm2long(_v)
# define AG_SCM_TO_NEWSTR(_s)         gh_scm2newstr(_s, NULL)
# define AG_SCM_TO_ULONG(_v)          gh_scm2ulong(_v)
# define AG_SCM_VEC_P(_v)             SCM_VECTORP(_v)

#elif GUILE_VERSION < 201000
# define AG_SCM_BOOL_P(_b)            scm_is_bool(_b)
# define AG_SCM_CHAR(_c)              SCM_CHAR(_c)
# define AG_SCM_CHARS(_s)             scm_i_string_chars(_s)
# define AG_SCM_FALSEP(_r)            scm_is_false(_r)
# define AG_SCM_FROM_LONG(_l)         scm_from_long(_l)
# define AG_SCM_INT2SCM(_i)           scm_from_int(_i)
# define AG_SCM_IS_PROC(_p)           scm_is_true( scm_procedure_p(_p))
# define AG_SCM_LIST_P(_l)            scm_is_true( scm_list_p(_l))
# define AG_SCM_LISTOFNULL()          scm_list_1(SCM_EOL)
# define AG_SCM_LONG2SCM(_i)          scm_from_long(_i)
# define AG_SCM_NFALSEP(_r)           scm_is_true(_r)
# define AG_SCM_NULLP(_m)             scm_is_null(_m)
# define AG_SCM_NUM_P(_n)             scm_is_number(_n)
# define AG_SCM_PAIR_P(_p)            scm_is_true( scm_pair_p(_p))
# define AG_SCM_STR02SCM(_s)          scm_from_locale_string(_s)
# define AG_SCM_STR2SCM(_st,_sz)      scm_from_locale_stringn(_st,_sz)
# define AG_SCM_STRING_P(_s)          scm_is_string(_s)
# define AG_SCM_STRLEN(_s)            scm_c_string_length(_s)
# define AG_SCM_SYM_P(_s)             scm_is_symbol(_s)
# define AG_SCM_TO_INT(_i)            scm_to_int(_i)
# define AG_SCM_TO_LONG(_v)           scm_to_long(_v)
# define AG_SCM_TO_NEWSTR(_s)         scm_to_locale_string(_s)
# define AG_SCM_TO_ULONG(_v)          scm_to_ulong(_v)
# define AG_SCM_VEC_P(_v)             scm_is_vector(_v)
#else
#error unknown GUILE_VERSION
#endif
Comment 9 k0l0b0k 2011-06-06 04:37:19 UTC
This bug happens with my setup too.

Portage 2.1.9.50 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.38.5-zen-x64-k20110601-1 x86_64)
=================================================================
System uname: Linux-2.6.38.5-zen-x64-k20110601-1-x86_64-AMD_Phenom-tm-_II_P820_Triple-Core_Processor-with-gentoo-2.0.2
Timestamp of tree: Mon, 06 Jun 2011 03:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -march=native -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="rsync://portage.org.ua http://portage.org.ua"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru uk en"
MAKEOPTS="-j3"
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/poly-c /var/lib/layman/desktop-effects /var/lib/layman/sunrise /var/lib/layman/bitcoin /usr/local/portage"
SYNC="rsync://portage.org.ua/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib acpi activefilter additions agg aio alsa amd64 amr apng archive audio bash-completion bineditor bluetooth bonobo bookmarks branding bzip2 cairo caps cdda cleartype cli client cmake compiz connection-sharing consolekit cracklib crypt css cups curl cxx dbus derby designer devhelp device-mapper dhclient dhcp dhcpcd dirac djbfft djvu drm dts dv dvb dvd eap eap-sim eap-tls edit enca encode exceptions exif extensions faac fam fasteap fat ffmpeg flac fluidsynth fontconfig foomaticdb frei0r fts3 fuse gallium gdu gio git glade glib gme gnome gnome-keyring gnutls gphoto2 gpm graphite grub gsm gstreamer gtk hardcoded-tables health hpcups hpijs hpn http hunspell icons iconv icu id3tag idle imagemagick ios iptables ipv6 jingle jit joystick jpeg jpeg2k json ladspa lame libass libcaca libffi libkms libnotify libproxy libv4l libv4l2 lightning llvm-gcc lm_sensors loop-aes lto lzma lzo matroska mmx mmxext mng modules mozdom mp3 mpeg mtp multilib multitarget musepack mysql natspec nautilus network networkmanager nfs nls nptl nsplugin ntlm ogg openal opengl openmp openssl optimization optimized-qmake pam pam_ssh pcf pch pcmcia pcre pdf pidgin pixmaps pkcs11 pnat png policykit postproc prediction private-headers projectm psf pvr python qscintilla qt-dbus qt-webkit qt3support qt4 qthelp qtscript radius readline remoteosd rle rss rtmp rtsp samba sha512 shout skins slang smbclient smp sourceview spell sqlite sqlite3 srv sse sse2 ssl startup-notification stream subversion svg theora threads threadsafe tiff truetype twolame udev unicode upnp utils uuid v4l v4l2 vaapi vala vapigen vcd vcdx video vnc vorbis vpx webdav-neon webm webp wifi wma wmf wps x264 xcb xcomposite xface xhtml xml xmp xmpp xorg xpdf-headers xrandr xscreensaver xv xvid zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="*" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru uk en" USERLAND="GNU" VIDEO_CARDS="radeon" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Rafał Mużyło 2011-06-11 18:46:59 UTC
OK, never mind - 'make check' actually does pass in a way.

What I did the first time was changing scm_sizet to size_t in the sources - I forgot, that as quite a few source files of autogen are generated by autogen, so 'make check' is fragile.

When I instead run 'make CPPFLAGS=-Dscm_sizet=size_t' on a fresh 5.11.9 tarball tree, 'make check' passed cleanly.
Comment 11 Bruce Korb 2011-06-11 19:18:37 UTC
(In reply to comment #10)
> When I instead run 'make CPPFLAGS=-Dscm_sizet=size_t' on a fresh 5.11.9 tarball
> tree, 'make check' passed cleanly.

Since I wrote this stuff when Guile 1.4 was current and scm_sizet was
the preferred spelling, that's what I did.  When that disappeared,
I just created my own #define replacement.  Investigation shows that
it has always been #defined to size_t.  This weirdism has been removed
from the current sources (5.11.10 -- not yet available).

I think Guile has been trying to stabilize their interface in the
last few years.  I "grew up" in the 1.4/1.6/1.8 turmoil, so I've
taken to avoiding learning the latest and greatest preferred interfaces.
We might well be past all that now.
Comment 12 shiva.shampoo 2011-06-17 06:20:52 UTC
I'm a gentoo n00b,

emerge autogen-5.11.9 succeeds after emerging guile-1.8.8-r1 with "deprecated" USE flag.
Comment 13 Bruce Korb 2011-06-28 14:15:08 UTC
This is also fixed in Sunday's release:  AutoGen-5.12
Comment 14 SpanKY gentoo-dev 2011-06-29 02:55:12 UTC
thanks ... 5.12 now in the tree