Date: Fri, 13 Nov 2009 17:53:35 +1100 (EST) From: Mark Andrews <marka@isc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/140521: multimedia/vlc-1.0.3, 3 fails to compile due to autoconf failure Message-ID: <200911130653.nAD6rZot069964@drugs.dv.isc.org> Resent-Message-ID: <200911130700.nAD702xe052517@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 140521 >Category: ports >Synopsis: multimedia/vlc-1.0.3,3 fails to compile due to autoconf failure >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 13 07:00:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Mark Andrews >Release: FreeBSD 6.4-STABLE i386 >Organization: ISC >Environment: System: FreeBSD drugs.dv.isc.org 6.4-STABLE FreeBSD 6.4-STABLE #32: Tue Oct 6 14:39:58 EST 2009 marka@drugs.dv.isc.org:/usr/obj/usr/src/sys/DRUGS i386 >Description: configure fails to successfully detect sys/mount.h as the detection requires sys/param.h to be included resulting in the following compile error as sys/mount.h is not included. file.c: In function `IsRemote': file.c:130: error: storage size of 'stf' isn't known file.c:132: error: implicit declaration of function `fstatfs' file.c:130: warning: unused variable `stf' autoconf does not appear to be aware of this relationship and should also be fixed to prevent. configure:23398: checking sys/mount.h usability configure:23398: cc -std=gnu99 -c -O2 -fno-strict-aliasing -pipe -pthread -I/usr /ports/multimedia/vlc/work/fake//usr/local/include -I/usr/ports/multimedia/vlc/w ork/vlc-1.0.3/include -I/usr/local/include/speex -I/usr/local/include -I/usr/loc al/ffmpeg -I/usr/local/include -DSYS_FREEBSD6_4 conftest.c >&5 In file included from /usr/include/sys/mount.h:36, from conftest.c:136: /usr/include/sys/ucred.h:71: error: `NGROUPS' undeclared here (not in a function ) configure:23398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "vlc" | #define PACKAGE_TARNAME "vlc" | #define PACKAGE_VERSION "1.0.3" | #define PACKAGE_STRING "vlc 1.0.3" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "vlc" | #define VERSION "1.0.3" | #define STDC_HEADERS 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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define _FORTIFY_SOURCE 2 | #define restrict __restrict | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_ICONV 1 | #define ENABLE_NLS 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define HAVE_ICONV 1 | #define ICONV_CONST const | #define LIBEXT ".so" | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_ISATTY 1 | #define HAVE_GETPWUID_R 1 | #define HAVE_IF_NAMETOINDEX 1 | #define HAVE_GETENV 1 | #define HAVE_PUTENV 1 | #define HAVE_SETENV 1 | #define HAVE_CTIME_R 1 | #define HAVE_DAEMON 1 | #define HAVE_FORK 1 | #define HAVE_LSTAT 1 | #define HAVE_POSIX_MADVISE 1 | #define HAVE_ALLOCA 1 | #define HAVE_FCNTL 1 | #define HAVE_ASPRINTF 1 | #define HAVE_ATOF 1 | #define HAVE_ATOLL 1 | #define HAVE_GETCWD 1 | #define HAVE_GMTIME_R 1 | #define HAVE_LLDIV 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_REWIND 1 | #define HAVE_STRCASECMP 1 | #define HAVE_STRCASESTR 1 | #define HAVE_STRDUP 1 | #define HAVE_STRLCPY 1 | #define HAVE_STRNCASECMP 1 | #define HAVE_STRSEP 1 | #define HAVE_STRTOF 1 | #define HAVE_STRTOLL 1 | #define HAVE_VASPRINTF 1 | #define HAVE_SWAB 1 | #define fdatasync fsync | #define HAVE_FSTATFS 1 | #define HAVE_MMAP 1 | #define HAVE_SETLOCALE 1 | #define HAVE_LANGINFO_H 1 | #define HAVE_NL_LANGINFO 1 | #define HAVE_LANGINFO_CODESET 1 | #define HAVE_CONNECT 1 | #define HAVE_SEND 1 | #define HAVE_GETADDRINFO 1 | #define HAVE_GETNAMEINFO 1 | #define HAVE_GAI_STRERROR 1 | #define HAVE_STRUCT_ADDRINFO 1 | #define HAVE_ADDRINFO 1 | #define HAVE_VA_COPY 1 | #define HAVE_INET_ATON 1 | #define HAVE_GETOPT_LONG 1 | #define HAVE_GETOPT_LONG 1 | #define RETSIGTYPE void | #define HAVE_LRINTF 1 | #define HAVE_DLFCN_H 1 | #define HAVE_DL_DLOPEN 1 | #define HAVE_NANOSLEEP 1 | #define HAVE_NANOSLEEP 1 | #define STRNCASECMP_IN_STRINGS_H 1 | #define HAVE_GETOPT_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_LOCALE_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIMES_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_SYS_STAT_H 1 | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | #include <sys/mount.h> configure:23398: result: no configure:23398: checking sys/mount.h presence configure:23398: cc -std=gnu99 -E -I/usr/ports/multimedia/vlc/work/fake//usr/loc al/include -I/usr/ports/multimedia/vlc/work/vlc-1.0.3/include -I/usr/local/inclu de/speex -I/usr/local/include -I/usr/local/ffmpeg -I/usr/local/include -DSYS_FR EEBSD6_4 conftest.c configure:23398: $? = 0 configure:23398: result: yes configure:23398: WARNING: sys/mount.h: present but cannot be compiled configure:23398: WARNING: sys/mount.h: check for missing prerequisite header s? configure:23398: WARNING: sys/mount.h: see the Autoconf documentation configure:23398: WARNING: sys/mount.h: section "Present But Cannot Be Compil ed" configure:23398: WARNING: sys/mount.h: proceeding with the compiler's result configure:23398: checking for sys/mount.h configure:23398: result: no >How-To-Repeat: Attempt to compile >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911130653.nAD6rZot069964>