Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135708 - emerge powerpc-util fails (New installation in IBM OpenPower 720)
Summary: emerge powerpc-util fails (New installation in IBM OpenPower 720)
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC64 Other
: High normal (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 20:43 UTC by Ippokratis
Modified: 2006-09-01 12:33 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 Ippokratis 2006-06-05 20:43:09 UTC
Hi, 

I want to install the 2006.0 version, in a IBM Open Power 720 (ppc64) machine. I selected the 64-bit userland, and I am following the handbook instructions step-by-step. In order to install the bootloader (yaboot-static) powerpc-utils should be successfully emerged. The problem is that this fails:


---
(chroot) livecd etc # emerge powerpc-utils
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/powerpc-utils-1.1.3.18 to /
>>> md5 files   ;-) powerpc-utils-1.1.3-r18.ebuild
>>> md5 files   ;-) powerpc-utils-1.1.3-r12.ebuild
>>> md5 files   ;-) powerpc-utils-1.1.3.18.ebuild
>>> md5 files   ;-) files/digest-powerpc-utils-1.1.3.18
>>> md5 files   ;-) files/digest-powerpc-utils-1.1.3-r12
>>> md5 files   ;-) files/digest-powerpc-utils-1.1.3-r18
>>> md5 files   ;-) files/hotfix.patch
>>> md5 src_uri ;-) powerpc-utils_1.1.3.orig.tar.gz
>>> md5 src_uri ;-) powerpc-utils_1.1.3-18.diff.gz
>>> md5 src_uri ;-) powerpc-utils-cleanup.patch.bz2
>>> Unpacking source...
>>> Unpacking powerpc-utils_1.1.3.orig.tar.gz to /var/tmp/portage/powerpc-utils-1.1.3.18/work
>>> Unpacking powerpc-utils_1.1.3-18.diff.gz to /var/tmp/portage/powerpc-utils-1.1.3.18/work
>>> Unpacking powerpc-utils-cleanup.patch.bz2 to /var/tmp/portage/powerpc-utils-1.1.3.18/work
 * Applying powerpc-utils_1.1.3-18.diff ...                                                 [ ok ]
 * Applying powerpc-utils-cleanup.patch ...                                                 [ ok ]
>>> Source unpacked.
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o clock clock.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o mousemode mousemode.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o nvsetenv nvsetenv.c nwnvsetenv.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o trackpad trackpad.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o backlight backlight.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o nvsetvol nvsetvol.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o fdeject fdeject.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o fblevel fblevel.c
gcc -Wall -Wstrict-prototypes -O2 -pipe -fsigned-char  -o fnset fnset.c
In file included from /usr/include/asm/nvram.h:8,
                 from nvsetenv.c:18:
/usr/include/asm-ppc64/nvram.h:60: error: field `partition' has incomplete type
/usr/include/asm-ppc64/nvram.h:86: error: parse error before "pmac_xpram_read"
/usr/include/asm-ppc64/nvram.h:87: error: parse error before "__u8"
nvsetenv.c: In function `nvpack':
nvsetenv.c:201: warning: cast from pointer to integer of different size
In file included from /usr/include/asm/nvram.h:8,
                 from nvsetvol.c:19:
/usr/include/asm-ppc64/nvram.h:60: error: field `partition' has incomplete type
/usr/include/asm-ppc64/nvram.h:86: error: parse error before "pmac_xpram_read"
/usr/include/asm-ppc64/nvram.h:87: error: parse error before "__u8"
make: *** [nvsetvol] Error 1
make: *** Waiting for unfinished jobs....
nwnvsetenv.c: In function `print_vars':
nwnvsetenv.c:122: warning: implicit declaration of function `strnlen'
nwnvsetenv.c: In function `nvstore':
nwnvsetenv.c:229: warning: unsigned int format, different type arg (arg 4)
make: *** [nvsetenv] Error 1

!!! ERROR: sys-apps/powerpc-utils-1.1.3.18 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

(chroot) livecd etc # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example

ACCEPT_KEYWORDS="~ppc64"

CFLAGS="-O2 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j9"

USE="qt tcltk gtk gnome X cdr alsa xml ppc64"

(chroot) livecd etc # emerge --info
Portage 2.0.54 (default-linux/ppc/ppc64/2006.0/64bit-userland, gcc-3.4.4, glibc-2.3.4.20041102-r2, 2.6.15.3-ibm ppc64)
=================================================================
System uname: 2.6.15.3-ibm ppc64 POWER5 (gr)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="ppc64 ~ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts berkdb bitmap-fonts bzip2 cdr cli cups dri eds emboss encode esd expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 ibm imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png ppc64 pppd python qt quicktime readline reflection sdl session spell spl ssl tcltk tcpd truetype truetype-fonts type1-fonts udev unicode vorbis xml xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

---

Any help would be greatly appreciated,
Ippokratis.
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2006-06-08 07:18:33 UTC
please try out ibm-powerpc-utils. it is a package superseding powerpc-utils.

please reopen if this isn't what you wanted.

/me thinks this should be mentioned somewhere...
Comment 2 Ippokratis 2006-06-08 10:27:08 UTC
I have already installed ibm-powerpc-utils and ibm-powerpc-utils-papr.
Comment 3 Brent Baude (RETIRED) gentoo-dev 2006-06-08 11:44:22 UTC
Would you be willing to join us on IRC so we can more information?

something like irc.freenode.net and then #gentoo-ppc64

I'd personally be happy to help you out.
Comment 4 Ippokratis 2006-06-08 20:39:01 UTC
Hm it seems that i solved the problem.

I simply replaced: 
"sys-apps/powerpc-utils" with "sys-apps/ibm-powerpc-utils" in the "yaboot-static-1.3.13-r1.ebuild"
Comment 5 Brent Baude (RETIRED) gentoo-dev 2006-09-01 12:33:11 UTC
closing