You are not logged in.
My aur package https://aur.archlinux.org/packages?O=0&K=cnrdrvcups-lb has a build issue that went unnoticed until recently because the generated script make.Arch didn't cause abortion of the build.
I have added sed -i '1iset -e o pipefail' make.Arch to ensure it does pass on the error and am now trying to solve it.
execjob.c:1164:108: error: passing argument 3 of 'add_param_int' makes integer from pointer without a cast [-Wint-conversion]
1164 | num = add_param_int(ptr_param, kPPD_Items_CNJobResultNoticeAddress, ppd_opt->job_result_notice_address);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
execjob.c:431:53: note: expected 'int' but argument is of type 'char *'
431 | int add_param_int(char **ptr_param, char *name, int value)build log http://0x0.st/XVMB.txt
The file with the error is located at src/extracted-cnrdrvcups-lb-5.90/cnrdrvcups-lb-5.90/cngplp/cngplpmod/execjob.c and uploaded to http://0x0.st/XVMQ.c
I could try to disable the error, but am not sure how serious it is (and would prefer to solve it) .
Comments ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
Have you tried replacing add_param_int with add_param_char?
Offline
Took some time to understand what you meant, but after checking the sourcecode I realised add_param_int and add_param_char have the same purpose for different input types.
I patched the sourcecode and uploaded new version to AUR.
Thank you for the hint.
I'll wait a while for user reports before declaring this solved.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
No user reports, declaring this solved.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online