Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2012 10:45:31 GMT
From:      "nostromo e." <nostromo@xover.mud.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/169483: shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link
Message-ID:  <201206271045.q5RAjVLa051777@red.freebsd.org>
Resent-Message-ID: <201206271050.q5RAo9mF073375@freefall.freebsd.org>

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

>Number:         169483
>Category:       ports
>Synopsis:       shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 27 10:50:08 UTC 2012
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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