id summary reporter owner description type status priority milestone component version resolution keywords cc port 43651 gawk-4.1.1 fails to upgrade ztalbot2000 Schamschula "The offending command was {{{sudo -d upgrade gawk}}} The main.log says: {{{ version:1 :msg:main ---> Computing dependencies for gawk:msg:main :debug:main gawk has no conflicts :debug:main Searching for dependency: xz :debug:main Found Dependency: receipt exists for xz :debug:main Searching for dependency: gettext :debug:main Found Dependency: receipt exists for gettext :debug:main Searching for dependency: readline :debug:main Found Dependency: receipt exists for readline :debug:main Executing org.macports.main (gawk) :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 507 :debug:archivefetch archivefetch phase started at Fri May 9 14:47:42 EDT 2014 :msg:archivefetch ---> Fetching archive for gawk :debug:archivefetch Executing org.macports.archivefetch (gawk) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 507/501 :info:archivefetch ---> gawk-4.1.1_2.darwin_13.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch gawk-4.1.1_2.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gawk :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch gawk-4.1.1_2.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/gawk :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch gawk-4.1.1_2.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gawk :debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Fri May 9 14:47:44 EDT 2014 :notice:fetch ---> Fetching distfiles for gawk :debug:fetch Executing org.macports.fetch (gawk) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Fri May 9 14:47:44 EDT 2014 :notice:checksum ---> Verifying checksums for gawk :debug:checksum Executing org.macports.checksum (gawk) :info:checksum ---> Checksumming gawk-4.1.1.tar.xz :debug:checksum Correct (sha256) checksum for gawk-4.1.1.tar.xz :debug:checksum Correct (rmd160) checksum for gawk-4.1.1.tar.xz :debug:checksum Privilege de-escalation not attempted as not running as root. :debug:extract extract phase started at Fri May 9 14:47:44 EDT 2014 :notice:extract ---> Extracting gawk :debug:extract setting option extract.cmd to /opt/local/bin/xz :debug:extract Executing org.macports.extract (gawk) :info:extract ---> Extracting gawk-4.1.1.tar.xz :debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gawk/gawk-4.1.1.tar.xz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_Talbot_optlocal_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/gawk/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.9' :debug:extract Assembled command: 'cd ""/opt/local/var/macports/build/_Users_Talbot_optlocal_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/gawk/work"" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/gawk/gawk-4.1.1.tar.xz' | /usr/bin/tar -xf -' :debug:extract Executing command line: cd ""/opt/local/var/macports/build/_Users_Talbot_optlocal_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/gawk/work"" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/gawk/gawk-4.1.1.tar.xz' | /usr/bin/tar -xf - :info:extract gawk-4.1.1/: Can't create 'gawk-4.1.1' :info:extract gawk-4.1.1/getopt1.c: Failed to create dir 'gawk-4.1.1'Can't create 'gawk-4.1.1/getopt1.c' }}} I tried the offending command and it worked: {{{sudo cd ""/opt/local/var/macports/build/_Users_Talbot_optlocal_local_var_macports_sources_rsync.macports.org_release_ports_lang_gawk/gawk/work"" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/gawk/gawk-4.1.1.tar.xz' | /usr/bin/tar -xf -}}} The result is still the same though after you execute the offending command. I also tried a ""sudo port clean gawk"" before the upgrade with no change in the result. I tried just creating the directory gawk-4.1.1 where it wanted it with no change in the result. I tried ""sudo port uninstall gawk"" before ""sudo port install gawk"" with no change in the result. A ""port selfupdate"" says that the MacPorts base is already the latest version " defect closed Normal ports 2.2.1 invalid gawk