[MacPorts] #18201: Execute permission not set for gnutls 2.6.3_0 configure script
#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
#18201: Execute permission not set for gnutls 2.6.3_0 configure script --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: | Port: gnutls --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => sfiera@… -- Ticket URL: <http://trac.macports.org/ticket/18201#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18201: Execute permission not set for gnutls 2.6.3_0 configure script --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: | Port: gnutls --------------------------------------+------------------------------------- Comment(by blb@…): Odd, it built fine for me a month ago and I just extracted the distfile and configure definitely is executable: {{{ -rwxr-xr-x 1 blb admin 1255350 Dec 12 11:48 configure* }}} Not sure what could have stripped the executable bit from it... Also, any particular reason for using -fn? -- Ticket URL: <http://trac.macports.org/ticket/18201#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18201: Execute permission not set for gnutls 2.6.3_0 configure script --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.8.0 Keywords: | Port: gnutls --------------------------------------+------------------------------------- Comment(by pgijnxn02@…): -f to force a rebuild and -n to limit it to this port only. I recently upgraded my base to the new trunk and I was experimenting with the new behavior regarding variants. I was curious to see what a rebuild would do, and I happened to choose this one. So I have also installed this version of gnutls in the past just fine. -- Ticket URL: <http://trac.macports.org/ticket/18201#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18201: Execute permission not set for gnutls 2.6.3_0 configure script --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: gnutls --------------------------------------+------------------------------------- Comment(by ryandesign@…): Are you still experiencing this issue with the latest trunk and the latest ports? I just built gnutls @2.6.5_0 without problem on MacPorts 1.7.1. If you still see the problem with trunk, we may have an issue in MacPorts base. -- Ticket URL: <http://trac.macports.org/ticket/18201#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18201: Execute permission not set for gnutls 2.6.3_0 configure script --------------------------------------+------------------------------------- Reporter: pgijnxn02@… | Owner: sfiera@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: gnutls --------------------------------------+------------------------------------- Comment(by pgijnxn02@…): I was able to install gnutls @2.6.5_0 with no problems, on trunk r46952 and r51718. -- Ticket URL: <http://trac.macports.org/ticket/18201#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18201: Execute permission not set for gnutls 2.6.3_0 configure script ---------------------------------------+------------------------------------ Reporter: pgijnxn02@… | Owner: sfiera@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: worksforme | Keywords: Port: gnutls | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/18201#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts