[MacPorts] #27611: can't activate qt4-mac 4.7.1
#27611: can't activate qt4-mac 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Yesterday I did update my qt version from 4.6.2 to 4.7.1 and now I am not able to activate the new version. sudo port activate qt4-mac @4.7.1_0+mysql+quartz ---> Activating qt4-mac @4.7.1_0+mysql+quartz Error: port activate failed: could not create new link "/opt/local/bin/lrelease": that path already exists Also removing the symlink manually before running port activate doesn't work. -- Ticket URL: <https://trac.macports.org/ticket/27611> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… Old description:
Yesterday I did update my qt version from 4.6.2 to 4.7.1 and now I am not able to activate the new version.
sudo port activate qt4-mac @4.7.1_0+mysql+quartz ---> Activating qt4-mac @4.7.1_0+mysql+quartz Error: port activate failed: could not create new link "/opt/local/bin/lrelease": that path already exists
Also removing the symlink manually before running port activate doesn't work.
New description: Yesterday I did update my qt version from 4.6.2 to 4.7.1 and now I am not able to activate the new version. {{{ sudo port activate qt4-mac @4.7.1_0+mysql+quartz ---> Activating qt4-mac @4.7.1_0+mysql+quartz Error: port activate failed: could not create new link "/opt/local/bin/lrelease": that path already exists }}} Also removing the symlink manually before running port activate doesn't work. -- Comment: Please use WikiFormatting so your posts are legible, and Cc the maintainer of the port so they see and can act upon your report. -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Comment(by michaelld@…): Is "qt4_select" installed? If so, what does "qt4_select -s" return? -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Comment(by bjoern.ricks@…): yes it is. qt4_select -s qt4-mac -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Comment(by michaelld@…): Ah; you're running an old version of 'port', without the sqlite database -- the "pre-activate" phase will not be issued automatically. You can do it manually though: do "sudo qt4_select none" and then try activating the new qt4-mac. Assuming that works, do "sudo port clean phonon" and then try installing phonon again -- has a much better chance of working this time :) -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Comment(by bjoern.ricks@…): hmm imho it should not be old {{{ $ port version Version: 1.9.2 }}} and I got a new issue {{{ Selecting version "none" for qt4 rm: /opt/local/share/qt4: is a directory there were 1 errors selecting version "none"! }}} -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 ----------------------------------------+----------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: qt qt4 | Port: qt4-mac ----------------------------------------+----------------------------------- Comment(by bjoern.ricks@…): but it did work ;-) thanks for your help! -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 -----------------------------------------+---------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: qt qt4 Port: qt4-mac | -----------------------------------------+---------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: Glad it worked. When I say "old version of port" what I mean is one that pre-dates using sqlite for keeping the database. I only updated mine with 1.9.0 to that version; IIRC, you have to completely reinstall from scratch. From "${prefix}/etc/macports/macports.conf": {{{ # Type of storage to use for the port registry information, "flat" or "sqlite" # default is sqlite, flat is legacy #portdbformat sqlite }}} Before I upgraded this was set to "flat" which was good for the time; now I use "sqlite" which is -so- much better. I think there's a wiki-page about doing this upgrade. -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 -----------------------------------------+---------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: qt qt4 Port: qt4-mac | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: sqlite registry format was only available starting with MacPorts 1.9.0. It is recommended, but MacPorts does not switch you to it automatically. You don't have to reinstall anything; you only need to set portdbformat to sqlite in macports.conf. It will upgrade your registry automatically next time you run any port command. -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 -----------------------------------------+---------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: qt qt4 Port: qt4-mac | -----------------------------------------+---------------------------------- Comment(by michaelld@…): Sweet! I'd highly recommend moving from flat to sqlite for the database; it is much faster & also allows use of certain stages (e.g., pre- activate). And, if 'port' will do the work auto-magically, even better! -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27611: qt4-mac: can't activate 4.7.1 -----------------------------------------+---------------------------------- Reporter: bjoern.ricks@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: qt qt4 Port: qt4-mac | -----------------------------------------+---------------------------------- Comment(by jmr@…): The pre-activate should still be run when you install with the flat registry, it just won't be run when you activate the same version after having deactivated it thereafter. -- Ticket URL: <https://trac.macports.org/ticket/27611#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts