[MacPorts] #27154: Error Installing PDFTK
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: ------------------------------+--------------------------------------------- ---> Computing dependencies for pdftk ---> Dependencies to be installed: gcc45 ---> Fetching gcc45 ---> Verifying checksum(s) for gcc45 ---> Extracting gcc45 ---> Configuring gcc45 ---> Building gcc45 ---> Staging gcc45 into destroot ---> Installing gcc45 @4.5.1_0 ---> Activating gcc45 @4.5.1_0 ---> Cleaning gcc45 ---> Fetching pdftk ---> Verifying checksum(s) for pdftk ---> Extracting pdftk ---> Applying patches to pdftk ---> Configuring pdftk ---> Building pdftk Error: Target org.macports.build returned: shell command failed Log for pdftk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdftk/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> The error that continually shows up in the log is: :info:build gcj-mp-4.5: Internal error: Abort trap (program ecj1) -- Ticket URL: <https://trac.macports.org/ticket/27154> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * cc: matt@… (removed) * port: => pdftk Old description:
---> Computing dependencies for pdftk ---> Dependencies to be installed: gcc45 ---> Fetching gcc45 ---> Verifying checksum(s) for gcc45 ---> Extracting gcc45 ---> Configuring gcc45 ---> Building gcc45 ---> Staging gcc45 into destroot ---> Installing gcc45 @4.5.1_0 ---> Activating gcc45 @4.5.1_0 ---> Cleaning gcc45 ---> Fetching pdftk ---> Verifying checksum(s) for pdftk ---> Extracting pdftk ---> Applying patches to pdftk ---> Configuring pdftk ---> Building pdftk Error: Target org.macports.build returned: shell command failed Log for pdftk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdftk/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
The error that continually shows up in the log is: :info:build gcj-mp-4.5: Internal error: Abort trap (program ecj1)
New description: {{{ ---> Computing dependencies for pdftk ---> Dependencies to be installed: gcc45 ---> Fetching gcc45 ---> Verifying checksum(s) for gcc45 ---> Extracting gcc45 ---> Configuring gcc45 ---> Building gcc45 ---> Staging gcc45 into destroot ---> Installing gcc45 @4.5.1_0 ---> Activating gcc45 @4.5.1_0 ---> Cleaning gcc45 ---> Fetching pdftk ---> Verifying checksum(s) for pdftk ---> Extracting pdftk ---> Applying patches to pdftk ---> Configuring pdftk ---> Building pdftk Error: Target org.macports.build returned: shell command failed Log for pdftk is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_pdftk/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} The error that continually shows up in the log is: {{{ :info:build gcj-mp-4.5: Internal error: Abort trap (program ecj1) }}} -- Comment: Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. You do not need to be in cc when you are the reporter. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jkorchok@…): I have experienced this error installing on Leopard with an Intel processor. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by ryandesign@…): You have the same error? The one that reads: {{{ gcj-mp-4.5: Internal error: Abort trap (program ecj1) Please submit a full bug report. See <http://gcc.gnu.org/bugs.html> for instructions. }}} Do either of you still see the problem with gcc45 version 4.5.2? If so, have either of you reported this bug to the GCC developers as requested? -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by pepper_13@…): Same error here --> gcj-mp-4.5: Internal error: Abort trap (program ecj1) Config : MacBook Pro 17'' (Santa Rosa) ; Mac OS X 10.5.8 ; Xcode 3.1.3 ; MacPorts 1.9.2 ; ggc45 4.5.2 -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Have you tried any of the other gcc variants of the pdftk port? Have you reported the gcc45 error to the developers of gcc, as the error message requests? -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jkorchok@…): Replying to [comment:9 ryandesign@…]:
Have you tried any of the other gcc variants of the pdftk port?
Have you reported the gcc45 error to the developers of gcc, as the error message requests?
I got the same result with gcc45 4.5.2. I attempted to report the bug but unfortunately the procedure was more complicated than my limited skill set allows. Installing using the +gcc42 option allowed installation to complete normally. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by pepper_13@…): Replying to [comment:9 ryandesign@…]:
Have you tried any of the other gcc variants of the pdftk port?
Have you reported the gcc45 error to the developers of gcc, as the error message requests?
I didn't report this error to the gcc developpers for the same reason as jkorchok. I could also complete the installation of pdftk with +gcc42 option ; everything works well... -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by suv-sf@…): Apparently the same issue occurs with Fink: Pdftk 1.44 fails to build with GCC 4.5 on Tiger/Leopard Intel: [http://thread.gmane.org/gmane.os.macosx.fink.user/32327 Subject: Re: Compile fails for pdftk-1.44-1] (In my tests, it fails to build in MacPorts with current gcc44 and ggc45 on OS X 10.5.8 Leopard (i386), but builds ok with gcc42) -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by suv-sf@…): Replying to [comment:13 suv-sf@…]:
(In my tests, it fails to build in MacPorts with current gcc44 and ggc45 on OS X 10.5.8 Leopard (i386), but builds ok with gcc42)
Correction: fails to build in MacPorts with current gcc45 (there is no gcc44 variant for pdftk) … -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Right, there can't be a gcc44 or gcc43 variant for pdftk until #22066 is resolved. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by from.macports@…): Replying to [comment:6 ryandesign@…]:
You have the same error? The one that reads: {{{ gcj-mp-4.5: Internal error: Abort trap (program ecj1) Please submit a full bug report. See <http://gcc.gnu.org/bugs.html> for instructions. }}}
Do either of you still see the problem with gcc45 version 4.5.2?
Yes, I see this error on Mac OS X 10.5.8, with gcc45 version of 4.5.3, installed via Mac Ports.
If so, have either of you reported this bug to the GCC developers as requested?
I have reported it as [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49036 GCC Bug 49036] - '''gcj-mp-4.5: Internal error: Abort trap (program ecj1) on Mac OS X 10.5.8''' . -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by from.macports@…): Here's the commands which worked for me to switch from a failing install of pdftk using gcc45, to a successful install of pdftk using gcc42: {{{ % cd }}} [Because I started off deep in the /opt/local directory tree, and 'port install' failed because the paths were too long.] {{{ sudo port clean pdftk sudo port install pdftk +gcc42 }}} [Clean up the failed pdftk install, then redo the install specifying the gcc42 variant.] Experienced mac ports users will know all this. But I'm not an experienced user, and I'm hoping this note will help someone who encounters the same pdftk build failure and wants help getting to success. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by ryandesign@…): In r78712 I've changed pdftk's default compiler from gcc45 to gcc42 on Leopard and earlier. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by from.macports@…): Thanks, ryandesign; that sounds like a good change. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jasper@…): I get this error (or a very similar one) when installing pdftk on Lion. I'm running macports 2.0.0. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Replying to [comment:20 jasper@…]:
I get this error (or a very similar one) when installing pdftk on Lion. I'm running macports 2.0.0.
I doubt the error you receive on Lion is the one in this ticket. Rather, I suspect you're experiencing #30299. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jasper@…): I'm still inclined to judge that #30299 is a duplicate of this one. I've applied manually the patch to Makefile.OSX-10.6 and next run the make script, and it starts out saying: {{{ mycomp:pdftk jasper$ make -f Makefile.OSX-10.6 VERSUFF=-mp-4.5 make -f Makefile -iC ../java all /opt/local/bin/gcj-mp-4.5 -Wall -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/opt/local/share/gcc-4.5/java/libgcj- tools-4.5.3.jar:/Users/jasper/Projects/pdftk-1.44-dist/java:." -C com/lowagie/text/Anchor.java gcj-mp-4.5: Internal error: Abort trap: 6 (program ecj1) Please submit a full bug report. See <http://gcc.gnu.org/bugs.html> for instructions. }}} And it goes on like that for each and every java file it has to compile (with varying error messages: Abort trap or Illegal instruction; but nothing gets compiled). After it iterated over all java files, it fails to bundle them in java_lib.jar (because there's nothing to bundle). And only then does the make script run finally aground when it tries to build an object file out from java_lib.jar: {{{ /opt/local/bin/gcj-mp-4.5 -Wall -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/opt/local/share/gcc-4.5/java/libgcj- tools-4.5.3.jar:/Users/jasper/Projects/pdftk-1.44-dist/java:." -c java_lib.jar gcj-mp-4.5: java_lib.jar: No such file or directory gcj-mp-4.5: no input files make[1]: [java_lib.o] Error 1 (ignored) make: *** No rule to make target `../java/java_lib.o', needed by `pdftk.o'. Stop. }}} It seems to me that the problem is with gcj 4.5. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Great, then file a bug against gcc45 please. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:24> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jasper@…): I tried to compile (manually) pdftk against the new gcc 4.7 which comes with gcj by default. But it lacks ecj (eclipse java), so no avail. But maybe we should just wait a bit longer for gcc 4.5.4 which I expect to be released over the weeks to come. -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by shayanlinux@…): Replying to [comment:26 jasper@…]:
I tried to compile (manually) pdftk against the new gcc 4.7 which comes with gcj by default. But it lacks ecj (eclipse java), so no avail. But maybe we should just wait a bit longer for gcc 4.5.4 which I expect to be released over the weeks to come. GCC 4.5.4 is now officially released.
-- Ticket URL: <https://trac.macports.org/ticket/27154#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK ------------------------------+--------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pdftk ------------------------------+--------------------------------------------- Comment(by jasper@…): Tried it yesterday and it does work for me. However, I also updated xcode in the meantime, so not entirely sure which of both upgrades solved the issue (but most likely the 4.5.4 upgrade did it). -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27154: Error Installing PDFTK -------------------------------+-------------------------------------------- Reporter: matt@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: pdftk | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/27154#comment:30> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts