From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 27 11:10:14 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3B121065741 for ; Wed, 27 Jun 2012 11:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4F08FC1B for ; Wed, 27 Jun 2012 11:10:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q5RBAEjG098052 for ; Wed, 27 Jun 2012 11:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q5RBAESU098051; Wed, 27 Jun 2012 11:10:14 GMT (envelope-from gnats) Date: Wed, 27 Jun 2012 11:10:14 GMT Message-Id: <201206271110.q5RBAESU098051@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "nostromo e." Cc: Subject: Re: ports/169483: shellinabox fails to compile on 8.1-RELEASE-p5 when running libtool/link X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "nostromo e." List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2012 11:10:14 -0000 The following reply was made to PR ports/169483; it has been noted by GNATS. From: "nostromo e." 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.