#18201: Execute permission not set for gnutls 2.6.3_0 configure script --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: | Port: gnutls --------------------------------------+------------------------------------- Building gnutls 2.6.3_0 fails because the configure script is not executable. (I have gnutls installed already but I'm using -fnv to rebuild it) {{{ $ sudo port -d upgrade -fnv gnutls [snip] ---> Configuring gnutls DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing org.macports.configure (gnutls) DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.4' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/work/gnutls-2.6.3" && ./configure --prefix=/opt/local --with-lzo --disable-guile ac_cv_path_LIBTASN1_CONFIG="pkg-config libtasn1"' sh: line 1: ./configure: Permission denied Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/work/gnutls-2.6.3" && ./configure --prefix=/opt/local --with-lzo --disable-guile ac_cv_path_LIBTASN1_CONFIG="pkg-config libtasn1" " returned error 126 Command output: sh: line 1: ./configure: Permission denied Warning: the following items did not execute (for gnutls): org.macports.archive org.macports.configure org.macports.build org.macports.destroot DEBUG: invalid command name "::ui_init" while executing "::ui_init $priority $prefix $channels $message" ("uplevel" body line 2) invoked from within "uplevel 1 $body" Error: Unable to upgrade port: 1 }}} Manually setting the execute bit lets the build continue. {{{ $ sudo chmod u+x /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/work/gnutls-2.6.3/configure $ sudo port -d upgrade -fnv gnutls [snip] ---> Configuring gnutls DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing org.macports.configure (gnutls) DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.4' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gnutls/work/gnutls-2.6.3" && ./configure --prefix=/opt/local --with-lzo --disable-guile ac_cv_path_LIBTASN1_CONFIG="pkg-config libtasn1"' }}} and it works from there. -- Ticket URL: <http://trac.macports.org/ticket/18201> MacPorts <http://www.macports.org/> Ports system for Mac OS