[MacPorts] #16599: py30-tkinter can't activate: Not a directory
#16599: py30-tkinter can't activate: Not a directory -------------------------------------+-------------------------------------- Reporter: ryandesign@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: py30-tkinter -------------------------------------+-------------------------------------- I can't activate py30-tkinter. I'm using MacPorts 1.6.0 on Mac OS X 10.4.11 with Xcode 2.5. python30 @3.0rc1_0 is installed. {{{ $ sudo port -d install py30-tkinter DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/python/py30-tkinter DEBUG: Requested variant darwin is not provided by port py30-tkinter. DEBUG: Requested variant i386 is not provided by port py30-tkinter. DEBUG: Requested variant macosx is not provided by port py30-tkinter. DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/python/py30-tkinter DEBUG: Requested variant darwin is not provided by port py30-tkinter. DEBUG: Requested variant i386 is not provided by port py30-tkinter. DEBUG: Requested variant macosx is not provided by port py30-tkinter. DEBUG: Found port in file:///Users/rschmidt/macports/dports/lang/python30 DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/lang/python30 DEBUG: Requested variant darwin is not provided by port python30. DEBUG: Requested variant i386 is not provided by port python30. DEBUG: Requested variant macosx is not provided by port python30. DEBUG: Searching for dependency: python30 DEBUG: Found Dependency: receipt exists for python30 DEBUG: Found port in file:///Users/rschmidt/macports/dports/lang/tcl DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/lang/tcl DEBUG: Requested variant darwin is not provided by port tcl. DEBUG: Requested variant i386 is not provided by port tcl. DEBUG: Requested variant macosx is not provided by port tcl. DEBUG: Searching for dependency: tcl DEBUG: Found Dependency: receipt exists for tcl DEBUG: Found port in file:///Users/rschmidt/macports/dports/x11/tk DEBUG: Changing to port directory: /Users/rschmidt/macports/dports/x11/tk DEBUG: Requested variant darwin is not provided by port tk. DEBUG: Requested variant i386 is not provided by port tk. DEBUG: Requested variant macosx is not provided by port tk. DEBUG: Searching for dependency: tk DEBUG: Found Dependency: receipt exists for tk DEBUG: Skipping completed org.macports.main (py30-tkinter) DEBUG: Skipping completed org.macports.fetch (py30-tkinter) DEBUG: Skipping completed org.macports.checksum (py30-tkinter) DEBUG: setting option extract.cmd to /opt/local/bin/bzip2 DEBUG: Skipping completed org.macports.extract (py30-tkinter) DEBUG: Skipping completed org.macports.patch (py30-tkinter) DEBUG: Skipping completed org.macports.configure (py30-tkinter) DEBUG: Skipping completed org.macports.build (py30-tkinter) DEBUG: Skipping completed org.macports.destroot (py30-tkinter) ---> Installing py30-tkinter 3.0b3_0 DEBUG: Executing org.macports.install (py30-tkinter) DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions/3.0 DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 DEBUG: installing directory: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages DEBUG: installing file: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages/_tkinter.so DEBUG: installing file: /opt/local/var/macports/software/py30-tkinter/3.0b3_0/opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages/Tkinter-0.0.0-py3.0.egg-info DEBUG: Executing org.macports.activate (py30-tkinter) ---> Activating py30-tkinter 3.0b3_0 DEBUG: activating directory: / DEBUG: activating directory: /opt DEBUG: activating directory: /opt/local DEBUG: activating directory: /opt/local/Library DEBUG: activating directory: /opt/local/Library/Frameworks DEBUG: activating directory: /opt/local/Library/Frameworks/Python.framework DEBUG: activating directory: /opt/local/Library/Frameworks/Python.framework/Versions DEBUG: activating directory: /opt/local/Library/Frameworks/Python.framework/Versions/3.0 DEBUG: activating directory: /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib DEBUG: activating directory: /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 DEBUG: activating directory: /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages DEBUG: activating file: /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages/Tkinter-0.0.0-py3.0.egg-info DEBUG: activating file: /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages/_tkinter.so DEBUG: Adding file to file_map: /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 /site-packages/_tkinter.so for: py30-tkinter Error: Target org.macports.activate returned: Not a directory Warning: the following items did not execute (for py30-tkinter): org.macports.activate Error: Status 1 encountered during processing. $ }}} Perhaps it means this non-directory: {{{ $ ls -ld /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 lrwxr-xr-x 1 root admin 24 Sep 20 01:37 /opt/local/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0 -> /opt/local/lib/python3.0 $ }}} There was no problem activating py25-tkinter @2.5.2_0 or py-tkinter @2.4.5_0. -- Ticket URL: <http://trac.macports.org/ticket/16599> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16599: py30-tkinter can't activate: Not a directory --------------------------------------+------------------------------------- Reporter: ryandesign@macports.org | Owner: mww@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: py30-tkinter | --------------------------------------+------------------------------------- Changes (by raimue@macports.org): * cc: raimue@macports.org (added) Comment: The py30-* ports use `--prefix=${prefix}/Library/Frameworks/Python.framework/Versions/3.0` but should be using `--prefix=${prefix}` as py25-* does. The problem occurs because `${prefix}/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0` is already known to the file_map.db as a symlink. Now the requested path wants to add a new item below this path, but it fails as it hits a file and that triggers the "Not a directory" error. -- Ticket URL: <http://trac.macports.org/ticket/16599#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16599: py30-tkinter can't activate: Not a directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: py30-tkinter -------------------------------------+-------------------------------------- Comment(by mattia@…): I just hit this bug too, which I see it's still valid. Is it going to be fixed? -- Ticket URL: <http://trac.macports.org/ticket/16599#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16599: py30-tkinter can't activate: Not a directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: py30-tkinter -------------------------------------+-------------------------------------- Comment(by alakazam@…): I see that both the ''python2.6'' and ''python3.0'' Portgroups define {{{ set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch} }}} but that the ''python2.5'' and ''python2.4'' Portgroups do not. Would a simple and valid fix be to remove this line ? Activation seems to work despite the error message. The error message appears (unsurprisingly) for all (several others at least) py30-* packages. -- Ticket URL: <http://trac.macports.org/ticket/16599#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16599: py30-tkinter can't activate: Not a directory -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: py30-tkinter -------------------------------------+-------------------------------------- Comment(by blb@…): I think the 'not a directory' issue would be fixed for 2.5 by #16334 and 3.0 by #17795 (2.6 has the better framework implementation). While 2.6 isn't heavily used yet, I haven't seen any bugs against its framework implementation, so it definitely should be safe for 3.0 and probably for 2.5 -- Ticket URL: <http://trac.macports.org/ticket/16599#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16599: py30-tkinter can't activate: Not a directory --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: py30-tkinter | --------------------------------------+------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: This particular instance of the problem (at least) was fixed by r46197/r46202. -- Ticket URL: <http://trac.macports.org/ticket/16599#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts