pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/49561: PKGSRC_LOCKTYPE does not work with package-install target
>Number: 49561
>Category: pkg
>Synopsis: PKGSRC_LOCKTYPE does not work with package-install target
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 12 22:45:00 +0000 2015
>Originator: matthew green
>Release: pkgsrc-current
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
System: NetBSD phat-bass.eterna23.net 7.99.4 NetBSD 7.99.4 (_phat_) #13: Sun Jan 11 03:47:29 PST 2015 mrg%xotica.eterna23.net@localhost:/var/obj/i386/usr/src7/sys/arch/i386/compile/_phat_ i386
Architecture: i386
Machine: i386
>Description:
pkgsrc providesa "PKGSRC_LOCKTYPE" variable that i've had set
to "sleep" ever since it was introduced.
there seems to be new targets that are not under this lock and
concurrent builds can stomp on each other. i've seen this
failure while attempting to both create or install a binary
package using "make package-install".
eg, one window shows:
=> Automatic manual page handling
=> Creating binary package /var/obj/pkgsrc/devel/cmake/work.phat-bass/.packages/cmake-3.0.2.tgz
mv: rename /var/obj/pkgsrc/devel/cmake/work.phat-bass/.packages/cmake-3.0.2.tmp.tgz to /var/obj/pkgsrc/devel/cmake/work.phat-bass/.packages/cmake-3.0.2.tgz: No such file or directory
*** Error code 1
Stop.
make[3]: stopped in /usr/pkgsrc/devel/cmake
and in another window:
===> Install binary package of cmake-3.0.2
pkg_add: Failed to read from archive for cmake-3.0.2: Damaged tar archive
original MD5 checksum failed, not deleting: /usr/pkg/bin/cpack
[ ... ]
>How-To-Repeat:
"make package-install" in two subdirs with a common dependancy
target. one or both of them may fail after the package is built
but before it is packaged or installed.
>Fix:
Home |
Main Index |
Thread Index |
Old Index