www/apache-httpd-openbsd doesn't make

2014-03-24 Thread Marcus MERIGHI
Hello, 

OpenBSD 5.5-current (GENERIC) #6: Wed Mar 19 18:06:25 MDT 2014
 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC

Upgraded via bsd.rd, full dmesg at the end of message and attached.

Ports tree updated via
env CVSROOT=anon...@mirror.osn.de:/cvs cvs -q \
  -danon...@mirror.osn.de:/cvs update -PdA ports

When I try to get me ye old httpd (current.html#20140313b) I see the
following: (inlined below and attached)

$ pwd
/usr/ports/www/apache-httpd-openbsd


FIRST RUN 
(Where's that ``Bad system call (core dumped)'' comming from?)

$ sudo env PORTSDIR=/home/openbsd/ports LC_ALL=C make

===  Verifying specs: c crypto m pthread ssl c crypto m pthread ssl
===  found c.73.1 crypto.23.0 m.9.0 pthread.18.0 ssl.20.0
===  Checking files for apache-httpd-openbsd-1.3p54
`/home/openbsd/ports/distfiles/apache-httpd-openbsd-1.3p54.tar.gz' is up to 
date.
 (SHA256) apache-httpd-openbsd-1.3p54.tar.gz: OK
===  Extracting for apache-httpd-openbsd-1.3p54
===  Patching for apache-httpd-openbsd-1.3p54
===  Configuring for apache-httpd-openbsd-1.3p54
===  Building for apache-httpd-openbsd-1.3p54
Configuring for Apache, Version 1.3.29
 + Hint: please use LDFLAGS instead of EXTRA_LDFLAGS next time
 + using installation path layout: OpenBSD (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Bad system call (core dumped) 
Creating Makefile in src
 + configured for OpenBSD platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + using tr [a-z] [A-Z] to uppercase
 + checking for system header files
 + enabling INET6 support
 + you have sa_len in struct sockaddr.
 + assuming you have struct sockaddr_storage
 + adding selected modules
 + using system Expat
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/modules/standard
diff -u 
/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/apache-httpd-openbsd-1.3p54/src/include/ap_config_auto.h
 
/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/apache-httpd-openbsd-1.3p54/src/include/ap_config_auto.h.new
--- 
/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/apache-httpd-openbsd-1.3p54/src/include/ap_config_auto.h
  Fri Jan  3 22:23:22 2014
+++ 
/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/apache-httpd-openbsd-1.3p54/src/include/ap_config_auto.h.new
  Mon Mar 24 15:12:36 2014
@@ -86,14 +86,4 @@
 #define HAVE_SOCKADDR_LEN 1
 #endif
 
-/* build flag: -DMOD_SSL=208116 */
-#ifndef MOD_SSL
-#define MOD_SSL 208116
-#endif
-
-/* build flag: -DEAPI */
-#ifndef EAPI
-#define EAPI 1
-#endif
-
 #endif /* AP_CONFIG_AUTO_H */
*** Error 1 in 
/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/apache-httpd-openbsd-1.3p54 
(Makefile.bsd-wrapper:640 
'/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/apache-httpd-openbsd-1.3p54/config.status')
*** Error 1 in . (/home/openbsd/ports/infrastructure/mk/bsd.port.mk:2686 
'/home/openbsd/ports/pobj/apache-httpd-openbsd-1.3/.build_done')
*** Error 1 in /home/openbsd/ports/www/apache-httpd-openbsd 
(/home/openbsd/ports/infrastructure/mk/bsd.port.mk:2419 'all')


SECOND RUN 

$ sudo env PORTSDIR=/home/openbsd/ports LC_ALL=C make

===  Building for apache-httpd-openbsd-1.3p54
mandoc -Tlint -Wfatal src/support/dbmmanage.1
mandoc -Tlint -Wfatal src/support/htdigest.1
mandoc -Tlint -Wfatal src/support/htpasswd.1
mandoc -Tlint -Wfatal src/support/apachectl.8
mandoc -Tlint -Wfatal src/support/logresolve.8
mandoc -Tlint -Wfatal httpd.8
mandoc -Tlint -Wfatal src/support/rotatelogs.8
mandoc -Tlint -Wfatal src/support/apxs.8
mandoc -Tlint -Wfatal src/support/suexec.8
=== src
=== src/os/unix
gcc -c  -I../../os/unix -I../../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  os.c
gcc -c  -I../../os/unix -I../../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  os-inline.c
rm -f libos.a
ar cr libos.a os.o os-inline.o
ranlib libos.a
=== src/os/unix
=== src/ap
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_cpystrn.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_execve.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_fnmatch.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_getpass.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_md5c.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_signal.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_slack.c
gcc -c  -I../os/unix -I../include   -DINET6 -Dss_family=__ss_family 
-Dss_len=__ss_len -DHAVE_SOCKADDR_LEN  ap_snprintf.c
gcc -c  

Re: www/apache-httpd-openbsd doesn't make

2014-03-24 Thread Florian Obser


On 03/24/2014 03:41 PM, Stuart Henderson wrote:
 On 2014/03/24 15:29, Marcus MERIGHI wrote:
 (Where's that ``Bad system call (core dumped)'' comming from?)
 
 It's coming from an old binary that you have lying around on your system
 which needs cleaning. Look for the core file for a clue as to what
 program. Fix that and re-try before looking at anything else.
 

my guess is nawk



Re: www/apache-httpd-openbsd doesn't make

2014-03-24 Thread Marcus MERIGHI
st...@openbsd.org (Stuart Henderson), 2014.03.24 (Mon) 15:41 (CET):
 On 2014/03/24 15:29, Marcus MERIGHI wrote:
  (Where's that ``Bad system call (core dumped)'' comming from?)
 
 It's coming from an old binary that you have lying around on your system
 which needs cleaning. Look for the core file for a clue as to what
 program. Fix that and re-try before looking at anything else.

Thanks for hand holding!

/usr/bin/nawk nawk(1) was the bad guy:

apache-httpd-openbsd-1.3p54/configure
awkpath=`sh $aux/PrintPath nawk gawk awk`

nawk:
StartEnd  Type Open Ref GrpRef Name
1c00 3c012000 exe  10   0  nawk
05d4b000 25d53000 rlib 01   0  /usr/lib/libm.so.5.3
05cbe000 25cf7000 rlib 01   0  /usr/lib/libc.so.55.0
07404000 07404000 rtld 01   0  /usr/libexec/ld.so
awk:
StartEnd  Type Open Ref GrpRef Name
16b1d000 36b2e000 exe  10   0  awk
021f6000 221ff000 rlib 01   0  /usr/lib/libm.so.9.0
07d8f000 27dbf000 rlib 01   0  /usr/lib/libc.so.73.1
0ee3b000 0ee3b000 rtld 01   0  /usr/libexec/ld.so

I suppose I did not follow some current.html advice in the past.

Thanks, Stuart and sorry for stealing your time once more.

Bye, Marcus