Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147364 - sys-apps/hwsetup-1.1 breaks on ppc32
Summary: sys-apps/hwsetup-1.1 breaks on ppc32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-12 13:09 UTC by Lars Weiler (RETIRED)
Modified: 2006-11-29 14:42 UTC (History)
2 users (show)

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


Attachments
Fixes the above bug (libkudzu.patch,598 bytes, patch)
2006-11-21 21:31 UTC, Joe Jezak (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Weiler (RETIRED) gentoo-dev 2006-09-12 13:09:48 UTC
With a current (todays) snapshot, hwsetup fails on livecd-building:

>>> Emerging (59 of 85) sys-apps/hwsetup-1.1 to /
 * Applying hwsetup-1.1-dyn_blacklist.patch ...                                                                                                                     [ ok ]
 * Applying hwsetup-1.1-fastprobe.patch ...                                                                                                                         [ ok ]
 * Applying hwsetup-1.1-gentoo.patch ...                                                                                                                            [ ok ]
gcc -I/usr/include/kudzu -DBLACKLIST -Wall -fPIC -O2 -s -o hwsetup hwsetup.c -lkudzu -lpci
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/../../../libkudzu.a(macio.o): In function `macioProbe':
: undefined reference to `minifind'
/usr/lib/gcc/powerpc-unknown-linux-gnu/4.1.1/../../../libkudzu.a(macio.o): In function `macioProbe':
: undefined reference to `minifind'
collect2: ld returned 1 exit status
make: *** [hwsetup] Error 1

!!! ERROR: sys-apps/hwsetup-1.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  hwsetup-1.1.ebuild, line 32:   Called die

wolf31o2 said, that dberkholz played with that stuff...
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-09-12 13:27:21 UTC
I did not touch libkudzu in any relevant way. If you have sys-apps/kudzu installed rather than sys-libs/libkudzu, feel free to reassign back to me. (Although I'm not sure how you could, as hwsetup directly depends on libkudzu.)
Comment 2 Lars Weiler (RETIRED) gentoo-dev 2006-09-13 03:47:01 UTC
Nope, sys-libs/libkudzu-1.1.62-r1 has been installed.
Comment 3 Joe Jezak (RETIRED) gentoo-dev 2006-11-12 23:01:02 UTC
Donnie, you're right, you didn't change anything. :)

The problem is that this line:
emake libkudzu.a ARCH=$(tc-arch-kernel) RPM_OPT_FLAGS="${CFLAGS}" || die

Will set ARCH=powerpc on all kernels >= 2.6.16 on ppc, instead of the old behavior returning ppc/ppc64.  To fix this, we can either force it to ppc when applicable, or fix the Makefile so that it substitutes ppc for powerpc.  What do you want to do?
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2006-11-21 21:31:05 UTC
Created attachment 102507 [details, diff]
Fixes the above bug

This patch is against the ebuild and fixes the bug.  I'll apply it if nobody has any objections...
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-11-29 14:42:43 UTC
FIXED... =]