| View previous topic :: View next topic |
| Author |
Message |
miwjpa n00b


Joined: 16 Mar 2003 Posts: 21
|
Posted: Mon Jun 02, 2003 1:25 pm Post subject: gcc 3.2.3-r1 build problem |
|
|
I get the following after a while when emerging gcc-3.2.3-r1:
| Code: | rm -rf /var/tmp/portage/gcc-3.2.3-r1/image//usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include
mkdir /var/tmp/portage/gcc-3.2.3-r1/image//usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include
chmod a+rx /var/tmp/portage/gcc-3.2.3-r1/image//usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include
(cd `pwd`/include ; \
tar -cf - .; exit 0) | (cd /var/tmp/portage/gcc-3.2.3-r1/image//usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include; tar xpf - )
tar: ./python2.2/python: Cannot change ownership to uid 250, gid 250: No such file or directory
tar: Error exit delayed from previous errors
make[1]: *** [install-headers-tar] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc'
make: *** [install-gcc] Error 2
!!! ERROR: sys-devel/gcc-3.2.3-r1 failed.
!!! Function src_install, Line 372, Exitcode 2
!!! (no error message) |
| Code: |
# grep 250 /etc/passwd
portage:x:250:250:portage:/var/tmp/portage:/bin/false
# grep 250 /etc/group
portage::250:portage
# epm -q python
python-2.2.2-r1
|
Any hints on why it doesn't build? |
|
| Back to top |
|
 |
miwjpa n00b


Joined: 16 Mar 2003 Posts: 21
|
Posted: Mon Jun 02, 2003 5:57 pm Post subject: |
|
|
Further examination revealed that /var/tmp/portage/gcc-3.2.3-r1/work/build/gcc/include/python2.2/python is a symlink to ../python which doesn't exist. Hence the "No such file or directory".
I don't know from where the ebuild gets the files under include/python2.2 but in case it's from under /usr/include here's some potentially interesting info about /usr/include/python*:
| Code: | # ls -ld python*
lrwxrwxrwx 1 root root 23 May 21 01:04 python -> /usr/include/python2.2/
drwxr-xr-x 2 root root 4096 Apr 4 23:39 python2.2
# ls -l /usr/include/python2.2/python
lrwxrwxrwx 1 root root 19 May 21 01:04 /usr/include/python2.2/python -> /usr/include/python
|
|
|
| Back to top |
|
 |
miwjpa n00b


Joined: 16 Mar 2003 Posts: 21
|
Posted: Tue Jun 03, 2003 5:14 am Post subject: |
|
|
| Well, problem solved by removing /usr/include/python2.2/python temporarily during compilation. |
|
| Back to top |
|
 |
|