Sie sind nicht angemeldet.

1

18.03.2011, 16:45

Unable to determine what USE flags $PKG was built with

Moinsen.
Vorgeschichte: Versuchte TS3 zum laufen zu bekommen, nach dem das nicht ging wegen der MySQL geschichte und dem ganzen Versions hickhack und ne neue Version von gcc drausen war (und ich eh ein Systemneubau machen wollte). Kam es zum emerge -eav system + emerge -eav world.
System wurde fehlerfrei emerged und läuft.
bei World kam es nun zu einem Problem.

Problem:

Zitat

>>> Emerging (1 of 17) dev-lang/php-5.2.17
* php-5.2.17.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* php-patchset-5.2.17-r0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Package: dev-lang/php-5.2.17
* Repository: gentoo
* Maintainer: php-bugs@gentoo.org
* USE: apache2 berkdb bzip2 cgi cli crypt ctype curl elibc_glibc exif filter ftp gd gdbm hash iconv imap ipv6 json kerberos kernel_linux ldap mysql mysqli ncurses nls pcre posix readline reflection session simplexml sockets spell spl sqlite ssl threads tokenizer truetype unicode userland_GNU x86 xml zip zlib
* ERROR: dev-lang/php-5.2.17 failed:
* Unable to determine what USE flags virtual/imap-c-client-0 was built with
*
* Call stack:
* ebuild.sh, line 56: Called pkg_setup
* php-5.2.17.ebuild, line 279: Called eblit-run 'pkg_setup' 'v2'
* php-5.2.17.ebuild, line 317: Called eblit-php-pkg_setup
* pkg_setup-v2.eblit, line 12: Called php_check_imap
* php-common-r1.eclass, line 38: Called built_with_use 'virtual/imap-c-client' 'ssl'
* eutils.eclass, line 1863: Called die
* The specific snippet of code:
* die) die "Unable to determine what USE flags $PKG was built with";;
*
* If you need support, post the output of 'emerge --info =dev-lang/php-5.2.17',
* the complete build log and the output of 'emerge -pqv =dev-lang/php-5.2.17'.
* The complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.17/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.2.17/temp/die.env'.
* S: '/var/tmp/portage/dev-lang/php-5.2.17/work/php-5.2.17'

>>> Failed to emerge dev-lang/php-5.2.17, Log file:

>>> '/var/tmp/portage/dev-lang/php-5.2.17/temp/build.log'

* Messages for package dev-lang/php-5.2.17:

* ERROR: dev-lang/php-5.2.17 failed:
* Unable to determine what USE flags virtual/imap-c-client-0 was built with
*
* Call stack:
* ebuild.sh, line 56: Called pkg_setup
* php-5.2.17.ebuild, line 279: Called eblit-run 'pkg_setup' 'v2'
* php-5.2.17.ebuild, line 317: Called eblit-php-pkg_setup
* pkg_setup-v2.eblit, line 12: Called php_check_imap
* php-common-r1.eclass, line 38: Called built_with_use 'virtual/imap-c-client' 'ssl'
* eutils.eclass, line 1863: Called die
* The specific snippet of code:
* die) die "Unable to determine what USE flags $PKG was built with";;
*
* If you need support, post the output of 'emerge --info =dev-lang/php-5.2.17',
* the complete build log and the output of 'emerge -pqv =dev-lang/php-5.2.17'.
* The complete build log is located at '/var/tmp/portage/dev-lang/php-5.2.17/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.2.17/temp/die.env'.
* S: '/var/tmp/portage/dev-lang/php-5.2.17/work/php-5.2.17'


Zitat

dragon ~ # cat /var/db/pkg/virtual/imap-c-client-0/USE
elibc_glibc kernel_linux userland_GNU x86


Zitat

dragon ~ # cat /etc/make.conf
# 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="-march=athlon64 -O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j3"

LDFLAGS="${LDFLAGS}"

USE="-mbox -X -kde -gnome maildir apache2 php cgi"
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_iduserdir usertrack vhost_alias"
APACHE2_MPMS="worker"


Zitat

dragon ~ # emerge --info
Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.30-gentoo-r8 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.30-gentoo-r8-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-1.12.14
Timestamp of tree: Wed, 16 Mar 2011 16:00:01 +0000
app-shells/bash: 4.1_p9
dev-lang/python: 2.4.4-r13, 2.5.4-r2, 2.6.6-r2
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.1.2, 4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cgi cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 maildir modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl php pppd python readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_iduserdir usertrack vhost_alias" APACHE2_MPMS="worker" 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" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


PHP installed versions: 5.2.17 + 5.3.5 (kein plan warum ich nun 2 mal php drauf hatte, vorher hatte ich nur 5.3.5)

virtual/imap-c-client-0 habe ich schon vorsucht mauell zu emergen und gehofft das der fehler bei php nicht mehr auftritt, aber leider trat er wieder auf.
es handelt sich um eine server umgebung.

nach googlen, habe ich zwar treffer gefunden zur fehlermeldung, aber da es null mit php zu tun hatte, waren deren lösungschritte natürlich abweichend bzw. ich kam nicht mehr hinterher was die getan haben.
hoffe die info reichen aus, um eine idee zu bekommen, um was für ein problem es sich handelt. ich persönlich werde zum 1. mal mit dieser fehlermeldung konfrontiert.

grüße reni

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Renard« (29.03.2011, 13:04)


2

18.03.2011, 21:38

* ERROR: dev-lang/php-5.2.17 failed:
* Unable to determine what USE flags virtual/imap-c-client-0 was built with


Hi Renard
Nur ein Schuss ins Blaue ;)
Beachte das es

Quellcode

1
2
3
* virtual/imap-c-client
     Available versions:  0 1 {ssl}
     Description:         Virtual for IMAP c-client
in Verion "0" und "1" gibt. Diese setzen jeweils andere USE-Flags {ssl}

Ich wäre da einfach mal so frech und würde virtual/imap-c-client deinstallieren. Lass doch portage dann selbst entscheiden welche Version als Abhängigkeit neu installiert würde.

Ein

Quellcode

1
emerge -pv1 =dev-lang/php-5.2.17
würde bei mir die virtual/imap-c-client-1 als Abhängigkeit mit installieren.

3

18.03.2011, 23:57

ich hab das imap ding deinstalliert. und bei eix steht nur die version 0 als verfügbar. und nicht wie bei dir 0 und 1.
bei resume kommt nun das:

Zitat

dragon ~ # emerge --resume

* IMPORTANT: 2 config files in '/etc/portage' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
Calculating dependencies... done!
* One or more packages are either masked or have missing dependencies:
*
* virtual/imap-c-client pulled in by:
* (dev-lang/php-5.3.5, installed)
*
* The resume list contains packages that are either masked or have
* unsatisfied dependencies. Please restart/continue the operation
* manually, or use --skipfirst to skip the first package in the list and
* any other packages that may be masked or have missing dependencies.

4

19.03.2011, 00:45

Auch im eix sind beide Versionen gelistet

Quellcode

1
2
3
4
# eix virtual/imap-c-client
* virtual/imap-c-client
     Available versions:  0 1 {ssl}
     Description:         Virtual for IMAP c-client

Und hier bei mir würde auch =dev-lang/php-5.3.5 die imap-c-client-1 Version als Abhängigkeit installieren..

Ok, mit einem --resume komst du so vermutlich nicht weiter...
Nimm entweder --keep-going mit hinzu, oder starte die Aktion noch mal neu.

5

19.03.2011, 09:52

Zitat

dragon ~ # eix virtual/imap-c-client
* virtual/imap-c-client
Available versions: 0
Description: Virtual for IMAP c-client


ein emerge -e world hatte ich neu gestartet, da ich vergessen habe die screen session zu wechseln bevor ich imap gelöscht hatte, somit ging ein resume nicht mehr.
so uns nun hat emerge wieder vergessen was er als letztes emerged hatte -.- wieder world von neuem mergen, zum kotzen.
und zum 3.

6

25.03.2011, 21:07

Ist das wirklich nicht hinzubekommen?

Ansonsten nutze für dein -e world doch erst mal die emerge Option --keep-going und kümmere dich dann später um die nicht gebauten "Problem" Pakete. So bräuchtest du nicht immer wieder von vorn anfangen.

PS:
Und versuch hier im Forum doch bitte mal die Code Tags zu nutzen
dyle hatte dir dessen Vorteile doch auch schon mal erklärt ;)

7

29.03.2011, 13:03

das problem hat sich erledigt. danke dennoch für die hilfe.

wie ich es gelöst habe, ist allerdings nicht wirklich empfehlenswert für gentoo user ^^
nachdem es mich immer wieder angenervt hat, das alles fehlerfrei läuft und nach klitze kleinen änderungen alles crasht, bin ich es leid.
für meine zwecke ist gentoo nicht geeignet, außer man legt sich fest auf das sprichwort "never touch a runing system".
ich bin nun auf debian 6.0-2 umgestiegen und habe da meine freude an linux wieder aufleben lassen :)