Opened 14 years ago

Closed 13 years ago

#29297 closed defect (fixed)

pkg failure

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.99
Keywords: Cc:
Port:

Description (last modified by nerdling (Jeremy Lavergne))

While doing an mpkg for a dependent, python_select failed during its pkg phase.

The log revealed that archivefetch failed verification but didn't stop the packing process.

Attachments (1)

python_select.log.tbz2 (1.6 KB) - added by nerdling (Jeremy Lavergne) 14 years ago.

Download all attachments as: .zip

Change History (8)

Changed 14 years ago by nerdling (Jeremy Lavergne)

Attachment: python_select.log.tbz2 added

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Works for me.

comment:2 Changed 14 years ago by afb@…

From the log:

:msg:archivefetch --->  Attempting to fetch python_select-0.3_0.darwin_10.noarch.tbz2.rmd160 from http://lavergne.gotdns.org/macports/python_select
:debug:archivefetch failed verification with key /opt/local/share/macports/macports-pubkey.pem
:debug:archivefetch openssl output: Verification Failure
child process exited abnormally

And that's why pkg fails, destroot wasn't completed even if thought so:

:info:pkg ERROR: The specified root is invalid: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_python_select/work/destroot

Could be a bug with archivefetch fallback, not handling errors properly ?

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

Component: portsbase
Description: modified (diff)
Port: python_select removed
Summary: python_select fails pkg phasearchivefetch doesn't fail properly

Good find in the log.

comment:4 Changed 13 years ago by raimue (Rainer Müller)

Owner: changed from raimue@… to jmr@…

Not related to python_select, so moving ownership.

Joshua, could you please take a look at this?

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from jmr@… to macports-tickets@…
Summary: archivefetch doesn't fail properlypkg failure

Doesn't look like archivefetch is doing anything wrong. The statefile said the destroot phase was complete, so unarchive didn't bother:

:debug:archivefetch Skipping unarchive (python_select) since destroot completed

But apparently the destroot dir had been deleted behind its back.

It's unlikely anything is going to happen with this unless you can provide steps to reproduce.

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

Actually now I see a way this could happen.

comment:7 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.