View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013488CMakeCPackpublic2012-08-24 04:572015-11-02 09:15
ReporterStanislav Ravas 
Assigned ToRaffi Enficiaud 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSDebianOS Version6.0 (squeeze)
Product VersionCMake 2.8.9 
Target VersionFixed in VersionCMake 3.3 
Summary0013488: Patch for CPack Debian generator (fix to the auto-dependecy support via dpkg-shlibdeps)
DescriptionWhen the package contains no binary files, dpkg-shlibdeps is run without executable path(mandatory argument) and fails, package build is aborted.

This is especially a problem when building multiple packages per project (component install).

I attach the patch: When there are no binary files, dpkg-shlibdeps is not run at all.
Steps To ReproduceCreate cmake project with multiple components. Ensure that at least one component contains no binary files (contains doc, sources, ...).

When you run cpack -G DEB(or make package), build fails.
TagsNo tags attached.
Attached Filespatch file icon cpackdeb-rupN-2.patch [^] (1,724 bytes) 2012-08-24 05:07 [Show Content]

 Relationships
has duplicate 0013232closedRaffi Enficiaud CPackDeb fails on dependency auto-gen if any component does not contain any ELF binaries 

  Notes
(0030753)
Stanislav Ravas (reporter)
2012-08-24 05:01

Added the same patch generated with -rupN arguments.
(0030754)
Stanislav Ravas (reporter)
2012-08-24 05:07

Ignore initial 2 patches, they were reversed and I don't know how to delete them.

Use patch cpackdeb-rupN-2.patch.
(0030755)
Eric NOULARD (developer)
2012-08-24 05:14

Only developer can make some action on the bug tracker
(including deleting attachment).

I just did it.
Thank you for your contribution,
I'll review it soon.
(0038757)
Raffi Enficiaud (developer)
2015-05-18 03:37

The latests changes in CPackDEB allow to specify the shlibdeps feature per component.
(0038765)
Domen Vrankar (developer)
2015-05-18 11:29

Fixed with commit:

http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=4588a16 [^]
(0039813)
Robert Maynard (manager)
2015-11-02 09:15

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2012-08-24 04:57 Stanislav Ravas New Issue
2012-08-24 04:57 Stanislav Ravas File Added: cpackdeb.patch
2012-08-24 05:01 Stanislav Ravas File Added: cpackdeb-rupN.patch
2012-08-24 05:01 Stanislav Ravas Note Added: 0030753
2012-08-24 05:04 Eric NOULARD Assigned To => Eric NOULARD
2012-08-24 05:04 Eric NOULARD Status new => assigned
2012-08-24 05:07 Stanislav Ravas Note Added: 0030754
2012-08-24 05:07 Stanislav Ravas File Added: cpackdeb-rupN-2.patch
2012-08-24 05:09 Eric NOULARD File Deleted: cpackdeb.patch
2012-08-24 05:09 Eric NOULARD File Deleted: cpackdeb-rupN.patch
2012-08-24 05:14 Eric NOULARD Note Added: 0030755
2015-05-18 03:37 Raffi Enficiaud Note Added: 0038757
2015-05-18 03:38 Raffi Enficiaud Relationship added has duplicate 0013232
2015-05-18 03:39 Raffi Enficiaud Assigned To Eric NOULARD => Raffi Enficiaud
2015-05-18 11:29 Domen Vrankar Note Added: 0038765
2015-05-18 11:29 Domen Vrankar Status assigned => resolved
2015-05-18 11:29 Domen Vrankar Fixed in Version => CMake 3.3
2015-05-18 11:29 Domen Vrankar Resolution open => fixed
2015-11-02 09:15 Robert Maynard Note Added: 0039813
2015-11-02 09:15 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team