FS#75817 - [icmake] Bad libexec path

Attached to Project: Community Packages
Opened by loqs (loqs) - Monday, 05 September 2022, 22:25 GMT
Last edited by Konstantin Gizdov (kgizdov) - Wednesday, 25 January 2023, 22:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Konstantin Gizdov (kgizdov)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Using icmake 10.03.00-1 libbobcat fails to build [1][2] and yodl builds an empty package [3][4].
The common error message is "Process: cannot execv[p] /usr/libexec/icmake/icm-*" where icm-* is an executable located in /usr/lib/icmake/ not /usr/libexec/icmake/
The binaries icmake icmbuild icmstart all have the path /usr/libexec/icmake embedded in themselves. So moving the libexec directory in package() without changing the path causes the binaries to fail. The libexec location is controlled by a string in icmake/INSTALL.im [5]. Adjusting that string produced an icmake that built libbobcat and yodl as expected. Diff attached [6].

Additional info:
* icmake 10.03.00-1
* libbobcat 5.11.00-2
* yodl 4.03.03-1
[1] yodl-4.03.03-1-x86_64-build.log
[2] libbobcat-5.11.00-2-x86_64-package.log
[3] yodl-4.03.03-1-x86_64-build.log
[4] yodl-4.03.03-1-x86_64-build.log
[5] https://gitlab.com/fbb-git/icmake/-/blob/10.03.00/icmake/INSTALL.im#L27
[6] PKGBUILD.diff
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Wednesday, 25 January 2023, 22:59 GMT
Reason for closing:  Fixed

Loading...