Opened 15 years ago

Closed 15 years ago

#20704 closed defect (worksforme)

python25 violates the layout of the ports-filesystems

Reported by: jadenb1729@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: python25

Description

--->  Fetching python25
--->  Attempting to fetch Python-2.5.4.tar.bz2 from http://distfiles.macports.org/python25
--->  Verifying checksum(s) for python25
--->  Extracting python25
--->  Applying patches to python25
--->  Configuring python25
--->  Building python25
--->  Staging python25 into destroot
Warning: violation by /Users/xxx
Warning: python25 violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
--->  Installing python25 @2.5.4_6+darwin_9+macosx
--->  Activating python25 @2.5.4_6+darwin_9+macosx

To fully complete your installation and make python 2.5 the default, please run

	sudo port install python_select  
	sudo python_select python25

--->  Cleaning python25

The relevant files seem to be those in Applications/MacPorts/MacPython 2.5.

Change History (6)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to mww@…

The stuff in /Applications/MacPorts should be fine; however

Warning: violation by /Users/xxx

is bad. Did it really install files into your homedir? Does port contents python25 show files there? That definitely isn't right if it did.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

If you've set applications_dir to somewhere in your home dir, this is an incorrect warning and is fixed in MacPorts 1.8.

comment:3 in reply to:  1 Changed 15 years ago by jadenb1729@…

Replying to blb@…:

The stuff in /Applications/MacPorts should be fine; however

Warning: violation by /Users/xxx

is bad. Did it really install files into your homedir? Does port contents python25 show files there? That definitely isn't right if it did.

Yes it did, and yes it does. (Sorry about the long delay.)

comment:4 in reply to:  2 Changed 15 years ago by jadenb1729@…

Replying to jmr@…:

If you've set applications_dir to somewhere in your home dir, this is an incorrect warning and is fixed in MacPorts 1.8.

I did not intentionally set applications_dir at any point, but my MacPorts installation is rooted at /Users/Shared/Applications/MacPorts, so it seems that it should never even have heard of my home directory; and the Python application was installed in ~/Applications/MacPorts.

comment:5 Changed 15 years ago by jmroot (Joshua Root)

If you configure without root privileges then ~/Applications/MacPorts is chosen as the default applications_dir. I believe you'll find that it is set to that in macports.conf. You can of course change it to wherever you like.

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

Assuming this is working as designed in 1.8.

Note: See TracTickets for help on using tickets.