[MacPorts] #27505: policykit build failing C compiler cannot create executables
MacPorts
noreply at macports.org
Mon Nov 29 18:36:02 PST 2010
#27505: policykit build failing C compiler cannot create executables
------------------------------+---------------------------------------------
Reporter: gizzmo18@… | Owner: devans@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: policykit
------------------------------+---------------------------------------------
Comment(by gizzmo18@…):
adding config.log
{{{
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by polkit configure 0.96, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ ./configure --prefix=/opt/local --with-authfw=pam --with-pam-
prefix=/etc/pam.d --with-pam-module-dir=/usr/lib/pam --disable-
introspection --disable-silent-rules --enable-man-pages --disable-gtk-doc
## --------- ##
## Platform. ##
## --------- ##
hostname = GizzmoMacBookPro.local
uname -m = i386
uname -r = 10.5.0
uname -s = Darwin
uname -v = Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010;
root:xnu-1504.9.17~1/RELEASE_I386
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:
Darwin Kernel Version 10.5.0: Fri Nov 5 23:20:39 PDT 2010;
root:xnu-1504.9.17~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 4.00 gigabytes
Default processor set: 128 tasks, 608 threads, 2 processors
Load average: 1.36, Mach factor: 0.73
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /bin
PATH: /sbin
PATH: /usr/bin
PATH: /usr/sbin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2515: checking for a BSD-compatible install
configure:2583: result: /usr/bin/install -c
configure:2594: checking whether build environment is sane
configure:2644: result: yes
configure:2785: checking for a thread-safe mkdir -p
configure:2824: result: ./install-sh -c -d
configure:2837: checking for gawk
configure:2867: result: no
configure:2837: checking for mawk
configure:2867: result: no
configure:2837: checking for nawk
configure:2867: result: no
configure:2837: checking for awk
configure:2853: found /usr/bin/awk
configure:2864: result: awk
configure:2875: checking whether make sets $(MAKE)
configure:2897: result: yes
configure:2980: checking whether to enable maintainer-specific portions of
Makefiles
configure:2989: result: no
configure:3039: checking for style of include used by make
configure:3067: result: GNU
configure:3137: checking for gcc
configure:3164: result: /usr/bin/gcc-4.2
configure:3393: checking for C compiler version
configure:3402: /usr/bin/gcc-4.2 --version >&5
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
configure:3413: $? = 0
configure:3402: /usr/bin/gcc-4.2 -v >&5
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5664~89/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man --enable-
languages=c,objc,c++,obj-c++ --program-transform-
name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-
darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-
darwin10 --target=i686-apple-darwin10 --with-gxx-include-
dir=/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5664)
configure:3413: $? = 0
configure:3402: /usr/bin/gcc-4.2 -V >&5
gcc-4.2: argument to `-V' is missing
configure:3413: $? = 1
configure:3402: /usr/bin/gcc-4.2 -qversion >&5
i686-apple-darwin10-gcc-4.2.1: no input files
configure:3413: $? = 1
configure:3433: checking whether the C compiler works
configure:3455: /usr/bin/gcc-4.2 -pipe -O2 -I/usr/include -arch x86_64
-I/opt/local/include -L/opt/local/lib -L/usr/lib -arch x86_64 conftest.c
>&5
ld: in /usr/lib/libgcc.a, can't map file, errno=22
collect2: ld returned 1 exit status
configure:3459: $? = 1
configure:3497: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "polkit"
| #define PACKAGE_TARNAME "polkit"
| #define PACKAGE_VERSION "0.96"
| #define PACKAGE_STRING "polkit 0.96"
| #define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo
/polkit-devel"
| #define PACKAGE_URL ""
| #define PACKAGE "polkit"
| #define VERSION "0.96"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3502: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96':
configure:3506: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/gcc-4.2
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-pipe -O2 -I/usr/include -arch x86_64'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=-I/opt/local/include
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_EGG_DBUS_CFLAGS_set=
ac_cv_env_EGG_DBUS_CFLAGS_value=
ac_cv_env_EGG_DBUS_LIBS_set=
ac_cv_env_EGG_DBUS_LIBS_value=
ac_cv_env_GLIB_CFLAGS_set=
ac_cv_env_GLIB_CFLAGS_value=
ac_cv_env_GLIB_LIBS_set=
ac_cv_env_GLIB_LIBS_value=
ac_cv_env_INTROSPECTION_CFLAGS_set=
ac_cv_env_INTROSPECTION_CFLAGS_value=
ac_cv_env_INTROSPECTION_LIBS_set=
ac_cv_env_INTROSPECTION_LIBS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/opt/local/lib -L/usr/lib -arch x86_64'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_prog_AWK=awk
ac_cv_prog_ac_ct_CC=/usr/bin/gcc-4.2
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96/missing
--run aclocal-1.11'
ALL_LINGUAS=''
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96/missing
--run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='1'
AR=''
AUTH_LIBS=''
AUTOCONF='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96/missing
--run autoconf'
AUTOHEADER='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96/missing
--run autoheader'
AUTOMAKE='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96/missing
--run automake-1.11'
AWK='awk'
BUILD_EXAMPLES_FALSE=''
BUILD_EXAMPLES_TRUE=''
CATALOGS=''
CATOBJEXT=''
CC='/usr/bin/gcc-4.2'
CCDEPMODE=''
CFLAGS='-pipe -O2 -I/usr/include -arch x86_64'
CPP=''
CPPFLAGS='-I/opt/local/include'
CYGPATH_W='echo'
DATADIRNAME=''
DEFS=''
DEPDIR='.deps'
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGG_DBUS_CFLAGS=''
EGG_DBUS_LIBS=''
EGREP=''
ENABLE_GTK_DOC_FALSE=''
ENABLE_GTK_DOC_TRUE=''
ENABLE_INTROSPECTION_FALSE=''
ENABLE_INTROSPECTION_TRUE=''
EXEEXT=''
EXPAT_LIBS=''
FGREP=''
GETTEXT_PACKAGE=''
GIRDIR=''
GIRTYPELIBDIR=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GMOFILES=''
GMSGFMT=''
GREP=''
GTKDOC_CHECK=''
GTKDOC_MKPDF=''
GTKDOC_REBASE=''
GTK_DOC_BUILD_HTML_FALSE=''
GTK_DOC_BUILD_HTML_TRUE=''
GTK_DOC_BUILD_PDF_FALSE=''
GTK_DOC_BUILD_PDF_TRUE=''
GTK_DOC_USE_LIBTOOL_FALSE=''
GTK_DOC_USE_LIBTOOL_TRUE=''
GTK_DOC_USE_REBASE_FALSE=''
GTK_DOC_USE_REBASE_TRUE=''
G_IR_COMPILER=''
G_IR_GENERATE=''
G_IR_SCANNER=''
HAVE_PAM=''
HAVE_PAM_FALSE=''
HAVE_PAM_TRUE=''
HTML_DIR=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INSTOBJEXT=''
INTLLIBS=''
INTLTOOL_CAVES_RULE=''
INTLTOOL_DESKTOP_RULE=''
INTLTOOL_DIRECTORY_RULE=''
INTLTOOL_EXTRACT=''
INTLTOOL_KBD_RULE=''
INTLTOOL_KEYS_RULE=''
INTLTOOL_MERGE=''
INTLTOOL_OAF_RULE=''
INTLTOOL_PERL=''
INTLTOOL_POLICY_RULE=''
INTLTOOL_PONG_RULE=''
INTLTOOL_PROP_RULE=''
INTLTOOL_SCHEMAS_RULE=''
INTLTOOL_SERVER_RULE=''
INTLTOOL_SERVICE_RULE=''
INTLTOOL_SHEET_RULE=''
INTLTOOL_SOUNDLIST_RULE=''
INTLTOOL_THEME_RULE=''
INTLTOOL_UI_RULE=''
INTLTOOL_UPDATE=''
INTLTOOL_XAM_RULE=''
INTLTOOL_XML_NOMERGE_RULE=''
INTLTOOL_XML_RULE=''
INTROSPECTION_CFLAGS=''
INTROSPECTION_LIBS=''
LD=''
LDFLAGS='-L/opt/local/lib -L/usr/lib -arch x86_64'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_AGE='0'
LT_CURRENT='0'
LT_REVISION='0'
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96/missing
--run makeinfo'
MAN_PAGES_ENABLED_FALSE=''
MAN_PAGES_ENABLED_TRUE=''
MKDIR_P='./install-sh -c -d'
MKINSTALLDIRS=''
MSGFMT=''
MSGFMT_OPTS=''
MSGMERGE=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OS_TYPE_FREEBSD_FALSE=''
OS_TYPE_FREEBSD_TRUE=''
OS_TYPE_GENTOO_FALSE=''
OS_TYPE_GENTOO_TRUE=''
OS_TYPE_PARDUS_FALSE=''
OS_TYPE_PARDUS_TRUE=''
OS_TYPE_RED_HAT_FALSE=''
OS_TYPE_RED_HAT_TRUE=''
OS_TYPE_SOLARIS_FALSE=''
OS_TYPE_SOLARIS_TRUE=''
OS_TYPE_SUSE_FALSE=''
OS_TYPE_SUSE_TRUE=''
OS_TYPE_UNKNOWN_FALSE=''
OS_TYPE_UNKNOWN_TRUE=''
OTOOL64=''
OTOOL=''
PACKAGE='polkit'
PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-
devel'
PACKAGE_NAME='polkit'
PACKAGE_STRING='polkit 0.96'
PACKAGE_TARNAME='polkit'
PACKAGE_URL=''
PACKAGE_VERSION='0.96'
PAM_FILE_INCLUDE_ACCOUNT=''
PAM_FILE_INCLUDE_AUTH=''
PAM_FILE_INCLUDE_PASSWORD=''
PAM_FILE_INCLUDE_SESSION=''
PAM_MODULE_DIR=''
PAM_PREFIX=''
PATH_SEPARATOR=':'
PKG_CONFIG=''
POFILES=''
POLKIT_AUTHFW=''
POLKIT_AUTHFW_NONE_FALSE=''
POLKIT_AUTHFW_NONE_TRUE=''
POLKIT_AUTHFW_PAM_FALSE=''
POLKIT_AUTHFW_PAM_TRUE=''
POLKIT_AUTHFW_SHADOW_FALSE=''
POLKIT_AUTHFW_SHADOW_TRUE=''
POSUB=''
PO_IN_DATADIR_FALSE=''
PO_IN_DATADIR_TRUE=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
USE_NLS=''
VERSION='0.96'
XGETTEXT=''
XSLTPROC=''
ac_ct_CC='/usr/bin/gcc-4.2'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL}
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_policykit/work/polkit-0.96
/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='/bin/echo'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/./install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/opt/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "polkit"
#define PACKAGE_TARNAME "polkit"
#define PACKAGE_VERSION "0.96"
#define PACKAGE_STRING "polkit 0.96"
#define PACKAGE_BUGREPORT "http://lists.freedesktop.org/mailman/listinfo
/polkit-devel"
#define PACKAGE_URL ""
#define PACKAGE "polkit"
#define VERSION "0.96"
configure: exit 77
}}}
Trying to remove all spots /usr/local/bin, /usr/local/sbin is but not
sure if i found them all.
/usr/local/ is empty
Thanks for such a quick reply.
--
Ticket URL: <https://trac.macports.org/ticket/27505#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list