Bug 175859 - Libidn-0.6.9 compilation error - missing semi colon?
Bug#: 175859 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: CLOSED Severity: major Priority: P2
Resolution: FIXED Assigned To: maintainer-needed@gentoo.org Reported By: m.towell@chello.nl
Component: Library
URL: 
Summary: Libidn-0.6.9 compilation error - missing semi colon?
Keywords:  
Status Whiteboard: 
Opened: 2007-04-24 14:22 0000
Description:   Opened: 2007-04-24 14:22 0000
When I try to compile libidn-0.6.9 I get the following error. I already have
0.6.5-r1 installed.

make[3]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java'
Making all in misc
make[3]: Entering directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java/misc'
CLASSPATH=../../java/misc:./../../java/misc:$CLASSPATH
/opt/blackdown-jdk-1.4.2.03/bin/javac -d ../../java/misc  -classpath
../../java/libidn-0.6.9.jar:../../java/libidn-0.6.9.jar  GenerateRFC3454.java
GenerateNFKC.java TestIDNA.java TestNFKC.java
TestIDNA.java:58: warning: as of release 1.4, assert is a keyword, and may not
be used as an identifier
          assert IDNA.toASCII( tests[i] ).equals( "domain.invalid" );
          ^
TestIDNA.java:58: ';' expected
          assert IDNA.toASCII( tests[i] ).equals( "domain.invalid" );
                     ^
1 error
1 warning
make[3]: *** [classdist_noinst.stamp] Error 1
make[3]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9'
make: *** [all] Error 2

!!! ERROR: net-dns/libidn-0.6.9 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libidn-0.6.9.ebuild, line 41:   Called die

!!! (no error message)
!!! 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/net-dns/libidn-0.6.9/temp/build.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.4 -target 1.4" COMPILER=""



Reproducible: Always

Steps to Reproduce:
1. emerge libidn (version 0.6.9)
2.
3.

Actual Results:  
make[3]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java'
Making all in misc
make[3]: Entering directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java/misc'
CLASSPATH=../../java/misc:./../../java/misc:$CLASSPATH
/opt/blackdown-jdk-1.4.2.03/bin/javac -d ../../java/misc  -classpath
../../java/libidn-0.6.9.jar:../../java/libidn-0.6.9.jar  GenerateRFC3454.java
GenerateNFKC.java TestIDNA.java TestNFKC.java
TestIDNA.java:58: warning: as of release 1.4, assert is a keyword, and may not
be used as an identifier
          assert IDNA.toASCII( tests[i] ).equals( "domain.invalid" );
          ^
TestIDNA.java:58: ';' expected
          assert IDNA.toASCII( tests[i] ).equals( "domain.invalid" );
                     ^
1 error
1 warning
make[3]: *** [classdist_noinst.stamp] Error 1
make[3]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9/java'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-dns/libidn-0.6.9/work/libidn-0.6.9'
make: *** [all] Error 2

!!! ERROR: net-dns/libidn-0.6.9 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libidn-0.6.9.ebuild, line 41:   Called die

!!! (no error message)
!!! 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/net-dns/libidn-0.6.9/temp/build.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.4 -target 1.4" COMPILER=""


emerge --info:

Portage 2.1.2.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r1,
2.6.20-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4200+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 24 Apr 2007 12:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -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/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://mirror.scarlet-internet.nl/pub/gentoo http://gentoo.blueyonder.co.uk
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LINGUAS="en en_GB nl"
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/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aim alsa amd64 arts bash-completion berkdb bitmap-fonts
bluetooth cairo calendar cdparanoia cdr clamav cli cracklib crypt cups dbus dri
dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran
gdbm gif gpm gstreamer gtk gtk2 hal iconv icq imagemagick ipv6 isdnlog java
javascript jpeg kde kdeenablefinal kdehiddenvisibility kerberos ldap libg++ mad
mcal midi mikmod mime mmx mp3 mpeg msn nas ncurses nls nptl nptlonly nsplugin
offensive ogg openal opengl oss pam pcre pdf perl png pppd python qt3
qt3support qt4 quicktime readline reflection scanner sdl session spell spl sse
sse2 ssl subtitles svg tcpd theora tiff truetype truetype-fonts type1-fonts
unicode usb vorbis xine xml xorg xscreensaver xv xvid yahoo zlib"
ALSA_CARDS="ice1724" 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="mouse
keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780
lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" USERLAND="GNU"
VIDEO_CARDS="nv nvidia vesa vga fbdev apm"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Raúl Porcel 2007-04-24 14:37:42 0000 -------
output of `emerge -pv libidn` please

------- Comment #2 From Willard Dawson 2007-04-24 14:57:04 0000 -------
Me too.

Not my bug, but maybe this will help out:

emerge -pv libidn:

# emerge -pv libidn

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

Calculating dependencies... done!
[ebuild     U ] net-dns/libidn-0.6.9 [0.6.5-r1] USE="java mono nls -doc -emacs"
0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB

------- Comment #3 From Meirion Towell 2007-04-24 15:04:49 0000 -------
emerge -pv libidn also gives:

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

Calculating dependencies... done!
[ebuild     U ] net-dns/libidn-0.6.9 [0.6.5-r1] USE="java nls -doc -emacs
-mono" 0 kB

------- Comment #4 From Jean-Francis Roy 2007-04-24 15:09:50 0000 -------
(In reply to comment #3)
> emerge -pv libidn also gives:
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild     U ] net-dns/libidn-0.6.9 [0.6.5-r1] USE="java nls -doc -emacs
> -mono" 0 kB
> 


Exact same thing here.

~amd64 / 2007.0

------- Comment #5 From Raúl Porcel 2007-04-24 15:58:03 0000 -------
It needs >=java-1.5.

Re-sync in ~2 hours and it should be fixed.

------- Comment #6 From Petteri Räty 2007-04-24 17:27:09 0000 -------
*** Bug 175888 has been marked as a duplicate of this bug. ***

------- Comment #7 From Petteri Räty 2007-04-24 17:29:26 0000 -------
Actually it doesn't need >=1.5. Was just using JAVACFLAGS improperly in
Makefile.am. This and other Java QA issues fixed in 0.6.9-r1.

------- Comment #8 From Meirion Towell 2007-04-24 18:13:14 0000 -------
confirmed fixed in libidn-0.6.9-r1 so closed