Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[INSTALLATION] Problème dépendance vixie-cron (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
rolie31
n00b
n00b


Joined: 09 Apr 2012
Posts: 38
Location: France toulouse

PostPosted: Mon Apr 09, 2012 9:17 am    Post subject: [INSTALLATION] Problème dépendance vixie-cron (résolu) Reply with quote

Bonjour,

je viens de m'inscrire sur ce forum car, depuis quelques jours, je suis scrupuleusement le handbook complet de gentoo pour installer gentoo, jusque là, sans problème. Mais voilà, j'en suis aux étapes 9d et 10b qui ne passent pas pour la même raison et que je ne sais pas résoudre.

Je fais des "emerge vixie-cron" et "emerge grub" et j'obtiens le message suivant:

Quote:

(chroot) Gentoo-2012 linux # emerge vixie-cron

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.

Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 17) sys-process/cronbase-0.3.3
>>> Jobs: 0 of 17 complete, 1 running Load avg: 0.14, 0.18, 0.11openpty failed: 'out of pty devices'
>>> Installing (1 of 17) sys-process/cronbase-0.3.3
>>> Emerging (2 of 17) net-mail/mailbase-1
>>> Emerging (3 of 17) sys-devel/automake-wrapper-6
>>> Installing (3 of 17) sys-devel/automake-wrapper-6
>>> Emerging (4 of 17) sys-devel/autoconf-wrapper-12
>>> Installing (2 of 17) net-mail/mailbase-1
>>> Emerging (5 of 17) sys-devel/m4-1.4.15
>>> Installing (4 of 17) sys-devel/autoconf-wrapper-12
>>> Emerging (6 of 17) dev-util/pkgconfig-0.26
>>> Failed to emerge sys-devel/m4-1.4.15, Log file:
>>> '/var/tmp/portage/sys-devel/m4-1.4.15/temp/build.log'
>>> Failed to emerge dev-util/pkgconfig-0.26, Log file:
>>> '/var/tmp/portage/dev-util/pkgconfig-0.26/temp/build.log'
>>> Jobs: 4 of 17 complete, 2 failed Load avg: 0.72, 0.32, 0.16

* Messages for package sys-process/cronbase-0.3.3:

* Forcing proper permissions on
* /etc/cron.{hourly,daily,weekly,monthly},
* /var/spool/cron/ and /var/spool/cron/lastrun/

* Messages for package net-mail/mailbase-1:

* Your //var/spool/mail/ directory permissions differ from
* those which mailbase set when you first installed it (0775).
* If you did not change them on purpose, consider running:
*
* chmod 0775 //var/spool/mail/

* Messages for package sys-devel/m4-1.4.15:

* ERROR: sys-devel/m4-1.4.15 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 1823: Called econf '--enable-changeword'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =sys-devel/m4-1.4.15',
* the complete build log and the output of 'emerge -pqv =sys-devel/m4-1.4.15'.
* The complete build log is located at '/var/tmp/portage/sys-devel/m4-1.4.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/m4-1.4.15/temp/environment'.
* S: '/var/tmp/portage/sys-devel/m4-1.4.15/work/m4-1.4.15'

* Messages for package dev-util/pkgconfig-0.26:

* ERROR: dev-util/pkgconfig-0.26 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 2515: Called econf '--docdir=/usr/share/doc/pkgconfig-0.26/html' '--with-system-include-path=/usr/include' '--with-system-library-path=/usr/lib64' '--with-installed-popt'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =dev-util/pkgconfig-0.26',
* the complete build log and the output of 'emerge -pqv =dev-util/pkgconfig-0.26'.
* The complete build log is located at '/var/tmp/portage/dev-util/pkgconfig-0.26/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-util/pkgconfig-0.26/temp/environment'.
* S: '/var/tmp/portage/dev-util/pkgconfig-0.26/work/pkg-config-0.26'
*
* The following 2 packages have failed to build or install:
*
* (sys-devel/m4-1.4.15::gentoo, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/sys-devel/m4-1.4.15/temp/build.log'
* (dev-util/pkgconfig-0.26::gentoo, ebuild scheduled for merge), Log file:
* '/var/tmp/portage/dev-util/pkgconfig-0.26/temp/build.log'
*

* GNU info directory index is up-to-date.

* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.



Voila, j'avoue être un peu perdu par ce message => je poste avec le contenu de emerge --info = sys-devel/m4-1.4.15 pour essayer de comprendre ce qu'il faut faire dans ce cas:


Quote:

(chroot) Gentoo-2012 linux # emerge --info =sys-devel/m4-1.4.15
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.3.0-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.3.0-gentoo-r1-x86_64-AMD_Turion-tm-_X2_Ultra_Dual-Core_Mobile_ZM-82-with-gentoo-2.0.3
Timestamp of tree: Sun, 08 Apr 2012 19:15:01 +0000
app-shells/bash: 4.2_p20
dev-lang/python: 3.2.2
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.5-r2
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=5.0 --with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.imj.fr/pub/gentoo/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ ftp://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.modulix.net/gentoo/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed --as-needed"
LINGUAS="fr_FR"
MAKEOPTS="-j3 -l3"
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.fr.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit a52 aac aacplus aacs ace acl acpi active-response additions adl alsa amd64 archive atahpt audio audiofile automount bash-completion berkdb bluetooth cairo cdda cdr chromium cli colord consolekit cpudetection crashreporter crypt css cups cxx daemon device-mapper dga dirac dmx dts dvd dvdr eds encode ethernet evo exif extras fam fat fbcon ffmpeg firefox flac flash fortran fuse gconf gdbm gdu gif gnet gnome gnome-keyring gnome-online-accounts gnome-shell gnutls gpm gstreamer gtk gtk3 hpcups hpijs html htmlsingle http iconv id3 id3tag imagemagick introspection ipc jack java java6 jpeg jpeg2k lcms libburn libnotify libv4l libv4l2 lightning live lm_sensors lzma mad matroska mmx mmxext mng modules mozdom mp3 mp4 mpeg mtp mudflap multilib nautilus ncurses network networkmanager nptl nptlonly nss nx ogg openexr opengl openmp pae pango pci pcre pdf pdf-writer pgo playlist png policykit posix ppds pppd pulseaudio python qt3support qt4 rar raw redeyes regex replaygain rhythmbox rss samba schroedinger sdk sdl session smp socialweb spell sqlite sse sse2 ssl startup-notification svg symlink sysfs system-sqlite tcpd theora threads tiff toolbar tools truetype udev unicode usb userlocales v4l vaapi vba vda vga vhost-net video virtualbox vlc vorbis web webcam webgl webkit webm wifi wiki wma wma-fixed wmf x264 xcb xcomposite xinerama xml xorg xpm xulrunner xv xvid" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" LINGUAS="fr_FR" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Voici le contenu du fichier /var/tmp/portage/sys-devel/m4-1.4.15/temp/build.log:
Quote:

* Package: sys-devel/m4-1.4.15
* Repository: gentoo
* Maintainer: base-system@gentoo.org
* USE: amd64 elibc_glibc kernel_linux multilib userland_GNU
* FEATURES: sandbox
>>> Unpacking source...
>>> Unpacking m4-1.4.15.tar.xz to /var/tmp/portage/sys-devel/m4-1.4.15/work
>>> Source unpacked in /var/tmp/portage/sys-devel/m4-1.4.15/work
>>> Preparing source in /var/tmp/portage/sys-devel/m4-1.4.15/work/m4-1.4.15 ...
* Applying m4-1.4.15-uclibc-sched_param-def.patch ...
[ ok ]
* Applying m4-1.4.15-git-version-gen.patch ...
[ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-devel/m4-1.4.15/work/m4-1.4.15 ...
* econf: updating m4-1.4.15/build-aux/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating m4-1.4.15/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconf
dir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --enable-changeword
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... no
configure: error: in `/var/tmp/portage/sys-devel/m4-1.4.15/work/m4-1.4.15':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/m4-1.4.15/work/m4-1.4.15/config.log
* ERROR: sys-devel/m4-1.4.15 failed (configure phase):
* econf failed
*
* Call stack:
* ebuild.sh, line 85: Called src_configure
* environment, line 1823: Called econf '--enable-changeword'
* phase-helpers.sh, line 467: Called die
* The specific snippet of code:
* die "econf failed"
*
* If you need support, post the output of 'emerge --info =sys-devel/m4-1.4.15',
* the complete build log and the output of 'emerge -pqv =sys-devel/m4-1.4.15'.
* The complete build log is located at '/var/tmp/portage/sys-devel/m4-1.4.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/m4-1.4.15/temp/environment'.
* S: '/var/tmp/portage/sys-devel/m4-1.4.15/work/m4-1.4.15'


J'espere que l'un de vous pourra m'aider sur ce problème.

Bonne journée
rolie31


Last edited by rolie31 on Mon Apr 16, 2012 8:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
guilc
Moderator
Moderator


Joined: 15 Nov 2003
Posts: 3319
Location: Paris - France

PostPosted: Mon Apr 09, 2012 10:18 am    Post subject: Re: Problème pour installer une dépendance à grub et vixie-c Reply with quote

rolie31 wrote:
LDFLAGS="-Wl,-O1 -Wl,--as-needed --as-needed"

Hello,

Il y a un bug dans tes LDFLAGS: la partie que j'ai graissée est invalide, il faut la retirer de ton make.conf (d'autant plus qu'elle fait doublon avec le configuration par défaut) ! C'est ça qui fait que tu ne peux pas linker les binaires (le "C compiler cannot create executables")

PS : peux-tu mettre ton titre du topic en conformité avec les conventions de notre forum s'il te plaît ? Merci :)

[EDIT]
Je précise le pourquoi :
LDFLAGS, c'est des flags que gcc passe au linker. Ils ne sont pas directement passés au linker. Donc pour indiquer à gcc que ces flags ne sont pas pour lui mais pour le linker, il faut les préfixer par "-Wl,". Visiblement, tu as mis le flag sans préfixe dans ton make.conf, ce qui fait planter gcc puisque gcc ne connais pas l'option --as-needed. Tu constateras aussi au passage que ce flag est déja spécifié par défaut (les LDFLAGS par défaut sont aujourd'hui : "-Wl,-O1 -Wl,--as-needed")
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
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