Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] iBook G4 stuck @ emerge gentoo-sources
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bryanvick
n00b
n00b


Joined: 27 Sep 2012
Posts: 16

PostPosted: Thu Sep 27, 2012 3:47 pm    Post subject: [solved] iBook G4 stuck @ emerge gentoo-sources Reply with quote

First gentoo install for me, leaving debian because it's too slow on this iBook G4.

Following along in the handbook: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml

...and I'm stuck at step 7.b. After a few hours, in which it looks like its copying the kernel sources to /usr/src/linux-3.4.9-gentoo, it fails with
Code:

Failed to install sys-kernel/gentoo-sources-3.4.9


The whole log file is 20k lines, but the gist of it is this

Code:

^[[32;01m * ^[[39;49;00mPackage:    sys-kernel/gentoo-sources-3.4.9
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: kernel@gentoo.org
^[[32;01m * ^[[39;49;00mUSE:        elibc_glibc kernel_linux ppc userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES:   sandbox
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-3.4.tar.bz2 to /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work
>>> Unpacking genpatches-3.4-10.base.tar.bz2 to /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work/patches
>>> Unpacking genpatches-3.4-10.extras.tar.bz2 to /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work/patches
 >>>Applying 1000_linux-3.4.1.patch (-p0+) ...
...applies some more patches
>>> Source unpacked in /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work
>>> Preparing source in /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work/linux-3.4.9-gentoo ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work/linux-3.4.9-gentoo ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/work/linux-3.4.9-gentoo ...
>>> Source compiled.
>>> Test phase [not enabled]: sys-kernel/gentoo-sources-3.4.9

>>> Install gentoo-sources-3.4.9 into /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/image/ category sys-kernel
>>> Copying sources ...
>>> Completed installing gentoo-sources-3.4.9 into /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/image/


At this point, it lists a bunch of files starting with /usr/src/linux-3.4.9-gengoo. I'm assuming its copying them from /var/tmp/portage/sys-kernel/gentoo-sources-3.4.9/ into /usr/src.

Then, the end of the log has this
Code:

>>>Searching all installed packages for file collisions...
>>>
>>>Press Ctrl-C to Stop
>>>
>>>None of the installed packages claim the file(s).
>>>
>>>Package 'sys-kernel/gentoo-sources-3.4.9' merged despite file
>>>collisions. If necessary, refer to your elog messages for the whole
>>>content of the above message.


It looks like all the source files are in portage/sys-kernel, but it fails while copying to /usr/src. Since it fails, the /usr/src/linux link is never created.

Even if I cd to /usr/src/linux-3.4.9-gentoo/ and do a make pmac32_defconfig, it complains that it can't find the powerpc Makefile customizations @ /usr/src/linux-3.4.9-gentoo/arch/powerpc/Makefile. The arch/ dir doesn't exist in the sources copied to /usr/src, so it must fail some time before that.

df shows 91% of the disk free, so the copying isn't failing due to no space being available.

The log doesn't include any information about what is failing.

Here is the result of emerge --info
Code:

Portage 2.1.11.9 (default/linux/powerpc/ppc32/10.0, gcc-4.5.4, glibc-2.15-r2, 3.2.1-gentoo-r2-ppc32 ppc)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-ppc32-ppc-7447A,_altivec_supported-with-gentoo-2.1
Timestamp of tree: Fri, 21 Sep 2012 16:00:01 +0000
app-shells/bash:          4.2_p37
dev-lang/python:          3.2.3
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl openmp pam pcre ppc pppd readline session ssl tcpd unicode zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Last edited by bryanvick on Thu Sep 27, 2012 10:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4560
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 27, 2012 8:03 pm    Post subject: Reply with quote

Welcome!

You may be out of inodes
Code:
df -i


Putting portage to NFS and sharing it with other boxes on your LAN is a good idea.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
bryanvick
n00b
n00b


Joined: 27 Sep 2012
Posts: 16

PostPosted: Thu Sep 27, 2012 8:29 pm    Post subject: Reply with quote

Jaglover wrote:
Welcome!
You may be out of inodes


Ah, didn't think of that. Alas, I am only using 14% of total inodes.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31344
Location: 56N 3W

PostPosted: Thu Sep 27, 2012 8:49 pm    Post subject: Reply with quote

bryanvick,

fetch a kernel from kernel.org. This is identical to vanilla-sources, if you choose the right version.

gentoo-sources is this kernel with a few patches from later kernel back ported, so it will
a) get you going
b) provide more information if it fails.

Is /usr (or / root)) out of space?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
bryanvick
n00b
n00b


Joined: 27 Sep 2012
Posts: 16

PostPosted: Thu Sep 27, 2012 9:36 pm    Post subject: Reply with quote

Thanks NeddySeagoon. This is also my first kernel compile, so the whole thing is rather mysterious.

I simply used rsync to get the rest of the files in ..portage/sys-kernel... to copy to /usr/src/...

It seems to be working. I'm at least able to move onto step 7.c in the handbook.
Back to top
View user's profile Send private message
bryanvick
n00b
n00b


Joined: 27 Sep 2012
Posts: 16

PostPosted: Thu Sep 27, 2012 10:22 pm    Post subject: Reply with quote

Thanks NeddySeagoon. This is also my first kernel compile, so the whole thing is rather mysterious.

I simply used rsync to get the rest of the files in ..portage/sys-kernel... to copy to /usr/src/...

It seems to be working. I'm at least able to move onto step 7.c in the handbook.
Back to top
View user's profile Send private message
alexmaurer
n00b
n00b


Joined: 09 Apr 2014
Posts: 1

PostPosted: Wed Apr 09, 2014 9:13 pm    Post subject: Reply with quote

bryanvick wrote:
Thanks NeddySeagoon. This is also my first kernel compile, so the whole thing is rather mysterious.

I simply used rsync to get the rest of the files in ..portage/sys-kernel... to copy to /usr/src/...

It seems to be working. I'm at least able to move onto step 7.c in the handbook.



I had the same problem today. Failed while copying from portage image directory to /usr/src.
My /usr/src is bind mounted to an external hard drive plenty of space and inodes.
My portage is on the same hard drive.

I had to rsync the rest of the files....

Nothing to help in the build.log :-(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum