Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177791 - Emerge of php 5.1.2-r1 fails because /usr/sbin/apxs2 cannot be found
Summary: Emerge of php 5.1.2-r1 fails because /usr/sbin/apxs2 cannot be found
Status: RESOLVED DUPLICATE of bug 177697
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 13:12 UTC by Mike Benson
Modified: 2007-05-09 13:50 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 Mike Benson 2007-05-09 13:12:17 UTC
Emerge of PHP failed with error:
/usr/portage/eclass/apache-module.eclass: line 243: //usr/sbin/apxs2: No such file or directory

I have apache 2.2.4 installed - and the file is /usr/sbin/apxs.
Changing the eclass only forestalls the problem. The workaround is to link apxs to apxs2 in /usr/sbin.

Reproducible: Always

Steps to Reproduce:
emerge apache 2.2.4.
emerge php 5.1.2-r1




emerge --info:
Portage 2.1.2.7 (hardened/amd64/multilib, gcc-4.1.1/amd64-hardened, glibc-2.5-r1, 2.6.20-hardened-r2-wanderer x86_64)
=================================================================
System uname: 2.6.20-hardened-r2-wanderer x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 08 May 2007 16:50:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -fweb -frename-registers -fforce-addr -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O3 -fweb -frename-registers -fforce-addr -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.isp.net.au/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en_AU en_GB en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/r300-driver /usr/local/portage/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="3dnow X X509 a52 aac acl acpi alsa amd64 apache2 arts artswrappersuid avahi avi bash-completion berkdb bidi bluetooth bzip2 capi cardbus cdda cddb cdio cdr clamav cracklib crypt css ctype cups curl curlwrappers cvsgraph dbus devfs26 dga dhcp dio directfb divx4linux dlloader dnd doc dri dts dv dvb dvd dvdr dvdread dvr3 emacs emacs-w3 emul-linux-x86 encode enscript erandom ethereal exif expat fam fbcon fbdev fbsplash ffmpeg firefox fix-connected-rt flac flash fontconfig foomaticdb ftp gatos gcj gd gdbm geoip gif glibc-omitfp glx gnutls gphoto2 gpm gsm gstreamer gtk gtk2 hal hardened hardenedphp i8x0 icq ieee1394 ifi imap imlib immqt-bc innodb ipod jabber jack java javascript jpeg jpeg2k kcal kde kdeenablefinal kdehiddenvisibility kdepim lcms libclamav libwww lirc lm_sensors logitech-mouse logrotate lua mad maildir mailwrapper mbox mgetty mikmod mime ming mjpeg mmap mng mp3 mp4live mpeg mppe-mppc multilib multislot musepack musicbrainz mysql ncurses network nforce2 nls noamazon nptl nptlonly nsplugin odbc odk offensive ogg oggvorbis on-the-fly-crypt openexr opengl pam pam_console pam_timestamp pcmcia pcre pda pdf pdflib perl php pic pmu png posix povray ppds pppd profile pwdb qt qt3 quicktime radiotap rdesktop readline rrdtool rtc samba sasl scanner sdk sdl sensord sharedmem skey slp snmp sockets sound speedo spell spl sql sse sse2 ssh ssl subversion svg symlink sysfs sysvipc szip tcl tcltk tcpd theora threads tidy tiff tk truetype truetype-fonts type1 type1-fonts udev unicode usb userlocales v4l v4l2 vcd visualization vorbis webdav wmf xattr xbase xcomposite xemacs xface xine xinerama xml xorg xpm xsl xv xvid zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_AU en_GB en_US" LIRC_DEVICES="avermedia" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev v4l ati"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2007-05-09 13:50:26 UTC

*** This bug has been marked as a duplicate of bug 177697 ***