From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 3 02:40:21 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3065316A41F for ; Sat, 3 Sep 2005 02:40:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9BF443D49 for ; Sat, 3 Sep 2005 02:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j832eKSE024300 for ; Sat, 3 Sep 2005 02:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j832eKhj024297; Sat, 3 Sep 2005 02:40:20 GMT (envelope-from gnats) Resent-Date: Sat, 3 Sep 2005 02:40:20 GMT Resent-Message-Id: <200509030240.j832eKhj024297@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bryan Fullerton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FA9516A41F for ; Sat, 3 Sep 2005 02:30:25 +0000 (GMT) (envelope-from bryanf@satori.samurai.com) Received: from satori.samurai.com (satori.samurai.com [205.207.28.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1C2443D48 for ; Sat, 3 Sep 2005 02:30:24 +0000 (GMT) (envelope-from bryanf@satori.samurai.com) Received: by satori.samurai.com (Postfix, from userid 1001) id 91A0D7E4C; Fri, 2 Sep 2005 22:30:23 -0400 (EDT) Message-Id: <20050903023023.91A0D7E4C@satori.samurai.com> Date: Fri, 2 Sep 2005 22:30:23 -0400 (EDT) From: Bryan Fullerton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: blaz@si.FreeBSD.org Subject: ports/85678: Configure fails when upgrading to nagios-plugins-1.4.1_1, 1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bryan Fullerton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2005 02:40:21 -0000 >Number: 85678 >Category: ports >Synopsis: Configure fails when upgrading to nagios-plugins-1.4.1_1,1 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 03 02:40:19 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Bryan Fullerton >Release: FreeBSD 5.4-RELEASE-p4 i386 >Organization: >Environment: System: FreeBSD satori.samurai.com 5.4-RELEASE-p4 FreeBSD 5.4-RELEASE-p4 #0: Tue Jul 19 20:32:44 EDT 2005 bryanf@satori.samurai.com:/export/obj/export/src/sys/SAMURAI i386 $ cat /var/db/ports/nagios-plugins/options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for nagios-plugins-1.4_3,1 _OPTIONS_READ=nagios-plugins-1.4_3,1 WITHOUT_QSTAT=true WITHOUT_FPING=true WITH_NETSNMP=true WITHOUT_RADIUS=true WITH_MYSQL=true WITH_PGSQL=true WITH_LDAP=true Ports tree is updated as of now. >Description: Configure fails -- looks like something wiggy with the -L arguments passed. >How-To-Repeat: Here's the output of portupgrade. ===== $ script nagios-plugins-1.4.1-upgrade.txt sudo portupgrade nagios-plugins Script started on Fri Sep 2 22:01:26 2005 ---> Upgrading 'nagios-plugins-1.4_3,1' to 'nagios-plugins-1.4.1_1,1' (net-mgmt/nagios-plugins) ---> Building '/usr/ports/net-mgmt/nagios-plugins' ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for mysql-client-4.1.14 ===> Cleaning for postgresql-client-7.4.8 ===> Cleaning for autoconf-2.59_2 ===> Cleaning for automake-1.9.6 ===> Cleaning for gettext-0.14.5 ===> Cleaning for gmake-3.80_2 ===> Cleaning for libtool-1.5.20 ===> Cleaning for m4-1.4.3 ===> Cleaning for p5-gettext-1.03 ===> Cleaning for perl-5.8.7 ===> Cleaning for help2man-1.35.1 ===> Cleaning for net-snmp-5.2.1.2 ===> Cleaning for p5-Net-SNMP-5.1.0 ===> Cleaning for openldap-client-2.2.27 ===> Cleaning for p5-Crypt-DES-2.03 ===> Cleaning for p5-Digest-HMAC-1.01 ===> Cleaning for p5-Digest-SHA1-2.10 ===> Cleaning for nagios-plugins-1.4.1_1,1 ===> Vulnerability check disabled, database not found ===> Found saved configuration for nagios-plugins-1.4_3,1 ===> Extracting for nagios-plugins-1.4.1_1,1 ===> Vulnerability check disabled, database not found ===> Found saved configuration for nagios-plugins-1.4_3,1 => Checksum OK for nagios-plugins-1.4.1.tar.gz. ===> nagios-plugins-1.4.1_1,1 depends on file: /usr/local/bin/perl5.8.7 - found ===> Patching for nagios-plugins-1.4.1_1,1 ===> nagios-plugins-1.4.1_1,1 depends on file: /usr/local/bin/perl5.8.7 - found ===> Applying FreeBSD patches for nagios-plugins-1.4.1_1,1 ===> nagios-plugins-1.4.1_1,1 depends on executable: snmpcheck - found ===> nagios-plugins-1.4.1_1,1 depends on file: /usr/local/lib/perl5/site_perl/5.8.7/Net/SNMP.pm - found ===> nagios-plugins-1.4.1_1,1 depends on executable: gmake - found ===> nagios-plugins-1.4.1_1,1 depends on file: /usr/local/bin/perl5.8.7 - found ===> nagios-plugins-1.4.1_1,1 depends on file: /usr/local/bin/automake19 - found ===> nagios-plugins-1.4.1_1,1 depends on file: /usr/local/bin/autoconf259 - found ===> nagios-plugins-1.4.1_1,1 depends on shared library: ldap-2.2.7 - found ===> nagios-plugins-1.4.1_1,1 depends on shared library: mysqlclient.14 - found ===> nagios-plugins-1.4.1_1,1 depends on shared library: pq.3 - found ===> Configuring for nagios-plugins-1.4.1_1,1 configure: WARNING: you should use --build, --host, --target checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking build system type... i386-portbld-freebsd5.4 checking host system type... i386-portbld-freebsd5.4 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for style of include used by gmake... GNU checking for i386-portbld-freebsd5.4-gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cc -E checking for egrep... grep -E checking for AIX... no 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for i386-portbld-freebsd5.4-gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ANSI C... (cached) none needed checking dependency style of cc... (cached) gcc3 checking how to run the C preprocessor... cc -E checking whether cc needs -traditional... no checking for i386-portbld-freebsd5.4-ranlib... no checking for ranlib... ranlib checking whether gmake sets $(MAKE)... (cached) yes checking for gawk... (cached) nawk checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for error_at_line... no checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking for working strtod... yes checking for python... /usr/local/bin/python checking for sh... /bin/sh checking for perl... /usr/bin/perl checking for hostname... /bin/hostname checking for basename... /usr/bin/basename checking for main in -ldce... no checking for main in -lnsl... no checking for socket in -lsocket... no checking for main in -lresolv... no checking for floor in -lm... yes checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no configure: WARNING: Skipping PostgreSQL plugin (check_pgsql) configure: WARNING: LIBS="-lcrypt " CPPFLAGS="{-I/usr/local/include} -I/usr/local/include" configure: WARNING: install PostgreSQL libs to compile this plugin (see REQUIREMENTS). checking for ldap_simple_bind in -lldap... no configure: WARNING: Skipping LDAP plugin configure: WARNING: install LDAP libs to compile this plugin (see REQUIREMENTS). checking for mysql_init in -lmysqlclient... no checking for mysql_close in -lmysqlclient... no configure: WARNING: Skipping mysql plugin configure: WARNING: install mysql client libs to compile this plugin (see REQUIREMENTS). checking for unistd.h... (cached) yes checking for IPv6 support... yes checking for library containing getaddrinfo... no checking if getaddrinfo is redefined in netdb.h... no configure: WARNING: enabling getaddrinfo emulation checking for library containing getipnodebyname... no checking for library containing gethostbyname_r... no configure: WARNING: using threads but cannot find gethostbyname_r or getipnodebyname checking for library containing gethostbyname... no configure: error: cannot find gethostbyname ===> Script "configure" failed unexpectedly. Please report the problem to blaz@si.FreeBSD.org [maintainer] and attach the "/export/ports/net-mgmt/nagios-plugins/work/nagios-plugins-1.4.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /export/ports/net-mgmt/nagios-plugins. *** Error code 1 Stop in /export/ports/net-mgmt/nagios-plugins. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade9014.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net-mgmt/nagios-plugins (nagios-plugins-1.4_3,1) (configure error) ===== I'm not going to put the entire config.log here, but here's the bit that keeps failing. Let me know if you want the entire file. [...] configure:11080: cc -o conftest -O -pipe -I/usr/local/include { -L/usr/local/lib -L.} -L/usr/local/lib conftest.c -lc_r >&5 cc: {: No such file or directory configure:11086: $? = 1 [...] ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Script done on Fri Sep 2 22:01:52 2005 >Fix: Dunno. >Release-Note: >Audit-Trail: >Unformatted: