From owner-freebsd-ports@freebsd.org Tue Nov 15 16:44:53 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8AD80C43706 for ; Tue, 15 Nov 2016 16:44:53 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6219610DF for ; Tue, 15 Nov 2016 16:44:52 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 8FBE820D4F for ; Tue, 15 Nov 2016 11:44:46 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 15 Nov 2016 11:44:46 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=zyxst.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=mVN8yVR+pgG2MXw5leIHEGoj/7g=; b=Ypusnw 3OuMUmFa0VQiRRzR1U73asxHozQ4xiNylOZ39CKHO72kbaUGiyN0cr7ZOmOxcsz1 mZfr57MTbBQKZvfOMPQuuSONGh0QCKj5OfGg4Ps2och0wCQVLtRpg4t5h1LWly6W WMcF4VXD3RljutM+6fT9InWt0ve3t02wC2AJo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=mVN8yVR+pgG2MX w5leIHEGoj/7g=; b=CHUat3Z8QWTgcbXrr9HjdLnNjTN4VTZWsQDFg5p7PPpPgh 1dQFX+SB8b/YINXeYaqwWNqORZ7jGkyVQYZu2dPsX5B2KvmyQSQiwvVeN+EtD9jn Inhhhp1jBzAvw98H7FqDHp7PXpU/mLJOOnae+nSwo3JagH/uJOP6PDgCrod2Q= X-ME-Sender: X-Sasl-enc: 5efvmmaXlHsxSt5fSfOoR6RwHkzPIHcE7CalqlhjB2jR 1479228286 Received: from pumpkin.growveg.org (pumpkin.growveg.org [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 13DFF7E429 for ; Tue, 15 Nov 2016 11:44:45 -0500 (EST) To: freebsd-ports@freebsd.org From: tech-lists Subject: wireshark won't build Message-ID: Date: Tue, 15 Nov 2016 16:44:43 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Nov 2016 16:44:53 -0000 Hello ports@, I'm having problems building wireshark. System runs freebsd-stable r308206 and ports is 426176. /etc/make.conf looks like this: DEFAULT_VERSIONS+=ssl=libressl-devel make config has KRB_NONE selected, all other options are the defaults. Just in case, I also ran make rmconfig (before selecting KRB_NONE otherwise it selects kerebos support in base system and I don't have kerebos, so it complains. I also ran make rmconfig-recursive, and in /usr/src ran yes | make delete-old and yes | make delete-old-libs. Yet it still doesn't build. It DOES build on a vanilla freebsd-CURRENT machine. That machine also has the same /etc/make.conf. I also tried MAKE_JOBS_UNSAFE as suggested. I'm stumped. Can anyone help please? Here is the output leading up to the failure. mv -f $depbase.Tpo $depbase.Po /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wc++-compat -Wdeclaration-after-statement -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Qunused-arguments -fvisibility=hidden -Wc99-extensions -O2 -pipe -funit-at-a-time -fstack-protector -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -o randpktdump randpktdump.o extcap-base.o ../randpkt_core/librandpkt_core.a ../wiretap/libwiretap.la ../wsutil/libwsutil.la -L/usr/local/lib -lgthread-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lz -lm -L/usr/local/lib /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wc++-compat -Wdeclaration-after-statement -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Qunused-arguments -fvisibility=hidden -Wc99-extensions -O2 -pipe -funit-at-a-time -fstack-protector -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -o sshdump sshdump.o extcap-base.o ssh-base.o ../wiretap/libwiretap.la ../wsutil/libwsutil.la -L/usr/local/lib -lgthread-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lz -lm -L/usr/local/lib libtool: link: cc -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wc++-compat -Wdeclaration-after-statement -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Qunused-arguments -fvisibility=hidden -Wc99-extensions -O2 -pipe -funit-at-a-time -fstack-protector -fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -o .libs/randpktdump randpktdump.o extcap-base.o -Wl,--export-dynamic -pthread -L/usr/local/lib ../randpkt_core/librandpkt_core.a ../wiretap/.libs/libwiretap.so ../wsutil/.libs/libwsutil.so -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lz -lm -pthread -Wl,-rpath -Wl,/usr/local/lib libtool: link: cc -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wc++-compat -Wdeclaration-after-statement -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Qunused-arguments -fvisibility=hidden -Wc99-extensions -O2 -pipe -funit-at-a-time -fstack-protector -fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -o .libs/sshdump sshdump.o extcap-base.o ssh-base.o -Wl,--export-dynamic -pthread -L/usr/local/lib ../wiretap/.libs/libwiretap.so ../wsutil/.libs/libwsutil.so -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lz -lm -pthread -Wl,-rpath -Wl,/usr/local/lib /bin/sh ../libtool --tag=CC --mode=link cc -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wc++-compat -Wdeclaration-after-statement -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Qunused-arguments -fvisibility=hidden -Wc99-extensions -O2 -pipe -funit-at-a-time -fstack-protector -fno-strict-aliasing -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector -o ciscodump ciscodump.o extcap-base.o ssh-base.o ../writecap/libwritecap.a ../wsutil/libwsutil.la -L/usr/local/lib -lgthread-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lintl -lz -lm -L/usr/local/lib sshdump.o: In function `main': sshdump.c:(.text+0x918): undefined reference to `ssh_channel_new' sshdump.c:(.text+0x928): undefined reference to `ssh_channel_open_session' sshdump.c:(.text+0x938): undefined reference to `ssh_channel_free' sshdump.c:(.text+0xa44): undefined reference to `ssh_options_get_port' sshdump.c:(.text+0xb1e): undefined reference to `ssh_channel_request_exec' sshdump.c:(.text+0xb2a): undefined reference to `ssh_channel_close' sshdump.c:(.text+0xb32): undefined reference to `ssh_channel_free' sshdump.c:(.text+0xbb1): undefined reference to `ssh_channel_read' sshdump.c:(.text+0xbf2): undefined reference to `ssh_channel_read' sshdump.c:(.text+0xc1e): undefined reference to `ssh_channel_send_eof' ssh-base.o: In function `create_ssh_connection': ssh-base.c:(.text+0x2f): undefined reference to `ssh_new' ssh-base.c:(.text+0x49): undefined reference to `ssh_options_set' ssh-base.c:(.text+0x8b): undefined reference to `ssh_options_set' ssh-base.c:(.text+0xbd): undefined reference to `ssh_options_set' ssh-base.c:(.text+0xdf): undefined reference to `ssh_free' ssh-base.c:(.text+0x11b): undefined reference to `ssh_connect' ssh-base.c:(.text+0x12b): undefined reference to `ssh_get_error' ssh-base.c:(.text+0x15a): undefined reference to `ssh_key_new' ssh-base.c:(.text+0x18b): undefined reference to `ssh_pki_import_privkey_file' ssh-base.c:(.text+0x19d): undefined reference to `ssh_userauth_publickey' ssh-base.c:(.text+0x1ae): undefined reference to `ssh_key_free' ssh-base.c:(.text+0x1b6): undefined reference to `ssh_get_error' ssh-base.c:(.text+0x1f1): undefined reference to `ssh_userauth_publickey_auto' ssh-base.c:(.text+0x238): undefined reference to `ssh_userauth_password' ssh-base.c:(.text+0x269): undefined reference to `ssh_disconnect' ssh-base.c:(.text+0x2a8): undefined reference to `ssh_key_free' ssh-base.o: In function `ssh_channel_printf': ssh-base.c:(.text+0x35e): undefined reference to `ssh_channel_write' ssh-base.o: In function `ssh_cleanup': ssh-base.c:(.text+0x3a6): undefined reference to `ssh_channel_send_eof' ssh-base.c:(.text+0x3ae): undefined reference to `ssh_channel_close' ssh-base.c:(.text+0x3b6): undefined reference to `ssh_channel_free' ssh-base.c:(.text+0x3ca): undefined reference to `ssh_disconnect' ssh-base.c:(.text+0x3d2): undefined reference to `ssh_free' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[4]: *** [Makefile:735: sshdump] Error 1 gmake[4]: *** Waiting for unfinished jobs.... libtool: link: cc -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wc++-compat -Wdeclaration-after-statement -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Wshorten-64-to-32 -Qunused-arguments -fvisibility=hidden -Wc99-extensions -O2 -pipe -funit-at-a-time -fstack-protector -fno-strict-aliasing -Wl,-rpath -Wl,/usr/local/lib -fstack-protector -o .libs/ciscodump ciscodump.o extcap-base.o ssh-base.o -Wl,--export-dynamic -pthread -L/usr/local/lib ../writecap/libwritecap.a ../wsutil/.libs/libwsutil.so -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -lz -lm -pthread -Wl,-rpath -Wl,/usr/local/lib ciscodump.o: In function `main': ciscodump.c:(.text+0x619): undefined reference to `ssh_channel_new' ciscodump.c:(.text+0x634): undefined reference to `ssh_channel_open_session' ciscodump.c:(.text+0x647): undefined reference to `ssh_channel_request_pty' ciscodump.c:(.text+0x664): undefined reference to `ssh_channel_change_pty_size' ciscodump.c:(.text+0x677): undefined reference to `ssh_channel_request_shell' ciscodump.c:(.text+0x724): undefined reference to `ssh_channel_write' ciscodump.c:(.text+0x749): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0x78d): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0x7b6): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0x801): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0xd07): undefined reference to `ssh_channel_write' ciscodump.c:(.text+0xdee): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0xe36): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0xeb2): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0xefa): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0xf8a): undefined reference to `ssh_channel_read_timeout' ciscodump.o:ciscodump.c:(.text+0xfd2): more undefined references to `ssh_channel_read_timeout' follow ciscodump.o: In function `main': ciscodump.c:(.text+0x1467): undefined reference to `ssh_channel_close' ciscodump.c:(.text+0x146f): undefined reference to `ssh_channel_free' ciscodump.c:(.text+0x153e): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0x1582): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0x163c): undefined reference to `ssh_channel_read_timeout' ciscodump.c:(.text+0x167c): undefined reference to `ssh_channel_read_timeout' ssh-base.o: In function `create_ssh_connection': ssh-base.c:(.text+0x2f): undefined reference to `ssh_new' ssh-base.c:(.text+0x49): undefined reference to `ssh_options_set' ssh-base.c:(.text+0x8b): undefined reference to `ssh_options_set' ssh-base.c:(.text+0xbd): undefined reference to `ssh_options_set' ssh-base.c:(.text+0xdf): undefined reference to `ssh_free' ssh-base.c:(.text+0x11b): undefined reference to `ssh_connect' ssh-base.c:(.text+0x12b): undefined reference to `ssh_get_error' ssh-base.c:(.text+0x15a): undefined reference to `ssh_key_new' ssh-base.c:(.text+0x18b): undefined reference to `ssh_pki_import_privkey_file' ssh-base.c:(.text+0x19d): undefined reference to `ssh_userauth_publickey' ssh-base.c:(.text+0x1ae): undefined reference to `ssh_key_free' ssh-base.c:(.text+0x1b6): undefined reference to `ssh_get_error' ssh-base.c:(.text+0x1f1): undefined reference to `ssh_userauth_publickey_auto' ssh-base.c:(.text+0x238): undefined reference to `ssh_userauth_password' ssh-base.c:(.text+0x269): undefined reference to `ssh_disconnect' ssh-base.c:(.text+0x2a8): undefined reference to `ssh_key_free' ssh-base.o: In function `ssh_channel_printf': ssh-base.c:(.text+0x35e): undefined reference to `ssh_channel_write' ssh-base.o: In function `ssh_cleanup': ssh-base.c:(.text+0x3a6): undefined reference to `ssh_channel_send_eof' ssh-base.c:(.text+0x3ae): undefined reference to `ssh_channel_close' ssh-base.c:(.text+0x3b6): undefined reference to `ssh_channel_free' ssh-base.c:(.text+0x3ca): undefined reference to `ssh_disconnect' ssh-base.c:(.text+0x3d2): undefined reference to `ssh_free' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[4]: *** [Makefile:727: ciscodump] Error 1 gmake[4]: Leaving directory '/storage/usr/ports/net/wireshark/work/wireshark-2.2.1/extcap' gmake[3]: *** [Makefile:3408: all-recursive] Error 1 gmake[3]: Leaving directory '/storage/usr/ports/net/wireshark/work/wireshark-2.2.1' gmake[2]: *** [Makefile:1737: all] Error 2 gmake[2]: Leaving directory '/storage/usr/ports/net/wireshark/work/wireshark-2.2.1' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /storage/usr/ports/net/wireshark *** Error code 1 Stop. make: stopped in /storage/usr/ports/net/wireshark many thanks, -- J.