From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 20 18:10:04 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E068B296 for ; Sun, 20 Jan 2013 18:10:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C4060E40 for ; Sun, 20 Jan 2013 18:10:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0KIA4lG044633 for ; Sun, 20 Jan 2013 18:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0KIA42O044632; Sun, 20 Jan 2013 18:10:04 GMT (envelope-from gnats) Resent-Date: Sun, 20 Jan 2013 18:10:04 GMT Resent-Message-Id: <201301201810.r0KIA42O044632@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthias Andree Received: from apollo.emma.line.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id B23F5282; Sun, 20 Jan 2013 18:09:30 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mandree by apollo.emma.line.org with local (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1TwzKL-000Dbd-Ag; Sun, 20 Jan 2013 19:09:05 +0100 Message-Id: Date: Sun, 20 Jan 2013 19:09:05 +0100 From: Matthias Andree To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/175458: print/pdftk fails to compile with lang/gcc47 Cc: glarkin@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Andree List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jan 2013 18:10:04 -0000 >Number: 175458 >Category: ports >Synopsis: print/pdftk fails to compile with lang/gcc47 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 20 18:10:04 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Matthias Andree >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD apollo.emma.line.org 9.1-RELEASE FreeBSD 9.1-RELEASE #2 r244869: Sun Dec 30 22:05:16 CET 2012 toor@apollo.emma.line.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Trying to compile/install pdftk with GCC 4.7 fails: /usr/local/bin/gcjh47 -force --classpath=":/var/tmp/usr/ports/print/pdftk/work/pdftk-1.45-dist/java:." org/bouncycastle/asn1/BERSequence Exception in thread "main" java.io.IOException: can't find class file org/bouncycastle/asn1/BERSequence.class in java.net.URLClassLoader{urls=[file:/var/tmp/usr/ports/print/pdftk/work/pdftk-1.45-dist/java/,file:/var/tmp/usr/ports/print/pdftk/work/pdftk-1.45-dist/java/./,file:/usr/local/share/java/libgcj-4.7.3.jar], parent=gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}} at gnu.classpath.tools.javah.Main.getClass(Unknown Source) at gnu.classpath.tools.javah.Main.run(Unknown Source) at gnu.classpath.tools.javah.GcjhMain.main(Unknown Source) gmake[1]: [org/bouncycastle/asn1/BERSequence.h] Error 1 (ignored) /usr/local/bin/gjar47 -cf java_lib.jar com/lowagie/*/*/*/*.class com/lowagie/*/*/*.class com/lowagie/*/*.class org/bouncycastle/*/*.class org/bouncycastle/*/*/*.class com/lowagie/text/pdf/fonts/Times-BoldItalic.afm com/lowagie/text/pdf/fonts/ZapfDingbats.afm com/lowagie/text/pdf/fonts/Times-Italic.afm com/lowagie/text/pdf/fonts/Helvetica-Bold.afm com/lowagie/text/pdf/fonts/Helvetica.afm com/lowagie/text/pdf/fonts/Courier-BoldOblique.afm com/lowagie/text/pdf/fonts/Symbol.afm com/lowagie/text/pdf/fonts/Courier-Oblique.afm com/lowagie/text/pdf/fonts/Times-Bold.afm com/lowagie/text/pdf/fonts/Times-Roman.afm com/lowagie/text/pdf/fonts/Courier-Bold.afm com/lowagie/text/pdf/fonts/Helvetica-BoldOblique.afm com/lowagie/text/pdf/fonts/Courier.afm com/lowagie/text/pdf/fonts/Helvetica-Oblique.afm jar: internal error: java.io.FileNotFoundException: com/lowagie/*/*/*/*.class (No such file or directory) at gnu.java.nio.channels.FileChannelImpl.open(Unknown Source) at gnu.java.nio.channels.FileChannelImpl.(Unknown Source) at gnu.java.nio.channels.FileChannelImpl.create(Unknown Source) at java.io.FileInputStream.(Unknown Source) at gnu.classpath.tools.jar.Creator.writeFile(Unknown Source) at gnu.classpath.tools.jar.Creator.writeCommandLineEntries(Unknown Source) at gnu.classpath.tools.jar.Creator.writeCommandLineEntries(Unknown Source) at gnu.classpath.tools.jar.Creator.run(Unknown Source) at gnu.classpath.tools.jar.Main.run(Unknown Source) at gnu.classpath.tools.jar.Main.main(Unknown Source) gmake[1]: [java_lib.o] Error 1 (ignored) /usr/local/bin/gcj47 -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc47 -w -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath=":/var/tmp/usr/ports/print/pdftk/work/pdftk-1.45-dist/java:." -c java_lib.jar In file included from :0:0: java_lib.jar:0:0: fatal error: bad zip/jar file java_lib.jar compilation terminated. gmake[1]: [java_lib.o] Error 1 (ignored) gmake[1]: Leaving directory `/var/tmp/usr/ports/print/pdftk/work/pdftk-1.45-dist/java' /usr/local/bin/g++47 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -DUNBLOCK_SIGNALS -fdollars-in-identifiers -DPDFTK_VER=\"1.45\" -Wall -Wextra -Weffc++ -O2 -I../java pdftk.cc -c pdftk.cc:61:39: fatal error: com/lowagie/text/Document.h: No such file or directory compilation terminated. gmake: *** [pdftk.o] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/print/pdftk. >How-To-Repeat: 1. Install GCC 4.7 with Java option. 2. Deinstall GCC 4.6. 3. cd /usr/ports/*/pdftk 4. make MAKE_JOBS_UNSAFE=yes >Fix: Either see to that the port can be built with GCC 4.7 and 4.8, or change the USE_GCC=4.6+ to a 4.6 (without a "+") that the non-working 4.7 is not chosen. >Release-Note: >Audit-Trail: >Unformatted: