Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84067 - Unable to emerge packages (tried with several ones)
Summary: Unable to emerge packages (tried with several ones)
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-04 03:41 UTC by Pierre AUSSAGUEL
Modified: 2005-03-05 02:47 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 Pierre AUSSAGUEL 2005-03-04 03:41:23 UTC
My system no longer emerges packages.
For exemple emerge portage gives me the output reported below

Reproducible: Always
Steps to Reproduce:
1.emerge portage

Actual Results:  
Error (see below)

Expected Results:  
Normal emerge

This is a copy of emerge portage output

>>> emerge (1 of 1) sys-apps/portage-2.0.51.19 to /
>>> md5 src_uri ;-) portage-2.0.51.19.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51.19.tar.bz2 to /var/tmp/portage/portage-2.0.51.19/work
>>> Source unpacked.
Dans le fichier inclus 
Comment 1 Pierre AUSSAGUEL 2005-03-04 03:41:23 UTC
My system no longer emerges packages.
For exemple emerge portage gives me the output reported below

Reproducible: Always
Steps to Reproduce:
1.emerge portage

Actual Results:  
Error (see below)

Expected Results:  
Normal emerge

This is a copy of emerge portage output

>>> emerge (1 of 1) sys-apps/portage-2.0.51.19 to /
>>> md5 src_uri ;-) portage-2.0.51.19.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51.19.tar.bz2 to /var/tmp/portage/portage-2.0.51.19/work
>>> Source unpacked.
Dans le fichier inclus à partir de /usr/include/errno.h:36,
          à partir de tbz2tool.c:8:
/usr/include/bits/errno.h:25:26: linux/errno.h : Aucun fichier ou répertoire de
ce type
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

i686-pc-linux-gnu-gcc -march=i386 -O1 -pipe  -D_GNU_SOURCE -DPIC -fPIC
-D_REENTRANT -Wall -c libsandbox.c
Dans le fichier inclus à partir de /usr/include/bits/posix1_lim.h:145,
          à partir de /usr/include/dirent.h:221,
          à partir de libsandbox.c:52:
/usr/include/bits/local_lim.h:36:26: linux/limits.h : Aucun fichier ou
répertoire de ce type
Dans le fichier inclus à partir de /usr/include/errno.h:36,
          à partir de libsandbox.c:54:
/usr/include/bits/errno.h:25:26: linux/errno.h : Aucun fichier ou répertoire de
ce type
Dans le fichier inclus à partir de libsandbox.c:63:
/usr/include/sys/param.h:23:26: linux/limits.h : Aucun fichier ou répertoire de
ce type
/usr/include/sys/param.h:24:25: linux/param.h : Aucun fichier ou répertoire de
ce type
Dans le fichier inclus à partir de libsandbox.c:78:
localdecls.h:21:3: #error PATH_MAX not defined!
libsandbox.c: Dans la fonction « canonicalize »:
libsandbox.c:291: error: `EINVAL' undeclared (first use in this function)
libsandbox.c:291: error: (Each undeclared identifier is reported only once
libsandbox.c:291: error: for each function it appears in.)
libsandbox.c:308: error: `ENAMETOOLONG' undeclared (first use in this function)
libsandbox.c:311: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:321: error: `ENOENT' undeclared (first use in this function)
libsandbox.c: Dans la fonction « chmod »:
libsandbox.c:369: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:369: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « chown »:
libsandbox.c:386: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:386: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « creat »:
libsandbox.c:404: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:404: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « fopen »:
libsandbox.c:421: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:421: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « lchown »:
libsandbox.c:438: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:438: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « link »:
libsandbox.c:455: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:455: attention : unused variable `old_canonic'
libsandbox.c:455: attention : unused variable `new_canonic'
libsandbox.c: Dans la fonction « mkdir »:
libsandbox.c:474: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:481: error: `EEXIST' undeclared (first use in this function)
libsandbox.c:474: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « opendir »:
libsandbox.c:499: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:499: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « open »:
libsandbox.c:540: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:540: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « rename »:
libsandbox.c:566: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:566: attention : unused variable `old_canonic'
libsandbox.c:566: attention : unused variable `new_canonic'
libsandbox.c: Dans la fonction « rmdir »:
libsandbox.c:584: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:584: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « symlink »:
libsandbox.c:601: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:601: attention : unused variable `old_canonic'
libsandbox.c:601: attention : unused variable `new_canonic'
libsandbox.c: Dans la fonction « truncate »:
libsandbox.c:619: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:619: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « unlink »:
libsandbox.c:636: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:636: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « creat64 »:
libsandbox.c:656: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:656: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « fopen64 »:
libsandbox.c:673: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:673: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « open64 »:
libsandbox.c:693: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:693: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « truncate64 »:
libsandbox.c:716: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:716: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « execve »:
libsandbox.c:742: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:766: error: `ENOMEM' undeclared (first use in this function)
libsandbox.c:742: attention : unused variable `canonic'
libsandbox.c: Dans la fonction « filter_path »:
libsandbox.c:994: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c: Dans la fonction « check_syscall »:
libsandbox.c:1185: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c: Dans la fonction « before_syscall »:
libsandbox.c:1325: error: `ENOENT' undeclared (first use in this function)
libsandbox.c:1352: error: `EACCES' undeclared (first use in this function)
In file included from libsandbox.c:1380:
getcwd.c: Dans la fonction « __egetcwd »:
getcwd.c:296: error: `EINVAL' undeclared (first use in this function)
getcwd.c:300: error: `SB_PATH_MAX' undeclared (first use in this function)
getcwd.c:415: error: `ENOENT' undeclared (first use in this function)
getcwd.c:424: error: `ERANGE' undeclared (first use in this function)
getcwd.c:434: error: `ENOMEM' undeclared (first use in this function)
getcwd.c: Dans la fonction « egetcwd »:
getcwd.c:501: error: `ENOENT' undeclared (first use in this function)
In file included from libsandbox.c:1381:
canonicalize.c: Dans la fonction « erealpath »:
canonicalize.c:68: error: `EINVAL' undeclared (first use in this function)
canonicalize.c:75: error: `ENOENT' undeclared (first use in this function)
canonicalize.c:133: error: `ENAMETOOLONG' undeclared (first use in this function)
make: *** [libsandbox.o] Erreur 1

!!! ERROR: sys-apps/portage-2.0.51.19 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 2 Pierre AUSSAGUEL 2005-03-04 03:44:10 UTC
See my previous reported bug : 83874
Comment 3 Pierre AUSSAGUEL 2005-03-04 12:26:54 UTC
Solved by emerging linux-headers-2.4 (I am running 2.6 since 2.6.3)
This (false) bug has happened after I unmerged linux-headers-2.4 (but I succeded in emerging some other packages after that)

1st problem : the 2.4 version should not be needed for a system with 2.6

2nd problem : Maybe add linux-header as a dependency for portage and some other packages
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-03-04 18:24:29 UTC
> 1st problem : the 2.4 version should not be needed for a system with 2.6

The 2.4 version is not needed, but some version is. After you remove linux-headers, you must be sure to install linux26-headers. `emerge -p system` would have shown you that.

> 2nd problem : Maybe add linux-header as a dependency for portage and some other packages

This probably won't be done until sandbox is split out from portage.
Comment 5 Pierre AUSSAGUEL 2005-03-05 02:47:57 UTC
FYI "emerge -p system" only wanted to emerge linux-headers and not linux26-headers (witch I d
Comment 6 Pierre AUSSAGUEL 2005-03-05 02:47:57 UTC
FYI "emerge -p system" only wanted to emerge linux-headers and not linux26-headers (witch I délaiyed due to my RTC connexion)