From nobody@FreeBSD.org  Wed Jun 27 10:45:33 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 6B79C1065674
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 10:45:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 538948FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 10:45:33 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q5RAjV6h051781
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 27 Jun 2012 10:45:31 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q5RAjVLa051777;
	Wed, 27 Jun 2012 10:45:31 GMT
	(envelope-from nobody)
Message-Id: <201206271045.q5RAjVLa051777@red.freebsd.org>
Date: Wed, 27 Jun 2012 10:45:31 GMT
From: "nostromo e." <nostromo@xover.mud.at>
To: freebsd-gnats-submit@FreeBSD.org
Subject: shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: olivier@cochard.me

>Number:         169483
>Category:       ports
>Synopsis:       www/shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    scheidell
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 10:50:08 UTC 2012
>Closed-Date:    Fri Jun 29 15:12:08 UTC 2012
>Last-Modified:  Thu Jul  5 12:40:03 UTC 2012
>Originator:     nostromo e.
>Release:        FreeBSD 8.1-RELEASE-p5
>Organization:
>Environment:
FreeBSD xxxxxxxx.xxxx.xxx 8.1-RELEASE-p5 FreeBSD 8.1-RELEASE-p5 #0: Tue Sep 27 16:49:00 UTC 2011     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
when trying to compile shellinabox from ports "make" stops
with an error when executing libtool/link.

/bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -static  -o shellinaboxd shellinaboxd.o  externalfile.o launcher.o privileges.o  service.o session.o usercss.o liblogging.la                                           libhttp.la -lz -lutil
libtool: link: cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -o shellinaboxd shellinaboxd.o externalfile.o launcher.o privileges.o service.o session.o usercss.o  ./.libs/liblogging.a ./.libs/libhttp.a -lz -lutil
*** Error code 1


old installed version ("shellinabox-2.10_3") compiled fine...
>How-To-Repeat:
$ cd /usr/ports/www/shellinabox
$ make
===>  License GPLv2 accepted by the user
===>  Found saved configuration for shellinabox-2.14
===>  Extracting for shellinabox-2.14
=> SHA256 Checksum OK for shellinabox-2.14.tar.gz.
===>  Patching for shellinabox-2.14
===>  Configuring for shellinabox-2.14
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking build system type... x86_64-unknown-freebsd8.1
checking host system type... x86_64-unknown-freebsd8.1
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking how to run the C preprocessor... cpp
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd8.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for an ANSI C-conforming const... yes
checking whether cc needs -traditional... no
checking libutil.h usability... yes
checking libutil.h presence... yes
checking for libutil.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking for strings.h... (cached) yes
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking for login_tty... no
checking for login_tty in -lutil... yes
checking for strlcat... yes
checking for getgrgid_r... yes
checking for getgrnam_r... yes
checking for gethostbyname_r... yes
checking for getpwnam_r... yes
checking for getpwuid_r... yes
checking for openpty... yes
checking for strcasestr... yes
checking for getresuid... yes
checking for getresgid... yes
checking for setresuid... yes
checking for setresgid... yes
checking openssl/bio.h usability... yes
checking openssl/bio.h presence... yes
checking for openssl/bio.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking security/pam_client.h usability... no
checking security/pam_client.h presence... no
checking for security/pam_client.h... no
checking security/pam_misc.h usability... no
checking security/pam_misc.h presence... no
checking for security/pam_misc.h... no
checking for dlopen... yes
checking for deflate in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===>  Building for shellinabox-2.14
od shellinabox/beep.wav >shellinabox/beep.h
od shellinabox/cgi_root.html >shellinabox/cgi_root.h
od shellinabox/enabled.gif >shellinabox/enabled.h
od shellinabox/favicon.ico >shellinabox/favicon.h
od shellinabox/keyboard.png >shellinabox/keyboard.h
od shellinabox/keyboard-layout.html >shellinabox/keyboard-layout.h
od shellinabox/print-styles.css >shellinabox/print-styles.h
od shellinabox/root_page.html >shellinabox/root_page.h
od shellinabox/shell_in_a_box.js >shellinabox/shell_in_a_box.h
od shellinabox/styles.css >shellinabox/styles.h
od shellinabox/vt100.js >shellinabox/vt100.h
make  all-am
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c -o hashmap.lo `test -f 'libhttp/hashmap.c' || echo './'`libhttp/hashmap.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c libhttp/hashmap.c  -fPIC -DPIC -o .libs/hashmap.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c libhttp/hashmap.c -o hashmap.o >/dev/null 2>&1
mv -f .deps/hashmap.Tpo .deps/hashmap.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c -o trie.lo `test -f 'libhttp/trie.c' || echo './'`libhttp/trie.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c libhttp/trie.c  -fPIC -DPIC -o .libs/trie.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c libhttp/trie.c -o trie.o >/dev/null 2>&1
mv -f .deps/trie.Tpo .deps/trie.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c -o httpconnection.lo `test -f 'libhttp/httpconnection.c' || echo './'`libhttp/httpconnection.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c libhttp/httpconnection.c  -fPIC -DPIC -o .libs/httpconnection.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c libhttp/httpconnection.c -o httpconnection.o >/dev/null 2>&1
mv -f .deps/httpconnection.Tpo .deps/httpconnection.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c -o server.lo `test -f 'libhttp/server.c' || echo './'`libhttp/server.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c libhttp/server.c  -fPIC -DPIC -o .libs/server.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c libhttp/server.c -o server.o >/dev/null 2>&1
mv -f .deps/server.Tpo .deps/server.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c -o ssl.lo `test -f 'libhttp/ssl.c' || echo './'`libhttp/ssl.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c libhttp/ssl.c  -fPIC -DPIC -o .libs/ssl.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c libhttp/ssl.c -o ssl.o >/dev/null 2>&1
mv -f .deps/ssl.Tpo .deps/ssl.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c -o url.lo `test -f 'libhttp/url.c' || echo './'`libhttp/url.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c libhttp/url.c  -fPIC -DPIC -o .libs/url.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c libhttp/url.c -o url.o >/dev/null 2>&1
mv -f .deps/url.Tpo .deps/url.Plo
/bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -export-symbols  ./libhttp/libhttp.sym      -version 1:0:0  -o libhttp.la  hashmap.lo trie.lo httpconnection.lo server.lo  ssl.lo url.lo   -lz -lutil
libtool: link: ar cru .libs/libhttp.a .libs/hashmap.o .libs/trie.o .libs/httpconnection.o .libs/server.o .libs/ssl.o .libs/url.o 
libtool: link: ranlib .libs/libhttp.a
libtool: link: ( cd ".libs" && rm -f "libhttp.la" && ln -s "../libhttp.la" "libhttp.la" )
/bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c -o logging.lo `test -f 'logging/logging.c' || echo './'`logging/logging.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c logging/logging.c  -fPIC -DPIC -o .libs/logging.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c logging/logging.c -o logging.o >/dev/null 2>&1
mv -f .deps/logging.Tpo .deps/logging.Plo
/bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -version 1:0:0  -o liblogging.la  logging.lo   -lz -lutil
libtool: link: ar cru .libs/liblogging.a .libs/logging.o 
libtool: link: ranlib .libs/liblogging.a
libtool: link: ( cd ".libs" && rm -f "liblogging.la" && ln -s "../liblogging.la" "liblogging.la" )
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT shellinaboxd.o -MD -MP -MF .deps/shellinaboxd.Tpo -c -o shellinaboxd.o `test -f 'shellinabox/shellinaboxd.c' || echo './'`shellinabox/shellinaboxd.c
mv -f .deps/shellinaboxd.Tpo .deps/shellinaboxd.Po
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT externalfile.o -MD -MP -MF .deps/externalfile.Tpo -c -o externalfile.o `test -f 'shellinabox/externalfile.c' || echo './'`shellinabox/externalfile.c
mv -f .deps/externalfile.Tpo .deps/externalfile.Po
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT launcher.o -MD -MP -MF .deps/launcher.Tpo -c -o launcher.o `test -f 'shellinabox/launcher.c' || echo './'`shellinabox/launcher.c
mv -f .deps/launcher.Tpo .deps/launcher.Po
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT privileges.o -MD -MP -MF .deps/privileges.Tpo -c -o privileges.o `test -f 'shellinabox/privileges.c' || echo './'`shellinabox/privileges.c
mv -f .deps/privileges.Tpo .deps/privileges.Po
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT service.o -MD -MP -MF .deps/service.Tpo -c -o service.o `test -f 'shellinabox/service.c' || echo './'`shellinabox/service.c
mv -f .deps/service.Tpo .deps/service.Po
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o `test -f 'shellinabox/session.c' || echo './'`shellinabox/session.c
mv -f .deps/session.Tpo .deps/session.Po
cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT usercss.o -MD -MP -MF .deps/usercss.Tpo -c -o usercss.o `test -f 'shellinabox/usercss.c' || echo './'`shellinabox/usercss.c
mv -f .deps/usercss.Tpo .deps/usercss.Po
/bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -static  -o shellinaboxd shellinaboxd.o  externalfile.o launcher.o privileges.o  service.o session.o usercss.o liblogging.la                                           libhttp.la -lz -lutil
libtool: link: cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -o shellinaboxd shellinaboxd.o externalfile.o launcher.o privileges.o service.o session.o usercss.o  ./.libs/liblogging.a ./.libs/libhttp.a -lz -lutil
*** Error code 1

Stop in /usr/ports/www/shellinabox/work/shellinabox-2.14.
*** Error code 1

Stop in /usr/ports/www/shellinabox/work/shellinabox-2.14.
*** Error code 1

Stop in /usr/ports/www/shellinabox.
*** Error code 1

Stop in /usr/ports/www/shellinabox.

>Fix:
maybe https://code.google.com/p/shellinabox/issues/detail?id=72 is related?
just guessing though...

>Release-Note:
>Audit-Trail:

From: "nostromo e." <nostromo@xover.htu.tuwien.ac.at>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/169483: shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Wed, 27 Jun 2012 13:05:30 +0200 (CEST)

 Sorry, the most important part, the error-message, got lost during cut&paste to the PR-form... :/
 so here it is:
 
 ===>  Building for shellinabox-2.14
 od shellinabox/beep.wav >shellinabox/beep.h
 od shellinabox/cgi_root.html >shellinabox/cgi_root.h
 od shellinabox/enabled.gif >shellinabox/enabled.h
 od shellinabox/favicon.ico >shellinabox/favicon.h
 od shellinabox/keyboard.png >shellinabox/keyboard.h
 od shellinabox/keyboard-layout.html >shellinabox/keyboard-layout.h
 od shellinabox/print-styles.css >shellinabox/print-styles.h
 od shellinabox/root_page.html >shellinabox/root_page.h
 od shellinabox/shell_in_a_box.js >shellinabox/shell_in_a_box.h
 od shellinabox/styles.css >shellinabox/styles.h
 od shellinabox/vt100.js >shellinabox/vt100.h
 make  all-am
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c -o hashmap.lo `test -f 'libhttp/hashmap.c' || echo './'`libhttp/hashmap.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c libhttp/hashmap.c  -fPIC -DPIC -o .libs/hashmap.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c libhttp/hashmap.c -o hashmap.o >/dev/null 2>&1
 mv -f .deps/hashmap.Tpo .deps/hashmap.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c -o trie.lo `test -f 'libhttp/trie.c' || echo './'`libhttp/trie.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c libhttp/trie.c  -fPIC -DPIC -o .libs/trie.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c libhttp/trie.c -o trie.o >/dev/null 2>&1
 mv -f .deps/trie.Tpo .deps/trie.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c -o httpconnection.lo `test -f 'libhttp/httpconnection.c' || echo './'`libhttp/httpconnection.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c libhttp/httpconnection.c  -fPIC -DPIC -o .libs/httpconnection.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c libhttp/httpconnection.c -o httpconnection.o >/dev/null 2>&1
 mv -f .deps/httpconnection.Tpo .deps/httpconnection.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c -o server.lo `test -f 'libhttp/server.c' || echo './'`libhttp/server.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c libhttp/server.c  -fPIC -DPIC -o .libs/server.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c libhttp/server.c -o server.o >/dev/null 2>&1
 mv -f .deps/server.Tpo .deps/server.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c -o ssl.lo `test -f 'libhttp/ssl.c' || echo './'`libhttp/ssl.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c libhttp/ssl.c  -fPIC -DPIC -o .libs/ssl.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c libhttp/ssl.c -o ssl.o >/dev/null 2>&1
 mv -f .deps/ssl.Tpo .deps/ssl.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c -o url.lo `test -f 'libhttp/url.c' || echo './'`libhttp/url.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c libhttp/url.c  -fPIC -DPIC -o .libs/url.o
 libhttp/url.c: In function 'urlGetURL':
 libhttp/url.c:421: warning: implicit declaration of function 'snprintf'
 libhttp/url.c:421: warning: incompatible implicit declaration of built-in function 'snprintf'
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c libhttp/url.c -o url.o >/dev/null 2>&1
 mv -f .deps/url.Tpo .deps/url.Plo
 /bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -export-symbols  ./libhttp/libhttp.sym      -version 1:0:0  -o libhttp.la  hashmap.lo trie.lo httpconnection.lo server.lo  ssl.lo url.lo   -lz -lutil
 libtool: link: ar cru .libs/libhttp.a .libs/hashmap.o .libs/trie.o .libs/httpconnection.o .libs/server.o .libs/ssl.o .libs/url.o 
 libtool: link: ranlib .libs/libhttp.a
 libtool: link: ( cd ".libs" && rm -f "libhttp.la" && ln -s "../libhttp.la" "libhttp.la" )
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c -o logging.lo `test -f 'logging/logging.c' || echo './'`logging/logging.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c logging/logging.c  -fPIC -DPIC -o .libs/logging.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c logging/logging.c -o logging.o >/dev/null 2>&1
 mv -f .deps/logging.Tpo .deps/logging.Plo
 /bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -version 1:0:0  -o liblogging.la  logging.lo   -lz -lutil
 libtool: link: ar cru .libs/liblogging.a .libs/logging.o 
 libtool: link: ranlib .libs/liblogging.a
 libtool: link: ( cd ".libs" && rm -f "liblogging.la" && ln -s "../liblogging.la" "liblogging.la" )
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT shellinaboxd.o -MD -MP -MF .deps/shellinaboxd.Tpo -c -o shellinaboxd.o `test -f 'shellinabox/shellinaboxd.c' || echo './'`shellinabox/shellinaboxd.c
 mv -f .deps/shellinaboxd.Tpo .deps/shellinaboxd.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT externalfile.o -MD -MP -MF .deps/externalfile.Tpo -c -o externalfile.o `test -f 'shellinabox/externalfile.c' || echo './'`shellinabox/externalfile.c
 mv -f .deps/externalfile.Tpo .deps/externalfile.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT launcher.o -MD -MP -MF .deps/launcher.Tpo -c -o launcher.o `test -f 'shellinabox/launcher.c' || echo './'`shellinabox/launcher.c
 mv -f .deps/launcher.Tpo .deps/launcher.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT privileges.o -MD -MP -MF .deps/privileges.Tpo -c -o privileges.o `test -f 'shellinabox/privileges.c' || echo './'`shellinabox/privileges.c
 mv -f .deps/privileges.Tpo .deps/privileges.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT service.o -MD -MP -MF .deps/service.Tpo -c -o service.o `test -f 'shellinabox/service.c' || echo './'`shellinabox/service.c
 mv -f .deps/service.Tpo .deps/service.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o `test -f 'shellinabox/session.c' || echo './'`shellinabox/session.c
 mv -f .deps/session.Tpo .deps/session.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT usercss.o -MD -MP -MF .deps/usercss.Tpo -c -o usercss.o `test -f 'shellinabox/usercss.c' || echo './'`shellinabox/usercss.c
 mv -f .deps/usercss.Tpo .deps/usercss.Po
 /bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -static  -o shellinaboxd shellinaboxd.o  externalfile.o launcher.o privileges.o  service.o session.o usercss.o liblogging.la                                           libhttp.la -lz -lutil
 libtool: link: cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -o shellinaboxd shellinaboxd.o externalfile.o launcher.o privileges.o service.o session.o usercss.o  ./.libs/liblogging.a ./.libs/libhttp.a -lz -lutil
 launcher.o(.text+0x10df): In function `x_pututxline':
 shellinabox/launcher.c:212: undefined reference to `pututxline'
 launcher.o(.text+0x1277):shellinabox/launcher.c:238: undefined reference to `pututxline'
 launcher.o(.text+0x17ab): In function `internalLogin':
 shellinabox/launcher.c:1200: undefined reference to `setutxent'
 launcher.o(.text+0x17be):shellinabox/launcher.c:1202: undefined reference to `endutxent'
 launcher.o(.text+0x21f6): In function `childProcess':
 shellinabox/launcher.c:1495: undefined reference to `setutxent'
 launcher.o(.text+0x2242):shellinabox/launcher.c:1502: undefined reference to `endutxent'
 launcher.o(.text+0x31e8): In function `destroyUtmp':
 shellinabox/launcher.c:640: undefined reference to `setutxent'
 launcher.o(.text+0x31f6):shellinabox/launcher.c:642: undefined reference to `endutxent'
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox/work/shellinabox-2.14.
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox/work/shellinabox-2.14.
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox.
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox.
Class-Changed-From-To: maintainer-update->change-request 
Class-Changed-By: edwin 
Class-Changed-When: Wed Jun 27 11:16:40 UTC 2012 
Class-Changed-Why:  
Fix category (submitter is not maintainer) (via the GNATS Auto Assign 
Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169483 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 27 11:16:44 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169483 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: olivier@cochard.me
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link
Date: Wed, 27 Jun 2012 11:16:42 UT

 Maintainer of www/shellinabox,
 
 Please note that PR ports/169483 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169483
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
Responsible-Changed-From-To: freebsd-ports-bugs->scheidell 
Responsible-Changed-By: scheidell 
Responsible-Changed-When: Thu Jun 28 10:14:34 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169483 

From: Michael Scheidell <scheidell@FreeBSD.org>
To: <bug-followup@FreeBSD.org>, <nostromo@xover.mud.at>
Cc:  
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Thu, 28 Jun 2012 06:29:13 -0400

 --------------040501030609050301060808
 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
 Content-Transfer-Encoding: 7bit
 
 it appears to compile just fine with default options, in a tinderbox 
 ('clean install'), on FreeBSD 8.3, AMD64.
 Did you change the default for 'CORES' or 'MANPAGES'?
 Is here anything in your make.conf that might affect the build?
 Do you have a clean, updated ports tree? (this port was updated on July 
 10th to use OptionsNG, do you have an updated ports tree?)
 
 sometimes, older versions of libtool conflict with systems, do a 'locate 
 libtool' and make sure you don't have pieces of older versions around.
 (try updating libtool, automake and autoconf while you are at it)
 
 8.1 is an older, unsupported version, and that might be the problem.
 Have you tried this on one of the current, supported versions?  like 8.3?
 
 If this error is specific to 8.1, we are sorry, but at certain points in 
 the life of a release, it is no longer feasible to continue to maintain 
 older versions.
 We don't have older versions around to test against, and resources are 
 always lacking.
 
 Your best bet it to upgrade your OS and try again.
 
 -- 
 Michael Scheidell, CTO
  >*| * SECNAP Network Security Corporation
 d: +1.561.948.2259
 w: http://people.freebsd.org/~scheidell
 
 --------------040501030609050301060808
 Content-Type: text/html; charset="ISO-8859-1"
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
   <head>
 
     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
   </head>
   <body bgcolor="#ffffff" text="#000000">
     it appears to compile just fine with default options, in a tinderbox
     ('clean install'), on FreeBSD 8.3, AMD64.<br>
     Did you change the default for 'CORES' or 'MANPAGES'?<br>
     Is here anything in your make.conf that might affect the build?<br>
     Do you have a clean, updated ports tree? (this port was updated on
     July 10th to use OptionsNG, do you have an updated ports tree?)<br>
     <br>
     sometimes, older versions of libtool conflict with systems, do a
     'locate libtool' and make sure you don't have pieces of older
     versions around.<br>
     (try updating libtool, automake and autoconf while you are at it)<br>
     <br>
     8.1 is an older, unsupported version, and that might be the problem.<br>
     Have you tried this on one of the current, supported versions?&nbsp; like
     8.3?<br>
     <br>
     If this error is specific to 8.1, we are sorry, but at certain
     points in the life of a release, it is no longer feasible to
     continue to maintain older versions.<br>
     We don't have older versions around to test against, and resources
     are always lacking.<br>
     <br>
     Your best bet it to upgrade your OS and try again.<br>
     <br>
     <div class="moz-signature">-- <br>
       Michael Scheidell, CTO<br>
       <font color="#999999">&gt;</font><font color="#cc0000"> <b>| </b></font>
       SECNAP Network Security Corporation<br>
       d: +1.561.948.2259<br>
       w: <a class="moz-txt-link-freetext" href="http://people.freebsd.org/~scheidell">http://people.freebsd.org/~scheidell</a>
     </div>
   </body>
 </html>
 
 --------------040501030609050301060808--

From: Michael Scheidell <scheidell@FreeBSD.org>
To: <bug-followup@FreeBSD.org>, <nostromo@xover.mud.at>
Cc:  
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Thu, 28 Jun 2012 06:30:21 -0400

 --------------010405090209030000040201
 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Sorry, here is the build log, check carefully the environment vars, vs 
 yours in your make.conf
 <http://lorie.secnap.net/tb/logs/8-scheidell_AMD64/shellinabox-2.14.log>
 
 -- 
 Michael Scheidell, CTO
  >*| * SECNAP Network Security Corporation
 d: +1.561.948.2259
 w: http://people.freebsd.org/~scheidell
 
 --------------010405090209030000040201
 Content-Type: text/html; charset="ISO-8859-1"
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
   <head>
 
     <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
   </head>
   <body bgcolor="#ffffff" text="#000000">
     Sorry, here is the build log, check carefully the environment vars,
     vs yours in your make.conf<br>
 <a class="moz-txt-link-rfc2396E" href="http://lorie.secnap.net/tb/logs/8-scheidell_AMD64/shellinabox-2.14.log">&lt;http://lorie.secnap.net/tb/logs/8-scheidell_AMD64/shellinabox-2.14.log&gt;</a><br>
     <br>
     <div class="moz-signature">-- <br>
       Michael Scheidell, CTO<br>
       <font color="#999999">&gt;</font><font color="#cc0000"> <b>| </b></font>
       SECNAP Network Security Corporation<br>
       d: +1.561.948.2259<br>
       w: <a class="moz-txt-link-freetext" href="http://people.freebsd.org/~scheidell">http://people.freebsd.org/~scheidell</a>
     </div>
   </body>
 </html>
 
 --------------010405090209030000040201--

From: Nostromo Eiljeen <nostromo@xover.htu.tuwien.ac.at>
To: Michael Scheidell <scheidell@FreeBSD.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Thu, 28 Jun 2012 15:04:49 +0200 (CEST)

 ,--- On 28 Jun 2012, Michael Scheidell remarked: ---
 |
 | it appears to compile just fine with default options, in a tinderbox ('clean install'), on FreeBSD 8.3, AMD64.
 |
 | Did you change the default for 'CORES' or 'MANPAGES'?
 |
 
 no. also if i un-/check any/all of them, it still refuses to compile.
 
 
 | Is here anything in your make.conf that might affect the build?
 |
 
 should not. but here's the content of my /etc/make.conf:
 
   PERL_VERSION=5.14.2
   WITHOUT_X11=yes
   WITHOUT_CUPS=yes
   WITHOUT_PRINT=yes
 
 
 | Do you have a clean, updated ports tree? (this port was updated on July 10th to use OptionsNG, do you have an updated ports tree?)
 | 
 
 yop. i have a script that updates the ports tree, then does the port-
 upgrade. also i removed the shellinabox dir in /usr/ports/www, and had
 it refetched via cvsup. so it all should be the latest version.
 
 
 | sometimes, older versions of libtool conflict with systems, do a 'locate libtool' and make sure you don't have pieces of older versions around.
 | (try updating libtool, automake and autoconf while you are at it)
 | 
 
 i recompiled libtool, autoconf, automake, no change. i also did a
 "portupgrade -r" for libtool, autoconf, and automake. still no success.
 
 
 | 8.1 is an older, unsupported version, and that might be the problem.
 | Have you tried this on one of the current, supported versions? like 8.3?
 |
 
 nope, only have this 8.1 box. but since i considered upgrading for quite
 a while now, i think this is a good time now.
 
  
 | If this error is specific to 8.1, we are sorry, but at certain points in the life of a release, it is no longer feasible to continue to maintain older versions.
 | We don't have older versions around to test against, and resources are always lacking.
 | 
 
 yop, makes sense. since it seems i'm the only one with this problem, i'm
 pretty sure upgrading will solve it. thus... i think this issue can be
 closed.
 
 
 | Your best bet it to upgrade your OS and try again.
 | 
 
 will do :)
 thanks for your support!
 
 
 br, nos
State-Changed-From-To: feedback->closed 
State-Changed-By: scheidell 
State-Changed-When: Thu Jun 28 13:17:42 UTC 2012 
State-Changed-Why:  
Closed at submitters request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169483 

From: "nostromo e." <nostromo@xover.htu.tuwien.ac.at>
To: scheidell@FreeBSD.org
Cc: olivier@cochard.me, bug-followup@FreeBSD.org
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Fri, 29 Jun 2012 11:09:19 +0200 (CEST)

 ,--- On 28 Jun 2012, scheidell@FreeBSD.org remarked: ---
 |
 | Synopsis: www/shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link
 | 
 | State-Changed-From-To: feedback->closed
 | State-Changed-By: scheidell
 | State-Changed-When: Thu Jun 28 13:17:42 UTC 2012
 | State-Changed-Why: 
 | Closed at submitters request.
 | 
 | http://www.freebsd.org/cgi/query-pr.cgi?pr=169483
 | 
 
 hm... i'm sorry to inform you that even after upgrading to freebsd 8.3-
 RELEASE-p3 it does not compile. same error message, again the linker.
 autoconf/automake/libtool recompiled on new 8.3. again removed /usr/\
 ports/www/shellinabox and fetched the latest from ports via cvsup.
 
 if you need any more information about my system, please let me know.
 
 
 $ uname -a
 FreeBSD xxxxxxxx.xxxx.xxx 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #1: Fri Jun 29 09:27:42 CEST 2012     root@xxxxxxxx.xxxx.xxx:/usr/obj/usr/src/sys/CUSTOM  amd64
 
 $ cat /var/db/ports/shellinabox/options
 # This file is auto-generated by 'make config'.
 # Options for shellinabox-2.14
 _OPTIONS_READ=shellinabox-2.14
 _FILE_COMPLETE_OPTIONS_LIST=CORES MANPAGES
 OPTIONS_FILE_UNSET+=CORES
 OPTIONS_FILE_UNSET+=MANPAGES
 
 $ cat /etc/make.conf
 PERL_VERSION=5.14.2
 WITHOUT_X11=yes
 WITHOUT_CUPS=yes
 WITHOUT_PRINT=yes
 
 $ make
 ===>  License GPLv2 accepted by the user
 ===>  Found saved configuration for shellinabox-2.14
 ===>  Extracting for shellinabox-2.14
 => SHA256 Checksum OK for shellinabox-2.14.tar.gz.
 ===>  Patching for shellinabox-2.14
 ===>  Configuring for shellinabox-2.14
 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... ./install-sh -c -d
 checking for gawk... no
 checking for mawk... no
 checking for nawk... nawk
 checking whether make sets $(MAKE)... yes
 checking for gcc... cc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether cc accepts -g... yes
 checking for cc option to accept ISO C89... none needed
 checking for style of include used by make... GNU
 checking dependency style of cc... gcc3
 checking build system type... x86_64-unknown-freebsd8.3
 checking host system type... x86_64-unknown-freebsd8.3
 checking for a sed that does not truncate output... /usr/bin/sed
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for fgrep... /usr/bin/grep -F
 checking for ld used by cc... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
 checking the name lister (/usr/bin/nm -B) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 196608
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands "+="... no
 checking for /usr/bin/ld option to reload object files... -r
 checking for objdump... objdump
 checking how to recognize dependent libraries... pass_all
 checking for ar... ar
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /usr/bin/nm -B output from cc object... ok
 checking how to run the C preprocessor... cpp
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if cc supports -fno-rtti -fno-exceptions... no
 checking for cc option to produce PIC... -fPIC -DPIC
 checking if cc PIC flag -fPIC -DPIC works... yes
 checking if cc static flag -static works... yes
 checking if cc supports -c -o file.o... yes
 checking if cc supports -c -o file.o... (cached) yes
 checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... freebsd8.3 ld.so
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for an ANSI C-conforming const... yes
 checking whether cc needs -traditional... no
 checking libutil.h usability... yes
 checking libutil.h presence... yes
 checking for libutil.h... yes
 checking pthread.h usability... yes
 checking pthread.h presence... yes
 checking for pthread.h... yes
 checking pty.h usability... no
 checking pty.h presence... no
 checking for pty.h... no
 checking for strings.h... (cached) yes
 checking sys/prctl.h usability... no
 checking sys/prctl.h presence... no
 checking for sys/prctl.h... no
 checking sys/uio.h usability... yes
 checking sys/uio.h presence... yes
 checking for sys/uio.h... yes
 checking util.h usability... no
 checking util.h presence... no
 checking for util.h... no
 checking utmp.h usability... yes
 checking utmp.h presence... yes
 checking for utmp.h... yes
 checking utmpx.h usability... yes
 checking utmpx.h presence... yes
 checking for utmpx.h... yes
 checking for login_tty... no
 checking for login_tty in -lutil... yes
 checking for strlcat... yes
 checking for getgrgid_r... yes
 checking for getgrnam_r... yes
 checking for gethostbyname_r... yes
 checking for getpwnam_r... yes
 checking for getpwuid_r... yes
 checking for openpty... yes
 checking for strcasestr... yes
 checking for getresuid... yes
 checking for getresgid... yes
 checking for setresuid... yes
 checking for setresgid... yes
 checking openssl/bio.h usability... yes
 checking openssl/bio.h presence... yes
 checking for openssl/bio.h... yes
 checking openssl/err.h usability... yes
 checking openssl/err.h presence... yes
 checking for openssl/err.h... yes
 checking openssl/ssl.h usability... yes
 checking openssl/ssl.h presence... yes
 checking for openssl/ssl.h... yes
 checking security/pam_appl.h usability... yes
 checking security/pam_appl.h presence... yes
 checking for security/pam_appl.h... yes
 checking security/pam_client.h usability... no
 checking security/pam_client.h presence... no
 checking for security/pam_client.h... no
 checking security/pam_misc.h usability... no
 checking security/pam_misc.h presence... no
 checking for security/pam_misc.h... no
 checking for dlopen... yes
 checking for deflate in -lz... yes
 checking zlib.h usability... yes
 checking zlib.h presence... yes
 checking for zlib.h... yes
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating config.h
 config.status: executing depfiles commands
 config.status: executing libtool commands
 ===>  Building for shellinabox-2.14
 od shellinabox/beep.wav >shellinabox/beep.h
 od shellinabox/cgi_root.html >shellinabox/cgi_root.h
 od shellinabox/enabled.gif >shellinabox/enabled.h
 od shellinabox/favicon.ico >shellinabox/favicon.h
 od shellinabox/keyboard.png >shellinabox/keyboard.h
 od shellinabox/keyboard-layout.html >shellinabox/keyboard-layout.h
 od shellinabox/print-styles.css >shellinabox/print-styles.h
 od shellinabox/root_page.html >shellinabox/root_page.h
 od shellinabox/shell_in_a_box.js >shellinabox/shell_in_a_box.h
 od shellinabox/styles.css >shellinabox/styles.h
 od shellinabox/vt100.js >shellinabox/vt100.h
 make  all-am
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c -o hashmap.lo `test -f 'libhttp/hashmap.c' || echo './'`libhttp/hashmap.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c libhttp/hashmap.c  -fPIC -DPIC -o .libs/hashmap.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT hashmap.lo -MD -MP -MF .deps/hashmap.Tpo -c libhttp/hashmap.c -o hashmap.o >/dev/null 2>&1
 mv -f .deps/hashmap.Tpo .deps/hashmap.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c -o trie.lo `test -f 'libhttp/trie.c' || echo './'`libhttp/trie.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c libhttp/trie.c  -fPIC -DPIC -o .libs/trie.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT trie.lo -MD -MP -MF .deps/trie.Tpo -c libhttp/trie.c -o trie.o >/dev/null 2>&1
 mv -f .deps/trie.Tpo .deps/trie.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c -o httpconnection.lo `test -f 'libhttp/httpconnection.c' || echo './'`libhttp/httpconnection.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c libhttp/httpconnection.c  -fPIC -DPIC -o .libs/httpconnection.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT httpconnection.lo -MD -MP -MF .deps/httpconnection.Tpo -c libhttp/httpconnection.c -o httpconnection.o >/dev/null 2>&1
 mv -f .deps/httpconnection.Tpo .deps/httpconnection.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c -o server.lo `test -f 'libhttp/server.c' || echo './'`libhttp/server.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c libhttp/server.c  -fPIC -DPIC -o .libs/server.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT server.lo -MD -MP -MF .deps/server.Tpo -c libhttp/server.c -o server.o >/dev/null 2>&1
 mv -f .deps/server.Tpo .deps/server.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c -o ssl.lo `test -f 'libhttp/ssl.c' || echo './'`libhttp/ssl.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c libhttp/ssl.c  -fPIC -DPIC -o .libs/ssl.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT ssl.lo -MD -MP -MF .deps/ssl.Tpo -c libhttp/ssl.c -o ssl.o >/dev/null 2>&1
 mv -f .deps/ssl.Tpo .deps/ssl.Plo
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c -o url.lo `test -f 'libhttp/url.c' || echo './'`libhttp/url.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c libhttp/url.c  -fPIC -DPIC -o .libs/url.o
 libhttp/url.c: In function 'urlGetURL':
 libhttp/url.c:421: warning: implicit declaration of function 'snprintf'
 libhttp/url.c:421: warning: incompatible implicit declaration of built-in function 'snprintf'
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT url.lo -MD -MP -MF .deps/url.Tpo -c libhttp/url.c -o url.o >/dev/null 2>&1
 mv -f .deps/url.Tpo .deps/url.Plo
 /bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -export-symbols  ./libhttp/libhttp.sym      -version 1:0:0  -o libhttp.la  hashmap.lo trie.lo httpconnection.lo server.lo  ssl.lo url.lo   -lz -lutil
 libtool: link: ar cru .libs/libhttp.a .libs/hashmap.o .libs/trie.o .libs/httpconnection.o .libs/server.o .libs/ssl.o .libs/url.o
 libtool: link: ranlib .libs/libhttp.a
 libtool: link: ( cd ".libs" && rm -f "libhttp.la" && ln -s "../libhttp.la" "libhttp.la" )
 /bin/sh ./libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c -o logging.lo `test -f 'logging/logging.c' || echo './'`logging/logging.c
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c logging/logging.c  -fPIC -DPIC -o .libs/logging.o
 libtool: compile:  cc -DHAVE_CONFIG_H -I. -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT logging.lo -MD -MP -MF .deps/logging.Tpo -c logging/logging.c -o logging.o >/dev/null 2>&1
 mv -f .deps/logging.Tpo .deps/logging.Plo
 /bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -version 1:0:0  -o liblogging.la  logging.lo   -lz -lutil
 libtool: link: ar cru .libs/liblogging.a .libs/logging.o
 libtool: link: ranlib .libs/liblogging.a
 libtool: link: ( cd ".libs" && rm -f "liblogging.la" && ln -s "../liblogging.la" "liblogging.la" )
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT shellinaboxd.o -MD -MP -MF .deps/shellinaboxd.Tpo -c -o shellinaboxd.o `test -f 'shellinabox/shellinaboxd.c' || echo './'`shellinabox/shellinaboxd.c
 mv -f .deps/shellinaboxd.Tpo .deps/shellinaboxd.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT externalfile.o -MD -MP -MF .deps/externalfile.Tpo -c -o externalfile.o `test -f 'shellinabox/externalfile.c' || echo './'`shellinabox/externalfile.c
 mv -f .deps/externalfile.Tpo .deps/externalfile.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT launcher.o -MD -MP -MF .deps/launcher.Tpo -c -o launcher.o `test -f 'shellinabox/launcher.c' || echo './'`shellinabox/launcher.c
 mv -f .deps/launcher.Tpo .deps/launcher.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT privileges.o -MD -MP -MF .deps/privileges.Tpo -c -o privileges.o `test -f 'shellinabox/privileges.c' || echo './'`shellinabox/privileges.c
 mv -f .deps/privileges.Tpo .deps/privileges.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT service.o -MD -MP -MF .deps/service.Tpo -c -o service.o `test -f 'shellinabox/service.c' || echo './'`shellinabox/service.c
 mv -f .deps/service.Tpo .deps/service.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o `test -f 'shellinabox/session.c' || echo './'`shellinabox/session.c
 mv -f .deps/session.Tpo .deps/session.Po
 cc -DHAVE_CONFIG_H -I.    -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -MT usercss.o -MD -MP -MF .deps/usercss.Tpo -c -o usercss.o `test -f 'shellinabox/usercss.c' || echo './'`shellinabox/usercss.c
 mv -f .deps/usercss.Tpo .deps/usercss.Po
 /bin/sh ./libtool --tag=CC    --mode=link cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing  -static  -o shellinaboxd shellinaboxd.o  externalfile.o launcher.o privileges.o  service.o session.o usercss.o liblogging.la                                           libhttp.la -lz -lutil
 libtool: link: cc -g -std=gnu99 -Wall -O2 -pipe -fno-strict-aliasing -o shellinaboxd shellinaboxd.o externalfile.o launcher.o privileges.o service.o session.o usercss.o  ./.libs/liblogging.a ./.libs/libhttp.a -lz -lutil
 launcher.o(.text+0x10df): In function `x_pututxline':
 shellinabox/launcher.c:212: undefined reference to `pututxline'
 launcher.o(.text+0x1277):shellinabox/launcher.c:238: undefined reference to `pututxline'
 launcher.o(.text+0x17ab): In function `internalLogin':
 shellinabox/launcher.c:1200: undefined reference to `setutxent'
 launcher.o(.text+0x17be):shellinabox/launcher.c:1202: undefined reference to `endutxent'
 launcher.o(.text+0x21f6): In function `childProcess':
 shellinabox/launcher.c:1495: undefined reference to `setutxent'
 launcher.o(.text+0x2242):shellinabox/launcher.c:1502: undefined reference to `endutxent'
 launcher.o(.text+0x31e8): In function `destroyUtmp':
 shellinabox/launcher.c:640: undefined reference to `setutxent'
 launcher.o(.text+0x31f6):shellinabox/launcher.c:642: undefined reference to `endutxent'
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox/work/shellinabox-2.14.
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox/work/shellinabox-2.14.
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox.
 *** Error code 1
 
 Stop in /usr/ports/www/shellinabox.
State-Changed-From-To: closed->open 
State-Changed-By: scheidell 
State-Changed-When: Fri Jun 29 09:28:54 UTC 2012 
State-Changed-Why:  
Well, you need to find out what is different about your portstree. what 
is installed that should not be, what needs to be cleaned up.  As I 
showed in logs, it builds just find in a 'clean' 8.3 AMD64 FreeBSD.  If 
you can tell what is different, MAYBE we can fix it.  Or, you need to 
fix what is broken on your system.  Leaving this open for now, in case 
someone else finds this problem. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169483 

From: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To: bug-followup@freebsd.org, nostromo@xover.mud.at
Cc:  
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Fri, 29 Jun 2012 17:09:19 +0200

 Hi all,
 I can't reproduce the problem using ports-mgmt/poudriere too:
 
 poudriere jail -m csup -c -v RELENG_8_1 -a amd64 -j 81amd64
 poudriere testport -j 81amd64 -d /usr/ports/www/shellinabox
 => shellinabox build with success
 
 Regards,
 
 Olivier
State-Changed-From-To: open->closed 
State-Changed-By: scheidell 
State-Changed-When: Fri Jun 29 15:12:06 UTC 2012 
State-Changed-Why:  
Looks like a local problem. We suggest you join and email freebsd-ports@ 
and ask for assistance. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=169483 

From: "nostromo e." <nostromo@xover.htu.tuwien.ac.at>
To: =?ISO-8859-15?Q?Olivier_Cochard-Labb=E9?= <olivier@cochard.me>
Cc: bug-followup@freebsd.org
Subject: Re: ports/169483: www/shellinabox fails to compile on 8.1-RELEASE-p5
 when running libtool/link
Date: Thu, 5 Jul 2012 14:39:16 +0200 (CEST)

   This message is in MIME format.  The first part should be readable text,
   while the remaining parts are likely unreadable without MIME-aware tools.
 
 ---2105534881-86288207-1341491981=:25300
 Content-Type: TEXT/PLAIN; charset=ISO-8859-1
 Content-Transfer-Encoding: 8BIT
 
 ,--- On 29 Jun 2012, Olivier Cochard-Labb remarked: ---
 |
 | Hi all,
 | I can't reproduce the problem using ports-mgmt/poudriere too:
 | 
 | poudriere jail -m csup -c -v RELENG_8_1 -a amd64 -j 81amd64
 | poudriere testport -j 81amd64 -d /usr/ports/www/shellinabox
 | => shellinabox build with success
 | 
 | [...]
 |
 
 i had a little time to look into it again. i found out that
 by removing my /usr/include/utmpx.h header-file shellinabox
 compiles just fine. though it fixed my problem, i do not
 know what it does to this bug report, since i guess it's
 not a shellinabox-bug anymore (and actually has never been).
 
 as far as it concerns me, this bug can be closed. if there
 are any further questions, or you need any further information,
 please let me know, i'd be happy to contribute.
 
 
 br,
    nos
 ---2105534881-86288207-1341491981=:25300--
>Unformatted:
