Subject: pkg/12179: www/php3 fails to compile
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mbw@NetBSD.ORG>
List: netbsd-bugs
Date: 02/10/2001 22:43:38
>Number:         12179
>Category:       pkg
>Synopsis:       www/php3 fails to compile
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 22:45:07 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Michael Wolfson
>Release:        1.4.2
>Organization:
>Environment:
NetBSD fatmac 1.4.2 NetBSD 1.4.2 (FATMAC) #0: Mon Mar 20 00:36:27 EST 2000     mw@fatmac:/usr/src/sys/arch/hp300/compile/FATMAC hp300
>Description:

www/php3 from pkgsrc.tar.gz (dated Apr 1, 2000) fails to compile:

cc -o dbftst dbftst.o libdbf.a
./tmpl
# fields: 4, record len: 19
  FIELD_NAME, C, 10
  FIELD_TYPE, C, 1
  FIELD_LEN, N, 3
  FIELD_DEC, N, 4
cc -O2 -I/usr/pkg/include  -DPHP_INTERNAL_FUNCS -I. -I.    -o php -Wl,-R/usr/pkg
/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib  -Wl,-R/usr
/pkg/lib  -Wl,-R/usr/pkg/lib/perl5/m68k-netbsd/5.00404/CORE language-parser.tab.
o language-scanner.o main.o php3_hash.o operators.o  variables.o token_cache.o s
tack.o internal_functions.o  snprintf.o php3_sprintf.o alloc.o list.o highlight.
o debugger.o  configuration-parser.tab.o configuration-scanner.o  request_info.o
 safe_mode.o fopen-wrappers.o constants.o  php3_realpath.o alloca.o php_compat.o
 abstractions.o functions/adabasd.o functions/aspell.o functions/apache.o functi
ons/fhttpd.o functions/basic_functions.o functions/crypt.o functions/datetime.o 
functions/db.o functions/dbase.o functions/dir.o functions/dl.o functions/dns.o 
functions/exec.o functions/file.o functions/filepro.o functions/filestat.o funct
ions/formatted_print.o functions/fsock.o functions/gd.o functions/head.o functio
ns/html.o functions/image.o functions/imap.o functions/link.o functions/mail.o f
unctions/math.o functions/iptc.o functions/md5.o functions/microtime.o functions
/mime.o functions/msql.o functions/mysql.o functions/oracle.o functions/oci8.o f
unctions/pack.o functions/pageinfo.o functions/pgsql.o functions/magick.o functi
ons/post.o functions/rand.o functions/reg.o functions/solid.o functions/soundex.
o functions/string.o functions/syslog.o functions/type.o functions/uniqid.o func
tions/sybase.o functions/sybase-ct.o functions/url.o functions/base64.o function
s/info.o functions/bcmath.o functions/number.o functions/xml.o functions/unified
_odbc.o functions/ldap.o functions/browscap.o functions/velocis.o functions/gdtt
f.o functions/gdcache.o functions/zlib.o functions/COM.o functions/ifx.o functio
ns/pdf.o functions/hw.o functions/hg_comm.o functions/dlist.o functions/fdf.o fu
nctions/wddx.o functions/wddx_a.o functions/snmp.o functions/var.o functions/int
erbase.o functions/quot_print.o functions/cyr_convert.o functions/sysvsem.o func
tions/dav.o functions/sysvshm.o functions/gettext.o functions/php3_mckcrypt.o fu
nctions/yp.o dbase/libdbf.a  -lgdbm                               -lz           
  -lm -lcrypt  -lresolv
internal_functions.o: Undefined symbol `_sysvsem_module_entry' referenced from d
ata segment
internal_functions.o: Undefined symbol `_sysvshm_module_entry' referenced from d
ata segment
functions/file.o: warning: tempnam() possibly used unsafely, use mkstemp() or mk
dtemp()
functions/mime.o: warning: tempnam() possibly used unsafely, use mkstemp() or mk
dtemp()
collect2: ld returned 1 exit status
*** Error code 1

Stop.
>How-To-Repeat:

Get pkgsrc.tar.gz dated Apr 1, 2000
cd www/php3
make
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted: