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

Frank Heimes 2118785 at bugs.launchpad.net
Mon Jul 28 13:01:42 UTC 2025


Hi Sylvestre, that is straight-forward (but I referenced the logs above):
- enable the package sources repo (deb-src)
- download the current s390-tools sources for questing: pull-lp-source s390-tools questing
- rebuild the source package (sbuild, dpkg-buildpackage, or whatever you prefer)
- create a new PPA, and in "Change details", select architectures: amd64, ppc64el, amr64 and s390x
- in "Edit PPA dependencies" enable -proposed (tick: "Proposed (default dependencies and proposed updates).")
- optimally you may bump the version (with dch -i) and add 'no-change rebuild" to the changelog
- then dput to this PPA

The build fails (or failed for me) on s390x only, but only because the
s390-tools package is only fully build on s390x, only a smaller subset
is build for amd64, hence it succeeds there (but it's not architecture
specific).

If you want to do a local build (on an s390x system), the following is needed:
sudo apt-get install build-essential
sudo apt-get install devscripts
sudo apt --arch-only build-dep s390-tools
(I could also help on setting up a local build system at Canonical, let me know on MM.)

-- 
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:
  New

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