Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323783 - dev-lang/php: Missing eselect logic to ensure one is set (was: media-libs/libvpx should depend on dev-lang/php[cli] when USE=doc is enabled)
Summary: dev-lang/php: Missing eselect logic to ensure one is set (was: media-libs/lib...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-13 14:48 UTC by Andrei Slavoiu
Modified: 2013-03-23 19:46 UTC (History)
2 users (show)

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 Andrei Slavoiu 2010-06-13 14:48:19 UTC
[DOXY] samples.dox
    [DOXY] ivfenc.dox
    [DOXY] ivfdec.dox
    [DOXY] simple_decoder.dox
/usr/bin/env: php: No such file or directory
make[1]: *** [simple_decoder.dox] Error 127
make[1]: *** Waiting for unfinished jobs....
make: *** [.DEFAULT] Error 2
 * ERROR: media-libs/libvpx-0.9.0_p20100612 failed:
 *   emake failed

libvpx requires the php command but since my php is built without the cli USE flag it's missing.

Reproducible: Always

Steps to Reproduce:
Comment 1 Andrei Slavoiu 2010-06-13 14:49:15 UTC
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Sun, 13 Jun 2010 11:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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"
CXXFLAGS="-march=native -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news parallel-fetch preserve-libs preserved-rebuild protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.evolva.ro/gentoo http://ftp.roedu.net/pub/mirrors/gentoo.org http://mirrors.xservers.ro/gentoo http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,-z,combreloc,--as-needed"
LINGUAS="ro en eo"
MAKEOPTS="-j5 -l8"
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/local/portage /var/lib/layman/sunrise /var/lib/layman/openmoko/trunk/openmoko-target"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X a52 aac aalib accessibility acl acpi aesicm agg aiglx akonadi alsa amd64 amr amrnb amrwb apache2 asf aspell audiofile autotrace bash-completion berkdb bonjour branding bzip2 calendar caps captury ccache cddb cdinstall cdparanoia cdr chdir cisco clamav consolekit crypt css cups curl cxx dba dbus dga djvu dmi doc dpms dri dts dv dvd dvdr ebook emboss encode erandom examples exif expat faac faad fam fbcon fbcondecor festival ffmpeg fftw firefox flac fontconfig fortran ftp gcj gcrypt gd gdbm geoip gif git glib glut gmp gnokii gnutls gpm gps graphviz gsm hal hbci hddtemp hou htmlhandbook iconv icu id3tag idn imagemagick imlib inotify iodbc ipv6 jadetex java javascript jingle jpeg jpeg2k justify kde kdehiddenvisibility kdevplatform kerberos kig-scripting kipi kvm lame lcms ldap libcaca libclamav libffi libgcrypt libnl libnotify libsamplerate libssh2 libwww live llvm-gcc lm_sensors lua lzma lzo mad maildir matroska mbrola melt metric mikmod mjpeg mmap mmx mmxext mng modules mp3 mp4 mplayer mppe-mppc mpx mudflap multilib musepack musicbrainz mysql mythtv ncurses network nls nodrm nowin nptl nptlonly odbc offensive ofx ogg openal opencore-amr openexr opengl openmp pam pango passwdqc pch pcre pdf perl phonon php physfs plasma plugins png policykit posix povray ppds pppd pth python python3 qt3support qt4 qthelp quicktime rdesktop readline reflection reiserfs rss rtc ruby samba sasl schroedinger sdk sdl semantic-desktop session slang sms sockets sou sound sox speex spell spl sql sqlite sqlite3 srtp sse sse2 sse3 ssl startup-notification subversion svg symlink sysfs syslog sysvipc taglib tcpd theora threads thumbnail tidy tiff timidity truetype tunepimp unicode usb vhook video videos visualization vnc voice vorbis vpx webkit wifi wmf x264 xattr xcb xcomposite xine xml xml2 xmlrpc xmp xorg xpm xsl xulrunner xv xvid xvmc yahoo zeroconf zip zlib zvbi" ALSA_CARDS="bt87x via82xx" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en eo" LIRC_DEVICES="kworld" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Karl J. Smith 2010-11-10 19:46:55 UTC
I have php compiled with the cli flag and it still fails the same way.
Comment 3 Andrei Slavoiu 2010-11-12 16:43:46 UTC
With latest php version on ~arch you need to select the active php using `eselect php`. You probably didn't do that yet.
Comment 4 Kobboi 2010-12-20 10:24:39 UTC
(In reply to comment #3)
> With latest php version on ~arch you need to select the active php using
> `eselect php`. You probably didn't do that yet.

Then at least one should be set by default if there is only one option.

Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-01-15 22:53:13 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > With latest php version on ~arch you need to select the active php using
> > `eselect php`. You probably didn't do that yet.
> 
> Then at least one should be set by default if there is only one option.

Sounds like php ebuilds are missing the ifunset logics, example from media-sound/mpg123 (latest, cvs up):

pkg_postinst() {
	eselect mpg123 update ifunset
}

pkg_postrm() {
	eselect mpg123 update ifunset
}

So not a libvpx bug, reassigning
Comment 6 Ole Markus With (RETIRED) gentoo-dev 2013-03-23 19:46:04 UTC
update ifunset and cleanup logic added to eselect-php