Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17026 - [cdrkit] fails to compile with latest glibc

Attached to Project: Arch Linux
Opened by Jeff Meldrum (jspaces) - Thursday, 05 November 2009, 23:03 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 06 November 2009, 13:47 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Cdrkit has conflicts with latest glibc.
getline
fexecve

Additional info:
* package version(s) cdrkit-1.1.9-2
* config and/or log files etc.


Steps to reproduce:
Download cdrkit from abs then compile with latest glibc and gcc produces the following errors.

/home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/../include/schily.h:119: error: conflicting types for ‘fexecve’
/usr/include/unistd.h:524: note: previous declaration of ‘fexecve’ was here
/home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/../include/schily.h:193: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
make[3]: *** [libusal/CMakeFiles/usal.dir/scsierrs.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/scsihelp.c:38:
/home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/../include/schily.h:193: error: conflicting types for ‘getline’
/usr/include/stdio.h:651: note: previous declaration of ‘getline’ was here
make[3]: *** [libusal/CMakeFiles/usal.dir/scsihelp.o] Error 1
In file included from /home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/scsihack.c:66:
/home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/../include/schily.h:119: error: conflicting types for ‘fexecve’
/usr/include/unistd.h:524: note: previous declaration of ‘fexecve’ was here
/home/jspaces/build/custompkgs/cdrkit/src/cdrkit-1.1.9/libusal/../include/schily.h:193: error: conflicting types for ‘getline’

Found solution at https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/430190.
Original patch location at http://launchpadlibrarian.net/32257519/cdrkit_1.1.9-1ubuntu2.debdiff
The patch needed the debian change log portion to be removed and the paths to be modified to work in the $srcdir/$pkgname-$pkgver location. Thus I renamed the patch to cdrkit.patch and modified the PKGBUILD adding the patch to source and patch -p0 < ${srcdir}/cdrkit.patch.
Now cdrkit compiles without issues.
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 06 November 2009, 13:47 GMT
Reason for closing:  Fixed
Additional comments about closing:  on trunk

Loading...