[MacPorts] #46168: gcc49 failed to build "command failed"

MacPorts noreply at macports.org
Mon Dec 8 17:53:35 PST 2014


#46168: gcc49 failed to build "command failed"
------------------------------+-------------------
  Reporter:  mgs0lid_sn4ke@…  |      Owner:  mww@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.3
Resolution:                   |   Keywords:
      Port:  gcc49            |
------------------------------+-------------------

Old description:

> Hi,
>
> It's my third ticket
> ([https://trac.macports.org/ticket/46118],[https://trac.macports.org/ticket/46126])
> since I've tried to build gcc49 after reinstalling Macports on my laptop.
> Looks like there is a problem with build dependencies. gcc49 failed to
> build. Output :
>
> {{{
> sudo port install gcc49
> --->  Computing dependencies for gcc49
> --->  Building gcc49
> Error: org.macports.build for port gcc49 returned: command execution
> failed
> Please see the log file for port gcc49 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port gcc49 failed
> }}}
>
> Thanks in advance for your help.

New description:

 Hi,

 It's my third ticket (#46118, #46126) since I've tried to build gcc49
 after reinstalling Macports on my laptop. Looks like there is a problem
 with build dependencies. gcc49 failed to build. Output :

 {{{
 sudo port install gcc49
 --->  Computing dependencies for gcc49
 --->  Building gcc49
 Error: org.macports.build for port gcc49 returned: command execution
 failed
 Please see the log file for port gcc49 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc49/gcc49/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port gcc49 failed
 }}}

 Thanks in advance for your help.

--

Comment (by larryv@…):

 Replying to [comment:4 mgs0lid_sn4ke@…]:
 > During the cleaning, I had several times this warning :
 >
 > {{{
 > Warning: All compilers are either blacklisted or unavailable; defaulting
 to first fallback option
 > }}}

 You need only have to worry about that message if you see it while trying
 to install or upgrade a port.

 From the log:
 {{{
 :info:build /bin/sh ../../scripts/check_jni_methods.sh
 :info:build ../../scripts/check_jni_methods.sh: line 14: /tmp/check-jni-
 methods.75098.1: Permission denied
 :info:build make[6]: *** [all-local] Error 1
 }}}
 What are the permissions on `/tmp/check-jni-methods.75098.1`? I would
 suggest deleting it and trying again, but there’s another message from
 earlier…
 {{{
 :msg:archivefetch --->  Attempting to fetch
 gcc49-4.9.2_1.darwin_14.x86_64.tbz2.rmd160 from
 http://packages.macports.org/gcc49
 :debug:archivefetch failed verification with key /opt/local/share/macports
 /macports-pubkey.pem
 :debug:archivefetch openssl output: couldn't create error file for
 command: permission denied
 :warn:archivefetch Failed to verify signature for archive!
 }}}
 …which makes me suspect that something might be generally wonky with your
 `/private/tmp`.

 Try rebooting your machine, and verify that `check-jni-methods.75098.1` is
 no longer in `/tmp`; if it is, delete it. Then clean and install `gcc49`
 again.

-- 
Ticket URL: <https://trac.macports.org/ticket/46168#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list