emerge cdrtools fails to compile. make[2]: Entering directory `/var/tmp/portage/cdrtools-2.01_alpha19/work/cdrtools-2.01/libscg' ==> COMPILING "OBJ/amd64-linux-cc/scsitransp.o" ==> COMPILING "OBJ/amd64-linux-cc/scsihack.o" In file included from /usr/src/linux/include/linux/cdrom.h:14, from scsi-linux-sg.c:89, from scsihack.c:127: /usr/src/linux/include/asm/byteorder.h:9: error: syntax error before "__u64" /usr/src/linux/include/asm/byteorder.h:15: error: syntax error before "__u32" In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11, from /usr/src/linux/include/asm/byteorder.h:31, from /usr/src/linux/include/linux/cdrom.h:14, from scsi-linux-sg.c:89, from scsihack.c:127: /usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64" make[2]: *** [OBJ/amd64-linux-cc/scsihack.o] Error 1 offending lines are of the type: static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 x) Using a stage3 install of 2004.0 amd64 with the linux-2.6.3-gentoo-r2 sources. __attribute_const__ (the likely problem?) seems to be defined in linux/compiler.h as nothing: #ifndef __attribute_const__ # define __attribute_const__ /* unimplemented */ #endif Both byteorder.h and swab.h include that. Reproducible: Always Steps to Reproduce: 1. emerge cdrtools Actual Results: !!! ERROR: app-cdr/cdrtools-2.01_alpha19 failed. Expected Results: successful emerge
Update: possible false alarm. Could not reconfirm after reboot as the Gentoo partition failed to mount - one of 2 corrupted xfs partitions. Could have been an xfs failure instead of an emerge one.
closing... This is an alpha version and it's now at alpha25. resync, try alpha25 and reopen this bug if it's still an issue. Emerged fine for me and I've used it several times.