First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 61493
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: ppc64 architecture team <ppc64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mac-fdisk-0.1-r3.ebuild -r3 (?) ebuild text/plain Markus Rothe 2004-08-31 05:49 0000 1.37 KB Details
mac-fdisk-0.1-r3-ppc64.patch the patch text/plain Markus Rothe 2004-08-31 05:50 0000 16.23 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 61493 depends on: Show dependency tree
Show dependency graph
Bug 61493 blocks: 64739
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)





View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-24 04:35 0000
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

------- Comment #1 From Markus Rothe 2004-08-24 04:37:37 0000 -------
add: using gcc-3.4.1

------- Comment #2 From Markus Rothe 2004-08-24 05:32:57 0000 -------
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

------- Comment #3 From Markus Rothe 2004-08-31 04:12:11 0000 -------
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

------- Comment #4 From Markus Rothe 2004-08-31 05:49:08 0000 -------
I got the latest debian patch _and_ the ppc64 patches working! :-)

Maybe this becomes -r3? ;-)

Markus

------- Comment #5 From Markus Rothe 2004-08-31 05:49:44 0000 -------
Created an attachment (id=38573) [edit]
-r3 (?) ebuild

This is the ebuild

------- Comment #6 From Markus Rothe 2004-08-31 05:50:42 0000 -------
Created an attachment (id=38574) [edit]
the patch

the patch (mainly the "old" patches, but some changes by me)

------- Comment #7 From Philippe Trottier (RETIRED) 2004-09-06 12:09:03 0000 -------
Yep, this latest patch looks good and tests good for me too ...

------- Comment #8 From SpanKY 2004-09-27 23:02:23 0000 -------

*** This bug has been marked as a duplicate of 61482 ***

------- Comment #9 From Markus Rothe 2004-10-10 11:44:51 0000 -------
this patch should be included to portage and is independend of the
linux26-headers bug.

Markus

------- Comment #10 From Joshua Root 2004-10-20 22:28:36 0000 -------
Did this patch ever get committed? Bug 64739 is fixed now in any case.

------- Comment #11 From Markus Rothe 2004-10-20 23:25:13 0000 -------
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

------- Comment #12 From Markus Rothe 2004-11-03 07:58:50 0000 -------
new ebuild added to portage as 0.1-r3 and added the ~ppc64 keyword.

Markus

------- Comment #13 From Markus Rothe 2004-11-03 07:59:28 0000 -------
closing...

First Last Prev Next    No search results available      Search page      Enter new bug