Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275617 - dev-java/antlr-2.7.7 fails on examples
Summary: dev-java/antlr-2.7.7 fails on examples
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-27 17:00 UTC by Patrick Lauer
Modified: 2016-01-14 22:39 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2009-06-27 17:00:49 UTC
>> make -C examples/cpp/ASTsupport test                                                                                                                                          
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>                                                                                                                   
make[3]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport'                                                                     
make[4]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr'                                                                                       
make[4]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr'                                                                                        
/bin/sh /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/scripts/antlr.sh  /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/../../../examples/cpp/ASTsupport/test.g                                                                                                                                                           
/opt/icedtea6-bin-1.4.1/bin/java -classpath /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/antlr.jar antlr.Tool /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/../../../examples/cpp/ASTsupport/test.g                                                                                                              
ANTLR Parser Generator   Version 2.7.7 (20090627)   1989-2005                                                                                                                    
x86_64-pc-linux-gnu-g++ -O2 -pipe -c -I . -I /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/scripts/../lib/cpp /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/SupportTest.cpp
x86_64-pc-linux-gnu-g++ -O2 -pipe -c -I . -I /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/scripts/../lib/cpp /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/../../../examples/cpp/ASTsupport/Main.cpp
make[4]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/cpp/src'
make[4]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/cpp/src'
x86_64-pc-linux-gnu-g++ -Wl,-O1 /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/SupportTest.o /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/Main.o /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/cpp/src/libantlr.a
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/ASTSupport
make[3]: /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/ASTSupport: Command not found
make[3]: *** [test1] Error 127
make[3]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport'
make[2]: *** [test] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp'
make[1]: *** [test] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples'
make: *** [test] Error 2
 *
 * ERROR: dev-java/antlr-2.7.7 failed.


Portage 2.2_rc33 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r1-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.0_p24
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.29
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/live/env /usr/kde/live/share/config /usr/kde/live/shutdown /usr/share/config"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
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://localhost/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode xorg 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 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" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Patrick Lauer gentoo-dev 2012-03-12 09:27:34 UTC
Haha, funny joke

x86_64-pc-linux-gnu-g++ -Wl,-O1 /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/SupportTest.o /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/examples/cpp/ASTsupport/Main.o /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/cpp/src/libantlr.a

that command generates an a.out file ... which is of course not what the test looks for later. Silly wabbit!
Comment 2 James Le Cuirot gentoo-dev 2016-01-14 22:39:05 UTC
This has been split into dev-cpp/antlr-cpp in the name of sanity. Building the examples seemed like more hassle than it was worth so now we just install the raw example files without building them, which I think is sufficient. Considering this fixed.