Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Portage] Ne compile plus rien (Résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Fri Apr 17, 2009 9:47 am    Post subject: [Portage] Ne compile plus rien (Résolu) Reply with quote

Salut à tous !!

Depuis ce matin, je ne peux plus rien compiler, je tombe sur des erreurs du style :

Quote:
>>> Source compiled.
/usr/lib/portage/bin/isolated-functions.sh: command substitution: line 1730: syntax error near unexpected token `)'
/usr/lib/portage/bin/isolated-functions.sh: command substitution: line 1730: `type -Pf ${BIN})'
/usr/lib/portage/bin/isolated-functions.sh: command substitution: line 382: Erreur de syntaxe près du symbole inattendu « ) »
/usr/lib/portage/bin/isolated-functions.sh: command substitution: line 382: `set -- $(stty size 2>/dev/null) ; echo $2)'
*
* ERROR: x11-base/xorg-server-1.5.3-r5 failed.
* Call stack:
/usr/lib/portage/bin/isolated-functions.sh: command substitution: line 41: syntax error near unexpected token `)'
/usr/lib/portage/bin/isolated-functions.sh: command substitution: line 41: `basename ${BASH_SOURCE[${n}]})'
* The ebuild phase 'test' has exited unexpectedly. This type of behavior
* is known to be triggered by things such as failed variable assignments
* (bug #190128) or bad substitution errors (bug #200313). Normally, before
* exiting, bash should have displayed an error message above. If bash did
* not produce an error message above, it's possible that the ebuild has
* called `exit` when it should have called `die` instead. This behavior
* may also be triggered by a corrupt bash binary or a hardware problem
* such as memory or cpu malfunction. If the problem is not reproducible or
* it appears to occur randomly, then it is likely to be triggered by a
* hardware problem. If you suspect a hardware problem then you should try
* some basic hardware diagnostics such as memtest. Please do not report
* this as a bug unless it is consistently reproducible and you are sure
* that your bash binary and hardware are functioning properly.

>>> Failed to emerge x11-base/xorg-server-1.5.3-r5, Log file:


Last edited by Animatrix on Sat Apr 18, 2009 1:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Fri Apr 17, 2009 9:51 am    Post subject: Reply with quote

quelle version de portage?
Apparament le script /usr/lib/portage/bin/isolated-functions.sh est foireux. On peut peut-être t'en renvoyer un qui fonctionne.
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Fri Apr 17, 2009 12:31 pm    Post subject: Reply with quote

kwenspc wrote:
quelle version de portage?
Apparament le script /usr/lib/portage/bin/isolated-functions.sh est foireux. On peut peut-être t'en renvoyer un qui fonctionne.
Voila mon emerge --info:
Quote:
Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo i686)
=================================================================
System uname: Linux-2.6.29-gentoo-i686-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.0
Timestamp of tree: Thu, 16 Apr 2009 21:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.0_p17-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python: 2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.6.3-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.4.3-r1
sys-apps/sandbox: 1.8
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/share/config/kdm /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.imj.fr/pub/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="fr fr_FR"
MAKEOPTS="-s -j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gentopia /usr/portage/local/layman/voyageur /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/thelinux /usr/portage/local/layman/enlightenment-svn /usr/portage/local/layman/lxde /usr/portage/local/layman/zugaina /usr/portage/local/layman/THE /usr/portage/local/layman/sunrise /usr/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dfx 7zip X a52 aac aalib accessibility acl acpi ada additions aiglx alsa amr amrnb amrwb applet artswrappersuid artworkextra asterisk audiofile avahi bash-completion bcmath berkdb bittorent bluetooth branding browserplugin bzip2 c++ cairo canvas cdda cddb cdparanoia cdr cdrom clamav cli color-console colordiff commercial cracklib crypt css cups curl dbox2 dbus deskbar devil dga dia dialup divx4linux djvu dlloader dri dts dv dvd dvdr dvdread dvi ebook eds embedded emboss encode enscript equalizer esd evo examples exif exiv2 expat exscalibarvisualization fam fat fbcon fbcondecor ffmpeg firefox flac fontconfig foomatic-db fortran freetype fuse gcj gdbm gecko gedit gif gimp gimpprint git glitz glsa glut gmail gnome gnutls google-gadgets gpg gpm gps grub gsf gsm gstreamer gtk gtk2 gtkhtml hal hddtemp hfs highlight iee1394 ieee1394 imagemagick inotify inquisitio ipv6 isdnlog jabber jack java jfs jingle jpeg jpeg2k justify kde kde4 kdeenablefinal kdehiddenvisibility kdeprefix kdgraphics kerberos kig-scripting kipi kpathsea ladspa lame lcd ldap libcaca libnotify libwww live lm_sensors logitech-mouse mad matroska mbrola mdnsresponder-compat messenger midi mikmod mime mmx mng mono moodbar moznocompose moznoirc moznomail mozsvg mp3 mp3rtp mpeg mplayer msn mudflap musepack mysql nautilus ncurses nepomuk nls nntp nptlonly nsplugin ntfs nvidia obex ocaml ogg oggvorbis ole openal openexr opengl openmp pam pam_chroot pam_timestamp pascal pcmcia pcre pdf perforce perl pidgin pixmaps plasma png portage posix postscript povray ppds ppp pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime readline reflection reiser4 reiserfs rss rtsp ruby scanner sdl seanetwork semantic-desktop session shout skins smp sndfile sound soundtouch soup speedo speex spell spl sqlite sse sse2 ssl ssse3 startup-notification stats stream subversion svg svga symlink sysfs syslog taglib tcltk tcpd telepathy themes theora thesaurus threads tiff timidity tk totem tracker truetype udev unichrome unicode unsupported usb v4l v4l2 vcd vditool vdpau vim-syntax visualization vlm vnc vorbis wget wifi win32codecs wma wxwindows x264 x86 xcomposite xfce xfs xinerama xml xml2 xorg xpm xprint xscreensaver xulrunner xv xvid xvmc zeroconf zlib zsh-completion" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" LIRC_DEVICES="audio audio_alsa" USERLAND="GNU" VIDEO_CARDS="nv v4l nvidia"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
J'ai également le même problème avec getdelta, ca ne vient donc pas du fichier :

Quote:
/usr/bin/getdelta.sh: command substitution: line 425: Erreur de syntaxe près du symbole inattendu « ) »
/usr/bin/getdelta.sh: command substitution: line 425: `sed 's/[[:digit:]][[:print:]]*$//' <<< $NEW_FILE)'
/usr/bin/getdelta.sh: command substitution: line 432: Erreur de syntaxe près du symbole inattendu « ) »
/usr/bin/getdelta.sh: command substitution: line 432: `mask_name "${NEW_FILE}")'
/usr/bin/getdelta.sh: command substitution: line 482: Erreur de syntaxe près du symbole inattendu « ) »
/usr/bin/getdelta.sh: command substitution: line 482: ` ls ${first_chars}* 2>/dev/null )'
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Fri Apr 17, 2009 12:40 pm    Post subject: Reply with quote

Si plusieurs fichiers sont touchés c'est soit t'as une corruption du fs (probabilité mince que ça touche que les script tout de même...) soit bash te fait des misères.
T'aurais pas mis bash à jour récemment? (apparemment t'es en ~arch donc soit t'as installés un bash cassé soit une dépendance de bash est pétée.)
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Fri Apr 17, 2009 10:13 pm    Post subject: Reply with quote

kwenspc wrote:
Si plusieurs fichiers sont touchés c'est soit t'as une corruption du fs (probabilité mince que ça touche que les script tout de même...) soit bash te fait des misères.
T'aurais pas mis bash à jour récemment? (apparemment t'es en ~arch donc soit t'as installés un bash cassé soit une dépendance de bash est pétée.)
Cela vient bien d'une MAJ de bash.
Comment faire ? zsh ?
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Sat Apr 18, 2009 7:15 am    Post subject: Reply with quote

Animatrix wrote:

Comment faire ? zsh ?

Si je me souviens bien Bash est une dépendance forte pour portage, tu peux pas t'en passer :/

Quelqu'un peut peut-être te filer un paquet pré-compilé?
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Sat Apr 18, 2009 12:01 pm    Post subject: Reply with quote

kwenspc wrote:
Animatrix wrote:

Comment faire ? zsh ?

Si je me souviens bien Bash est une dépendance forte pour portage, tu peux pas t'en passer :/

Quelqu'un peut peut-être te filer un paquet pré-compilé?
Je viens d'essayer avec paludis mais il utilise aussi bash.
Il y a pas moyen de forcer l'utilisation de zsh ?
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Sat Apr 18, 2009 12:48 pm    Post subject: Reply with quote

Salut, je t'ai crée un binaire de mon bash que je t'ai envoyé par mp. Il est compilé pour un -march=prescott (core2 duo), j'espère que ça pourra te débloquer.

Bon courage
Back to top
View user's profile Send private message
Animatrix
Guru
Guru


Joined: 13 May 2006
Posts: 480
Location: France - Gard (30)

PostPosted: Sat Apr 18, 2009 1:27 pm    Post subject: Reply with quote

ultrabug wrote:
Salut, je t'ai crée un binaire de mon bash que je t'ai envoyé par mp. Il est compilé pour un -march=prescott (core2 duo), j'espère que ça pourra te débloquer.

Bon courage
Merci beaucoup.
Par contre, d'où cette erreur peut provenir ?
Back to top
View user's profile Send private message
ultrabug
Developer
Developer


Joined: 24 Jan 2005
Posts: 698
Location: Paris

PostPosted: Sat Apr 18, 2009 1:33 pm    Post subject: Reply with quote

Bonne question, là je passe, désolé.
Back to top
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Sat Apr 18, 2009 1:51 pm    Post subject: Reply with quote

Animatrix wrote:

Il y a pas moyen de forcer l'utilisation de zsh ?

Nan les scripts sont bash-centric je crois :( ils auraient fait du POSIX ça serait passé. Quelqu'un aurait plus d'info là dessus? (si ça se trouve ça a évolué depuis le temps)
Back to top
View user's profile Send private message
brubru
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2008
Posts: 109
Location: France

PostPosted: Tue Apr 21, 2009 12:29 pm    Post subject: Reply with quote

Salut.

bash4 se comporte différemment par rapport à ses antécédents. J'avais vu passer quelques threads sur gentoo-dev la-dessus:
http://archives.gentoo.org/gentoo-dev/msg_2202542fb137bce34de1c7d90a120286.xml
et http://archives.gentoo.org/gentoo-dev/msg_049c81df87a857f1752ac82e9018913e.xml

C'est quand même bizarre que ce genre d'erreurs ait passé la barrière des développeurs.

Sinon les ebuilds sont écrits en bash, même en bash-3 et des poussières (voir dans PMS, la spécification de portage) donc pas d'alternative à priori.

Et pour les paquets binaires, il y a une machine de test avec des paquets binaires: http://tinderbox.dev.gentoo.org/default-linux/amd64/app-shells/bash-3.2_p39.tbz2

Bruno.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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