[MacPorts] #18460: macports.conf and archive mode strangeness
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: base | Version: 1.7.0 Keywords: | Port: -----------------------------------------+---------------------------------- Hello, on MacPorts version 1.6 and 1.7 one has to set {{{ portarchivemode=yes }}} in order for the option to work. This is inconsistent with all other options in macports.conf. It should be {{{ portarchivemode yes }}} -- Ticket URL: <http://trac.macports.org/ticket/18460> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.0 Keywords: archive | Port: -----------------------------------------+---------------------------------- Changes (by blb@…): * keywords: => archive * milestone: Port Bugs => Comment: Using {{{ portarchivemode yes }}} works for me, both on MacPorts 1.7 and trunk. When you set it this way, do you see any error messages? Try a small port, and use {{{-d}}} to get full debug output. -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.0 Keywords: archive | Port: -----------------------------------------+---------------------------------- Comment(by admin@…): Well, debug output does not give more information than I already have: - uncommenting "portarchivemode yes" works (I guess that is the same as setting it to "portarchivemode=yes", since that can not be parsed or so) - Debug output yields: {{{ port -d archive agrep 2>&1 >port.out DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/agrep DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/agrep DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: not using configure, so not adding the default universal variant DEBUG: Requested variant powerpc is not provided by port agrep. DEBUG: Requested variant darwin is not provided by port agrep. DEBUG: Requested variant macosx is not provided by port agrep. DEBUG: Executing org.macports.main (agrep) DEBUG: Executing org.macports.fetch (agrep) DEBUG: Executing org.macports.checksum (agrep) DEBUG: Correct (md5) checksum for agrep-2.04.tar.Z DEBUG: Executing org.macports.extract (agrep) DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/agrep/agrep-2.04.tar.Z DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_agrep/work" && gzip -dc /opt/local/var/macports/distfiles/agrep/agrep-2.04.tar.Z | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (agrep) DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing org.macports.configure (agrep) DEBUG: Executing org.macports.build (agrep) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_agrep/work/agrep-2.04" && bsdmake ' DEBUG: Executing org.macports.destroot (agrep) DEBUG: Executing destroot_finish DEBUG: Scanning man1 DEBUG: checking for mtree violations Error: Target org.macports.archive returned: Archive mode is not enabled! Error: Status 1 encountered during processing. }}} So, nothing new here. -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.0 Keywords: archive | Port: -----------------------------------------+---------------------------------- Comment(by blb@…): Can you attach your /opt/local/etc/macports/macports.conf file? Also, do you have anything in ~/.macports? -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.0 Keywords: archive | Port: -----------------------------------------+---------------------------------- Comment(by admin@…): in ~/.macports a file called "history" exists. -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.0 Keywords: archive | Port: -----------------------------------------+---------------------------------- Comment(by blb@…): Ah, I see what's confusing it, there is a tab character after {{{yes}}} on your portarchivemode line; if you remove that, it should be okay. I'll track down why this confuses port as it should be ignoring such whitespace. -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness -----------------------------------------+---------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.0 Keywords: archive | Port: -----------------------------------------+---------------------------------- Comment(by admin@…): yes, that solved the problem. thanks. -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18460: macports.conf and archive mode strangeness ------------------------------------------+--------------------------------- Reporter: admin@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.7.1 Component: base | Version: 1.7.0 Resolution: fixed | Keywords: archive Port: | ------------------------------------------+--------------------------------- Changes (by blb@…): * status: new => closed * resolution: => fixed * milestone: => MacPorts 1.7.1 Comment: Fixed on trunk in r47034, merged to 1.7 branch in r47035. -- Ticket URL: <http://trac.macports.org/ticket/18460#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts