[MacPorts] #38223: eiffelstudio72 build failure
#38223: eiffelstudio72 build failure --------------------------+---------------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: eiffelstudio72 --------------------------+---------------------------- {{{ $ sudo port install eiffelstudio72 ---> Computing dependencies for eiffelstudio72 ---> Fetching distfiles for eiffelstudio72 ---> Verifying checksum(s) for eiffelstudio72 ---> Extracting eiffelstudio72 ---> Configuring eiffelstudio72 ---> Building eiffelstudio72 Error: org.macports.build for port eiffelstudio72 returned: could not set permissions for file "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_eiffelstudio72/eiffelstudio72/work/PorterPackage/Eiffel72/studio/spec/macosx-x86-64/bin/ec": no such file or directory Please see the log file for port eiffelstudio72 for details: /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_lang_eiffelstudio72/eiffelstudio72/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port eiffelstudio72 failed }}} Similar to #36252 -- Ticket URL: <https://trac.macports.org/ticket/38223> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 build failure -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Old description:
{{{ $ sudo port install eiffelstudio72 ---> Computing dependencies for eiffelstudio72 ---> Fetching distfiles for eiffelstudio72 ---> Verifying checksum(s) for eiffelstudio72 ---> Extracting eiffelstudio72 ---> Configuring eiffelstudio72 ---> Building eiffelstudio72 Error: org.macports.build for port eiffelstudio72 returned: could not set permissions for file "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_eiffelstudio72/eiffelstudio72/work/PorterPackage/Eiffel72/studio/spec/macosx-x86-64/bin/ec": no such file or directory Please see the log file for port eiffelstudio72 for details: /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_lang_eiffelstudio72/eiffelstudio72/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port eiffelstudio72 failed }}}
Similar to #36252
New description: {{{ $ sudo port install eiffelstudio72 ---> Computing dependencies for eiffelstudio72 ---> Fetching distfiles for eiffelstudio72 ---> Verifying checksum(s) for eiffelstudio72 ---> Extracting eiffelstudio72 ---> Configuring eiffelstudio72 ---> Building eiffelstudio72 Error: org.macports.build for port eiffelstudio72 returned: could not set permissions for file "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_eiffelstudio72/eiffelstudio72/work/PorterPackage/Eiffel72/studio/spec/macosx-x86-64/bin/ec": no such file or directory Please see the log file for port eiffelstudio72 for details: /opt/local/var/macports/logs/_Users_rschmidt_macports_dports_lang_eiffelstudio72/eiffelstudio72/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port eiffelstudio72 failed }}} -- Comment (by ryandesign@…): I take it back, not similar to that other ticket. -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 build failure -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by jann@…): That must be 10.8 specific as it works fine for me on 10.7. Have you done anything special to your compilers? I think I will have to upgrade to 10.8 in order to reproduce this. -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 is not UsingTheRightCompiler -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by ryandesign@…): I've attached my compile.log which reveals the cause of the problem: {{{ Making all in idrs... gcc -c -I.. -I../run-time -O3 -Wall -arch x86_64 -pipe -no-cpp-precomp -fno-common -fPIC idrs.c gcc -c -I.. -I../run-time -O3 -Wall -arch x86_64 -pipe -no-cpp-precomp -fno-common -fPIC idrs.c gcc: Error: You should be using ${configure.cc} See https://trac.macports.org/wiki/UsingTheRightCompiler }}} -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 is not UsingTheRightCompiler -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by jann@…): Thanks Ryan. It seems because the port is using use_configure no, macports doesn't set the $CC variable for the build phase. What would be the best way to fix this? -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 is not UsingTheRightCompiler -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by ryandesign@…): MacPorts never sets the CC environment variable outside of the configure phase unless you tell it to in the Portfile. The UsingTheRightCompiler page provides some suggestions. You can also search all Portfiles for those using "`use_configure no`" to see how they handle it; build systems differ and different ports might need different fixes. -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 is not UsingTheRightCompiler -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by jann@…): Where can I find documentation for the system command (seems to be macports specific). I'm hoping there is a way to pass it a list of env variables to define. -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 is not UsingTheRightCompiler -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by ryandesign@…): The `system` command is a MacPorts-specific Tcl extension, yes. It is described in "man portfile" but there's not much to it: you put the command and arguments you want to run and it runs it. The only optional argument is `-W` which lets you specify what you want the working directory to be. To pass env variables, call the `env` command like you would on the command line: {{{ system -W ${worksrcpath} "env FOO=bar somecommand" }}} You might be able to do it without `env`: {{{ system -W ${worksrcpath} "FOO=bar somecommand" }}} -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38223: eiffelstudio72 is not UsingTheRightCompiler -----------------------------+-------------------- Reporter: ryandesign@… | Owner: jann@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: eiffelstudio72 | -----------------------------+-------------------- Comment (by jann@…): Ok so I checked in an updated version. Can you confirm that it works for you now? -- Ticket URL: <https://trac.macports.org/ticket/38223#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts