#20971 closed defect (fixed)
alpine-2.00 Build Failure
Reported by: | macports@… | Owned by: | todmorrison (Tod Morrison) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.0 |
Keywords: | Cc: | oliver@…, mf2k (Frank Schima) | |
Port: | alpine |
Description
Under Snow Leopard (Mac OS X 10.6), clean install. MacPorts 1.8.0.
All dependencies for alpine-2.00 are built and verified.
When issuing the command "port install alpine," fails with following output:
# port MacPorts 1.8.0 Entering interactive mode... ("help" for help, "quit" to quit) [var/root] > install alpine ---> Computing dependencies for alpine ---> Fetching alpine ---> Verifying checksum(s) for alpine ---> Extracting alpine ---> Configuring alpine ---> Building alpine Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/work/alpine-2.00" && /usr/bin/make -j2 all C_CLIENT_SPECIALS="GSSLIB=//opt/local/lib SSLDIR=/opt/local" " returned error 2 Command output: echo > LDFLAGS Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/System/Library/OpenSSL/certs\" -DSSL_KEY_DIRECTORY=\"/System/Library/OpenSSL/private\" >> OSCFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo " ssl_onceonlyinit ();" >> linkage.c echo osx > OSTYPE echo -L/usr/lib -lssl -lcrypto >> LDFLAGS ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c osdepbas.c not found...try make clean and new make make[4]: *** [osdepbas.c] Error 1 make[4]: *** Waiting for unfinished jobs.... ./mkauths gss ext md5 pla log echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f //opt/local/lib/libk5crypto.a) && echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_osx.h osdep.h ln -s os_osx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_bsd.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test osx = sc5 -o osx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' make[3]: *** [osx] Error 2 make[2]: *** [OSTYPE] Error 2 make[1]: *** [oxp] Error 2 make: *** [c-client] Error 2 Error: Status 1 encountered during processing. Goodbye #
Attachments (5)
Change History (21)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Keywords: | alpine 2.00 build failure osdepbas.c not found removed |
---|---|
Owner: | changed from macports-tickets@… to todmorrison@… |
comment:2 Changed 15 years ago by oliver@…
Changed 15 years ago by todmorrison (Tod Morrison)
New Alpine-2.00 Portfile
comment:4 follow-up: 5 Changed 15 years ago by todmorrison (Tod Morrison)
Could someone test the new Portfile (attached above) under Snow Leopard to see if it fixes the problem? If it does, we'll need to get it committed to the repository.
comment:5 Changed 15 years ago by macports@…
Replying to todmorrison@…:
Could someone test the new Portfile (attached above) under Snow Leopard to see if it fixes the problem? If it does, we'll need to get it committed to the repository.
Went into the following directory, backed up the Portfile and placed the new Portfile in its place:
/opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/alpine
Issued port clean alpine and port install alpine:
b:~ root# port clean alpine ---> Cleaning alpine b:~ root# port install alpine ---> Computing dependencies for alpine ---> Fetching alpine ---> Verifying checksum(s) for alpine ---> Extracting alpine ---> Configuring alpine ---> Building alpine Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/work/alpine-2.00" && /usr/bin/make -j2 all C_CLIENT_SPECIALS="GSSLIB=//opt/local/lib SSLDIR=/opt/local" " returned error 2 Command output: echo > LDFLAGS Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/System/Library/OpenSSL/certs\" -DSSL_KEY_DIRECTORY=\"/System/Library/OpenSSL/private\" >> OSCFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo " ssl_onceonlyinit ();" >> linkage.c echo osx > OSTYPE echo -L/usr/lib -lssl -lcrypto >> LDFLAGS ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c osdepbas.c not found...try make clean and new make make[4]: *** [osdepbas.c] Error 1 make[4]: *** Waiting for unfinished jobs.... ./mkauths gss ext md5 pla log echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f //opt/local/lib/libk5crypto.a) && echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_osx.h osdep.h ln -s os_osx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_bsd.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test osx = sc5 -o osx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' make[3]: *** [osx] Error 2 make[2]: *** [OSTYPE] Error 2 make[1]: *** [oxp] Error 2 make: *** [c-client] Error 2 Error: Status 1 encountered during processing.
Am I missing something here?
b:alpine root# diff Portfile Portfile.bad 1c1 < # $Id$ --- > # $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $ 7d6 < revision 1 47d45 < --with-c-client-target=oxp \
Changed 15 years ago by todmorrison (Tod Morrison)
Attachment: | Portfile.2 added |
---|
Here's another attempt at a working Portfile
comment:6 follow-up: 8 Changed 15 years ago by todmorrison (Tod Morrison)
Let's try this one more time... If this doesn't do it, we may have to wait till I have access to a machine running Snow Leopard.
comment:7 Changed 15 years ago by macports@…
Looks like a different problem maybe?
b:~ root# port clean alpine ---> Cleaning alpine b:~ root# port install alpine ---> Computing dependencies for alpine ---> Fetching alpine ---> Verifying checksum(s) for alpine ---> Extracting alpine ---> Configuring alpine ---> Building alpine Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/work/alpine-2.00" && /usr/bin/make all C_CLIENT_SPECIALS="GSSLIB=//opt/local/lib SSLDIR=/opt/local" " returned error 2 Command output: osdep.c:111: error: 'PAM_SUCCESS' undeclared (first use in this function) osdep.c:112: error: invalid use of undefined type 'struct pam_response' osdep.c:112: error: dereferencing pointer to incomplete type osdep.c:114: error: 'PAM_PROMPT_ECHO_OFF' undeclared (first use in this function) osdep.c:115: error: invalid use of undefined type 'struct pam_response' osdep.c:115: error: dereferencing pointer to incomplete type osdep.c:116: error: invalid use of undefined type 'struct pam_response' osdep.c:116: error: dereferencing pointer to incomplete type osdep.c:118: error: 'PAM_TEXT_INFO' undeclared (first use in this function) osdep.c:119: error: 'PAM_ERROR_MSG' undeclared (first use in this function) osdep.c:120: error: invalid use of undefined type 'struct pam_response' osdep.c:120: error: dereferencing pointer to incomplete type osdep.c:121: error: invalid use of undefined type 'struct pam_response' osdep.c:121: error: dereferencing pointer to incomplete type osdep.c:125: error: 'PAM_CONV_ERR' undeclared (first use in this function) osdep.c: At top level: osdep.c:136: error: expected ')' before '*' token osdep.c: In function 'Checkpw': osdep.c:153: error: 'pam_handle_t' undeclared (first use in this function) osdep.c:153: error: 'hdl' undeclared (first use in this function) osdep.c:154: error: storage size of 'conv' isn't known osdep.c:162: error: 'PAM_SUCCESS' undeclared (first use in this function) osdep.c:163: error: 'PAM_RHOST' undeclared (first use in this function) osdep.c:166: error: 'PAM_ESTABLISH_CRED' undeclared (first use in this function) osdep.c:182: error: 'checkpw_cleanup' undeclared (first use in this function) make[4]: *** [osdep.o] Error 1 make[3]: *** [osx] Error 2 make[2]: *** [OSTYPE] Error 2 make[1]: *** [oxp] Error 2 make: *** [c-client] Error 2 Error: Status 1 encountered during processing. b:~ root#
comment:8 Changed 15 years ago by macports@…
Replying to todmorrison@…:
Let's try this one more time... If this doesn't do it, we may have to wait till I have access to a machine running Snow Leopard.
Is there a way for me to send you a private message? I'm somewhat new to MacPorts. Thanks!
comment:9 Changed 15 years ago by oliver@…
It just occurred to me that I saw an error coming up earlier than the output samples above demonstrate, which I guess is because I was using -v on the port install command. Here's the complete output -- note the block right after "building c-client for osx".
> sudo port -v clean alpine ---> Cleaning alpine ---> Removing build directory for alpine > sudo port -v install alpine ---> Computing dependencies for alpine. ---> Fetching alpine ---> Verifying checksum(s) for alpine ---> Checksumming alpine.tar.bz2 ---> Extracting alpine ---> Extracting alpine.tar.bz2 ---> Configuring alpine checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-apple-darwin10.0.0 checking host system type... i686-apple-darwin10.0.0 configure: Configuring for alpine 2.00 (i686-apple-darwin10.0.0)) checking for gcc... /usr/bin/gcc-4.2 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 /usr/bin/gcc-4.2 accepts -g... yes checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /usr/bin/gcc-4.2... gcc3 checking for /usr/bin/gcc-4.2 option to accept ISO C99... -std=gnu99 checking for /usr/bin/gcc-4.2 -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) awk checking for ranlib... ranlib checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by /usr/bin/gcc-4.2 -std=gnu99... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... /usr/bin/gcc-4.2 -std=gnu99 -E 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether /usr/bin/g++-4.2 accepts -g... yes checking dependency style of /usr/bin/g++-4.2... gcc3 checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 -std=gnu99 object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... (cached) ranlib checking for strip... strip checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC... -fno-common checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common works... yes checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works... no checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... yes checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.0.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by /usr/bin/g++-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes checking if /usr/bin/g++-4.2 static flag -static works... no checking if /usr/bin/g++-4.2 supports -c -o file.o... yes checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.0.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for ar... /usr/bin/ar checking for rm... /bin/rm checking for cp... /bin/cp checking for ln... /bin/ln checking for sed... /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext checking for msgmerge... /opt/local/bin/msgmerge checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... -liconv checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation checking option: dmalloc enabled... no checking option: debugging is enabled... yes checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for sendmail... /usr/sbin/sendmail checking for inews... no checking for passwd... /usr/bin/passwd checking for aspell... no checking for ispell... no checking for spell... no checking for aspell... no checking for ispell... no configure: Excluding TCL Support, and thus Web Alpine Support checking for setupterm in -ltinfo... no checking for setupterm in -lncurses... yes checking for ber_alloc in -llber... yes checking for library containing ldap_init... -lldap configure: Including LDAP Support checking if we should define LDAP_DEPRECATED... yes checking for library containing SSL_library_init... -lssl configure: OpenSSL libraries FOUND checking for library containing gss_init_sec_context... -lgssapi_krb5 checking gssapi/gssapi_generic.h usability... yes checking gssapi/gssapi_generic.h presence... yes checking for gssapi/gssapi_generic.h... yes checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... yes checking for mode_t... yes checking for pid_t... yes checking for uid_t in sys/types.h... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... yes checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... yes checking for memcpy... yes checking for strtol... yes checking for strtoul... yes checking for select... yes checking for poll... yes checking for qsort... yes checking for getuid... yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... yes checking for tmpfile... yes checking for uname... yes checking for rename... yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... yes checking for wait4... yes checking for waitpid... yes checking for wait... yes checking for srandom... yes checking for popen... yes checking for pclose... yes checking for fsync... yes checking for truncate... yes checking for listen... yes checking for wcwidth... yes checking for mbstowcs... yes checking for wcrtomb... yes checking for putenv... yes checking for setenv... yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... yes checking for library containing syslog... none required checking for pam_start in -lpam... yes configure: * * * SSL file "/System/Library/OpenSSL/certs/factory.pem" is missing. configure: * * * This might indicate that CA certs did not get properly configure: * * * installed. If you get certificate validation failures configure: * * * in Alpine, this might be the reason for them. configure: * * * No 8-hexdigit symlinks in certificate directory "/System/Library/OpenSSL/certs". configure: * * * This might indicate that CA certs did not get properly configure: * * * installed. If you get certificate validation failures configure: * * * in Alpine, this might be the reason for them. configure: * * * Including Kerberos5 functionality configure: * * * TCL libraries could not be found. configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT. configure: creating ./config.status config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting config.status: creating regex/Makefile config.status: creating pith/osdep/Makefile config.status: creating pith/charconv/Makefile config.status: creating pith/Makefile config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile ---> Building alpine if test ! -L c-client ; then ln -s imap/c-client c-client ; fi touch imap/ip6 cd imap && /usr/bin/make oxp EXTRASPECIALS="GSSLIB=//opt/local/lib SSLDIR=/opt/local" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . touch ip6 make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='GSSLIB=//opt/local/lib SSLDIR=/opt/local' BUILDTYPE=osx IP=6 EXTRAAUTHENTICATORS=" gss" \ PASSWDTYPE=pam \ EXTRACFLAGS=" -DMAC_OSX_KLUDGE=1" \ SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam" make[3]: `ip6' is up to date. Building c-client for osx... cat: OSTYPE: No such file or directory sh: line 0: test: too many arguments echo `cat SPECIALS` GSSLIB=//opt/local/lib SSLDIR=/opt/local > c-client/SPECIALS cat: OSTYPE: No such file or directory Already built for -- you must do "make clean" first make[2]: *** [rebuild] Error 1 make[2]: *** Waiting for unfinished jobs.... cd c-client;make osx EXTRACFLAGS='-DMAC_OSX_KLUDGE=1'\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss'\ PASSWDTYPE=pam SSLTYPE=nopwd IP=6\ SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam GSSLIB=//opt/local/lib SSLDIR=/opt/local make build EXTRACFLAGS='-DMAC_OSX_KLUDGE=1' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=osx \ CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign" sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer -Wno-pointer-sign '-DMAC_OSX_KLUDGE=1' -DCHUNKSIZE=65536 > CFLAGS PAM password authentication echo -lpam -ldl >> LDFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/usr/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS ln -s ckp_pam.c osdepckp.c echo > LDFLAGS Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/System/Library/OpenSSL/certs\" -DSSL_KEY_DIRECTORY=\"/System/Library/OpenSSL/private\" >> OSCFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo " ssl_onceonlyinit ();" >> linkage.c echo osx > OSTYPE echo -L/usr/lib -lssl -lcrypto >> LDFLAGS ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c osdepbas.c not found...try make clean and new make make[4]: *** [osdepbas.c] Error 1 make[4]: *** Waiting for unfinished jobs.... ./mkauths gss ext md5 pla log echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f //opt/local/lib/libk5crypto.a) && echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_osx.h osdep.h ln -s os_osx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_bsd.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test osx = sc5 -o osx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' make[3]: *** [osx] Error 2 make[2]: *** [OSTYPE] Error 2 make[1]: *** [oxp] Error 2 make: *** [c-client] Error 2 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/work/alpine-2.00" && /usr/bin/make -j2 all C_CLIENT_SPECIALS="GSSLIB=//opt/local/lib SSLDIR=/opt/local" " returned error 2 Command output: echo > LDFLAGS Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/System/Library/OpenSSL/certs\" -DSSL_KEY_DIRECTORY=\"/System/Library/OpenSSL/private\" >> OSCFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o;ranlib c-client.a" > ARCHIVE echo " ssl_onceonlyinit ();" >> linkage.c echo osx > OSTYPE echo -L/usr/lib -lssl -lcrypto >> LDFLAGS ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c osdepbas.c not found...try make clean and new make make[4]: *** [osdepbas.c] Error 1 make[4]: *** Waiting for unfinished jobs.... ./mkauths gss ext md5 pla log echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f //opt/local/lib/libk5crypto.a) && echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L//opt/local/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_osx.h osdep.h ln -s os_osx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_bsd.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test osx = sc5 -o osx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' make[3]: *** [osx] Error 2 make[2]: *** [OSTYPE] Error 2 make[1]: *** [oxp] Error 2 make: *** [c-client] Error 2 Warning: the following items did not execute (for alpine): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. zsh: exit 1 sudo port -v install alpine
Changed 15 years ago by oliver@…
Attachment: | alpine-osx-10.6.patch added |
---|
Alpine patch to take out MAC_OSX_KLUDGE
Changed 15 years ago by oliver@…
Attachment: | Portfile-oliver-10.6 added |
---|
Portfile to apply 10.6 patch
comment:10 Changed 15 years ago by oliver@…
I have added two attachments to the ticket above. The patch takes out a hack called MAC_OSX_KLUDGE from alpine, that appears to be no longer needed. The portfile puts this patch in place, and it also includes the "use_parallel_build no" directive. Obviously this is no full fix -- I'm afraid I don't know how to put all these different elements in their right places, and the fact that parallelized builds still break is a bit scary as well. Hopefully somebody will be able to do that. In any case, by using the patch and the portfile, I have now got a working alpine version on my 10.6 system.
Changed 15 years ago by todmorrison (Tod Morrison)
Attachment: | alpine.tgz added |
---|
Portfile plus patch
comment:11 follow-up: 12 Changed 15 years ago by todmorrison (Tod Morrison)
I've modified the Portfile to use the patch only for 10.6 and attached the Portfile and patch to this ticket in a gzip'ed tar file containing the usual Portfile directory structure. The alpine build system will probably need a major overhaul upstream to allow parallel make. Anyway, if this version tests out we can hopefully get it committed to the repository and call it good.
P.S. I've also started working on a re-alpine (http://re-alpine.sourceforge.net) Port, so maybe this will all be obsolete someday.
comment:12 Changed 15 years ago by mf2k (Frank Schima)
Replying to todmorrison@…:
Can you re-upload the patch alpine.tgz? It is definitely not correct as is.
comment:14 follow-up: 16 Changed 15 years ago by todmorrison (Tod Morrison)
The new Portfile and patch have been committed and are in the ports tree.
comment:15 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:16 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to todmorrison@…:
The new Portfile and patch have been committed and are in the ports tree.
I apologize if you don't want comments of the kind here -- just to say that I see the exact same problem.