debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #04080
[Bug 2116859] Re: `cp -a` fails to copy symlink to directory
I think I've hit the same bug while working on an opencryptoki version
bump for questing.
I could successfully build the new version locally (without -proposed), but it failed when I did a test build in PPA, where I have -proposed enabled:
https://launchpad.net/~fheimes/+archive/ubuntu/lp2116720/+build/31009089/+files/buildlog_ubuntu-questing-s390x.opencryptoki_3.25.0+dfsg-0ubuntu1_BUILDING.txt.gz
Did another test build in PPA without -proposed (to double-check) and it worked:
https://launchpad.net/~fheimes/+archive/ubuntu/lp2116720-default/+build/31009291/+files/buildlog_ubuntu-questing-s390x.opencryptoki_3.25.0+dfsg-0ubuntu1_BUILDING.txt.gz
The suspicious lines in the build log are:
"
cp: cannot create symlink 'opencryptoki' to 'sbin': File exists (os error 17)
dh_install: error: cp --reflink=auto -a debian/tmp
"
And this led my finding this bug. This blocks/prevents me from
uploading: LP#2116720
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to yaru-theme in Ubuntu.
https://bugs.launchpad.net/bugs/2116859
Title:
`cp -a` fails to copy symlink to directory
Status in coreutils-from package in Ubuntu:
Confirmed
Status in rust-coreutils package in Ubuntu:
Confirmed
Status in yaru-theme package in Ubuntu:
Triaged
Bug description:
uutils `cp -a` fails to copy a symlink-to-an-existing-directory into
another directory
mkdir foo
mkdir dst
ln -s foo bar
cp -a bar dst
> cp: cannot create symlink 'dst' to 'foo': File exists (os error 17)
gnucp -a bar dst --verbose
> 'bar' -> 'dst/bar'
This affects dh_install when a symlink to an existing directory is
listed in debian/install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils-from/+bug/2116859/+subscriptions
References