[MacPorts] #21300: zlib-1.2.38_0 "Error: Unable to open port: can't read "configure.cc_archflags": no such variable"
#21300: zlib-1.2.38_0 "Error: Unable to open port: can't read "configure.cc_archflags": no such variable" ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x86_64 cc_archflags | Port: libpng, zlib ---------------------------------+------------------------------------------ Mac OS X Version 10.5.8. After selfupdate to 1.8.0, I am having trouble running upgrade outdated. Steps:[[BR]] 1. Open macports.conf and set build_arch and universal_archs to x86_64.[[BR]] 2. Run sudo port selfupgrade. This upgrades to 1.8.0.[[BR]] 3. Run sudo port outdated. This lists libpng and zlib:[[BR]] {{{ The following installed ports are outdated: libpng 1.2.37_0 < 1.2.38_0 zlib 1.2.3_2 < 1.2.3_3 }}} 4. Run sudo port upgrade outdated.[[BR]] {{{ Error: Unable to open port: can't read "configure.cc_archflags": no such variable }}} -- Ticket URL: <http://trac.macports.org/ticket/21300> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib-1.2.38_0 "Error: Unable to open port: can't read "configure.cc_archflags": no such variable" ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: x86_64 cc_archflags | Port: libpng, zlib ---------------------------------+------------------------------------------ Comment(by blb@…): configure.cc_archflags should definitely be valid in MacPorts 1.8.0. Did you happen to be using port's interactive mode when you performed the steps? If so, selfupdate is definitely a bad command to run when in interactive mode if it updates MacPorts base code. -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib-1.2.38_0 "Error: Unable to open port: can't read "configure.cc_archflags": no such variable" ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: x86_64 cc_archflags Port: libpng, zlib | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: ryandesign@… (added) * status: new => closed * resolution: => invalid -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib-1.2.38_0 "Error: Unable to open port: can't read "configure.cc_archflags": no such variable" ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: x86_64 cc_archflags Port: libpng, zlib | ---------------------------------+------------------------------------------ Comment(by eed3si9n@…): I ran sudo port selfupgrade from the Terminal. Also I confirmed the version number several times. Shouldn't it be 1.8.0 if port -v returns {{{ MacPorts 1.8.0 Entering interactive mode... ("help" for help, "quit" to quit) [work/helloworld] > }}} -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib-1.2.38_0 "Error: Unable to open port: can't read "configure.cc_archflags": no such variable" ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: x86_64 cc_archflags Port: libpng, zlib | ---------------------------------+------------------------------------------ Comment(by macsforever2000@…): Are you running macports from trunk? -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib: Unable to open port: can't read "configure.cc_archflags": no such variable ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: | Keywords: x86_64 cc_archflags Port: zlib | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: closed => reopened * resolution: invalid => * port: libpng, zlib => zlib -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib: Unable to open port: can't read "configure.cc_archflags": no such variable ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: | Keywords: x86_64 cc_archflags Port: zlib | ---------------------------------+------------------------------------------ Comment(by blb@…): The output from {{{ ls -l /opt/local/bin/port }}} would be most illuminating. -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib: Unable to open port: can't read "configure.cc_archflags": no such variable ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: | Keywords: x86_64 cc_archflags Port: zlib | ---------------------------------+------------------------------------------ Comment(by eed3si9n@…): macsforever2000, blb, maybe I am running the version from trunk. {{{ $ ls -l /opt/local/bin/port -r-xr-xr-x 1 root admin 122977 Jul 16 00:42 /opt/local/bin/port* }}} I'll install from package and see if the problem persists. -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib: Unable to open port: can't read "configure.cc_archflags": no such variable ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: | Keywords: x86_64 cc_archflags Port: zlib | ---------------------------------+------------------------------------------ Comment(by eed3si9n@…): The problem went away after reinstalling 1.8.0 from package. I guess I had installed it from svn, and selfupdate didn't pick it up. I am sorry for the trouble, and thanks for your help. -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib: Unable to open port: can't read "configure.cc_archflags": no such variable ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: x86_64 cc_archflags Port: zlib | ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * status: reopened => closed * resolution: => invalid Comment: Glad you got it working. Yes, if you install macports from trunk, selfupdate will not update it. You have to manually update it. -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21300: zlib: Unable to open port: can't read "configure.cc_archflags": no such variable ---------------------------------+------------------------------------------ Reporter: eed3si9n@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: invalid | Keywords: x86_64 cc_archflags Port: zlib | ---------------------------------+------------------------------------------ Comment(by blb@…): In the past (including up to 1.8.0) trunk-based installs wouldn't be affected by selfupdate, but now that we don't set the new trunk version to the next major release version, it should work better (trunk is currently 1.8.99 instead of 1.9.0). The basic issue was that 1.8.0 (trunk at any point along development) == 1.8.0 (final release), but with a timestamp of July 16, obviously that precedes the 1.8.0 final release in late August. -- Ticket URL: <http://trac.macports.org/ticket/21300#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts