Opened 7 years ago

Closed 7 years ago

#36310 closed defect (fixed)

mailsync @5.2.1: configure fails to find pam on 10.6+

Reported by: posita (Matt Bogosian (formerly @mbogosian)) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: mailsync

Description

I have a local, single-user installation of MacPorts (in "${HOME}/ports/..."). The reason I have a local, single-user installation is because I do not have root privileges on that particular machine.

I recently tried to perform a "port install mailsync" and found that configuration failed (the specific error is "a working c-client installation is required for building mailsync").

Here is the result:

% port install mailsync
--->  Computing dependencies for mailsync
--->  Configuring mailsync
Error: org.macports.configure for port mailsync returned: configure failure: command execution failed
Please see the log file for port mailsync for details:
    /.../ports/var/macports/logs/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mailsync failed

Here is the log:

% cat /.../ports/var/macports/logs/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/main.log
version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main cclient 2007e_1 exists in the ports tree
:debug:main cclient 2007e_1  is the latest installed
:debug:main cclient 2007e_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/mail/cclient
:debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl
:debug:main Reading variant descriptions from /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! cclient 2007e_1 >= cclient 2007e_1
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.0.1c_0 exists in the ports tree
:debug:main openssl 1.0.1c_0  is the latest installed
:debug:main openssl 1.0.1c_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! openssl 1.0.1c_0 >= openssl 1.0.1c_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.7_0 exists in the ports tree
:debug:main zlib 1.2.7_0  is the latest installed
:debug:main zlib 1.2.7_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! zlib 1.2.7_0 >= zlib 1.2.7_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main kerberos5 1.7.2_0 exists in the ports tree
:debug:main kerberos5 1.7.2_0  is the latest installed
:debug:main kerberos5 1.7.2_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/kerberos5
:debug:main OS darwin/10.8.0 (Mac OS X 10.6) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /.../ports/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! kerberos5 1.7.2_0 >= kerberos5 1.7.2_0
:msg:main --->  Computing dependencies for mailsync:info:main .:debug:main mailsync has no conflicts
:debug:main Searching for dependency: cclient
:debug:main Found Dependency: receipt exists for cclient
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:msg:main 
:debug:main Executing org.macports.main (mailsync)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.archivefetch (mailsync)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (mailsync)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (mailsync)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (mailsync)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (mailsync)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Sep 24 12:18:14 PDT 2012
:notice:configure --->  Configuring mailsync
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (mailsync)
:debug:configure Environment: CPATH='/.../ports/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/.../ports/include/c-client' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/.../ports/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/.../ports/var/macports/build/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/.../ports/lib -arch x86_64' OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang'
:debug:configure Assembled command: 'cd "/.../ports/var/macports/build/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/work/mailsync-5.2.1" && ./configure --prefix=/.../ports --with-c-client=/.../ports --with-krb5=/.../ports --with-openssl=/.../ports --mandir=/.../ports/share/man'
:debug:configure Executing command line:  cd "/.../ports/var/macports/build/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/work/mailsync-5.2.1" && ./configure --prefix=/.../ports --with-c-client=/.../ports --with-krb5=/.../ports --with-openssl=/.../ports --mandir=/.../ports/share/man 
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ANSI C... none needed
:info:configure checking for style of include used by make... GNU
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/clang++ accepts -g... yes
:info:configure checking dependency style of /usr/bin/clang++... gcc3
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking for gawk... (cached) gawk
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for egrep... grep -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for string.h... (cached) yes
:info:configure checking for an ANSI C-conforming const... yes
:info:configure checking whether lstat dereferences a symlink specified with a trailing slash... no
:info:configure checking whether stat accepts an empty string... no
:info:configure checking for getpass... yes
:info:configure checking for memset... yes
:info:configure checking for strchr... yes
:info:configure checking for strdup... yes
:info:configure checking for strerror... yes
:info:configure checking for strtoul... yes
:info:configure checking for crypt in -lcrypt... no
:info:configure checking for connect... yes
:info:configure checking for gethostbyname... yes
:info:configure checking for libssl... found in /.../ports/lib
:info:configure checking for main in -lssl... yes
:info:configure checking for main in -lcrypto... yes
:info:configure checking for openssl/ssl.h... found in /.../ports/include
:info:configure checking for krb5-config... found /.../ports/bin/krb5-config
:info:configure checking for pam library... found in /usr/lib
:info:configure checking for pam headers... not found
:info:configure checking for c-client.h... found in /.../ports/include/c-client
:info:configure checking for c-client library... found /.../ports/lib/libc-client4.a
:info:configure checking whether c-client built with kerberos gssapi support... yes
:info:configure checking if kerberos is required and available for linking against c-client... yes
:info:configure checking whether c-client requires ssl linkage... yes
:info:configure checking if simple c-client program compiles without pam support... no
:info:configure checking if we've seen pam somewhere around... no
:info:configure checking if c-client works without -fno-operator-names in c++... no
:info:configure checking if adding -fno-operator-names helps... no
:info:configure configure: error: a working c-client installation is required for building mailsync
:info:configure Command failed:  cd "/.../ports/var/macports/build/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/work/mailsync-5.2.1" && ./configure --prefix=/.../ports --with-c-client=/.../ports --with-krb5=/.../ports --with-openssl=/.../ports --mandir=/.../ports/share/man 
:info:configure Exit code: 1
:error:configure org.macports.configure for port mailsync returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for mailsync: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port mailsync for details:
    /.../ports/var/macports/logs/_..._ports_var_macports_sources_rsync.macports.org_release_tarballs_ports_mail_mailsync/mailsync/main.log

Attachments (1)

config.log (39.8 KB) - added by posita (Matt Bogosian (formerly @mbogosian)) 7 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 7 years ago by ryandesign (Ryan Schmidt)

Is there a config.log (in the work directory) that you could attach that might shed some more light on this?

Changed 7 years ago by posita (Matt Bogosian (formerly @mbogosian))

Attachment: config.log added

comment:2 Changed 7 years ago by jmroot (Joshua Root)

Port: mailsync added

comment:3 Changed 7 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: mailsync build fails: "configure: error: a working c-client installation is required for building mailsync"mailsync @5.2.1: configure fails to find pam on 10.6+
Note: See TracTickets for help on using tickets.