Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95915 - mod_php-4.3.11 fails on Jar Java location
Summary: mod_php-4.3.11 fails on Jar Java location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-12 18:04 UTC by mike
Modified: 2005-07-06 11:10 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 2005-06-12 18:04:42 UTC
All of the output that did not scroll past the history:


>>> emerge (4 of 5) dev-php/mod_php-4.3.11 to /
>>> Downloading http://gentoo.osuosl.org/distfiles/php-4.3.2-fopen-url-secure.patch
--14:39:44--  http://gentoo.osuosl.org/distfiles/php-4.3.2-fopen-url-secure.patch
           => `/usr/portage/distfiles/php-4.3.2-fopen-url-secure.patch'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org[140.211.166.134]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 416 [text/plain]

100%[====================================================================================================================================>]
416           --.--K/s

14:39:45 (20.78 KB/s) -
`/usr/portage/distfiles/php-4.3.2-fopen-url-secure.patch' saved [416/416]

>>> md5 files   ;-) mod_php-4.3.9.ebuild
>>> md5 files   ;-) mod_php-4.3.11-r1.ebuild
>>> md5 files   ;-) mod_php-4.3.10-r1.ebuild
>>> md5 files   ;-) mod_php-4.3.11.ebuild
>>> md5 files   ;-) mod_php-5.0.4.ebuild
>>> md5 files   ;-) mod_php-4.3.8.ebuild
>>> md5 files   ;-) mod_php-4.3.9_rc1.ebuild
>>> md5 files   ;-) mod_php-4.3.11-r2.ebuild
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) mod_php-4.3.10.ebuild
>>> md5 files   ;-) mod_php-5.1.0_beta.ebuild
>>> md5 files   ;-) files/mod_php-4.3.4-amd64hack.diff
>>> md5 files   ;-) files/mod_php.conf
>>> md5 files   ;-) files/digest-mod_php-4.3.10
>>> md5 files   ;-) files/digest-mod_php-4.3.11
>>> md5 files   ;-) files/70_mod_php.conf
>>> md5 files   ;-) files/php5-prefork.patch
>>> md5 files   ;-) files/digest-mod_php-4.3.8
>>> md5 files   ;-) files/digest-mod_php-4.3.9
>>> md5 files   ;-) files/digest-mod_php-5.0.4
>>> md5 files   ;-) files/stdint.diff
>>> md5 files   ;-) files/mod_php-4.3.5-apache1security.diff
>>> md5 files   ;-) files/digest-mod_php-4.3.10-r1
>>> md5 files   ;-) files/digest-mod_php-4.3.11-r1
>>> md5 files   ;-) files/digest-mod_php-4.3.11-r2
>>> md5 files   ;-) files/digest-mod_php-4.3.9_rc1
>>> md5 files   ;-) files/with-iodbc.diff
>>> md5 files   ;-) files/php5_soap_persistence_session.diff
>>> md5 files   ;-) files/70_mod_php5.conf
>>> md5 files   ;-) files/php-4.3.11-gmp.patch
>>> md5 files   ;-) files/php-4.3.11-flash.patch
>>> md5 files   ;-) files/digest-mod_php-5.1.0_beta
>>> md5 files   ;-) files/5.0.4/70_mod_php5.conf
>>> md5 files   ;-) files/4.3.10-r1/70_mod_php.conf
>>> md5 files   ;-) files/4.3.11-r2/70_mod_php.conf
>>> md5 src_uri ;-) php-4.3.11.tar.bz2
>>> md5 src_uri ;-) php-4.3.2-fopen-url-secure.patch
>>> md5 src_uri ;-) php-4.3.6-includepath.diff
>>> Unpacking source...
 * Due to some previous bloopers with PHP and slotting, you may have
 * multiple instances of mod_php installed. Please look at the autoclean
 * output at the end of the emerge and unmerge all but relevant
 * instances.
 * Apache2 only detected
 * If you have both freetds and mssql in your USE flags, parts of PHP
 * may not behave correctly, or may give strange warnings. You have
 * been warned! It's recommended that you pick ONE of them. For sybase
 * support, chose 'freetds'. For mssql support choose 'mssql'.
>>> Unpacking php-4.3.11.tar.bz2 to /var/tmp/portage/mod_php-4.3.11/work
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/configure ...                                                  
                                                                               
          [ ok ] * Applying mod_php-4.3.4-amd64hack.diff ...                   
                                                                               
                          [ ok ] * Applying mod_php-4.3.5-apache1security.diff
...                                                                            
                                           [ ok ]>>> Source unpacked.
 * Apache2 MPM: prefork
 * Enabling NBDM
 * Enabling DB4
 * Using INI file: /etc/php/apache2-php4/php.ini
 * econf: updating php-4.3.11/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating php-4.3.11/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --with-apxs2=/usr/sbin/apxs2 --with-ndbm=/usr
--with-db4=/usr --with-mcrypt=/usr --with-mhash=/usr --without-ming
--without-sybase --without-gdbm --with-java=/opt/blackdown-jre-1.4.2.01
--without-mcal --without-unixODBC --without-pgsql --without-snmp
--with-xpm-dir=/usr/X11R6 --without-gmp --without-mssql --without-pdflib
--without-gd --with-png=/usr --with-png-dir=/usr --with-jpeg=/usr
--with-jpeg-dir=/usr --enable-exif --with-tiff=/usr --with-tiff-dir=/usr
--with-mysql=/usr --with-mysql-sock=/var/run/mysqld/mysqld.sock
--with-freetype-dir=/usr --with-ttf=/usr --with-t1lib=/usr --with-gettext
--without-qtdom --without-pspell --with-openssl=/usr --without-imap
--without-ldap --with-dom=/usr --with-dom-xslt=/usr --with-dom-exslt=/usr
--without-kerberos --with-pam --disable-memory-limit --enable-ipv6 --without-yaz
--disable-debug --with-curlwrappers --with-curl=/usr --enable-dbx
--with-zlib=/usr --with-zlib-dir=/usr --with-sablot=/usr --enable-xslt
--with-xslt-sablot --with-xmlrpc --enable-wddx --with-xml --enable-mbstring=all
--enable-mbregex --with-bz2=/usr --with-crack=/usr --with-cdb --enable-pcntl
--enable-bcmath --enable-calendar --enable-dbase --enable-filepro --enable-ftp
--with-mime-magic=/usr/share/misc/file/magic.mime --enable-sockets
--enable-sysvsem --enable-sysvshm --enable-sysvmsg --with-iconv --enable-shmop
--enable-dio --enable-yp --without-ncurses --without-readline
--enable-inline-optimization --enable-track-vars --enable-trans-sid
--enable-versioning --with-config-file-path=/etc/php/apache2-php4
--libdir=/usr/lib64/php --without-pear
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -march=k8 -pipe -O2  -L/usr/X11R6/lib
-ltiff -L/usr/lib64) works... yes
checking whether the C compiler (gcc -march=k8 -pipe -O2  -L/usr/X11R6/lib
-ltiff -L/usr/lib64) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking whether ln -s works... yes
checking for mawk... no
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.875 (ok)
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking flex version... 2.5.4 (ok)
checking whether byte ordering is bigendian... no
checking whether to force non-PIC code in shared modules... no
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... yes
checking for Caudium support... no
checking for CLI build... yes
checking for embedded SAPI library support... no
checking for Zeus ISAPI support... no
checking for NSAPI support... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking for Roxen/Pike support... no
checking for Servlet support... no
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for chosen SAPI module... apache2handler

Running system checks
checking for missing declarations of reentrant functions... done
checking for sendmail... /usr/sbin/sendmail
checking whether system uses EBCDIC... no
checking for socket... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... yes
checking for sin in -lm... yes
checking for res_search... no
checking for __res_search... no
checking for res_search in -lresolv... no
checking for __res_search in -lresolv... yes
checking for inet_aton... yes
checking for dn_skipname... no
checking for __dn_skipname... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for inttypes.h... yes
checking for stdint.h... yes
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... yes
checking for sys/time.h... yes
checking for netinet/in.h... yes
checking for alloca.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for fcntl.h... yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for mach-o/dyld.h... no
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for syslog.h... yes
checking for sysexits.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... yes
checking for sys/socket.h... yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of long... 8
checking size of int... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for IPv6 support... yes
checking for vprintf... yes
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getlogin... yes
checking for getprotobyname... yes
checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for regcomp... yes
checking for res_search... (cached) yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for getaddrinfo... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... (cached) yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX

General settings
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /etc/php/apache2-php4
checking directory to be scanned for configuration files... DEFAULT
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/local/php/bin
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to enable magic quotes by default... no
checking whether to enable runpaths... yes
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable versioning... yes

Configuring extensions
checking for OpenSSL support... yes
checking for Kerberos support... no
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... /usr
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... yes
checking for BZ2_bzerror in -lbz2... yes
checking whether to enable calendar conversion support... yes
checking for cpdflib support... no
checking for CRACKlib support... yes
checking whether to enable ctype functions... yes
checking for CURL support... yes
checking for cURL 7.9.8 or greater... libcurl 7.13.1
checking for curl_easy_perform in -lcurl... yes
checking for curl_version_info in -lcurl... yes
checking for cyrus imap support... no
checking for xDBM support... no
checking whether to enable DBA... no
checking for GDBM support... no
checking for dbm_open in -lndbm... yes
checking for NDBM support... yes
checking for db4 minor version and patch level... ok
checking for Berkeley DB4 support... yes
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DBM support... no
checking for CDB support... builtin
checking for INI File support... builtin
checking for FlatFile support... builtin
checking whether to enable DBA interface... yes
checking whether to enable dbase support... yes
checking whether to enable dbx support... yes
checking whether to enable direct I/O support... yes
checking for DOM support... yes
checking for libxml version... >= 2.4.14
checking for DOM XSLT support... /usr
checking for DOM EXSLT support... /usr
checking for libxslt version... >= 1.0.18
checking for libexslt version... >= 1.0.3
checking whether to enable EXIF (metadata from images) support... yes
checking for FrontBase SQL92 (fbsql) support... no
checking for FDF support... no
checking whether to enable the bundled filePro support... yes
checking for FriBidi support... no
checking whether to enable FTP support... yes
checking for GD support... no
checking for the location of libjpeg... /usr
checking for the location of libpng... /usr
checking for the location of libXpm... /usr/X11R6
checking for FreeType 1.x support... /usr
checking for FreeType 2... /usr
checking for T1lib support... /usr
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking for hwapi support... no
checking for Hyperwave support... no
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for Informix support... no
checking for Ingres II support... no
checking for InterBase support... no
checking for IRCG support... no
checking for Java support... yes
checking Java Jar location... configure: error: Unable to locate
/opt/blackdown-jre-1.4.2.01/bin

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/mod_php-4.3.11/work/php-4.3.11/config.log

!!! ERROR: dev-php/mod_php-4.3.11 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Didn't try
Steps to Reproduce:
1. emerge -u phpmyadmin
2.
3.

Actual Results:  
Errored - see details log

Expected Results:  
expected it to not error.

root@moe Saved # emerge info
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun 10 2005, 20:05:38)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts avi berkdb bitmap-fonts bonobo cdparanoia cdr
crypt curl directfb dts dvd eds encode esd fam fbcon font-server fortran ggi gif
gnome gpm gstreamer gtk gtkhtml hal howl imagemagick imlib ipv6 jack java jp2
jpeg libcaca libwww lirc lzw lzw-tiff mad matroska motif mozilla mp3 mpeg mysql
mythtv nas ncurses network nls nvidia ogg oggvorbis opengl oss pam perl png
python readline real sdl ssl tcpd theora tiff truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vorbis xine xinerama xml xml2 xmms
xpm xrandr xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-13 01:42:47 UTC
Did you try to run java-config to set your JDK?
Comment 2 mike 2005-06-13 04:23:26 UTC
# java-config -f
blackdown-jre-1.4.2.01

# java-config -v
java version "1.4.2-01"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-01)
Java HotSpot(TM) 64-Bit Server VM (build Blackdown-1.4.2-01, mixed mode)

# java-config -J
/opt/blackdown-jre-1.4.2.01/bin/java

# java-config -j
jc_options: jar not found at /opt/blackdown-jre-1.4.2.01/bin/jar or
/opt/blackdown-jre-1.4.2.01/jre/bin/jar

# java-config -O


# java-config -o
/opt/blackdown-jre-1.4.2.01

# java-config -p
.

# java-config -l

# java-config -L
[blackdown-jre-1.4.2.01] "Blackdown JRE 1.4.2.01"
(/etc/env.d/java/20blackdown-jre-1.4.2.01) *
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-06 10:53:53 UTC
(In reply to comment #2)
> # java-config -j
> jc_options: jar not found at /opt/blackdown-jre-1.4.2.01/bin/jar or
> /opt/blackdown-jre-1.4.2.01/jre/bin/jar

Seems like your JRE install is broken, it works fine here. Try to re-emerge it.
Comment 4 mike 2005-07-06 11:10:54 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > # java-config -j
> > jc_options: jar not found at /opt/blackdown-jre-1.4.2.01/bin/jar or
> > /opt/blackdown-jre-1.4.2.01/jre/bin/jar
> 
> Seems like your JRE install is broken, it works fine here. Try to re-emerge it.

--
yes. that did it. sorry and thanks.