Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42546 - hdparm 5.4 and 5.5 won't merge against PPC systems built against 2.6.3 headers
Summary: hdparm 5.4 and 5.5 won't merge against PPC systems built against 2.6.3 headers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-22 22:32 UTC by Marc Doughty
Modified: 2004-02-23 20:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Doughty 2004-02-22 22:32:39 UTC
I'm doing 'experimental' builds of PPC systems built with NPTL / 2.6.3 headers / gcc-3.3.3 this weekend.

I've filed several other bugs, this one looks just like bug 41856, but I can't make it go away, so I'm just going to remove hdparm from my profile and run without it (I'm SCSI anyway).

Observed when merging hdparm 5.4 and 5.5 against linux-headers-2.6.3 systems. Looks like its really an issue of hdparm. I've already fired an email to the maintainer of 'hdparm', Mark Lord.

BTW, am I being a jerk by filing bugs for this stuff? I figured it was actually helping since not too many folks are testing 'bleeding edge' builds on PPC. Tell me to 'cram it and wait' if you'd like.


###

gcc -O2 -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -O2 -pipe -fomit-frame-pointer -mcpu=750   -c -o identify.o identify.c
In file included from /usr/include/linux/byteorder/big_endian.h:11,
                 from /usr/include/asm/byteorder.h:74,
                 from hdparm.c:23:
/usr/include/linux/byteorder/swab.h:133: error: syntax error before "__u16"
/usr/include/linux/byteorder/swab.h:146: error: syntax error before "__u32"
/usr/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
make: *** [hdparm.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-apps/hdparm-5.5 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! compile error

./mpd-stager: error: Stage 3 build failure
Comment 1 SpanKY gentoo-dev 2004-02-22 22:45:19 UTC
no, we want this bug reports, we just want bug reports that havent already been fixed

just like i said in comment #1 on Bug 42535, this has been fixed, make sure you're using the latest headers

i just emerged hdparm-5.5 on my system without any problems and i'm using linux-headers-2.6.3-r1
Comment 2 Marc Doughty 2004-02-23 20:49:25 UTC
I've revisited my build system and found a 'polluted' stage1 tarball. I'm back on track, and I thought I'd let you know that hdparm just compiled fine on the new build.