Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Oct 2004 11:37:44 -0400 (EDT)
From:      Jason DiCioccio <jd@center.omnins.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/72886: Errors upgrading php 5.0.1 to 5.0.2
Message-ID:  <20041019153744.AB944CEB51@center.omnins.com>
Resent-Message-ID: <200410191650.i9JGoOes081862@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72886
>Category:       ports
>Synopsis:       Errors upgrading php 5.0.1 to 5.0.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 19 16:50:23 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jason DiCioccio
>Release:        FreeBSD 4.10-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD center.omnins.com 4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #1: Sun Sep 26 09:10:51 EDT 2004 root@center.omnins.com:/usr/obj/usr/src/sys/CENTER i386

Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.10-RELEASE-p3 #1: Sun Sep 26 09:10:51 EDT 2004
    root@center.omnins.com:/usr/obj/usr/src/sys/CENTER
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1594411108 Hz
CPU: AMD Opteron(tm) Processor 242 (1594.41-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500000<<b20>,AMIE,<b29>,DSP,3DNow!>
real memory  = 1073676288 (1048512K bytes)
avail memory = 1041686528 (1017272K bytes)
Preloaded elf kernel "kernel" at 0xc032f000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f42c0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib4: <PCI to PCI bridge (vendor=1022 device=7450)> at device 1.0 on pci0
pci3: <PCI bus> on pcib4
pci0: <unknown card> (vendor=0x1022, dev=0x7451) at 1.1
pcib5: <PCI to PCI bridge (vendor=1022 device=7450)> at device 2.0 on pci0
pci2: <PCI bus> on pcib5
bge0: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2002> mem 0xfe9c0000-0xfe9cffff,0xfe9d0000-0xfe9dffff irq 10 at device 3.0 on pci2
bge0: Ethernet address: 00:00:1a:19:aa:7f
miibus0: <MII bus> on bge0
brgphy0: <BCM5704 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: <Broadcom BCM5704C Dual Gigabit Ethernet, ASIC rev. 0x2002> mem 0xfe9e0000-0xfe9effff,0xfe9f0000-0xfe9fffff irq 11 at device 3.1 on pci2
bge1: Ethernet address: 00:00:1a:19:aa:80
miibus1: <MII bus> on bge1
brgphy1: <BCM5704 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
pci0: <unknown card> (vendor=0x1022, dev=0x7451) at 2.1
pcib6: <PCI to PCI bridge (vendor=1022 device=7460)> at device 6.0 on pci0
pci1: <PCI bus> on pcib6
pci1: <OHCI USB controller> at 0.0 irq 10
pci1: <OHCI USB controller> at 0.1 irq 10
pci1: <ATI Mach64-GR graphics accelerator> at 4.0 irq 11
isab0: <PCI to ISA bridge (vendor=1022 device=7468)> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 ATA133 controller> port 0xffa0-0xffaf at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
chip0: <PCI to Other bridge (vendor=1022 device=746b)> at device 7.3 on pci0
pcib1: <Host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib1
pcib2: <Host to PCI bridge> on motherboard
pci5: <PCI bus> on pcib2
pcib3: <Host to PCI bridge> on motherboard
pci6: <PCI bus> on pcib3
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff,0xcb000-0xcbfff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: configured irq 3 not in bitmap of probed irqs 0
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, default to accept, logging disabled
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = disabled
ad0: 76319MB <WDC WD800BB-00FJA0> [155061/16/63] at ata0-master UDMA100
ad3: 76319MB <WDC WD800BB-00FJA0> [155061/16/63] at ata1-slave UDMA100
Mounting root from ufs:/dev/ad0s1a

Installed packages:
==================
ImageMagick-6.0.6.2
XFree86-libraries-4.4.0_1
amavisd-new-2.1.2,1
apache-2.0.52_1
apr-db4-1.0.0
apr-nothr-db4-1.0.0
arc-5.21j
autoconf-2.53_3
autoconf-2.59_2
automake-1.5_2,1
automake-1.9.2
bash-3.0.13
bison-1.75_2
cabextract-1.0
cclient-2004a,1
clamav-0.80.r4
cvsup-without-gui-16.1h
cyrus-imapd-2.2.8
cyrus-sasl-2.1.19_1
daemontools-0.76_9
db3-3.3.11_2,1
db4-4.0.14_1,1
db42-4.2.52_3
djbdns-ipv6-1.05.b14_8
expat-1.95.8
fontconfig-2.2.3,1
freetype2-2.1.7_3
freeze-2.5_1
gettext-0.13.1_1
ghostscript-gnu-7.07_11
gmake-3.80_2
gnuls-4.1
gsfonts-8.11_2
help2man-1.33.1
imake-4.4.0
jasper-1.701.0
jbigkit-1.6
jpeg-6b_3
lcms-1.13,1
lha-1.14i_6
libfpx-1.2.0.9
libgmp-4.1.3
libgnugetopt-1.2
libiconv-1.9.2_1
libltdl-1.5.10
libmcrypt-2.5.7_1
libtool-1.3.5_2
libtool-1.5.10
libwmf-0.2.8.3
libxml2-2.6.14
lzo-1.08_1
lzop-1.01
m4-1.4.1
makedepend-2000.12.28
mhash-0.8.18
mpeg2codec-1.2_1
neon-0.24.7
nmap-3.71.p1
p5-Archive-Tar-1.10
p5-Archive-Zip-1.13
p5-BerkeleyDB-0.25_1
p5-Compress-Zlib-1.33
p5-Convert-BinHex-1.119
p5-Convert-TNEF-0.17
p5-Convert-UUlib-1.03,1
p5-Digest-HMAC-1.01
p5-Digest-SHA1-2.10
p5-HTML-Parser-3.36
p5-HTML-Tagset-3.03
p5-IO-Zlib-1.01
p5-IO-stringy-2.108
p5-MIME-Base64-3.05
p5-MIME-Tools-5.414,2
p5-Mail-SpamAssassin-3.0.0
p5-Mail-Tools-1.64
p5-Net-DNS-0.48
p5-Net-Server-0.87
p5-URI-1.34
p5-Unix-Syslog-0.100
p5-gettext-1.03
pcre-5.0
pdflib-6.0.0p1
pecl-imagick-0.9.11
pecl-pdflib-2.0.1
pecl-zip-1.0
perl-5.8.5
php5-5.0.1
php5-calendar-5.0.1
php5-ctype-5.0.1
php5-dio-5.0.1
php5-dom-5.0.1
php5-extensions-1.0
php5-gd-5.0.1
php5-iconv-5.0.1
php5-imap-5.0.1
php5-mbstring-5.0.1
php5-mcrypt-5.0.1
php5-mhash-5.0.1
php5-openssl-5.0.1
php5-pcre-5.0.1
php5-pgsql-5.0.1
php5-posix-5.0.1
php5-session-5.0.1
php5-simplexml-5.0.1
php5-sockets-5.0.1
php5-sqlite-5.0.1
php5-tokenizer-5.0.1
php5-xml-5.0.1
php5-zlib-5.0.1
pkg_install-devel-20040811
pkgconfig-0.15.0_1
pkgdb.db
png-1.2.7
portaudit-0.5.9
portupgrade-20040701_3
postfix-2.1.5,1
postgresql-7.4.3
python-2.3.4_2
razor-agents-2.61_3
rc_subr-1.31
rpm2cpio-1.2_2
ruby-1.8.2.p2_1
ruby18-aspectr-0.3.5
ruby18-bdb1-0.2.2
ruby18-dbd_pg-0.0.23_1
ruby18-dbi-0.0.23
ruby18-htmlsplit-1.0.2
ruby18-postgres-0.7.1_1
screen-4.0.2_1
sim-3.2.0
subversion-1.0.8
sudo-1.6.8.1
t1lib-5.0.1,1
tiff-3.6.1_3
ucspi-tcp-0.88
unarj-2.43_1
unrar-3.43,3
unzip-5.51
uvscan-4.32e_1
uvscan_dat-4388
zoo-2.10.1
zsh-4.2.1
zziplib-0.10.82
	
>Description:
Greetings,
  I am receiving the following output when trying to upgrade PHP 5.0.1 to 5.0.2 via portupgrade.  The box is running apache 2.0.52 and has never run anything but apache2 (never run 1.x).

--->  Upgrading 'php5-5.0.1' to 'php5-5.0.2' (lang/php5)
--->  Building '/usr/ports/lang/php5'
===>  Cleaning for libiconv-1.9.2_1
===>  Cleaning for autoconf-2.59_2
===>  Cleaning for bison-1.75_2
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.10
===>  Cleaning for m4-1.4.1
===>  Cleaning for p5-gettext-1.03
===>  Cleaning for pkgconfig-0.15.0_1
===>  Cleaning for perl-5.8.5
===>  Cleaning for help2man-1.33.1
===>  Cleaning for rc_subr-1.31
===>  Cleaning for expat-1.95.8
===>  Cleaning for libxml2-2.6.14
===>  Cleaning for apache-2.0.52_1
===>  Cleaning for php5-5.0.2
===>  Found saved configuration for php5-5.0.1
===>  Extracting for php5-5.0.2
>How-To-Repeat:
	
>Fix:
	


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> Checksum OK for php-5.0.2.tar.bz2.
 ===>  Patching for php5-5.0.2
 ===>  Applying FreeBSD patches for php5-5.0.2
 ===>   php5-5.0.2 depends on file: /usr/local/sbin/apxs - found
 ===>   php5-5.0.2 depends on executable: bison - found
 ===>   php5-5.0.2 depends on executable: pkg-config - found
 ===>   php5-5.0.2 depends on shared library: xml2.5 - found
 ===>  Configuring for php5-5.0.2
 
 You are building the Apache Module and the Command Line Interpreter of PHP.
 
 Use port:
         lang/php5-cli           for Command Line Interpreter only
         www/php5-cgi            for Common Gateway Interface only
         www/mod_php5            for Apache Module only
 
 creating cache ./config.cache
 checking host system type... i386-portbld-freebsd4.10
 checking for gcc... cc
 checking whether the C compiler (cc -O -pipe  ) works... yes
 checking whether the C compiler (cc -O -pipe  ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether cc accepts -g... yes
 checking whether cc understands -c and -o together... yes
 checking how to run the C preprocessor... cc -E
 checking for AIX... no
 checking if compiler supports -R... yes
 checking for re2c... exit 0;
 checking for ranlib... ranlib
 checking whether ln -s works... yes
 checking for mawk... no
 checking for gawk... no
 checking for nawk... nawk
 checking for bison... bison -y
 checking bison version... 1.75 (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 for pthreads_cflags... (cached) -D_THREAD_SAFE
 checking for pthreads_lib... (cached) -pthread
 
 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 member fd in BUFF *... 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... expr: non-numeric argument
 configure: error: You have enabled Apache 2 support while your server is Apache 1.3.  Please use the appropiate switch --with-apxs (without the 2)
 ===>  Script "configure" failed unexpectedly.
 Please report the problem to ale@FreeBSD.org [maintainer] and attach the
 "/usr/ports/lang/php5/work/php-5.0.2/config.log" including the output of the
 failure of your make command. Also, it might be a good idea to provide an
 overview of all packages installed on your system (e.g. an `ls /var/db/pkg`).
 *** Error code 1
 
 Stop in /usr/ports/lang/php5.
 
 	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041019153744.AB944CEB51>