Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199660 - dev-java/antlr-2.7.7 fails build (Invalid CTARGET)
Summary: dev-java/antlr-2.7.7 fails build (Invalid CTARGET)
Status: RESOLVED DUPLICATE of bug 135688
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 15:22 UTC by Bjoern Thorwirth
Modified: 2007-11-19 15:40 UTC (History)
1 user (show)

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 Bjoern Thorwirth 2007-11-19 15:22:07 UTC
Antlr fails to build, announcing, that CTARGET is unset

Reproducible: Always

Steps to Reproduce:
1. emerge/pmerge antlr
2.
3.

Actual Results:  
I tried to build antlr and got the following problem:
r/Grammar.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/GrammarFile.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/Hierarchy.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/Option.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/Preprocessor.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/PreprocessorLexer.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/PreprocessorTokenTypes.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/Rule.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/preprocessor/Tool.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/debug/misc/JTreeASTModel.java /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/debug/misc/JTreeASTPanel.java
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/usr/bin/fastjar cf /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/antlr.jar antlr
gcc-config error: /usr/bin/fastjar wrapper: Could not determine which compiler to use.  Invalid CTARGET or CTARGET has no selected profile.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      >> E R R O R <<
============================================================

/usr/bin/fastjar cf /var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/antlr.jar antlr

============================================================
Got an error while trying to execute  command  above.  Error
messages (if any) must have shown before. The exit code was:
exit(1)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
make[1]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/antlr.jar] Error 1
make: *** [all] Error 1

!!! ERROR: dev-java/antlr-2.7.7 failed.
Call stack:
  ebuild-daemon.sh, line 191:   Called execute_phases 'compile'
  ebuild.sh, line 624:   Called dyn_compile
  ebuild-default-functions.sh, line 258:   Called src_compile
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.03"
JAVACFLAGS="+ -source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info

phases failed
!!! Failed to build config wrapped(use): ebuild src: dev-java/antlr-2.7.7: Failed build operation: compile: Failed building (False/0 return from handler)



emerge --info:
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-suspend2-r2 i686)
=================================================================
System uname: 2.6.22-suspend2-r2 i686 Intel(R) Pentium(R) M processor 2.00GHz
Timestamp of tree: Mon, 19 Nov 2007 10:30:01 +0000
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6, 2.5.1-r3
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
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.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer -ggdb"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/share/config/kdm/ /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /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 -march=pentium-m -pipe -fomit-frame-pointer -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="de en"
MAKEOPTS="-j2 -s "
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 /usr/portage/local/layman/einit /usr/portage/local/layman/initng /usr/portage/local/layman/xeffects /usr/portage/local/layman/enlightenment /usr/portage/local/layman/sabayon /usr/portage/local/layman/science /usr/portage/local/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dfx 7Zip X a52 aac aalib accessibility acl acpi ada aiglx alsa amarok apache2 asf audiofile avahi berkdb bidi bitmap-fonts bluetooth bzip2 cairo cdda cdr chm clearcase cli commercial config_wizard cpudetection cracklib crypt css cups dbus debug dga djvu dlloader dri dts dv dvb dvd dvdr dvdread dvi dxr3 eds effects emboss emerald encode esd evo exa exscalibar ext-man ext-rtf ext-tex extraicons extramodules fam fame fat ffmpeg fftw firefox flac flash foomatic-db fortran freetype gcj gd gdbm gif gimpprint glitz gnome gnutls gphoto2 gpm gs gsm gstreamer gtk gtk2 hal hfs iconv icq ieee1394 imap inkjar ipv6 irc irda isdnlog jabber jack java jfs jingle joystick jpeg kdeenablefinal kipi kqemu lame latex lcd ldap libao libcaca libclamav libnotify live livecd lj lm_sensors lzo mad mail matroska midi mikmod mjpeg mmx mng mono mp3 mp3rtp mpeg mudflap musepack musicbrainz mysql ncurses network new-login nls nptl nptlonly nsplugin ntfs ogg ole openal openexr opengl openmp oss pam pascal pcmcia pcre pdf perl php plugin png postgres povray ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime quotas rar rdesktop readline real reflection reiser4 reiserfs rss ruby samba scanner sdl session skins slp sms sndfile speex spell spl spreadsheet sql ssl startup-notification stream streams subversion svg switch_all_desktops sysfs tcpd theora tiff tk tracker truetype truetype-fonts type1-fonts udev unicode usb vcd visualization voice vorbis weather webservices wifi win32codecs winbind wmf wxwindows x264 x86 xfs xine xinerama xml xorg xosd xpm xprint xscreensaver xsl xv xvid xvmc zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" 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" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="radeon fglrx vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-11-19 15:24:37 UTC
Run java-check-environment and fix your system.

*** This bug has been marked as a duplicate of bug 135688 ***
Comment 2 Bjoern Thorwirth 2007-11-19 15:40:50 UTC
Sorry   ...didn't see the relation.. Thanks a lot..