[MacPorts] #22066: gcc44, gcc45: error trying to exec 'ecj1': execvp: No such file or directory
#22066: gcc44, gcc45: error trying to exec 'ecj1': execvp: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44, gcc45 -------------------------------------+-------------------------------------- I'm trying to add gcc44 support to pdftk (see #15420) but I'm running into this problem before I can build anything: {{{ gcj-mp-4.4: error trying to exec 'ecj1': execvp: No such file or directory }}} I'm using gcc44 @4.4.1_0, and I see the same issue with gcc45 @4.5-20091001_0+java. {{{ gcj-mp-4.5: error trying to exec 'ecj1': execvp: No such file or directory }}} This may be similar to #13553. Mac OS X 10.6.1 Snow Leopard [[BR]] Xcode 3.2.1 -- Ticket URL: <http://trac.macports.org/ticket/22066> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44, gcc45, gcc46 -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * port: gcc44, gcc45 => gcc44, gcc45, gcc46 Comment: * r68778: fixed gcc46 -- Ticket URL: <http://trac.macports.org/ticket/22066#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44, gcc45, gcc46 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): * r68780: fixed gcc45 -- Ticket URL: <http://trac.macports.org/ticket/22066#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44, gcc45, gcc46 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Has duplicate #22692. -- Ticket URL: <http://trac.macports.org/ticket/22066#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44, gcc45, gcc46 -------------------------------------+-------------------------------------- Comment(by rechner@…): Just two days ago I installed pdftk with its gcc42 dependency. The gcc compile time of about one day (iMac G4 with 1 GHz) annoyed me, expecially since I already had gcc43 installed (which seems to be an Inkscape dependancy). Following Joshua Root's message to macport-users (sent 22 Jul 2010 08:37:20 +1000) I discovered there has already been much discussion on having pdftk use a later gcc. I don't know how to use gcj directly, and I don't really intend to learn it, but it seems like my gcj-mp-4.3 has got the same defect: {{{ $ gcj-mp-4.3 hello.java gcj-mp-4.3: error trying to exec 'ecj1': execvp: No such file or directory }}} This is what gcj-mp-42 says, in comparison: {{{ $ gcj-mp-4.2 hello.java Undefined symbols: "_main", referenced from: __start in crt1.o ld: symbol(s) not found collect2: ld returned 1 exit status }}} The `hello.java` is a simple "hello world" program and can be compiled with regular "java". This comment may not be of much use - it is meant to be a verbatim "CcMe!". Mac OS X 10.5.8 Leopard[[BR]] Xcode 3.1.4 (with MacPorts patched to use gcc42) -- Ticket URL: <http://trac.macports.org/ticket/22066#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: gcc44, gcc45, gcc46 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): Yes, I'm aware of all these things. As you see above I already fixed gcc46 and gcc45 so their gcj's now work; I should now be able to apply gentoo's patches to pdftk to let it build with those versions of gcc; see #15420. Unfortunately I was thus far unable to backport my changes to gcc45 and gcc46 to gcc43 and gcc44 because I could not figure out how to tell gcc where I wanted it to put ecj.jar, and without this, gcc43 and gcc44 tried to put ecj.jar in the same place and would thus conflict with one another, which isn't ok. -- Ticket URL: <http://trac.macports.org/ticket/22066#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory ----------------------------------+------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: gcc44, gcc45, gcc46 | ----------------------------------+------------------- Comment (by Torsten.Maehne@…): Also the gcc48 port is affected by this bug. I tried to compile a Hello World program with gcj-mp-4.8 from gcc48 @4.8.1_3 on an up-to-date MacPorts installation on OS X 10.8.5 (Mountain Lion) x86_64 and got as well: {{{ $ gcj-mp-4.8 HelloWorldApp.java gcj-mp-4.8: error trying to exec 'ecj1': execvp: No such file or directory }}} In comparison, gcj-mp-4.7 said: {{{ gcj-mp-4.7 HelloWorldApp.java Undefined symbols for architecture x86_64: "_main", referenced from: implicit entry/start for main executable ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status }}} and javac compiled the file without any error message. -- Ticket URL: <https://trac.macports.org/ticket/22066#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory ----------------------------------+------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: gcc44, gcc45, gcc46 | ----------------------------------+------------------- Comment (by Torsten.Maehne@…): The gcc-gcj package seems to be also affected by this problem as you can see by the comments on: https://aur.archlinux.org/packages/gcc-gcj/?setlang=de&comments=all -- Ticket URL: <https://trac.macports.org/ticket/22066#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory ----------------------------------+------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: gcc44, gcc45, gcc46 | ----------------------------------+------------------- Comment (by Peter_Dyballa@…): For me a 'make check' in gettext-0.14.5 (it's a starting point for me, I need libintl and libiconv since Apple can't provide fat libraries in /Developer/SDKs/MacOSX10.4u.sdk/usr/lib) failed with: {{{ gcj: error trying to exec 'ecj1': execvp: No such file or directory msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC }}} This failure can be avoided by telling configure that JAVAC=javac. -- Ticket URL: <https://trac.macports.org/ticket/22066#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory ----------------------------------+------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: gcc44, gcc45, gcc46 | ----------------------------------+------------------- Comment (by Peter_Dyballa@…): Interestingly when I use gcj from a Fink installation, this error does not appear! This happens with versions 4.5.4, 4.6.4, 4.7.3, and 4.8.2. I performed these tests by configuring gettext to use /sw/bin/gcj via PATH. When 'make check' had finished, I installed the new version of GCC and gcj and then repeated the 'make check'. So every time a different version of gcj was used for the tests – and each succeeded! -- Ticket URL: <https://trac.macports.org/ticket/22066#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#22066: gcc44, gcc45, gcc46: error trying to exec 'ecj1': execvp: No such file or directory ----------------------------------+------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: gcc44, gcc45, gcc46 | ----------------------------------+------------------- Comment (by aronnax@…): Any chance of applying the gcc44/gcc45/gcc46 fix to gcc48? This bug affects port nds2-client. -- Ticket URL: <https://trac.macports.org/ticket/22066#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#22066: gcc44, gcc45, gcc46, gcc48, gcc49: error trying to exec 'ecj1': execvp: No such file or directory ------------------------------------------------+------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: | Keywords: Port: gcc44, gcc45, gcc46, gcc48, gcc49 | ------------------------------------------------+------------------- Changes (by petr@…): * port: gcc44, gcc45, gcc46 => gcc44, gcc45, gcc46, gcc48, gcc49 Comment: As partially already mentioned above this issue is present for `gcc48` and `gcc49` as well. This surfaces when looking at #37580, a blocker ticket for #33919. -- Ticket URL: <https://trac.macports.org/ticket/22066#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts