[MacPorts] #51220: couldn't create error file for command: permission denied (was: I get a similar error on any update or install I attempt)

MacPorts noreply at macports.org
Sat Apr 23 23:26:04 PDT 2016


#51220: couldn't create error file for command: permission denied
-------------------------+--------------------------------
  Reporter:  cpsull23@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:              |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * component:  ports => base


Old description:

> shell commands and resulting errors:
> /
> $ sudo port upgrade outdated
> --->  Fetching archive for libffi
> --->  Attempting to fetch libffi-3.2.1_0.darwin_15.x86_64.tbz2 from
> https://packages.macports.org/libffi
> --->  Attempting to fetch libffi-3.2.1_0.darwin_15.x86_64.tbz2.rmd160
> from https://packages.macports.org/libffi
> Warning: Failed to verify signature for archive!
> Error: org.macports.archivefetch for port libffi returned: archivefetch
> failed for libffi @3.2.1_0
> Please see the log file for port libffi for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
> Error: Unable to upgrade port: 1
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> chucks at cps-mbpr[ ~ ]$
> chucks at cps-mbpr[ ~ ]$
> chucks at cps-mbpr[ ~ ]$
> chucks at cps-mbpr[ ~ ]$ sudo port install ffmpeg
> --->  Computing dependencies for pkgconfig
> --->  Fetching archive for pkgconfig
> --->  Attempting to fetch pkgconfig-0.29.1_0.darwin_15.x86_64.tbz2 from
> https://packages.macports.org/pkgconfig
> --->  Attempting to fetch pkgconfig-0.29.1_0.darwin_15.x86_64.tbz2.rmd160
> from https://packages.macports.org/pkgconfig
> Warning: Failed to verify signature for archive!
> Error: org.macports.archivefetch for port pkgconfig returned:
> archivefetch failed for pkgconfig @0.29.1_0
> Please see the log file for port pkgconfig for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/main.log
> Error: Unable to upgrade port: 1
> Error: Unable to execute port: upgrade pkgconfig failed
> /
>
> mail.log attached.
>
> I downloaded reinstalled the MacPorts for OSX El Capitan pkg. I searched
> the web on the error and found no relevant information so far.
>
> Regards,
> Chuck Sullivan

New description:

 shell commands and resulting errors:

 {{{
 $ sudo port upgrade outdated
 --->  Fetching archive for libffi
 --->  Attempting to fetch libffi-3.2.1_0.darwin_15.x86_64.tbz2 from
 https://packages.macports.org/libffi
 --->  Attempting to fetch libffi-3.2.1_0.darwin_15.x86_64.tbz2.rmd160 from
 https://packages.macports.org/libffi
 Warning: Failed to verify signature for archive!
 Error: org.macports.archivefetch for port libffi returned: archivefetch
 failed for libffi @3.2.1_0
 Please see the log file for port libffi for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
 Error: Unable to upgrade port: 1
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 chucks at cps-mbpr[ ~ ]$
 chucks at cps-mbpr[ ~ ]$
 chucks at cps-mbpr[ ~ ]$
 chucks at cps-mbpr[ ~ ]$ sudo port install ffmpeg
 --->  Computing dependencies for pkgconfig
 --->  Fetching archive for pkgconfig
 --->  Attempting to fetch pkgconfig-0.29.1_0.darwin_15.x86_64.tbz2 from
 https://packages.macports.org/pkgconfig
 --->  Attempting to fetch pkgconfig-0.29.1_0.darwin_15.x86_64.tbz2.rmd160
 from https://packages.macports.org/pkgconfig
 Warning: Failed to verify signature for archive!
 Error: org.macports.archivefetch for port pkgconfig returned: archivefetch
 failed for pkgconfig @0.29.1_0
 Please see the log file for port pkgconfig for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/main.log
 Error: Unable to upgrade port: 1
 Error: Unable to execute port: upgrade pkgconfig failed
 }}}

 mail.log attached.

 I downloaded reinstalled the MacPorts for OSX El Capitan pkg. I searched
 the web on the error and found no relevant information so far.

 Regards,\\
 Chuck Sullivan

--

Comment:

 Don't forget to use WikiFormatting when writing in Trac.

 The relevant error in the log seems to be:

 {{{
 openssl output: couldn't create error file for command: permission denied
 }}}

 The signature for the archive (any archive) cannot be verified because a
 temporary error output file could not be created because the permissions
 of the directory it tried to create it in didn't allow that. I'm not sure
 what directory it's using, but the tmp directory would be a good first
 guess. What are its permissions? Find out with:

 {{{
 ls -ld /private/tmp
 }}}

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


More information about the macports-tickets mailing list