Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge gentoo-sources and other difficulties
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
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Mon May 28, 2007 3:52 pm    Post subject: Emerge gentoo-sources and other difficulties Reply with quote

I'm installing the 2007.0 PPC disk onto a firewire drive on my ibook. I'm following the handbook, but I've had a lot of problems and now I'm stuck:

I added the download mirrors

and now

Code:
livecd gentoo # # cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
livecd gentoo # mount -t proc none /mnt/gentoo/proc
can't create lock file /etc/mtab~11245: No space left on device (use -n flag to override)
livecd gentoo # mount -n -t proc none /mnt/gentoo/proc
mount: none already mounted or /mnt/gentoo/proc busy
livecd gentoo # mount -o bind /dev /mnt/gentoo/dev
can't create lock file /etc/mtab~11247: No space left on device (use -n flag to override)
livecd gentoo # chroot /mnt/gentoo /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # emerge --sync
(chroot) livecd etc # nano -w /etc/make.profile
(chroot) livecd etc # emerge-webrsync
!!! Invalid token (not "=") None
!!! ParseError: Invalid token (not '='): /etc/make.conf: line 13 in /etc/make.conf
!!! Incorrect multiline literals can cause this. Do not use them.
Fetching most recent snapshot
Attempting to fetch file dated: 20070527
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070526
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070525
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070524
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070523
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070522
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070521
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070520
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070519
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070518
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070517
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070516
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070515
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070514
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070513
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070512
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070511
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070510
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070509
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070508
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070507
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070506
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070505
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070504
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070503
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070502
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070501
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070430
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070429
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070428
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070427
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070426
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070425
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070424
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070423
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070422
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070421
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070420
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070419
 --- No md5sum present on the mirror. (Not yet available.)
Attempting to fetch file dated: 20070418
 --- No md5sum present on the mirror. (Not yet available.)
(chroot) livecd etc # emerge gentoo-sources
!!! Invalid token (not "=") None
!!! ParseError: Invalid token (not '='): /etc/make.conf: line 13 in /etc/make.conf
!!! Incorrect multiline literals can cause this. Do not use them.
(chroot) livecd etc # nano -w /etc/make.profile
(chroot) livecd etc # nano -w /etc/make.conf
(chroot) livecd etc # emerge gentoo-sources
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?



So far I've managed to get around/fix all the problems that may have come up. But I'm really really stuck as to what to do now. I don't know why make.conf is giving me errors when I have followed the manual word for word in trying to optimize it for a gnome environment. Come to think of it, the manual has been wrong about quite a few things so far.
Back to top
View user's profile Send private message
ElSenorPantelone
n00b
n00b


Joined: 24 Jan 2006
Posts: 72

PostPosted: Mon May 28, 2007 3:57 pm    Post subject: Reply with quote

With the drive mounted, post the output of this command:
Code:

df -h
Back to top
View user's profile Send private message
guamisc
n00b
n00b


Joined: 23 May 2007
Posts: 7

PostPosted: Mon May 28, 2007 3:57 pm    Post subject: Reply with quote

can you post your make.conf?
also the output of
ls -l /etc/make.profile
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 28, 2007 4:06 pm    Post subject: Re: Emerge gentoo-sources and other difficulties Reply with quote

RockoTDF wrote:
!!! Invalid token (not "=") None
!!! ParseError: Invalid token (not '='): /etc/make.conf: line 13 in /etc/make.conf
!!! Incorrect multiline literals can cause this. Do not use them.

This error probably means you have a stray /newline in your /etc/make.conf
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Mon May 28, 2007 5:32 pm    Post subject: Reply with quote

Code:
(chroot) livecd etc # df -h
df: cannot read table of mounted file systems: No such file or directory


This makes no sense seeing as how I formatted and mounted the drives earlier and had to decompress there because the ramdisk was running out of room when i was working with the tarballs.

Code:
# 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.
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing.  You
# should probably be using a different stage, instead.
CHOST="powerpc-unknown-linux-gnu"

GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.ed$
USE-"gtk gnome -qt3 -qt4 -kde dvd alsa cdr"


ls -l /etc/make.profile

Code:
lrwxrwxrwx 1 root root 29 May 28 13:50 /etc/make.profile -> /usr/portage/profiles/desktop
Back to top
View user's profile Send private message
guamisc
n00b
n00b


Joined: 23 May 2007
Posts: 7

PostPosted: Mon May 28, 2007 5:41 pm    Post subject: Reply with quote

You did decompress the tarballs inside your mounted partition right?

also you have a 2 line entry for gentoo mirrors and thats not cool I don't think.

I am by no means an expert but I don't thinks thats good.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Mon May 28, 2007 5:47 pm    Post subject: Reply with quote

Make sure you have USE=" and not USE-"

... it also looks like you don't have a valid profile. You probably want this one.
Code:
/usr/portage/profiles/default-linux/ppc/ppc32/2007.0/desktop
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Mon May 28, 2007 6:00 pm    Post subject: Reply with quote

guamisc wrote:
You did decompress the tarballs inside your mounted partition right?

also you have a 2 line entry for gentoo mirrors and thats not cool I don't think.

I am by no means an expert but I don't thinks thats good.


I am positive I did because they outright refused to decompress in the ramdrive. However now they arent mounted anywhere. I can see my sda partitions in /dev but they aren't coming up as mounted and refuse to mount, saying they aren't in etc/fstab or etc/mtab. This is really, really strange.

And what do you mean a 2 line entry for mirrors? How do I rectify that?
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Tue May 29, 2007 4:29 am    Post subject: Reply with quote

So I went back and redid some stuff and things are going a lot smoother. However, i have to ask at what point do I exit chroot? The manual puts you in there but doesn't tell me to get out right away, so I'm assuming I keep going as chroot?

EDIT: Ok, so I got the kernel to download but when I tried to unpack I got this:

Code:
!!! ERROR: sys-kernel/gentoo-sources-2.6.20-r5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3855:   Called src_unpack
  ebuild.sh, line 1304:   Called kernel-2_src_unpack
  kernel-2.eclass, line 1004:   Called universal_unpack
  kernel-2.eclass, line 379:   Called unpack 'linux-2.6.20.tar.bz2'
  ebuild.sh, line 431:   Called die

!!! failure unpacking linux-2.6.20.tar.bz2
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-kernel/gentoo-sources-2.6.20-r5/temp/build.log'.


This makes no sense as I have /dev/sda2 (12G partition) mounted at /mnt/gentoo
What can I do now?
Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Tue May 29, 2007 6:46 am    Post subject: Reply with quote

Just why gentoo-sources isn't unpacking RockoTDF, I'm not sure. Does the command:
Code:
df -h


Still say you have space? It's possible you installed on the wrong partition as I think I saw this once when I was out of hard drive space. By some off, it can happen, chance; try emerging a previous build version of the software, as in "emerge =package-version"

Also I wrote a wiki on installing on my iBook, that might help too.

http://gentoo-wiki.com/HOWTO_Install_Gentoo_-_From_Stage1_with_NPTL_on_an_iBook_G3
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Tue May 29, 2007 1:39 pm    Post subject: Reply with quote

Dirk.R.Gently wrote:
Just why gentoo-sources isn't unpacking RockoTDF, I'm not sure. Does the command:
Code:
df -h


Still say you have space? It's possible you installed on the wrong partition as I think I saw this once when I was out of hard drive space. By some off, it can happen, chance; try emerging a previous build version of the software, as in "emerge =package-version"

Also I wrote a wiki on installing on my iBook, that might help too.

http://gentoo-wiki.com/HOWTO_Install_Gentoo_-_From_Stage1_with_NPTL_on_an_iBook_G3


When I run df -h it says that sda2 is only 955MB, but when you look at sda2 under mac-fdisk it says 12G. Thanks for the wiki, I'm using a G4 on firewire actually so I don't know how much of it will still apply, I found a thread in the PPC section that has instructions to go with the Gentoo manual that seems to be working. Anyway, what should I do about sda2?

Code:
livecd ~ # mac-fdisk -l
/dev/sda
        #                    type name                  length   base      ( size )  system
/dev/sda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/sda2         Apple_UNIX_SVR2 main                25165824 @ 64        ( 12.0G)  Linux native
/dev/sda3              Apple_Boot eXternal booter        17408 @ 25165888  (  8.5M)  Unknown
/dev/sda4         Apple_UNIX_SVR2 swap                 2097152 @ 25183296  (  1.0G)  Linux swap
/dev/sda5              Apple_Free Extra               92822752 @ 27280448  ( 44.3G)  Free space


livecd ~ # df -h
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 505M  1.8M  503M   1% /
/dev/hdc              558M  558M     0 100% /mnt/cdrom
/dev/loop0             42M   42M     0 100% /mnt/livecd
udev                  505M  2.7M  502M   1% /dev
tmpfs                 505M     0  505M   0% /mnt/livecd/lib/firmware
tmpfs                 505M     0  505M   0% /mnt/livecd/usr/portage
/dev/sda2             955M  955M     0 100% /mnt/gentoo



Back to top
View user's profile Send private message
Dirk.R.Gently
Guru
Guru


Joined: 29 Jan 2007
Posts: 546
Location: Titan

PostPosted: Wed May 30, 2007 9:05 am    Post subject: Reply with quote

foo, I don't have my ibook at the moment, if I could just get my hands on it. I may have had this type of problem. It's possible df -h won't report the space correctly until you boot into the new enviroment, but it is odd that it appears the space is out, even with 900MB thats enought to merge a kernel with. How did you, did you use mac-fdisk to partition?

Code:

mac-fdisk -l
/dev/sda
        #                    type name                  length   base      ( size )  system
/dev/sda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/sda2         Apple_UNIX_SVR2 main                25165824 @ 64        ( 12.0G)  Linux native
/dev/sda3              Apple_Boot eXternal booter        17408 @ 25165888  (  8.5M)  Unknown
/dev/sda4         Apple_UNIX_SVR2 swap                 2097152 @ 25183296  (  1.0G)  Linux swap
/dev/sda5              Apple_Free Extra               92822752 @ 27280448  ( 44.3G)  Free space


This was different from mine. I was using OS9 though so that may be the reason. Ru planning on using OS X? If you still have issues, there may be something wacky with your partitioning scheme, and you may want to restart. The wiki should be able to walk you most of the way through there.
_________________
Helpful Linux Tidbits
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 30, 2007 1:39 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on PPC.

Try recreating the filesystem on sda2: umount /dev/sda2 && mkfs.ext3 /dev/sda2
Then mount sda2 again and see if it is now the right size: mount /dev/sda2 /mnt/gentoo && df -h
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Wed May 30, 2007 2:33 pm    Post subject: Reply with quote

Dirk.R.Gently wrote:
foo, I don't have my ibook at the moment, if I could just get my hands on it. I may have had this type of problem. It's possible df -h won't report the space correctly until you boot into the new enviroment, but it is odd that it appears the space is out, even with 900MB thats enought to merge a kernel with. How did you, did you use mac-fdisk to partition?

Code:

mac-fdisk -l
/dev/sda
        #                    type name                  length   base      ( size )  system
/dev/sda1     Apple_partition_map Apple                     63 @ 1         ( 31.5k)  Partition map
/dev/sda2         Apple_UNIX_SVR2 main                25165824 @ 64        ( 12.0G)  Linux native
/dev/sda3              Apple_Boot eXternal booter        17408 @ 25165888  (  8.5M)  Unknown
/dev/sda4         Apple_UNIX_SVR2 swap                 2097152 @ 25183296  (  1.0G)  Linux swap
/dev/sda5              Apple_Free Extra               92822752 @ 27280448  ( 44.3G)  Free space


This was different from mine. I was using OS9 though so that may be the reason. Ru planning on using OS X? If you still have issues, there may be something wacky with your partitioning scheme, and you may want to restart. The wiki should be able to walk you most of the way through there.


I have OS X on the internal (hda) drive, and I'm using a firewire drive (sda) to put gentoo on. This way OS X will remain untouched.

I did use mac-fdisk for creating all of those partitions.
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Wed May 30, 2007 2:35 pm    Post subject: Reply with quote

nixnut wrote:
Moved from Installing Gentoo to Gentoo on PPC.

Try recreating the filesystem on sda2: umount /dev/sda2 && mkfs.ext3 /dev/sda2
Then mount sda2 again and see if it is now the right size: mount /dev/sda2 /mnt/gentoo && df -h


Won't this erase everything I've done on sda2 and basically force me to start over?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed May 30, 2007 5:26 pm    Post subject: Reply with quote

RockoTDF wrote:
nixnut wrote:
Moved from Installing Gentoo to Gentoo on PPC.

Try recreating the filesystem on sda2: umount /dev/sda2 && mkfs.ext3 /dev/sda2
Then mount sda2 again and see if it is now the right size: mount /dev/sda2 /mnt/gentoo && df -h


Won't this erase everything I've done on sda2 and basically force me to start over?

Yes. If you have a free partition you could move the stuff over first. But just starting over shouldn't take all that much time. If you've only got to the part where you install the kernel, you haven't installed much yet that isn't in the stage3 file.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Wed May 30, 2007 8:46 pm    Post subject: Reply with quote

nixnut wrote:
RockoTDF wrote:
nixnut wrote:
Moved from Installing Gentoo to Gentoo on PPC.

Try recreating the filesystem on sda2: umount /dev/sda2 && mkfs.ext3 /dev/sda2
Then mount sda2 again and see if it is now the right size: mount /dev/sda2 /mnt/gentoo && df -h


Won't this erase everything I've done on sda2 and basically force me to start over?

Yes. If you have a free partition you could move the stuff over first. But just starting over shouldn't take all that much time. If you've only got to the part where you install the kernel, you haven't installed much yet that isn't in the stage3 file.


True, true. I will do that then. This time Ill do ext3 instead of reiser just to be on the safe side....

Anyway, how long should the kernel compile take on a 1.33Ghz iBook with a gig of ram approximately? Also, I'm ssh-ing in from another machine, and if I close that window on my ubuntu box (or our router craps out like it does sometimes....) will that end the process of compiling the kernel or whatever else I may be doing at that moment in time? Or should I just play it safe and go do certain things on the actual machine?
Back to top
View user's profile Send private message
RockoTDF
n00b
n00b


Joined: 28 May 2007
Posts: 9

PostPosted: Wed May 30, 2007 11:48 pm    Post subject: Reply with quote

I'm still having disk size issues....however I am not surprised. I've had some problems with this disk in the past, and so I think I'm going to call it quits for now due to my hardware. I have learned a lot from Gentoo and will return at some point when I have, you know, stuff that works :-P
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