Opened 11 years ago
Closed 8 years ago
#43245 closed defect (fixed)
Port 2.2.99 cannot be configured on PPC Mac OS X 10.4.11 because "/usr/bin/gzip has 3 other links"
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.2.99 |
Keywords: | Cc: | ||
Port: |
Description
This is the end of the configure step:
checking for gzip... (cached) /usr/bin/gzip checking for bzip2... (cached) /usr/bin/bzip2 configure: === extracting vendor/tcl8.5.15-src.tar.gz gzip: /usr/bin/gzip has 3 other links -- unchanged configure: error: tarball vendor/tcl8.5.15-src.tar.gz did not extract to vendor/tcl8.5.15/unix
What is wrong with this?
root 230 /\ l -i /usr/bin/gzip 415840 -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 /usr/bin/gzip root 231 /\ find /usr -type f -inum 415840 -exec ls -l {} \; -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 /usr/bin/gunzip -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 /usr/bin/gzcat -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 /usr/bin/gzip -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 /usr/bin/zcat
Attachments (2)
Change History (21)
comment:1 follow-up: 2 Changed 11 years ago by neverpanic (Clemens Lang)
comment:2 Changed 11 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cal@…:
The command line that gets run for extraction is
"/usr/bin/gzip" -d < "$path_to_tarball" | tar -xf -Can you run that and see if that works?
This seems to work:
root 241 /\ pd 501 /tmp/501 /tmp /Users/pete root 242 /\ la root 243 /\ "/usr/bin/gzip" -d < "/opt/mports/trunk/base/vendor/tcl8.5.15-src.tar.gz" | tar -xf - root 244 /\ la total 0 drwxr-xr-x 25 15399 19249 850 13 Sep 2013 tcl8.5.15
comment:3 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
After port was upgraded to version 2.3 I tried to build port from SVN sources (version 2.3.99?). Configure still fails at the same spot, of the same cause. So I decided to put
env | sort set | sort set -x
into the script and see whether this can provide some hints. I get now:
CFLAG=-pipe -bind_at_load -fPIC -mcpu=7450 -mtune=7450 -mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -freorder-blocks-and-partition -fno-crossjumping COLUMNS=164 CONFIG_SHELL=/bin/sh CPPFLAG=-no-cpp-precomp -I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/usr/local/include -I/sw/include CVS_RSH=ssh CXXFLAG=-no-cpp-precomp -I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/usr/local/include -I/sw/include DISPLAY=:0 DUALCASE=1 EMACS=t EMACSPACKAGEPATH=/usr/local/share/xemacs/site-packages:/usr/local/share/xemacs/mule-packages:/usr/local/share/xemacs/xemacs-packages ENV_SET= FDK_EXE=/Users/pete/bin/FDK/Tools/osx FLTK_DOCDIR= GDK_USE_XFT=1 GL_ENABLE_DEBUG_ATTACH=YES GROUP=pete GZIP=/usr/bin/gzip HOME=/var/root HOST=tiger HOSTTYPE=powermac INFOPATH=/usr/local/texlive/2009/texmf/doc/info:/usr/share/info:/Developer/usr/share/info:/usr/local/share/info:/sw/share/info:/opt/local/share/info:/Applications/EmacsJCVS.app/Contents/Resources/info:/Applications/EmacsJCVS.app/Contents/Resources/extra/info INSIDE_EMACS=t KTRACE=-i -d -tn -ti LANG=de_DE.UTF-8 LANGUAGE=C LC_ALL=C LC_CTYPE=de_DE.UTF-8 LDFLAG=-dead_strip -multiply_defined suppress -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/ncurses -L/sw/lib -L/usr/local/lib LD_PREBIND= LESS=-dEgMWX LOCATE_PATH=/var/db/locate.database LOGNAME=root LS_COLWIDTHS= MACHTYPE=powerpc MACOSX_DEPLOYMENT_TARGET=10.4 MAGIC=/usr/share/file/magic:/Applications/Utilities/i-Installer.app/Contents/Resources/magic:/etc/httpd/magic:~/.magic MAKEFLAGS= MAKELEVEL=2 MANPATH=/opt/local/man:/opt/local/share/man:/opt/local/share/perl5.12/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/local/texlive/2009/texmf/doc/man:/usr/local/clamXav/share/man MFLAGS= MallocLogFile=/var/tmp/gesammeltesMalloc.txt OSTYPE=darwin PATH=/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/texlive/2009/bin/universal-darwin PKG_CONFIG_PATH= PWD=/opt/mports/trunk/base QDTEXT_ANTIALIASING=1 QDTEXT_MINSIZE=9 RESOLUTION=100 SECURITYSESSIONID=505e50 SGML_CATALOG_FILES= SHELL=/bin/sh SHLVL=5 SUDO_COMMAND=/usr/bin/env LANG=de_DE.UTF-8 LC_CTYPE=de_DE.UTF-8 PATH=/Users/pete/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/sw/bin:/usr/local/texlive/2009/bin/universal-darwin MANPATH=/sw/lib/fontconfig2/share/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/local/texlive/2009/texmf/doc/man:/sw/lib/coreutils/share/man:/sw/share/man:/sw/lib/perl5/5.8.8/man:/usr/local/clamXav/share/man /usr/local/bin/emacs-24.3.90 -xrm Emacs*iconName: Tiger-Kastel -xrm Emacs.FontBackend: xft,ftx,x -T Tiger-Kastel 2009 -geometry 123x69+125+25 -fn Lucida Sans Typewriter-7 SUDO_GID=501 SUDO_UID=501 SUDO_USER=pete TERM=dumb TERMCAP= USER=root VENDOR=apple WINDOWID=10485773 X11_PREFS_DOMAIN=org.macports.X11 XAPPLRESDIR= XAUTHORITY=/Users/pete/.Xauthority XML_CATALOG_FILES= XTERM_LOCALE=de_DE.UTF-8 XTERM_SHELL=/bin/tcsh XTERM_VERSION=X.Org 7.6.0(303) _=/usr/bin/env __CF_USER_TEXT_ENCODING=0x0:0:3 as_nl= when extracting, same as --no-same-owner' # include <memory.h> # include <stdlib.h> # endif # endif # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # ifdef HAVE_STDLIB_H # include <inttypes.h> # include <stddef.h> # include <stdint.h> # include <stdlib.h> # include <string.h> # include <strings.h> # include <sys/stat.h> # include <sys/types.h> # include <unistd.h> #else #endif #endif #endif #endif #endif #endif #endif #endif' #ifdef HAVE_INTTYPES_H #ifdef HAVE_STDINT_H #ifdef HAVE_STRINGS_H #ifdef HAVE_STRING_H #ifdef HAVE_SYS_STAT_H #ifdef HAVE_SYS_TYPES_H #ifdef HAVE_UNISTD_H #ifdef STDC_HEADERS ' ' ' ' ' APPLE_FOUNDATION_CFLAGS= APPLE_FOUNDATION_LIBS='-framework Foundation' BASH=/bin/sh BASH_VERSINFO=([0]="2" [1]="05b" [2]="0" [3]="1" [4]="release" [5]="powerpc-apple-darwin8.0") BASH_VERSION='2.05b.0(1)-release' BSDMAKE BSDMAKE=/usr/bin/bsdmake BZIP2 BZIP2=/usr/bin/bzip2 BZR BZR= CC CC CC=cc CFLAG='-pipe -bind_at_load -fPIC -mcpu=7450 -mtune=7450 -mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -freorder-blocks-and-partition -fno-crossjumping' CFLAGS CFLAGS CFLAGS='-g -O2' CFLAGS_LIBCURL CFLAGS_LIBCURL= CFLAGS_OLD='-g -O2' CFLAGS_PEDANTIC CFLAGS_PEDANTIC=-pedantic CFLAGS_QUICHEEATERS CFLAGS_QUICHEEATERS='-Wextra -Wall' CFLAGS_SQLITE3 CFLAGS_WERROR CFLAGS_WERROR= CHOWN CHOWN=/usr/sbin/chown COLUMNS=164 CONFIG_SHELL=/bin/sh CP CP=/bin/cp CPIO CPIO=/usr/bin/cpio CPP CPP' CPP='cc -E' CPPFLAG='-no-cpp-precomp -I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/usr/local/include -I/sw/include' CPPFLAGS CPPFLAGS CPPFLAGS= CPPFLAGS_OLD= CURL_CONFIG CURL_CONFIG=/usr/bin/curl-config CVS CVS=/usr/bin/cvs CVS_RSH=ssh CXXFLAG='-no-cpp-precomp -I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/include -I/usr/local/include -I/sw/include' DEFAULTS DEFAULTS=/usr/bin/defaults DEFS DEVELOPER_DIR DEVELOPER_DIR=/Developer DIFF DIFF=/usr/bin/diff DIRSTACK=() DISPLAY=:0 DSCL DSCL=/usr/bin/dscl DSEDITGROUP DSEDITGROUP=/usr/sbin/dseditgroup DSTGRP DSTGRP=admin DSTMODE DSTMODE=0755 DSTUSR DSTUSR=root DUALCASE=1 ECHO_C ECHO_C= ECHO_N ECHO_N=-n ECHO_T ECHO_T= EGREP EGREP='/usr/bin/grep -E' EMACS=t EMACSPACKAGEPATH=/usr/local/share/xemacs/site-packages:/usr/local/share/xemacs/mule-packages:/usr/local/share/xemacs/xemacs-packages ENV_SET= EUID=0 EXEEXT EXEEXT= EXTRA_PROGS EXTRA_PROGS=' daemondo' FDK_EXE=/Users/pete/bin/FDK/Tools/osx FILE FILE=/usr/bin/file FIND FIND=/usr/bin/find FLTK_DOCDIR= FRAMEWORK_LIBS='-framework CoreFoundation' GCC=yes GDK_USE_XFT=1 GIT GIT= GL_ENABLE_DEBUG_ATTACH=YES GNUMAKE GNUMAKE=/usr/bin/gnumake GNUPATCH GNUPATCH=/usr/bin/patch GNUSTEP_CONFIG=/usr/bin/gnustep-config GNUTAR GNUTAR=/usr/bin/gnutar GOBJC=yes GREP GREP=/usr/bin/grep GROUP=pete GROUPS=() GZIP GZIP=/usr/bin/gzip HAVE_FRAMEWORK_COREFOUNDATION HAVE_FRAMEWORK_IOKIT HAVE_FRAMEWORK_SYSTEMCONFIGURATION HAVE_FUNCTION_CFNOTIFICATIONCENTERGETDARWINNOTIFYCENTER HAVE_LAUNCHD HAVE_LAUNCHD=yes HDIUTIL HDIUTIL=/usr/bin/hdiutil HG HG= HOME=/var/root HOST=tiger HOSTNAME=tiger HOSTTYPE=powermac IFS=' INCLUDES INFOPATH=/usr/local/texlive/2009/texmf/doc/info:/usr/share/info:/Developer/usr/share/info:/usr/local/share/info:/sw/share/info:/opt/local/share/info:/Applications/EmacsJCVS.app/Contents/Resources/info:/Applications/EmacsJCVS.app/Contents/Resources/extra/info INSIDE_EMACS=t INSTALL='/usr/bin/install -c' INSTALL_DATA INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT INSTALL_SCRIPT='${INSTALL}' INTREE_TCLSH KTRACE='-i -d -tn -ti' LANG=de_DE.UTF-8 LANGUAGE=C LAUNCHCTL LAUNCHCTL=/bin/launchctl LC_ALL=C LC_CTYPE=de_DE.UTF-8 LDFLAG='-dead_strip -multiply_defined suppress -L/sw/lib/freetype219/lib -L/sw/lib/fontconfig2/lib -L/sw/lib/ncurses -L/sw/lib -L/usr/local/lib' LDFLAGS LDFLAGS LDFLAGS_LIBCURL LDFLAGS_LIBCURL=-lcurl LDFLAGS_SQLITE3 LDFLAGS_SQLITE3=-lsqlite3 LD_PREBIND= LESS=-dEgMWX LIBOBJS LIBOBJS= LIBS LIBS LIBS= LIBS_OLD= LINENO=9671 LIPO LIPO=/usr/bin/lipo LN_S LN_S='ln -s' LOCATE_PATH=/var/db/locate.database LOGNAME=root LSBOM LSBOM=/usr/bin/lsbom LS_COLWIDTHS= LZMA LZMA= MACHTYPE=powerpc MACOSX_DEPLOYMENT_TARGET=10.4 MACOSX_VERSION=10.4.11 MACPORTS_VERSION MACPORTS_VERSION=2.3.99 MAGIC='/usr/share/file/magic:/Applications/Utilities/i-Installer.app/Contents/Resources/magic:/etc/httpd/magic:~/.magic' MAKE MAKE=/usr/bin/make MAKEFLAGS= MAKELEVEL=2 MANPATH=/opt/local/man:/opt/local/share/man:/opt/local/share/perl5.12/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/local/texlive/2009/texmf/doc/man:/usr/local/clamXav/share/man MD5_LIBS MDFIND MDFIND=/usr/bin/mdfind MDLS MDLS=/usr/bin/mdls MFLAGS= MKBOM MKBOM=/usr/bin/mkbom MPAPPLICATIONSDIR MPAPPLICATIONSDIR=/Applications/MacPorts MPCONFIGDIR MPCONFIGDIR='${sysconfdir}/macports' MPCONFIGDIR_EXPANDED MPCONFIGDIR_EXPANDED=/opt/local/etc/macports MPFRAMEWORKSDIR MPFRAMEWORKSDIR=/opt/local/Library/Frameworks MP_PRIVATE='__attribute__((visibility("hidden")))' MTREE MTREE=/usr/sbin/mtree MallocLogFile=/var/tmp/gesammeltesMalloc.txt OBJC OBJC OBJC=cc OBJCFLAGS OBJCFLAGS OBJCFLAGS='-g -O2' OBJCPP OBJCPP OBJCPP='cc -E' OBJC_FOUNDATION OBJC_FOUNDATION=Apple OBJC_FOUNDATION_CPPFLAGS OBJC_FOUNDATION_CPPFLAGS= OBJC_FOUNDATION_LDFLAGS OBJC_FOUNDATION_LDFLAGS= OBJC_FOUNDATION_LIBS OBJC_FOUNDATION_LIBS='-framework Foundation' OBJC_LIBS OBJC_LIBS=-lobjc OBJC_PTHREAD_CFLAGS OBJC_PTHREAD_CFLAGS='-D_THREAD_SAFE ' OBJC_PTHREAD_LIBS OBJC_PTHREAD_LIBS= OBJC_RUNTIME OBJC_RUNTIME=APPLE_RUNTIME OBJC_RUNTIME_FLAGS OBJC_RUNTIME_FLAGS=-fnext-runtime OBJEXT OBJEXT=o OLD_LIBS= OLD_OBJCFLAGS='-g -O2' OPEN OPEN=/usr/bin/open OPENSSL OPENSSL=/usr/bin/openssl OPTERR=1 OPTIND=1 OSTYPE=darwin OS_MAJOR OS_MAJOR=8 OS_PLATFORM OS_PLATFORM=darwin PACKAGE_BUGREPORT PACKAGE_BUGREPORT=macports-dev@lists.macosforge.org PACKAGE_NAME PACKAGE_NAME=MacPorts PACKAGE_STRING PACKAGE_STRING='MacPorts 2.3.99' PACKAGE_TARNAME PACKAGE_TARNAME=macports PACKAGE_URL PACKAGE_URL= PACKAGE_VERSION PACKAGE_VERSION=2.3.99 PATCH PATCH=/usr/bin/patch PATCH_CMD=/usr/bin/patch PATH=/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/texlive/2009/bin/universal-darwin PATH_CLEANED PATH_CLEANED=/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/texlive/2009/bin/universal-darwin PATH_SEPARATOR PATH_SEPARATOR=: PAX PAX=/bin/pax PIPESTATUS=([0]="0" [1]="0") PKG_CONFIG PKG_CONFIG_PATH= PORTSDIR PORTS_DIR_DEFAULT=/opt/mports/trunk/ports POSIXLY_CORRECT=y PPID=29061 PS1='$ ' PS2='> ' PS4='+ ' PTHREAD_CFLAGS PTHREAD_CFLAGS='-D_THREAD_SAFE ' PTHREAD_LIBS PTHREAD_LIBS= PWD=/opt/mports/trunk/base QDTEXT_ANTIALIASING=1 QDTEXT_MINSIZE=9 READLINE_LIBS READLINE_LIBS=-lreadline READLINK_IS_NOT_P1003_1A RESOLUTION=100 RMDIR RMDIR=/bin/rmdir RSYNC RSYNC=/usr/bin/rsync RUNUSR RUNUSR=macports SANDBOX_EXEC SANDBOX_EXEC= SECURITYSESSIONID=505e50 SED SED=/usr/bin/sed SED_EXT SED_EXT=-E SET_MAKE SET_MAKE= SGML_CATALOG_FILES= SHELL' SHELL=/bin/sh SHELLOPTS=braceexpand:hashall:interactive-comments:posix SHLIB_CFLAGS SHLIB_LD SHLIB_SUFFIX SHLVL=5 STLIB_LD SUDO_COMMAND='/usr/bin/env LANG=de_DE.UTF-8 LC_CTYPE=de_DE.UTF-8 PATH=/Users/pete/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/sw/bin:/usr/local/texlive/2009/bin/universal-darwin MANPATH=/sw/lib/fontconfig2/share/man:/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/local/texlive/2009/texmf/doc/man:/sw/lib/coreutils/share/man:/sw/share/man:/sw/lib/perl5/5.8.8/man:/usr/local/clamXav/share/man /usr/local/bin/emacs-24.3.90 -xrm Emacs*iconName: Tiger-Kastel -xrm Emacs.FontBackend: xft,ftx,x -T Tiger-Kastel 2009 -geometry 123x69+125+25 -fn Lucida Sans Typewriter-7' SUDO_GID=501 SUDO_UID=501 SUDO_USER=pete SVN SVN= SWIG SWIG= SW_VERS SW_VERS=/usr/bin/sw_vers TAR TAR=/usr/bin/tar TAR_CMD TAR_CMD='/usr/bin/gnutar --no-same-owner' TAR_Q TAR_Q= TCLSH TCL_BIN_DIR TCL_LIB_FILE TCL_LIB_FLAG TCL_LIB_SPEC TCL_PACKAGE_PATH TCL_PREFIX TCL_SRC_DIR TCL_STUB_LIB_FILE TCL_STUB_LIB_FLAG TCL_STUB_LIB_SPEC TCL_VERSION TERM=dumb TERMCAP= TRACEMODE_SUPPORT TRACEMODE_SUPPORT=0 UID=0 UNIVERSAL_ARCHFLAGS UNIVERSAL_ARCHFLAGS=' -arch i386 -arch ppc' UNIVERSAL_ARCHS UNIVERSAL_ARCHS='i386 ppc' UNZIP UNZIP=/usr/bin/unzip USER=root VENDOR=apple VENDOR_DESTROOT VENDOR_TCLLIB_INSTALL VENDOR_TCLLIB_SUBDIR VENDOR_TCLTHREAD_INSTALL VENDOR_TCLTHREAD_SUBDIR VENDOR_TCLX_INSTALL VENDOR_TCLX_SUBDIR VENDOR_TCL_INSTALL VENDOR_TCL_SUBDIR WINDOWID=10485773 X11_PREFS_DOMAIN=org.macports.X11 XAPPLRESDIR= XAR XAR= XAUTHORITY=/Users/pete/.Xauthority XCODEBUILD XCODEBUILD=/usr/bin/xcodebuild XCODEPLIST=/Developer/Applications/Xcode.app/Contents/version.plist XCODEPLIST_BASE=/Developer/Applications/Xcode.app/Contents/version XCODE_SELECT XCODE_SELECT= XCODE_VERSION=2.5 XCRUN XCRUN= XML_CATALOG_FILES= XTERM_LOCALE=de_DE.UTF-8 XTERM_SHELL=/bin/tcsh XTERM_VERSION='X.Org 7.6.0(303)' XZ XZ= ZIP ZIP=/usr/bin/zip _= __CF_USER_TEXT_ENCODING=0x0:0:3 ac_abs_confdir=/opt/mports/trunk/base ac_arg= ac_aux_dir=. ac_build_alias=powerpc-apple-darwin8.11.0 ac_c_preproc_warn_flag= ac_c_werror_flag= ac_cache_corrupted=false ac_check_lib_save_LIBS= ac_clean_files= ac_clean_files_save= ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_compiler='$OBJC' ac_compiler_gnu=yes ac_confdir=. ac_config_files=' src/programs/daemondo/Makefile' ac_config_guess='/bin/sh ./config.guess' ac_config_headers=' src/config.h' ac_config_libobj_dir=. ac_config_sub='/bin/sh ./config.sub' ac_configure='/bin/sh ./configure' ac_configure_args=' '\''--enable-readline'\''' ac_cpp='$CPP $CPPFLAGS' ac_ct_CC ac_ct_CC=cc ac_ct_OBJC ac_ct_OBJC=cc ac_cv_build=powerpc-apple-darwin8.11.0 ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_OBJCFLAGS_set= ac_cv_env_OBJCFLAGS_value= ac_cv_env_OBJCPP_set= ac_cv_env_OBJCPP_value= ac_cv_env_OBJC_set= ac_cv_env_OBJC_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_func_OSAtomicCompareAndSwap32=yes ac_cv_func_OSAtomicCompareAndSwap64=no ac_cv_func_OSAtomicCompareAndSwapPtr=no ac_cv_func___getdirentries64=no ac_cv_func_bzero=yes ac_cv_func_clearenv=no ac_cv_func_copyfile=yes ac_cv_func_fgetln=yes ac_cv_func_flock=yes ac_cv_func_fls=no ac_cv_func_kevent=yes ac_cv_func_kqueue=yes ac_cv_func_lockf=yes ac_cv_func_memset=yes ac_cv_func_posix_spawn=no ac_cv_func_setmode=yes ac_cv_func_strcasecmp=yes ac_cv_func_strlcat ac_cv_func_strlcat=yes ac_cv_func_strlcpy=yes ac_cv_func_strncasecmp=yes ac_cv_func_sysctlbyname=yes ac_cv_have_decl_completion_matches=yes ac_cv_have_decl_filename_completion_function=yes ac_cv_have_decl_rl_completion_matches=no ac_cv_have_decl_rl_filename_completion_function=no ac_cv_have_decl_rl_username_completion_function=no ac_cv_have_decl_username_completion_function=yes ac_cv_header_CommonCrypto_CommonDigest_h=yes ac_cv_header_crt_externs_h=yes ac_cv_header_dirent_dirent_h=yes ac_cv_header_err_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_libkern_OSAtomic_h=yes ac_cv_header_limits_h=yes ac_cv_header_memory_h=yes ac_cv_header_objc_objc_h=yes ac_cv_header_paths_h=yes ac_cv_header_pwd_h=yes ac_cv_header_readline_history_h=yes ac_cv_header_readline_readline_h=yes ac_cv_header_spawn_h=no ac_cv_header_sqlite3_h=yes ac_cv_header_sqlite3ext_h=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_cdefs_h=yes ac_cv_header_sys_event_h=yes ac_cv_header_sys_fcntl_h=yes ac_cv_header_sys_file_h=yes ac_cv_header_sys_paths_h=yes ac_cv_header_sys_socket_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_sysctl_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_unistd_h=yes ac_cv_header_utime_h=yes ac_cv_host=powerpc-apple-darwin8.11.0 ac_cv_lib_readline_readline=yes ac_cv_objc_compiler_gnu=yes ac_cv_objc_foundation_apple=yes ac_cv_objext=o ac_cv_path_BSDMAKE=/usr/bin/bsdmake ac_cv_path_BZIP2=/usr/bin/bzip2 ac_cv_path_CHOWN=/usr/sbin/chown ac_cv_path_CP=/bin/cp ac_cv_path_CPIO=/usr/bin/cpio ac_cv_path_CURL_CONFIG=/usr/bin/curl-config ac_cv_path_CVS=/usr/bin/cvs ac_cv_path_DEFAULTS=/usr/bin/defaults ac_cv_path_DIFF=/usr/bin/diff ac_cv_path_DSCL=/usr/bin/dscl ac_cv_path_DSEDITGROUP=/usr/sbin/dseditgroup ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FILE=/usr/bin/file ac_cv_path_FIND=/usr/bin/find ac_cv_path_GNUMAKE=/usr/bin/gnumake ac_cv_path_GNUTAR=/usr/bin/gnutar ac_cv_path_GREP=/usr/bin/grep ac_cv_path_GZIP=/usr/bin/gzip ac_cv_path_HDIUTIL=/usr/bin/hdiutil ac_cv_path_LAUNCHCTL=/bin/launchctl ac_cv_path_LIPO=/usr/bin/lipo ac_cv_path_LSBOM=/usr/bin/lsbom ac_cv_path_MAKE=/usr/bin/make ac_cv_path_MDFIND=/usr/bin/mdfind ac_cv_path_MDLS=/usr/bin/mdls ac_cv_path_MKBOM=/usr/bin/mkbom ac_cv_path_MTREE=/usr/sbin/mtree ac_cv_path_OPEN=/usr/bin/open ac_cv_path_OPENSSL=/usr/bin/openssl ac_cv_path_PATCH=/usr/bin/patch ac_cv_path_PAX=/bin/pax ac_cv_path_RMDIR=/bin/rmdir ac_cv_path_RSYNC=/usr/bin/rsync ac_cv_path_SED=/usr/bin/sed ac_cv_path_SW_VERS=/usr/bin/sw_vers ac_cv_path_TAR=/usr/bin/tar ac_cv_path_UNZIP=/usr/bin/unzip ac_cv_path_XCODEBUILD=/usr/bin/xcodebuild ac_cv_path_ZIP=/usr/bin/zip ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_CPP='cc -E' ac_cv_prog_HAVE_LAUNCHD=yes ac_cv_prog_OBJCPP='cc -E' ac_cv_prog_ac_ct_CC=cc ac_cv_prog_ac_ct_OBJC=cc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_prog_objc_g=yes ac_cv_search_opendir='none required' ac_cv_target=powerpc-apple-darwin8.11.0 ac_dashdash= ac_default_prefix=/opt/local ac_dir=. ac_env_CC_set= ac_env_CC_value= ac_env_CFLAGS_set= ac_env_CFLAGS_value= ac_env_CPPFLAGS_set= ac_env_CPPFLAGS_value= ac_env_CPP_set= ac_env_CPP_value= ac_env_LDFLAGS_set= ac_env_LDFLAGS_value= ac_env_LIBS_set= ac_env_LIBS_value= ac_env_OBJCFLAGS_set= ac_env_OBJCFLAGS_value= ac_env_OBJCPP_set= ac_env_OBJCPP_value= ac_env_OBJC_set= ac_env_OBJC_value= ac_env_build_alias_set= ac_env_build_alias_value= ac_env_host_alias_set= ac_env_host_alias_value= ac_env_target_alias_set= ac_env_target_alias_value= ac_envvar=LDFLAGS ac_exec_ext= ac_exeext= ac_ext=c ac_file=conftest.o ac_files='a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*' ac_func=kevent ac_func_search_save_LIBS= ac_have_decl=1 ac_hdr=dirent.h ac_header=sqlite3ext.h ac_header_compiler=no ac_header_dirent=dirent.h ac_header_preproc=no ac_hostname=tiger ac_includes_default='#include <stdio.h> ac_init_help= ac_init_version=false ac_install_sh='./install.sh -c' ac_lib= ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_link_default='$CC $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_ls_di='3179421 .' ac_make=make ac_msg='sources are in ., but `cd .'\'' does not work' ac_must_keep_next=false ac_new_set= ac_new_val= ac_objc_preproc_warn_flag= ac_objc_werror_flag= ac_objext=o ac_old_set= ac_old_val= ac_optarg=yes ac_option=-qversion ac_pass=2 ac_path_GREP=/usr/bin/grep ac_path_GREP_found=: ac_precious_vars='build_alias ac_preproc_ok=: ac_prev= ac_prog=grep ac_pwd=/opt/mports/trunk/base ac_pwd_ls_di='3179421 .' ac_res=yes ac_retval=0 ac_rmfiles=' a.out conftest.exe conftest a.exe a_out.exe b.out' ac_save_CC=cc ac_save_CFLAGS= ac_save_IFS=' ac_save_LIBS= ac_save_OBJCFLAGS= ac_save_c_werror_flag= ac_save_objc_werror_flag= ac_signal=0 ac_site_file1=/opt/local/share/config.site ac_site_file2=/opt/local/etc/config.site ac_site_file=/opt/local/etc/config.site ac_srcdir_defaulted=yes ac_status=0 ac_subst_files= ac_subst_vars='LTLIBOBJS ac_test_CFLAGS= ac_test_OBJCFLAGS= ac_tool_prefix= ac_try='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_try_echo='configure:9505: cc -o conftest -g -O2 conftest.c >&5' ac_unique_file=src/pextlib1.0/Pextlib.c ac_unrecognized_opts= ac_unrecognized_sep= ac_user_opts=' ac_useropt=readline ac_useropt_orig=readline ac_val='${datarootdir}/man' ac_var=CPP ac_word=bzip2 acx_pthread_config acx_pthread_flags='pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config' acx_pthread_ok=yes any_sed_flag= arch=ppc as_ac_Header=ac_cv_header_utime_h as_ac_var=ac_cv_func_kevent as_basename=basename as_cr_LETTERS=ABCDEFGHIJKLMNOPQRSTUVWXYZ as_cr_Letters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ as_cr_alnum=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 as_cr_digits=0123456789 as_cr_letters=abcdefghijklmnopqrstuvwxyz as_decl_name=completion_matches as_decl_use=completion_matches as_dir=/usr/bin as_dirname=dirname as_dummy=/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/texlive/2009/bin/universal-darwin:/usr/sbin as_echo='printf %s\n' as_echo_n='printf %s' as_executable_p=as_fn_executable_p as_expr=false as_lineno_1=468 as_lineno_1a=468 as_lineno_2=469 as_lineno_2a=469 as_lineno_stack= as_ln_s='ln -s' as_me=configure as_mkdir_p='mkdir -p "$as_dir"' as_myself=./configure as_nl=' as_save_IFS=' as_test_x='test -x' as_tr_cpp='eval sed '\''y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'\''' as_tr_sh='eval sed '\''y%*+%pp%;s%[^_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]%_%g'\''' as_unset=as_fn_unset as_var=MAILPATH attr=PTHREAD_CREATE_JOINABLE attr_name=PTHREAD_CREATE_JOINABLE bindir bindir='${exec_prefix}/bin' bsd_sed_flag=OK build build=powerpc-apple-darwin8.11.0 build_alias build_cpu build_cpu=powerpc build_os build_os=darwin8.11.0 build_vendor build_vendor=apple cache_file=/dev/null cross_compiling=no datadir datadir='${datarootdir}' datarootdir datarootdir='${prefix}/share' disable_mp_flags_scan=no docdir docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir dvidir='${docdir}' enable_flag_sanitization enable_option_checking enable_readline enable_readline=yes enable_shared enable_werror enable_werror=no enableval=yes exec_prefix exec_prefix=NONE exec_prefix_expanded=/opt/local flag=-D_THREAD_SAFE fsf_version='Copyright (C) 2002 Free Software Foundation, Inc.' gnu_sed_flag= host host=powerpc-apple-darwin8.11.0 host_alias host_alias host_cpu host_cpu=powerpc host_os host_os=darwin8.11.0 host_vendor host_vendor=apple htmldir htmldir='${docdir}' includedir includedir='${prefix}/include' infodir infodir='${datarootdir}/info' libdir libdir='${exec_prefix}/lib' libexecdir libexecdir='${exec_prefix}/libexec' localedir localedir='${datarootdir}/locale' localstatedir localstatedir='${prefix}/var' localstatedir_expanded localstatedir_expanded=/opt/local/var macports_libexec_dir=/opt/local/libexec/macports mandir mandir='${datarootdir}/man' mp_check_sqlite_version_cppflags_save= mp_cv_attribute_mp_private='__attribute__((visibility("hidden")))' mp_cv_have_framework_corefoundation=yes mp_cv_have_framework_iokit=yes mp_cv_have_framework_systemconfiguration=yes mp_cv_have_function_cfnotificationcentergetdarwinnotifycenter=yes mp_cv_objc_req_pthread=no mp_cv_objc_runtime_apple=yes mp_cv_objc_runtime_gnu=no mp_cv_readlink_is_posix_1003_1a=yes mp_cv_sqlite_version_defined=yes mp_cv_sqlite_version_ge_3003011=no mp_flags_configure_arg=LDFLAGS= mp_flags_configure_arg_key=LDFLAGS mp_flags_configure_arg_newval= mp_flags_flagname=LDFLAGS mp_flags_scan_flag_cleaned= mp_flags_scan_found= mp_sqlite_version_ge_3003011=no mpconfigdir='${sysconfdir}/macports' newPATH=/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/texlive/2009/bin/universal-darwin no_create=yes no_recursion=yes no_same_owner_support=' --no-same-owner extract files as yourself oldPATH=/usr/libexec:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/local/texlive/2009/bin/universal-darwin oldexec_prefix=NONE oldincludedir oldincludedir=/usr/include oldprefix=NONE pdfdir pdfdir='${docdir}' prefix prefix=NONE prefix_expanded prefix_expanded=/opt/local program_prefix=NONE program_suffix=NONE program_transform_name program_transform_name=s,x,x, psdir psdir='${docdir}' result=yes save_CFLAGS='-g -O2' save_LIBS= sbindir sbindir='${exec_prefix}/sbin' sharedstatedir sharedstatedir='${prefix}/com' silent= site= srcdir=. subdirs= sysconfdir sysconfdir='${prefix}/etc' target target=powerpc-apple-darwin8.11.0 target_alias target_alias target_cpu target_cpu=powerpc target_os target_os=darwin8.11.0 target_vendor target_vendor=apple tcl_thread_version=2.7.0 tcl_version=8.5.15 tcllib_version=1.15 tclx_version=8.4.1 verbose= with_applications_dir with_bsdmake with_bzip2 with_curlprefix with_cvs with_directory_mode with_frameworks_dir with_gnumake with_gnutar with_install_group with_install_user with_lzma with_macports_user with_make with_mtree with_no_root_privileges with_objc_foundation with_objc_runtime with_open with_openssl with_ports_dir with_rsync with_sed with_shared_directory with_sqlite3prefix with_svn with_swig with_tar with_universal_archs with_unsupported_prefix with_unsupported_prefix=no with_xar with_xz x_includes=NONE x_libraries=NONE + mp_tarball=vendor/tcl8.5.15-src.tar.gz + ac_dir=vendor/tcl8.5.15/unix ++ pwd + mp_popdir=/opt/mports/trunk/base + test -d vendor/tcl8.5.15/unix ++ dirname vendor/tcl8.5.15-src.tar.gz + mp_tarball_vendordir=vendor + as_dir=vendor + as_fn_mkdir_p + test -d vendor + printf '%s\n' 'configure:9689: === extracting vendor/tcl8.5.15-src.tar.gz' + printf '%s\n' 'configure: === extracting vendor/tcl8.5.15-src.tar.gz' configure: === extracting vendor/tcl8.5.15-src.tar.gz + mp_tarball_extract_cmd= + test x/usr/bin/gzip = x + mp_tarball_extract_cmd=/usr/bin/gzip + cd vendor + umask 0022 + /usr/bin/gzip -d gzip: /usr/bin/gzip has 3 other links -- unchanged + tar xf - + test -d vendor/tcl8.5.15/unix + as_fn_error 0 'tarball vendor/tcl8.5.15-src.tar.gz did not extract to vendor/tcl8.5.15/unix' 9712 5 + as_status=0 + test 0 -eq 0 + as_status=1 + test 5 + as_lineno=9712 + as_lineno_stack=as_lineno_stack= + printf '%s\n' 'configure:9712: error: tarball vendor/tcl8.5.15-src.tar.gz did not extract to vendor/tcl8.5.15/unix' + printf '%s\n' 'configure: error: tarball vendor/tcl8.5.15-src.tar.gz did not extract to vendor/tcl8.5.15/unix' configure: error: tarball vendor/tcl8.5.15-src.tar.gz did not extract to vendor/tcl8.5.15/unix + as_fn_exit 1 + set +e + as_fn_set_status 1 + return 1 + exit 1 + exit_status=1 + echo + printf '%s\n' '## ---------------- ## ## Cache variables. ## ## ---------------- ##'
It must be /usr/bin/gzip that complains about the extraneous hard links:
415840 -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 gunzip 415840 -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 gzcat 415840 -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 gzip 415840 -rwxr-xr-x 4 root wheel 68724 13 Jul 2007 zcat
Gnutar would be a pretty good work-around! It just depends on llvm-2.9…
comment:4 follow-up: 5 Changed 10 years ago by neverpanic (Clemens Lang)
I think this might be caused by the environment variable GZIP. See the gzip manpage:
If the environment variable GZIP is set, it is parsed as a white-space separated list of options handled before any options on the command line. Options on the command line will override anything in GZIP.
I have absolutely no idea why it doesn't fail for me on 10.9, though. See #43204 which is about the same problem with BZIP2.
comment:5 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cal@…:
I think this might be caused by the environment variable GZIP. See the gzip manpage:
If the environment variable GZIP is set, it is parsed as a white-space separated list of options handled before any options on the command line. Options on the command line will override anything in GZIP.
Indeed! The command
/usr/bin/gzip -d < "/opt/mports/trunk/base/vendor/tcl8.5.15-src.tar.gz" | /usr/bin/tar -vtf -
produces the expected output, shows the archive's contents, while the command
env GZIP=/usr/bin/gzip /usr/bin/gzip -d < "/opt/mports/trunk/base/vendor/tcl8.5.15-src.tar.gz" | /usr/bin/tar -vtf -
just reports:
gzip: /usr/bin/gzip has 3 other links -- unchanged
The command
env GZIP="" /usr/bin/gzip -d < "/opt/mports/trunk/base/vendor/tcl8.5.15-src.tar.gz" | /usr/bin/tar -vtf -
works as expected. The manual entry contains:
ENVIRONMENT The environment variable GZIP can hold a set of default options for gzip. These options are interpreted first and can be overwritten by explicit command line parameters. For example: for sh: GZIP="-8v --name"; export GZIP for csh: setenv GZIP "-8v --name" for MSDOS: set GZIP=-8v --name On Vax/VMS, the name of the environment variable is GZIP_OPT, to avoid a conflict with the symbol set for invocation of the program.
So it's clear that the configure script should better use the variable GZIP_UTILITY or such in place of GZIP…
comment:6 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
I decided to change configure on these four lines:
9753: (cd "$mp_tarball_vendordir"; umask 0022; env GZIP="" "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - || as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5) 10170: (cd "$mp_tarball_vendordir"; umask 0022; env GZIP="" "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - || as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5) 10582: (cd "$mp_tarball_vendordir"; umask 0022; env GZIP="" "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - || as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5) 10996: (cd "$mp_tarball_vendordir"; umask 0022; env GZIP="" "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - || as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5)
Now configure succeeds, but the build fails here:
cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I/opt/mports/trunk/base/src -I/opt/mports/trunk/base/src -I. -I/opt/mports/trunk/base/vendor/vendor-destroot//opt/local/libexec/macports/include -fno-common flock.c -o flock.o flock.c: In function ‘FlockCmd’: flock.c:140: error: ‘LOCK_SH’ undeclared (first use in this function) flock.c:140: error: (Each undeclared identifier is reported only once flock.c:140: error: for each function it appears in.) flock.c:144: error: ‘LOCK_EX’ undeclared (first use in this function) flock.c:148: error: ‘LOCK_UN’ undeclared (first use in this function) flock.c:152: error: ‘LOCK_NB’ undeclared (first use in this function) flock.c:155: warning: implicit declaration of function ‘flock’ make[2]: *** [flock.o] Error 1 make[1]: *** [all] Error 1 make: *** [all] Error 1
comment:7 follow-up: 18 Changed 10 years ago by neverpanic (Clemens Lang)
I renamed $GZIP
to $GZIP_BIN
and $BZIP2
to $BZIP2_BIN
in r125362. There is a different ticket tracking this afair, but I can't find it right now.
comment:8 follow-ups: 9 10 Changed 10 years ago by neverpanic (Clemens Lang)
Please attach your config.h
from /opt/mports/trunk/base/src/
, config.log
from /opt/mports/trunk/base
and fcntl.h
from /usr/include/sys
.
On my system, the required flock
function and LOCK_*
constants are declared inside #if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
(which our source in flock.c fulfills. I'm guessing this preprocessor statement is different on your system.
comment:9 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cal@…:
On my system, the required
flock
function andLOCK_*
constants are declared inside#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
(which our source in flock.c fulfills. I'm guessing this preprocessor statement is different on your system.
My /usr/include/sys/fcntl.h has only
300 #ifndef _POSIX_C_SOURCE
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
/opt/mports/trunk/base/src/config.h
comment:10 follow-up: 11 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to cal@…:
Please attach your
config.h
from/opt/mports/trunk/base/src/
,config.log
from/opt/mports/trunk/base
andfcntl.h
from/usr/include/sys
.
/usr is invisible on my system so Safari can't fetch it for upload.
comment:11 follow-up: 12 Changed 10 years ago by larryv (Lawrence Velázquez)
Replying to Peter_Dyballa@…:
/usr is invisible on my system so Safari can't fetch it for upload.
You can have Finder go to any path using Command-Shift-G.
comment:12 follow-up: 13 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to larryv@…:
Replying to Peter_Dyballa@…:
/usr is invisible on my system so Safari can't fetch it for upload.
You can have Finder go to any path using Command-Shift-G.
I know. I even know to
open -a Finder /usr/include/sys
But it's Safari with which I am surfing the MacPorts site and trying to upload a file from an invisible directory…
comment:13 follow-up: 14 Changed 10 years ago by larryv (Lawrence Velázquez)
Command-Shift-G works in file picker sheets, too.
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
/usr/include/sys/fcntl.h
comment:14 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to larryv@…:
Command-Shift-G works in file picker sheets, too.
Indeed!
(The other way is to
/Developer/Tools/SetFile -a avbstclinmedz /usr
which shouldn't hurt the system or disturb knowledgeable users.)
comment:15 follow-up: 16 Changed 10 years ago by neverpanic (Clemens Lang)
Ugh, OK, so it seems we cannot set _POSIX_C_SOURCE
on 10.4. So, we'll probably need a check for Availability.h
, include that, then have an #if
checking for the Mac OS X platform version and avoid defining _POSIX_C_SOURCE
on 10.4. Alternatively, we could repeat the definitions of the macros and the declaration of the function.
comment:16 follow-up: 17 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
The problem continues to exist in version 2.3.99.
comment:17 follow-up: 19 Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
Replying to Peter_Dyballa@…:
The problem continues to exist in version 2.3.99.
This issue is now solved, configure works and finishes. (While the build fails:
cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I/opt/mports/trunk/base/src -I/opt/mports/trunk/base/src -I. -I/opt/mports/trunk/base/vendor/vendor-destroot//opt/local/libexec/macports/include -fno-common flock.c -o flock.o flock.c: In function ‘FlockCmd’: flock.c:140: error: ‘LOCK_SH’ undeclared (first use in this function) flock.c:140: error: (Each undeclared identifier is reported only once flock.c:140: error: for each function it appears in.) flock.c:144: error: ‘LOCK_EX’ undeclared (first use in this function) flock.c:148: error: ‘LOCK_UN’ undeclared (first use in this function) flock.c:152: error: ‘LOCK_NB’ undeclared (first use in this function) flock.c:155: warning: implicit declaration of function ‘flock’
)
comment:18 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
comment:19 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Port: | MacPorts removed |
Resolution: | → fixed |
Status: | new → closed |
Replying to ballapete:
cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall -pedantic -DHAVE_CONFIG_H -I/opt/mports/trunk/base/src -I/opt/mports/trunk/base/src -I. -I/opt/mports/trunk/base/vendor/vendor-destroot//opt/local/libexec/macports/include -fno-common flock.c -o flock.o flock.c: In function ‘FlockCmd’: flock.c:140: error: ‘LOCK_SH’ undeclared (first use in this function) flock.c:140: error: (Each undeclared identifier is reported only once flock.c:140: error: for each function it appears in.) flock.c:144: error: ‘LOCK_EX’ undeclared (first use in this function) flock.c:148: error: ‘LOCK_UN’ undeclared (first use in this function) flock.c:152: error: ‘LOCK_NB’ undeclared (first use in this function) flock.c:155: warning: implicit declaration of function ‘flock’
Since this is a different issue let's track it in a different ticket: #53421.
The command line that gets run for extraction is
Can you run that and see if that works?