From owner-freebsd-questions@FreeBSD.ORG Tue Nov 11 20:37:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 802E9794 for ; Tue, 11 Nov 2014 20:37:20 +0000 (UTC) Received: from navy.spectrumcs.net (navy.spectrumcs.net [109.169.26.118]) by mx1.freebsd.org (Postfix) with ESMTP id E96AA9E4 for ; Tue, 11 Nov 2014 20:37:19 +0000 (UTC) Received: from localhost (maroon.spectrumcs.net [10.8.0.9]) by navy.spectrumcs.net (Postfix) with ESMTP id 3jcgjw6SFmz13cB for ; Tue, 11 Nov 2014 20:32:36 +0000 (GMT) X-Virus-Scanned: amavisd-new at spectrumcs.net Received-SPF: pass (maroon.spectrumcs.net: domain of spectrumcs.net designates 81.133.126.70 as permitted sender) client-ip=81.133.126.70; envelope-from=freebsd-questions@spectrumcs.net; helo=rainbow.spectrumcs.net; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=spectrumcs.net; s=scs; t=1415737953; bh=tggC7lcaLBw4BMs3v0pUMxnIMIo99fVG1DL3T1nnphs=; h=From:Subject:Date; b=BjKtNHTUIYHqPrVXMPqN03kNmUlWBOxK/Qlldhq1liwlfz55v55NkqXESY6WhtiUJ 4j9Xi3yAVZyVEyFRAs5flRCxJgx/iZ6yQHFIpHjlhIMkq7l/AOmNDEHohnHjLeGIu6 8yGTq6/NWVgCNOo0V2nVZjtThgswEH1kjM1FGZrQ= Received: from rainbow.spectrumcs.net (rainbow.spectrumcs.net [81.133.126.70]) by maroon.spectrumcs.net (Postfix) with ESMTPS id 3jcgjs5nRPz6lxR for ; Tue, 11 Nov 2014 20:32:33 +0000 (GMT) From: "steve" Subject: Problem building sysutils/syslog-ng v3.6.1_1 To: Date: Tue, 11 Nov 2014 20:32:33 +0000 Priority: normal X-Priority: 3 (Normal) Importance: normal X-Mailer: David.fx by Tobit.Software, Germany (0397.464448464547484D524D), Mime Converter 101.20 X-David-Sym: 0 X-David-Flags: 0 Message-ID: <0000C655.54627261@rainbow.spectrumcs.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2014 20:37:20 -0000 Hi, I'm not 100% sure I'm posting this to the correct mailing list. Forgive me = if I have, and I'd be very grateful if you could point me in the right = direction. If I have posted to the correct location, here is my problem... #uname -a FreeBSD XYZ 9.2-RELEASE-p12 FreeBSD 9.2-RELEASE-p12 #0: Mon Sep 15 = 18:46:46 UTC 2014 = root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 # /usr/sbin/pkg version -vIL=3D syslog-ng-3.5.6_4 < needs updating (index has 3.6.1_1) I have three servers which where installed with FreeBSD 9.0 back in Feb = 2014. As a matter of course I keep these servers as up to date as possible = though the ports tree. I also periodocally upgrade them to latest stable = version of FreeBSD via freebsd-update. Obviously I've let that slip a = bit! Towards the end of October a update for syslog-ng appeared in the ports = tree, but I've been unable to compile it on any of my three servers, via a = portmaster -DaG or a cd /usr/ports/sysutils/syslog-ng/ && make install = clean. It fails with undefined reference to `get_installation_path_for'. --------------------------------------- CC lib/tests/lib_tests_test_host_resolve-test_host_resolve.o lib/tests/test_host_resolve.c: In function = 'test_resolve_sockaddr_to_hostname': lib/tests/test_host_resolve.c:238: warning: implicit declaration of = function 'basename' lib/tests/test_host_resolve.c:238: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c:239: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c:240: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c:241: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c: In function = 'test_resolve_hostname_to_sockaddr': lib/tests/test_host_resolve.c:264: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c:265: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c: In function = 'test_resolve_hostname_to_hostname': lib/tests/test_host_resolve.c:300: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c:301: warning: assignment makes pointer from = integer without a cast lib/tests/test_host_resolve.c:302: warning: assignment makes pointer from = integer without a cast CCLD lib/tests/test_host_resolve CC syslog-ng/main.o GEN syslog-ng/syslog-ng syslog-ng/main.o: In function `get_installer_version': /usr/ports/sysutils/syslog-ng/work/syslog-ng-3.6.1/syslog-ng/main.c:98: = undefined reference to `get_installation_path_for' syslog-ng/main.o: In function `main': /usr/ports/sysutils/syslog-ng/work/syslog-ng-3.6.1/syslog-ng/main.c:198: = undefined reference to `main_loop_global_init' /usr/ports/sysutils/syslog-ng/work/syslog-ng-3.6.1/syslog-ng/main.c:248: = undefined reference to `main_loop_read_and_init_config' /usr/ports/sysutils/syslog-ng/work/syslog-ng-3.6.1/syslog-ng/main.c:271: = undefined reference to `main_loop_deinit' Makefile:5911: recipe for target 'syslog-ng/syslog-ng' failed gmake[2]: *** [syslog-ng/syslog-ng] Error 1 Makefile:9846: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 Makefile:4042: recipe for target 'all' failed gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/sysutils/syslog-ng. *** [stage] Error code 1 Stop in /usr/ports/sysutils/syslog-ng. Exit 1 --------------------------------------- Googling for get_installation_path_for has found nothing.=20 Grepping for get_installation_path_for in the work dir seems to indicate = that that function is defined in ./work/syslog-ng-3.6.1/lib/reloc.c As a test I've tried to compile this port on two other FreeBSD boxes. One = a FreeBSD 10 and then a FreeBSD 9.2 (in VM) and both complete = successfully, however neither of these boxes had had syslog-ng installed = or compiled on them before.=20 To be sure my ports tree wasn't broken somehow I deleted /usr/ports/ and = preformed a "portsnap fetch extract" This feels like a upgrade problem to me, but I'm unsure what to do next to = try and get this port to compile. Any help will be gratefully received. Kind regards =20 Stephen Scotter DISCLAIMER This email is for the use of the intended recipient(s) only. If you have = received this email in error, please notify the sender immediately and = then delete it.=20 If you are not the intended recipient, you must not keep, use, disclose, = copy or distribute this email without the author=92s prior permission.=20 We have taken precautions to minimise the risk of transmitting software = viruses, but we advise you to carry out your own virus checks on any = attachment to this message. We cannot accept liability for any loss or damage caused by software = viruses. The information contained in this communication may be confidential and = may be subject to the attorney-client privilege.=20 If you are the intended recipient and you do not wish to receive similar = electronic messages from us in future then please respond to the sender to = this effect.