Bug 209000 - please stabilize =dev-lang/gnat-gcc-3.4.6
Bug#: 209000 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: george@gentoo.org
Component: Ebuilds
URL: 
Summary: please stabilize =dev-lang/gnat-gcc-3.4.6
Keywords:  STABLEREQ
Status Whiteboard: 
Opened: 2008-02-05 14:00 0000
Description:   Opened: 2008-02-05 14:00 0000
Same as in #208997, the best (and likely the last) version in the 3.4 SLOT.
Have been in the tree for ages, all the bugs should have long surfaced and been
resolved..

George

------- Comment #1 From George Shapovalov 2008-02-05 14:12:59 0000 -------
Actually, looks like I never submitted this one for being ~ppc keyworded. So,
ppc team, please keyword it ~ppc first I guess.
I'd even say, you may go straight to stable - I do not envision any ppc related
trouble, and it *was* tested by users quite some time ago (I have a bootstrap
for it uploaded at a proper location), plus this is Ada after all.

Alternatively, if ppc team has trouble with time/hardware, you may simply drop
this version..

George

------- Comment #2 From Christian Faulhammer 2008-02-05 17:48:48 0000 -------
configure: warning: build_alias=i686-pc-linux-gnu: invalid host type
configure: warning: host_alias=i686-pc-linux-gnu: invalid host type
configure: error: can only configure for one host and one target at a time
make: *** [configure-intl] Error 1
make: *** Waiting for unfinished jobs....

Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 AMD Athlon(tm) X2 Dual Core Processor BE-2400
Timestamp of tree: Tue, 05 Feb 2008 15:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config
/usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown
/usr/share/config /var/lib/hsqldb /var/qmail/alias /var/qmail/control
/var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi aiglx alsa apache2 apm applet artworkextra
asf audiofile avahi bash-completion beagle berkdb bidi bitmap-fonts bogofilter
bootsplash branding bzip2 cairo ccache cdda cddb cdparanoia cdr cli console
cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dri dts
dvd dvdr dvdread dvi eds emacs emboss encode esd evince evo exif fam fat fbcon
fdftk ffmpeg firefox flac foomaticdb fortran ftp gb gcj gdbm gif glitz gnome
gpm gsf gstreamer gtk gtk2 gtkhtml hal howl iconv icq idn imagemagick imap
imlib immqt-bc isdnlog java javascript jpeg jpeg2k kde ldap libnotify lirc
lm_sensors mad maildir matroska mbox midi mikmod mime mmx mmxext mng mono mp3
mpeg mpeg2 mudflap mule mysql nautilus ncurses nforce2 nls nocardbus nptl
nptlonly nsplugin nvidia objc objc++ objc-gc offensive ogg opengl openmp pam
pango pcre pdf perl php plotutils pmu png ppds pppd prediction preview-latex
print python qt3 qt3support qt4 quicktime readline reflection samba sdk session
slang spell spl sse ssl svg svga t1lib tcl tcpd tetex theora threads
thumbnailing tiff tk toolkit-scroll-bars totem tracker truetype truetype-fonts
type1-fonts udev unicode usb userlocales vcd videos vorbis win32codecs wmf
wxwindows x86 xface xft xine xml xorg xosd xpm xv xvid zlib"
ALSA_CARDS="intel8x0" 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
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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="atiusb" USERLAND="GNU"
VIDEO_CARDS="vesa fbdev fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From George Shapovalov 2008-02-05 23:19:22 0000 -------
Hm, strange. I suspect it may be related to binutils (possibly a mismatch
between the bootstrap and new binutils in action).
I'll close this for now then, until I trace the cause for sure.
Sorry for bothering.

George

------- Comment #4 From George Shapovalov 2008-02-08 10:02:06 0000 -------
Fixed. That was an autoconf issue - had to force WANT_AUTOCONF=2.1. Now  builds
and works fine (tested on native amd64 and 32bit chroot).

------- Comment #5 From Tobias Scherbaum 2008-02-08 18:20:29 0000 -------
3.4.6 wasn't keyworded ~ppc before, so we drop this version.

------- Comment #6 From Markus Meier 2008-02-08 21:53:22 0000 -------
The package seems to be fine, but has a collision with asis-gcc (reverse dep).

 * package dev-ada/asis-gcc-3.4.6 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/lib/gnat-gcc/i686-pc-linux-gnu/3.4/adainclude/g-string.ads
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-lang/gnat-gcc-3.4.6
 *      /usr/lib/gnat-gcc/i686-pc-linux-gnu/3.4/adainclude/g-string.ads

------- Comment #7 From George Shapovalov 2008-02-09 00:45:55 0000 -------
Well, that's rather the other way around, asis-gcc has a collision with this
one :), the file in question really belongs to the compiler (it is a part of a
standard library).

I backported the fix from asis-gcc-4.2.2, there should be no problem any more
(file is the same as the one installed by gnat-gcc - asis uses some of the gnat
sources internally).

Actually, while you are at it, you might conside stabilizing asis-gcc-3.4.6 as
well, it is not going to get any more "stable" anyway..

George

------- Comment #8 From Markus Meier 2008-02-10 21:13:49 0000 -------
dev-lang/gnat-gcc-3.4.6 and dev-ada/asis-gcc-3.4.6 stable on x86.

------- Comment #9 From Santiago M. Mola 2008-03-17 12:38:10 0000 -------
amd64 stable
(I didn't stabilized asis-gcc since it wasn't explicitely requested and we have
not prior stable keyword there)

------- Comment #10 From Daniel Tourde 2008-04-09 12:01:19 0000 -------
Hello,

emerge =gnat-3.4 does not work for me, x86 gcc-3.4.6

mkdir -p ada/bldtools
cp -p /var/tmp/portage/dev-lang/gnat-gcc-3.4.6/work/gcc-3.4.6/gcc/ada/sinfo.ads
/var/tmp/portage/dev-lang/gnat-gcc-3.4.6/work/gcc-3.4.6/gcc/ada/xsinfo.adb
ada/bldtools

raised ADA.IO_EXCEPTIONS.END_ERROR : a-textio.adb:631
make[2]: *** [ada/treeprs.ads] Error 1
make[2]: *** Waiting for unfinished jobs....
(cd ada/bldtools; gnatmake -q xsinfo ; ./xsinfo ../sinfo.h )
make[2]: Leaving directory
`/var/tmp/portage/dev-lang/gnat-gcc-3.4.6/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory
`/var/tmp/portage/dev-lang/gnat-gcc-3.4.6/work/build/gcc'
make: *** [bootstrap] Error 2
 *
 * ERROR: dev-lang/gnat-gcc-3.4.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3669:  Called gnatbuild_src_compile
 *             environment, line 2536:  Called gnatbuild_src_compile
'src_compile'
 *             environment, line 2540:  Called gnatbuild_src_compile
'src_compile' 'all' 'configure' 'make-tools' 'bootstrap'
 *             environment, line 2584:  Called die
 * The specific snippet of code:
 *                       emake bootstrap || die "bootstrap failed"
 *  The die message:
 *   bootstrap failed
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/dev-lang/gnat-gcc-3.4.6/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-lang/gnat-gcc-3.4.6/temp/environment'.
 *

emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0,
2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Timestamp of tree: Wed, 09 Apr 2008 07:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.3.6-r4, 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config /usr/spool/PBS /var/bind
/var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc distlocks metadata-transfer sandbox sfperms
strict unmerge-orphans"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en sv fr si"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aac aalib accessibility acl acpi ada adns aiglx aim akode
alsa amarok ansi apache2 apm arts asf auctex audiofile automount
bash-completion bcmath beagle berkdb bidi blas bonobo boost boundchecking bzip2
bzlib c++ cairo calendar caps cdb cdr cgi cjk clearcase cli cmucl cpdflib
cpudetection cracklib crypt cscope ctype cups curl curlwrappers cvs d dba dbase
dbm dbus dbx deprecated dga dio directfb discouraged divx4linux doc dri dvb dvd
dvdr dvdread eds emacs emacs-w3 emboss encode esd ethereal evo exif expat fam
fastcgi fbcon fbcondecor ffcall ffmpeg fftw filepro firebird firefox flac
flatfile foomaticdb fortran freetds ftp gcc-libffi gcj gd gdbm ggi gif ginac
glut gmp gnome gnustep gnutls gphoto2 gpm gsnd gstreamer gtk gtkhtml guile hal
haskell hdf5 iconv icq icu idn imagemagick imap imlib innodb iodbc ipv6 isdnlog
jabber jack java javascript joystick jpeg junit kde kdeenablefinal kerberos
krb4 ladcca lapack lcms ldap leim libgda lzo mad maildir mailwrapper mbox mhash
midi mikmod milter mime ming mjpeg mmap mmx mng mono motif mozbranding mp3 mpeg
mplayer msession msn mudflap mule mysql mysqli nas ncurses netcdf networking
new-login nis nls nptl nptlonly nsplugin nvidia objc objc++ odbc offensive ofx
ogg openal opengl openmp oscar oss pam pascal pcntl pcre pda pdf perforce perl
php pic pie plotutils plugin png portaudio posix postgres povray ppds pppd
prelude profile python qhull qt3 qt3support qt4 quicktime readline reflection
regex ruby samba sasl scanner sdl seamonkey session simplexml slang slp sndfile
snmp soap sockets socks5 sox speex spell spl sql sqlite sqlite3 sse sse2 ssl
stlport subversion svg svga svnserve sysvipc szip tcl tcltk tcpd tetex theora
threads tidy tiff tk tokenizer truetype unicode usb vhosts vorbis wddx
win32codecs winbind wmf wxwindows x86 xcomposite xface xft xine xinerama xml
xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo yaz zeo 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 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 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="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en sv fr si" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #11 From Santiago M. Mola 2008-04-09 12:27:31 0000 -------
Daniel, can you file a new bug for your problem?

------- Comment #12 From George Shapovalov 2008-04-09 13:14:08 0000 -------
Yea, this one is totally unrelated.
Please also specify the exact version of gnat you are trying to emerge (full
version please). Straight dev-lang/gnat is long gone from the tree, so this is
one of gnatgcc or gnat-gpl.

Just a quick suggestion looking at your report (but please do file a new bug):
raised ADA.IO_EXCEPTIONS.END_ERROR : a-textio.adb:631
was there a problem downloading the sources by chance? Try to rm all the files
listed in SRC_URI and emerge it again. Please also remove digest from FEATURES
if you have it there (so that it matches the digest against the right sum and
not autocalculates).

George