Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172104 - dev-java/antlr-2.7.7 does not emerge when pnet is installed
Summary: dev-java/antlr-2.7.7 does not emerge when pnet is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 163801
  Show dependency tree
 
Reported: 2007-03-24 21:30 UTC by Michael Labhard
Modified: 2008-06-10 22:05 UTC (History)
3 users (show)

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


Attachments
patch allowing antlr to build when pnet is installed (using mcs instead cscc) (antlr-2.7.7.ebuild.patch,371 bytes, patch)
2007-06-23 14:40 UTC, Jurek Bartuszek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Labhard 2007-03-24 21:30:47 UTC
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> /usr/bin/make -C lib/csharp/antlr.astframe all
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
make[3]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.astframe'
make[4]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime'
/usr/bin/cscc -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime/../../../lib/csharp/antlr.runtime/AssemblyInfo.cs:36: unknown pre-processor directive: #pragma warning disable 1699
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime/../../../lib/csharp/antlr.runtime/AssemblyInfo.cs:39: unknown pre-processor directive: #pragma warning restore 1699

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

/usr/bin/cscc -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC [ file(s) skipped]

============================================================
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[4]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime'
make[3]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.astframe'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib'
make: *** [all] Error 1

!!! ERROR: dev-java/antlr-2.7.7 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4746:   Called src_compile
  antlr-2.7.7.ebuild, line 37:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/opt/no_archive/portage/log/dev-java:antlr-2.7.7:20070324-203638.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="+ -source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info

goliath ~ # ls /usr/bin/fastjar
ls: cannot access /usr/bin/fastjar: No such file or directory

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 24 Mar 2007 19:00:08 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/resin/conf /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2"
DISTDIR="/opt/no_archive/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.ccccom.com http://gentoo.osuosl.org/"
MAKEOPTS="-j2"
PKGDIR="/opt/no_archive/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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr eds emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde ldap libg++ log4cpp mad midi mikmod mono mozilla mp3 mp4live mpeg nas ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl plotutils png postgres ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl stream svg tcltk tcpd truetype truetype-fonts type1-fonts unicode usb vorbis wxwindows xinerama xml xorg 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 mulaw multi null plug rate route share shm softvol" 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="nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2007-03-24 22:25:35 UTC
Please post emerge -pv antlr so that we can see the exact use flag combination that fails.
Comment 2 Michael Labhard 2007-03-24 22:55:24 UTC
goliath ~ # emerge -pv antlr

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-java/antlr-2.7.7  USE="doc mono python -debug -examples -nocxx -nojava -script -source" 0 kB
Comment 3 Anton Kuzmin 2007-03-26 13:16:33 UTC
emerge fastjar
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-03-26 13:47:27 UTC
(In reply to comment #3)
> emerge fastjar
> 

Why?


Comment 5 Petteri Räty (RETIRED) gentoo-dev 2007-03-26 13:51:48 UTC
(In reply to comment #2)
> goliath ~ # emerge -pv antlr
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N    ] dev-java/antlr-2.7.7  USE="doc mono python -debug -examples
> -nocxx -nojava -script -source" 0 kB
> 

Anyone with amd64 available able to reproduce this?
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2007-03-26 14:02:59 UTC
Cannot reproduce it here:
>>> dev-java/antlr-2.7.7 merged.

[ebuild   R   ] dev-java/antlr-2.7.7  USE="-debug -doc -examples -mono -nocxx -nojava -python -script -source" 0 kB 

fastjar was not needed.

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.20-beyond2 x86_64)
=================================================================
System uname: 2.6.20-beyond2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 26 Mar 2007 12:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /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"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg ccache collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ "
LANG="en_US.ISO-8859-15"
LC_ALL="en_US.ISO-8859-15"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/local/portage/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr audiofile berkdb bitmap-fonts bzip2 cairo cdinstall cdr cli cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode fam firefox fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv jpeg ldap libg++ lirc logrotate mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl pam pcre php png ppds pppd quicktime readline reflection sdl session smp spl ssl svg symlink tcpd test tiff truetype truetype-fonts type1-fonts unicode v4l vim vorbis x264 xinerama xorg xv xvid zlib" ALSA_CARDS="emu10k1" 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" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="inputlirc" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-03-26 14:29:54 UTC
(In reply to comment #6)
> Cannot reproduce it here:
> >>> dev-java/antlr-2.7.7 merged.
> 
> [ebuild   R   ] dev-java/antlr-2.7.7  USE="-debug -doc -examples -mono -nocxx
> -nojava -python -script -source" 0 kB 
> 

Which is of no surprise as it fails in the mono specific code and you have the mono use flag turned off.
Comment 8 Anton Kuzmin 2007-03-26 15:27:49 UTC
I have amd64. Works for me (with mono flag).

I don't know why you should emerge fastjar. I cannot explain it. I couldn't emerge antlr because of a little bit different error(which I haven't anymore). I emerged then the fastjar and managed to emerge antlr. Now I uninstalled fastjar, but somehow I could emerge antlr.
Comment 9 Anton Kuzmin 2007-03-26 15:29:45 UTC
Sorry. I have ~amd64.
dev-lang/mono-1.2.3.1
dev-dotnet/libgdiplus-1.2.3
Comment 10 Petteri Räty (RETIRED) gentoo-dev 2007-03-26 15:42:13 UTC
(In reply to comment #8)
> I have amd64. Works for me (with mono flag).
> 
> I don't know why you should emerge fastjar. I cannot explain it. I couldn't
> emerge antlr because of a little bit different error(which I haven't anymore).
> I emerged then the fastjar and managed to emerge antlr. Now I uninstalled
> fastjar, but somehow I could emerge antlr.
> 

Some people broken /usr/bin/fastjar because of a bug in eselect-compiler (which has been package.masked for quite a while) but the person in question doesn't have that file installed. 
Comment 11 Barry Gear 2007-03-31 15:14:37 UTC
Yeah, I had eselect-compiler for a bit and had it unmerged for a while. I also needed to emerge fastjar. I'm running stable amd64. Thanks for the help.
Comment 12 Petteri Räty (RETIRED) gentoo-dev 2007-03-31 16:32:47 UTC
(In reply to comment #11)
> Yeah, I had eselect-compiler for a bit and had it unmerged for a while. I also
> needed to emerge fastjar. I'm running stable amd64. Thanks for the help.
> 

No you don't need to emerge fastjar but having a broken wrapper could cause problems. Assuming that was the case as I could not reproduce the original problem.

*** This bug has been marked as a duplicate of bug 135688 ***
Comment 13 Michael Labhard 2007-04-01 15:55:48 UTC
Still broken:

make[4]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime'
/usr/bin/cscc -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime/../../../lib/csharp/antlr.runtime/AssemblyInfo.cs:36: unknown pre-processor directive: #pragma warning disable 1699
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime/../../../lib/csharp/antlr.runtime/AssemblyInfo.cs:39: unknown pre-processor directive: #pragma warning restore 1699

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

/usr/bin/cscc -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC [ file(s) skipped]

============================================================
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[4]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime'
make[3]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.astframe'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib'
make: *** [all] Error 1

!!! ERROR: dev-java/antlr-2.7.7 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4866:   Called src_compile
  antlr-2.7.7.ebuild, line 37:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/opt/no_archive/portage/log/dev-java:antlr-2.7.7:20070401-154943.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=blackdown-jdk-1.4.2  CLASSPATH="" JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JAVACFLAGS="+ -source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info
goliath ~ # emerge -s fastjar
Searching...
[ Results for search key : fastjar ]
[ Applications found : 1 ]

*  app-arch/fastjar
      Latest version available: 0.94
      Latest version installed: 0.94
  
Comment 14 Vasco Steinmetz 2007-04-02 19:47:14 UTC
antlr with mono doesn't just not compile on ~amd64 but on ~x86 too.
The mono version is irrelevant (1.2.2 vs ~1.2.3.x).

Emerging fastjar didn't help too.


Calculating dependencies... done!
[ebuild   R   ] dev-lang/mono-1.2.2.1  USE="X nptl" 0 kB
[ebuild  N    ] dev-java/antlr-2.7.7  USE="doc mono python -debug -examples -nocxx -nojava -script -source" 0 kB


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> /usr/bin/make -C lib/csharp all
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
make[2]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> /usr/bin/make -C lib/csharp/antlr.astframe all
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
make[3]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.astframe'
make[4]: Entering directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime'
/usr/bin/cscc -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime/../../../lib/csharp/antlr.runtime/AssemblyInfo.cs:36: unknown pre-processor directive: #pragma warning disable 1699
/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime/../../../lib/csharp/antlr.runtime/AssemblyInfo.cs:39: unknown pre-processor directive: #pragma warning restore 1699

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

/usr/bin/cscc -nologo -t:library -out:/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -r:System.dll -d:APTC [ file(s) skipped]

============================================================
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[4]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll] Error 1
make[4]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.runtime'
make[3]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/antlr.runtime.dll] Error 2
make[3]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp/antlr.astframe'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib/csharp'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/lib'
make: *** [all] Error 1

!!! ERROR: dev-java/antlr-2.7.7 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4805:   Called src_compile
  antlr-2.7.7.ebuild, line 37:   Called die

!!! compile 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-java/antlr-2.7.7/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.10"
JAVACFLAGS="+ -source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info


Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.18.6 i686)
=================================================================
System uname: 2.6.18.6 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 02 Apr 2007 16:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.8.1-r1, 2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -mfpmath=sse -O2 -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="en de"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aiglx alsa arts asf audacious audiofile bzip2 cdparanoia cdr cups dbus doc dri dts dvd dvdr dvdread emacs encode fam ffmpeg flac ftp gcj gd gif glut gnome gtk gtk2 hal imap java joystick jpeg kde kdeenablefinal ldap lm_sensors mad matroska mmap mmx mono mp3 mpeg mplayer mysql ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pdf perl php pic png posix python qt3 qt4 quicktime samba sdl seamonkey sharedmem slp soap sockets speex sse sse2 ssl subversion symlink tcl tetex theora threads tiff tk truetype unicode usb userlocales v4l vcd vorbis win32codecs wmp x264 x86 xcomposite xine xinerama xml xmlrpc xorg xsl xv xvid 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-17 13:58:22 UTC
I can confirm it on the remote box

Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-hardened x86_64)
=================================================================
System uname: 2.6.19-hardened x86_64 Dual Core AMD Opteron(tm) Processor 280
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 17 Apr 2007 13:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /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/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -fomit-frame-pointer -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg cleanpkgdir distclean distlocks genpkgindex metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X amd64 bash-completion berkdb bitmap-fonts cli cracklib crypt cups dri emacs fortran gdbm gpm iconv ipv6 isdnlog libg++ midi ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd threads truetype-fonts type1-fonts unicode xorg zlib" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Petteri Räty (RETIRED) gentoo-dev 2007-04-20 19:39:45 UTC
Hmm. We actually have dotnet people who are more able to fix mono issues :)
Comment 17 Pacho Ramos gentoo-dev 2007-04-22 14:34:59 UTC
(In reply to comment #14)
> CFLAGS="-march=athlon64 -mfpmath=sse -O2 -pipe"
> CXXFLAGS="-O2 -mcpu=i686 -pipe"

Only a suggestion: -mfpmath=sse is not needed when -march=athlon64 is being used

I cannot reproduce this bug on amd64:
dev-java/antlr-2.7.7  USE="doc mono python -debug -examples -nocxx -nojava -script -source"

My emerge --info:
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.20-ck1 x86_64)
=================================================================
System uname: 2.6.20-ck1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 22 Apr 2007 11:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
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.16.1-r3
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 arts asf audiofile bash-completion beagle bitmap-fonts bzip2 bzlib cairo caps cdb cdda cddb cdparanoia cdr cli cpdflib cpudetection cracklib cross crypt cups curl dbus dga divx4linux dlloader dri dts dvb dvd dvdr dvdread encode erandom escreen esd evo evolution exif fam fbcon flac foomaticdb fortran ftp galago gb gcj ggi gif gimp gimpprint glitz glut glx gnome gnome-print gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv idn imagemagick imlib isdnlog ithreads jabber java jpeg kde kdeenablefinal kdehiddenvisibility latex lcms libg++ libnotify logrotate mad madwifi midi mikmod mime mng mono motif mp3 mpeg mpi mplayer musepack musicbrainz nas nautilus ncurses nethack network nls nocardbus nptl nptlonly nvidia ogg oggvorbis openal opengl pam pcre pdf perl pic plotutils png posix ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby scanner sdl seamonkey session slang slp sockets spell spl sse3 ssl startup-notification svg sysvipc tcltk tcpd tetex theora threads tiff timidity tk totem trayicon truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vim vorbis wma wmf xcomposite xine xml xml2 xorg xpm xv xvid 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 mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-dib0700" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa fbdev vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 18 Tadahito Yao 2007-05-12 03:55:31 UTC
It seems 'emerge antlr' fails when GNU pnet is installed.
I had same probrem and after doing 'emerge -C pnet pnetc pnetlib' 
it went fine.
Comment 19 Petteri Räty (RETIRED) gentoo-dev 2007-05-12 07:10:52 UTC
(In reply to comment #18)
> It seems 'emerge antlr' fails when GNU pnet is installed.
> I had same probrem and after doing 'emerge -C pnet pnetc pnetlib' 
> it went fine.
> 

Thanks as no-one from out team has been able to reproduce this far. Hopefully this helps.
Comment 20 Michael Labhard 2007-05-13 21:50:50 UTC
Removing pnet worked for me.  Thanks.
Comment 21 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-23 14:29:05 UTC
Yes, that's true. Unmerging pnet allows antlr to build. As far as I can see the problem is that with pnet antlr tries to use /usr/bin/cscc, while using /usr/bin/mcs (correctly) without it.
Comment 22 Jurek Bartuszek (RETIRED) gentoo-dev 2007-06-23 14:40:28 UTC
Created attachment 122895 [details, diff]
patch allowing antlr to build when pnet is installed (using mcs instead cscc)

This is patch against antlr-2.7.7.ebuild, it allows antlr to build with pnet present in the system.
Comment 23 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2007-06-23 18:20:40 UTC
Looks like betelgeuse applied the patch, thanks!
Comment 24 Yogesh 2008-06-10 22:05:26 UTC
For me dev-java/ant-antlr-1.7.0 was failing
>>> Emerging (2 of 11) dev-java/ant-antlr-1.7.0 to /
 * ant-1.7.0-gentoo.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                          [ ok ]
 * apache-ant-1.7.0-src.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                      [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                               [ ok ]
 * checking apache-ant-1.7.0-src.tar.bz2 ;-) ...                                                                                     [ ok ]
 * checking ant-1.7.0-gentoo.tar.bz2 ;-) ...                                                                                         [ ok ]
 * 
 * ERROR: dev-java/ant-antlr-1.7.0 failed.
 * Call stack:
 *                ebuild.sh, line   49:  Called pkg_setup
 *   ant-antlr-1.7.0.ebuild, line   13:  Called built_with_use 'pkg_setup' 'pkg_setup'
 *            eutils.eclass, line 1729:  Called die
 * The specific snippet of code:
 *   					die)   die "$PKG does not actually support the $1 USE flag!";;
 *  The die message:
 *   dev-java/antlr-2.7.7 does not actually support the java USE flag!
 * 
 * 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-java/ant-antlr-1.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-antlr-1.7.0/temp/die.env'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

re-emerging antlr fixed it.