Subject: Re: pkg/30922
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Reinoud Zandijk <reinoud@netbsd.org>
List: pkgsrc-bugs
Date: 02/22/2006 17:50:03
The following reply was made to PR pkg/30922; it has been noted by GNATS.
From: Reinoud Zandijk <reinoud@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30922
Date: Wed, 22 Feb 2006 18:48:03 +0100
I just tried it out again and found the following in the config.log :
----------------------
conftest.c:145: warning: conflicting types for built-in function `snprintf'
configure:8405: $? = 0
configure:8409: test -z
|| test ! -s conftest.err
configure:8412: $? = 0
configure:8415: test -s conftest
configure:8418: $? = 0
configure:8430: result: yes
configure:8342: checking for statvfs
configure:8399: cc -o conftest -O2 -DDEF_UMASK=0022
-I/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat
-L/usr/tmp/pkgsrc-
sparc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib conftest.c
-lutil >&5
/var/tmp//ccjo58Ly.o(.text+0x8): In function `main':
: undefined reference to `statvfs'
/var/tmp//ccjo58Ly.o(.text+0xc): In function `main':
: undefined reference to `statvfs'
/var/tmp//ccjo58Ly.o(.data+0x0): undefined reference to `statvfs'
configure:8405: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "libnbcompat"
| #define PACKAGE_TARNAME "libnbcompat"
| #define PACKAGE_VERSION "20040911"
| #define PACKAGE_STRING "libnbcompat 20040911"
| #define PACKAGE_BUGREPORT "grant@NetBSD.org"
| #define HAVE_LIBUTIL 1
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_CTYPE_H 1
| #define HAVE_DIRENT_H 1
| #define HAVE_ERR_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FNMATCH_H 1
| #define HAVE_FTS_H 1
| #define HAVE_GRP_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MACHINE_ENDIAN_H 1
| #define HAVE_PATHS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_SIGNAL_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_DIR_H 1
| #define HAVE_SYS_ENDIAN_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TTYCOM_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_TERMCAP_H 1
| #define HAVE_TIME_H 1
| #define HAVE_TZFILE_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_UTIL_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_SYS_MOUNT_H 1
| #define HAVE_GLOB_H 1
| #define HAVE_NBCOMPAT_GLOB 1
| #define HAVE_SYS_QUEUE_H 1
| #define HAVE_NBCOMPAT_QUEUE 1
| #define HAVE_REGEX_H 1
| #define HAVE_MD5_H 1
| #define HAVE_MD5_H 1
| #define HAVE_RMD160_H 1
| #define HAVE_SHA1_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_VIS_H 1
| #define HAVE_STRUNVIS 1
| #define HAVE_STRVIS 1
| #define HAVE_STRSVIS 1
| #define HAVE_SVIS 1
| #define HAVE_UNVIS 1
| #define HAVE_VIS 1
| #define HAVE_STRUNVIS 1
| #define HAVE_STRVIS 1
| #define HAVE_STRSVIS 1
| #define HAVE_SVIS 1
| #define HAVE_UNVIS 1
| #define HAVE_VIS 1
| #define HAVE___ATTRIBUTE__ 1
| #define HAVE_LONG_LONG 1
| #define HAVE_INT8_T 1
| #define HAVE_INT16_T 1
| #define HAVE_INT32_T 1
| #define HAVE_INT64_T 1
| #define HAVE_U_INT8_T 1
| #define HAVE_U_INT16_T 1
| #define HAVE_U_INT32_T 1
| #define HAVE_U_INT64_T 1
| #define HAVE_UINT8_T 1
| #define HAVE_UINT16_T 1
| #define HAVE_UINT32_T 1
| #define HAVE_UINT64_T 1
| #define HAVE_FSID_T 1
| #define WORDS_BIGENDIAN 1
| #define SIZEOF_OFF_T 8
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_VPRINTF 1
| #define HAVE_ERR 1
| #define HAVE_FGETLN 1
| #define HAVE_FNMATCH 1
| #define HAVE_FPARSELN 1
| #define HAVE_GETENV 1
| #define HAVE_ISBLANK 1
| #define HAVE_LCHFLAGS 1
| #define HAVE_LCHMOD 1
| #define HAVE_LCHOWN 1
| #define HAVE_LUTIMES 1
| #define HAVE_MKDTEMP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_SETENV 1
| #define HAVE_SETGROUPENT 1
| #define HAVE_SETPASSENT 1
| #define HAVE_SETPROGNAME 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRDUP 1
| #define HAVE_STRERROR 1
| #define HAVE_STRLCAT 1
| #define HAVE_STRLCPY 1
| #define HAVE_STRMODE 1
| #define HAVE_STRSEP 1
| #define HAVE_STRTOLL 1
| #define HAVE_UNSETENV 1
| #define HAVE_USLEEP 1
| #define HAVE_UTIMES 1
| #define HAVE_WARN 1
| #define HAVE_GETENV 1
| #define HAVE_SETENV 1
| #define HAVE_UNSETENV 1
| #define HAVE_MKDTEMP 1
| #define HAVE_MKSTEMP 1
| #define HAVE_BCOPY 1
| #define HAVE_BZERO 1
| #define HAVE_MEMSET 1
| #define HAVE_MEMCPY 1
| #define HAVE_SETLOCALE 1
| #define HAVE_GETMODE 1
| #define HAVE_SETMODE 1
| #define HAVE_GETMODE 1
| #define HAVE_SETMODE 1
| #define HAVE_GID_FROM_GROUP 1
| #define HAVE_GROUP_FROM_GID 1
| #define HAVE_PWCACHE_GROUPDB 1
| #define HAVE_PWCACHE_USERDB 1
| #define HAVE_UID_FROM_USER 1
| #define HAVE_USER_FROM_UID 1
| #define HAVE_GID_FROM_GROUP 1
| #define HAVE_GROUP_FROM_GID 1
| #define HAVE_PWCACHE_GROUPDB 1
| #define HAVE_PWCACHE_USERDB 1
| #define HAVE_UID_FROM_USER 1
| #define HAVE_USER_FROM_UID 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| #define HAVE_POLL_H 1
| #define HAVE_SYS_POLL_H 1
| /* end confdefs.h. */
| /* Define getpassphrase to an innocuous variant, in case <limits.h>
declares getpassphrase.
| For example, HP-UX 11i <limits.h> declares gettimeofday. */
| #define getpassphrase innocuous_getpassphrase
|
| /* System header to define __stub macros and hopefully few prototypes,
| which can conflict with char getpassphrase (); below.
| Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
| <limits.h> exists even on freestanding compilers. */
|
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef getpassphrase
|
| /* Override any gcc2 internal prototype to avoid an error. */
| #ifdef __cplusplus
| extern "C"
| {
| #endif
| /* We use char because int might match the return type of a gcc2
| builtin and then its argument prototype would still apply. */
| char getpassphrase ();
| /* The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. */
| #if defined (__stub_getpassphrase) || defined (__stub___getpassphrase)
| choke me
| #else
| char (*f) () = getpassphrase;
| #endif
| #ifdef __cplusplus
| }
| #endif
|
| int
| main ()
| {
| return f != getpassphrase;
| ;
| return 0;
| }
configure:9947: result: no
configure:9859: checking for getpgrp
configure:9916: cc -o conftest -O2 -DDEF_UMASK=0022
-I/usr/tmp/pkgsrc-sparc/pkgtools/pkg_install/work/libnbcompat
-L/usr/tmp/pkgsrc-
sparc/pkgtools/pkg_install/work/libnbcompat -Wl,-R/usr/pkg/lib conftest.c
-lutil >&5
configure:9922: $? = 0
------------------------------