[Bug 1973283] [NEW] dh with tempdir doesn't install into tempdir
Kyle Bloom
1973283 at bugs.launchpad.net
Fri May 13 08:22:40 UTC 2022
Public bug reported:
We are using the following rule while doing builds for Synergy
(https://github.com/symless/synergy-core).
> dh $@ --buildsystem=cmake --builddirectory=build -Pbuild/debian
--parallel
It appears on 22.04, the temporary directory gets ignored at some point
and the project binaries get installed into the source debian directory.
This causes an empty-binary-packages warning and the deb is, in fact,
empty.
Our current workaround is the remove the temporary directory flag.
However, I feel this is still a bug worth reporting.
----
When building on 20.04:
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/share/icons/hicolor/scalable/apps/synergy.svg
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/share/applications/synergy.desktop
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergyc
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergys
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/syntool
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergy
When building on 22.04:
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: /__w/synergy-core/synergy-> core/debian/synergy/usr/share/icons/hicolor/scalable/apps/synergy.svg
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/share/applications/synergy.desktop
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergyc
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergys
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/syntool
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergy
** Affects: debhelper (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- We are using the following rule while doing builds for Synergy.
+ We are using the following rule while doing builds for Synergy
+ (https://github.com/symless/synergy-core).
> dh $@ --buildsystem=cmake --builddirectory=build -Pbuild/debian
--parallel
It appears on 22.04, the temporary directory gets ignored at some point
and the project binaries get installed into the source debian directory.
This causes an empty-binary-packages warning and the deb is, in fact,
empty.
Our current workaround is the remove the temporary directory flag.
However, I feel this is still a bug worth reporting.
----
When building on 20.04:
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/share/icons/hicolor/scalable/apps/synergy.svg
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/share/applications/synergy.desktop
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergyc
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergys
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/syntool
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergy
-
When building on 22.04:
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: /__w/synergy-core/synergy-> core/debian/synergy/usr/share/icons/hicolor/scalable/apps/synergy.svg
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/share/applications/synergy.desktop
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergyc
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergys
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/syntool
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1973283
Title:
dh with tempdir doesn't install into tempdir
Status in debhelper package in Ubuntu:
New
Bug description:
We are using the following rule while doing builds for Synergy
(https://github.com/symless/synergy-core).
> dh $@ --buildsystem=cmake --builddirectory=build -Pbuild/debian
--parallel
It appears on 22.04, the temporary directory gets ignored at some point
and the project binaries get installed into the source debian directory.
This causes an empty-binary-packages warning and the deb is, in fact,
empty.
Our current workaround is the remove the temporary directory flag.
However, I feel this is still a bug worth reporting.
----
When building on 20.04:
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/share/icons/hicolor/scalable/apps/synergy.svg
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/share/applications/synergy.desktop
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergyc
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergys
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/syntool
> -- Installing: /__w/synergy-core/synergy-core/build/debian/usr/bin/synergy
When building on 22.04:
> Install the project...
> /usr/bin/cmake -P cmake_install.cmake
> -- Install configuration: "None"
> -- Installing: /__w/synergy-core/synergy-> core/debian/synergy/usr/share/icons/hicolor/scalable/apps/synergy.svg
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/share/applications/synergy.desktop
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergyc
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergys
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/syntool
> -- Installing: /__w/synergy-core/synergy-core/debian/synergy/usr/bin/synergy
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1973283/+subscriptions
More information about the foundations-bugs
mailing list