Opened 8 years ago

Closed 4 years ago

#51438 closed defect (invalid)

Failed to fetch dependancies, Failed to verify signature for archive!

Reported by: joel.gillespie.joel@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: expat

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Yes I've read the many duplicate Tickets about signatures failing to verify, however I've tried this on multiple wifi networks and a data network, so its not a network error. I simply cannot fetch the dependancies needed for GPhoto2.

sudo port install expat libiconv ncurses jpeg libexif libgphoto2 dbus gd2 fontconfig freetype bzip2 libpng zlib tiff xz xpm xorg-libXext xorg-libX11 xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 db48 libedit openssl python2_select python_select readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xextproto xorg-libXt xorg-libsm xorg-libice libtool libusb-compat libusb popt 
--->  Fetching archive for expat
--->  Attempting to fetch expat-2.1.1_0.darwin_14.x86_64.tbz2 from https://packages.macports.org/expat
--->  Attempting to fetch expat-2.1.1_0.darwin_14.x86_64.tbz2.rmd160 from https://packages.macports.org/expat
Warning: Failed to verify signature for archive!
Error: org.macports.archivefetch for port expat returned: archivefetch failed for expat @2.1.1_0
Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port expat failed

Change History (7)

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

Description: modified (diff)
Keywords: signature removed
Port: expat added; Gphoto2 removed
Priority: HighNormal

Please attach the main.log. Maybe it will provide more information about why this happened.

P.S: In case you did not know, we do have a port for gphoto2, so you don't need to install all the dependencies manually; you can just sudo port install gphoto2 and MacPorts will take care of it.

comment:2 in reply to:  1 ; Changed 8 years ago by joel.gillespie.joel@…

Replying to ryandesign@…:

Yeah sorry I've been previously using sudo port install gphoto2 however i just separated the dependencies for clarification's sake.

Main Log

version:1
:debug:main expat has no conflicts
:debug:main Executing org.macports.main (expat)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 504
:debug:main euid changed to: 505
:debug:archivefetch archivefetch phase started at Fri May 20 01:36:43 NZST 2016
:msg:archivefetch --->  Fetching archive for expat
:debug:archivefetch Executing org.macports.archivefetch (expat)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 505/504
:info:archivefetch --->  expat-2.1.1_0.darwin_14.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch expat-2.1.1_0.darwin_14.x86_64.tbz2 from https://packages.macports.org/expat
:msg:archivefetch --->  Attempting to fetch expat-2.1.1_0.darwin_14.x86_64.tbz2.rmd160 from https://packages.macports.org/expat
: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 org.macports.archivefetch for port expat returned: archivefetch failed for expat @2.1.1_0
:debug:archivefetch Error code: NONE
:debug:archivefetch Backtrace: archivefetch failed for expat @2.1.1_0
    while executing
"portarchivefetch::fetchfiles"
    (procedure "portarchivefetch::archivefetch_main" line 5)
    invoked from within
"portarchivefetch::archivefetch_main org.macports.archivefetch"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:archivefetch Warning: targets not executed for expat: org.macports.activate org.macports.archivefetch org.macports.fetch org.macports.checksum org.macports.extract org.macports.patch org.macports.c$
:notice:archivefetch Please see the log file for port expat for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_expat/expat/main.log

Please attach the main.log. Maybe it will provide more information about why this happened.

P.S: In case you did not know, we do have a port for gphoto2, so you don't need to install all the dependencies manually; you can just sudo port install gphoto2 and MacPorts will take care of it.

comment:3 in reply to:  2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to joel.gillespie.joel@…:

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

Try the suggestions in #50867.

comment:4 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Is this ticket still relevant or can it be closed?

comment:5 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:6 Changed 4 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to ryandesign
Status: newassigned

comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

I'm going to close it as I presume the problem was due to wrong permissions of a tmp directory on the user's system and they haven't responded for 4 years.

Note: See TracTickets for help on using tickets.