[Bug 2118785] Re: rust-coreutils 0.0.0~ubuntu16 issue with install(1)

Julian Andres Klode 2118785 at bugs.launchpad.net
Tue Jul 29 07:20:39 UTC 2025


The culprit is that install is being called twice, see:

> mkdir debian/tmp/usr/lib -p
> install --strip-program=true -g jak -o jak -m 755 -T file debian/tmp/usr/lib/libkmipclient.so.1.0
> install --strip-program=true -g jak -o jak -m 755 -T file debian/tmp/usr/lib/libkmipclient.so.1.0
install: cannot overwrite directory 'debian/tmp/usr/lib/libkmipclient.so.1.0' with non-directory 'file'

The issues are twofold:
- `install` should silently overwrite files
- `install` tells us the target is a directory which is a lie

** Changed in: rust-coreutils (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rust-coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/2118785

Title:
  rust-coreutils 0.0.0~ubuntu16 issue with install(1)

Status in Ubuntu on IBM z Systems:
  New
Status in rust-coreutils package in Ubuntu:
  Triaged

Bug description:
  'install' (make) seems to break my PPA build, but only if -proposed is
  enabled

  A modification of a package (s390-tools) is needed (which is close to a no-change rebuild, only changes are two folders in an .install file that are unrelated to this), hence I did (as usual) a PPA test build (with -proposed enabled, like recommended), that surprisingly failed:
  https://launchpadlibrarian.net/807277498/buildlog_ubuntu-questing-s390x.s390-tools_2.38.0-0ubuntu2_BUILDING.txt.gz

  However doing a build with defaults selected in PPA succeeds:
  https://launchpad.net/~fheimes/+archive/ubuntu/lp2118762/+build/31032435/+files/buildlog_ubuntu-questing-s390x.s390-tools_2.38.0-0ubuntu2_BUILDING.txt.gz

  The relevant lines in the (1st) log are:

  install: cannot overwrite directory '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/libkmipclient.so.1.0' with non-directory 'libkmipclient.so.1.0'
  make[5]: *** [Makefile:120: install-libkmipclient.so.1.0] Error 1
  make[5]: Leaving directory '/<<PKGBUILDDIR>>/libkmipclient'
  make[4]: *** [Makefile:42: install-libkmipclient.dep] Error 2
  make[4]: Leaving directory '/<<PKGBUILDDIR>>/zkey/kmip'
  make[3]: *** [Makefile:137: kmip] Error 2
  make[3]: *** Waiting for unfinished jobs....

  install: cannot overwrite directory '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/libekmfweb.so.1.0' with non-directory 'libekmfweb.so.1.0'
  make[5]: *** [Makefile:98: install-libekmfweb.so.1.0] Error 1
  make[5]: Leaving directory '/<<PKGBUILDDIR>>/libekmfweb'
  make[4]: *** [Makefile:41: install-libekmfweb.dep] Error 2
  make[4]: Leaving directory '/<<PKGBUILDDIR>>/zkey/ekmfweb'
  make[3]: *** [Makefile:137: ekmfweb] Error 2
  make[3]: Leaving directory '/<<PKGBUILDDIR>>/zkey'
  make[2]: *** [Makefile:57: zkey] Error 2
  make[2]: *** Waiting for unfinished jobs....

  make[1]: *** [debian/rules:116: override_dh_auto_install] Error 25
  make[1]: Leaving directory '/<<PKGBUILDDIR>>'
  make: *** [debian/rules:72: binary] Error 2

  So install(1) seems to be the suspect and afaict it's from coreutils

  And rust-coreutils is different between defauls and -proposed:
  rmadison coreutils-from-uutils
   coreutils-from-uutils | 0.0.0~ubuntu3  | questing/universe          | all
   coreutils-from-uutils | 0.0.0~ubuntu16 | questing-proposed/universe | all

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2118785/+subscriptions




More information about the foundations-bugs mailing list