Opened 6 years ago

Closed 6 years ago

#55453 closed defect (duplicate)

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

Reported by: gideonsimpson Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: glib2

Description

I recently tried updating glib2, and I get the following error:

--->  Fetching archive for glib2
--->  Attempting to fetch glib2-2.54.2_1+x11.darwin_16.x86_64.tbz2 from https://packages.macports.org/glib2
--->  Attempting to fetch glib2-2.54.2_1+x11.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/glib2
Warning: Failed to verify signature for archive!
Error: Failed to archivefetch glib2: version @2.54.2_1+x11
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

and if I look at the log file, I see:

:msg:archivefetch --->  Attempting to fetch glib2-2.54.2_1+x11.darwin_16.x86_64.tbz2.rmd160 from https://packages.macports.org/glib2
: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!
:error:archivefetch Failed to archivefetch glib2: version @2.54.2_1+x11
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: version @2.54.2_1+x11
:debug:archivefetch     while executing
:debug:archivefetch "error "version @[option version]_[option revision][option portvariants]""
:debug:archivefetch     (procedure "portarchivefetch::fetchfiles" line 144)
:debug:archivefetch     invoked from within
:debug:archivefetch "portarchivefetch::fetchfiles"
:debug:archivefetch     (procedure "portarchivefetch::archivefetch_main" line 5)
:debug:archivefetch     invoked from within
:debug:archivefetch "$procedure $targetname"
:error:archivefetch See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_glib2/glib2/main.log for details.

Change History (3)

comment:1 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

We've seen this error before from users whose /tmp directories had acquired incorrect permissions; see #50867. Can you check your /tmp directories' permissions and fix them if they're wrong?

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: gideon.simpson@… removed
Owner: set to ryandesign
Status: newassigned
Summary: glib2 update issueglib2: openssl output: couldn't create error file for command: permission denied

comment:3 Changed 6 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed

Incorrect permissions confirmed via email.

Note: See TracTickets for help on using tickets.