Hi, just another package, which won't compile with linux26-headers-2.6.7-r4: sys-fs/mac-fdisk-0.1 Compile error: >>> emerge (1 of 30) sys-fs/mac-fdisk-0.1 to / >>> md5 src_uri ;-) mac-fdisk_0.1.orig.tar.gz >>> md5 src_uri ;-) mac-fdisk_0.1-8.diff.gz >>> Unpacking source... >>> Unpacking mac-fdisk_0.1.orig.tar.gz to /var/tmp/portage/mac-fdisk-0.1/work patching file dump.c patching file io.c patching file partition_map.c patching file partition_map.h patching file pdisk.c patching file fdisk.c patching file fdisklabel.c patching file fdisklabel.h patching file Makefile patching file debian/README.debian patching file debian/postinst.debhelper patching file debian/changelog patching file debian/prerm.debhelper patching file debian/copyright patching file debian/pmac-fdisk.substvars patching file debian/control patching file debian/rules patching file debian/postinst patching file debian/pmac-fdisk.postinst.debhelper patching file debian/pmac-fdisk.prerm.debhelper patching file mac-fdisk.8.in patching file pmac-fdisk.8.in >>> Source unpacked. gcc -mtune=970 -O3 -pipe -fsigned-char -mabi=altivec -c -o pdisk.o pdisk.c gcc -mtune=970 -O3 -pipe -fsigned-char -mabi=altivec -c -o dump.o dump.c gcc -mtune=970 -O3 -pipe -fsigned-char -mabi=altivec -c -o partition_map.o partition_map.c In file included from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from pdisk.c:43: /usr/include/asm/processor.h:550: error: parse error before "vector128" /usr/include/asm/processor.h:556: error: parse error before '}' token In file included from /usr/include/linux/fs.h:12, from pdisk.c:43: /usr/include/linux/wait.h: In function `init_waitqueue_head': /usr/include/linux/wait.h:58: error: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function) /usr/include/linux/wait.h:58: error: (Each undeclared identifier is reported only once /usr/include/linux/wait.h:58: error: for each function it appears in.) make: *** [pdisk.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/wait.h:12, from /usr/include/linux/fs.h:12, from partition_map.c:38: /usr/include/asm/processor.h:550: error: parse error before "vector128" /usr/include/asm/processor.h:556: error: parse error before '}' token In file included from /usr/include/linux/fs.h:12, from partition_map.c:38: /usr/include/linux/wait.h: In function `init_waitqueue_head': /usr/include/linux/wait.h:58: error: `SPIN_LOCK_UNLOCKED' undeclared (first use in this function) /usr/include/linux/wait.h:58: error: (Each undeclared identifier is reported only once /usr/include/linux/wait.h:58: error: for each function it appears in.) make: *** [partition_map.o] Error 1 !!! ERROR: sys-fs/mac-fdisk-0.1 failed. !!! Function src_compile, Line 29, Exitcode 2 !!! (no error message) Markus
add: using gcc-3.4.1
mhh.. using linux26-headers-2.6.3-r1 and sys-fs/mac-fdisk-0.1 won't work... but linux26-headers-2.6.3-r1 and sys-fs/mac-fdisk-0.1-r2 works just fine... Markus
UPDATE: I am now using linux26-headers-2.6.8.1 and mac-fdisk-0.1-r2 is marked stable, but -r2 will not compile with this version of linux26-headers. The problems when using linux26-headers are solved with latest debian patch (mac-fdisk_0.1-11.diff.gz), but mac-fdisk-ppc64.patch will fail when being applied. I don't know if the ppc64 patch is needed when using latest debian patch, because mac-fdisk starts, when the ppc64 patch is not applied! (but there might be problems, when writing partitions or something else..) Markus
I got the latest debian patch _and_ the ppc64 patches working! :-) Maybe this becomes -r3? ;-) Markus
Created attachment 38573 [details] -r3 (?) ebuild This is the ebuild
Created attachment 38574 [details] the patch the patch (mainly the "old" patches, but some changes by me)
Yep, this latest patch looks good and tests good for me too ...
*** This bug has been marked as a duplicate of 61482 ***
this patch should be included to portage and is independend of the linux26-headers bug. Markus
Did this patch ever get committed? Bug 64739 is fixed now in any case.
no, this patch was never commited.. :-/ Even if it is fixed, I think it is a good idea to commit it, because it updates the changes which are made by debian to latest patchset. Markus
new ebuild added to portage as 0.1-r3 and added the ~ppc64 keyword. Markus
closing...