Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2020 14:20:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 249374] ports-mgmt/pkg: 1.15.4 cannot unroll hard links to copies, and still runs pkg-install after error
Message-ID:  <bug-249374-32340-SsBaHi6gUe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249374-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249374-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249374

--- Comment #2 from Matthias Andree <mandree@FreeBSD.org> ---
the demo port prints:

=3D=3D=3D>  Installing for failport-0.0
=3D=3D=3D>  Checking if failport is already installed
=3D=3D=3D>  Switching to root credentials for 'install' target
=3D=3D=3D>   Registering installation for failport-0.0
Installing failport-0.0...
/bin/sh failport-0.0 PRE-INSTALL
[...environment dump here, omitted from PR...]
pkg-static: Fail to create hardlink:
/usr/local/etc/.pkgtemp.example.timestamp.sfTyw84qY7mt:Cross-device link
/bin/sh failport-0.0 POST-INSTALL
[...environment dump here, omitted from PR...]
/bin/sh pkg-install failport-0.0 POST-INSTALL should _NOT_ be run, but was
pkg-static: POST-INSTALL script failed
*** Error code 70

Stop.
make[1]: stopped in /usr/ports.svn/sysutils/failport
*** Error code 1

Stop.
make: stopped in /usr/ports.svn/sysutils/failport

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249374-32340-SsBaHi6gUe>