Bug #4830
closed
rudder-agent package build fails on debian-type OS because it can't find FusionInventory code
Added by Jonathan CLARKE over 10 years ago.
Updated over 9 years ago.
Description
I just saw this on builds for Debian 7 and Ubuntu 10.04:
00:11:17 Building and testing File-Which-1.09 for /usr/src/rudder-packages/package/SOURCES/files/File-Which-1.09.tar.gz ... OK
00:11:17 Successfully installed File-Which-1.09
00:11:17 Fetching file:///usr/src/rudder-packages/package/SOURCES/files/XML-TreePP-0.41.tar.gz ... OK
00:11:17 Configuring XML-TreePP-0.41 ... OK
00:11:17 Building and testing XML-TreePP-0.41 for /usr/src/rudder-packages/package/SOURCES/files/XML-TreePP-0.41.tar.gz ... OK
00:11:17 Successfully installed XML-TreePP-0.41
00:11:17 cp: cannot stat `share/*': No such file or directory
00:11:17 make[1]: *** [configure-stamp] Error 1
00:11:17 make[1]: Leaving directory `/usr/src/rudder-packages/package'
00:11:17 dpkg-buildpackage: error: debian/rules build gave error exit status 2
- Subject changed from rudder-agent package build fails on debian-type OS with message "cp: cannot stat `share/*': No such file or directory" to rudder-agent package build fails on debian-type OS because it can't find FusionInventory code
#4744 introduced the usage of a new version of FusionInventory (2.3.6) for AIX builds only. Unfortunately, to be able to use both systems in parallel, we did have to make a slight change to the way existing packages were built: calling the perl-prepare.sh command now requires a mandatory argument, telling the script where to find the FusionInventory agent code.
This change had been made in the RPM .spec file, but not in the debian packaging. It is a trivial fix, PR coming.
- Status changed from In progress to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:d391cbaf0955c00fcdb893cd1340278e83db8fd2.
- % Done changed from 100 to 0
- Pull Request set to https://github.com/Normation/rudder-packages/pull/315
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.1, which was released today.
Check out:
- Project changed from 34 to Rudder
- Category set to Packaging
Also available in: Atom
PDF