Ticket #604 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Paludis runs pkg_pretend() for already installed packages when resuming using --serialised

Reported by: ingmar Owned by: ciaranm
Priority: Sometime Milestone: EAPI exheres-0
Component: clients/paludis Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo

Description

Paludis runs pkg_pretend() for sed even though that's already installed:

indigo ~ # bash /root/.resume
Building target list... paludis@1214247969: [WARNING e.cache.stale] Stale cache file at '/var/repositories/arbor.git/metadata/cache/sys-apps/sed-4.1.5'
paludis@1214247969: [WARNING e.cache.stale] Stale cache file at '/var/cache/paludis/metadata/arbor/sys-apps/sed-4.1.5'
paludis@1214247969: [QA e.ebuild.cache.no_usable] No usable cache entry for 'sys-apps/sed-4.1.5::arbor

Building dependency list...

These packages will be installed:

* net-misc/openssh [U 4.7_p1 -> 5.0_p1]
    -X+ -X509+ -hpn+ -tcpd+
* sys-apps/busybox [R 1.7.1]
* sys-apps/util-linux [U 2.12r -> 2.13_pre7]
* sys-libs/glibc [R 2.6.1]

Total: 4 packages (2 upgrades, 2 rebuilds)
sed-4.1.5>
sed-4.1.5>  * running pkg_pretend for sed
sed-4.1.5>
^CCaught signal 2 in run_command child process

Caught signal 2
Waiting for children...


Resume command saved to file: /root/.resume

Exiting with failure
indigo ~ #

Tested by adding the following to a sed exheres-0:

pkg_pretend() {
    einfo "running ${FUNCNAME} for ${PN}"
}

The --serialised command that I used is attached.

indigo ~ # paludis --version paludis 0.27.0 git 8dee117a5679f5c068c6e68d7d0306bf9570611f

Attachments

resume (7.6 kB) - added by ingmar 2 months ago.
Resume command

Change History

Changed 2 months ago by ingmar

Resume command

Changed 2 months ago by ciaranm

  • status changed from new to closed
  • resolution set to fixed

Please check 4d290362c136.

Note: See TracTickets for help on using tickets.