Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61941 - rdiff-backup-0.13.4 on OS-X
Summary: rdiff-backup-0.13.4 on OS-X
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-08-27 09:06 UTC by Andreas Schwarz
Modified: 2006-04-12 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schwarz 2004-08-27 09:06:31 UTC
1. I had to inject virtual/python-2.3 to emerge rdiff-backup.

2. The executable gets installed into /System/Library/Frameworks/Python.framework/Versions/2.3/bin/, not /usr/bin.
Comment 1 Stephen Uhlhorn 2005-01-17 17:57:34 UTC
similar problem with rdiff-backup-0.12.7 (stable):

binary is installed in: /System/Library/Frameworks/Python.framework/Versions/2.3/bin

rdiff-backup & librsync emerged without errors (did not need to inject  virtual/python-2.3) after adding ppc-macos keyword.
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-01-22 13:13:14 UTC
I keyworded librsync, since that works just fine. I am not a python user, so I am not sure what the desired installation location is for python scripts such as this. I can override the install directories easily, but should we? Other devs: comments on this?
Comment 3 Fabian Groffen gentoo-dev 2005-08-17 12:53:04 UTC
can we come to a final conclusion here?  Maybe we can just make it within one
year ;)

I tried rdiff-backup-0.13.6 and it compiled fine.
Personally I don't care if the files are being installed in the frameworks dir.
 If they work fine, then it's ok with me.  If we decide later on this is wrong,
then "emerge unmerge" always knows exactly where it's files are.
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2005-08-17 14:33:04 UTC
As far as I can see, I believe the general consensus to be to install to the framework for now. We can 
always change that in the future if it becomes a problem. *makes a note to put that in the new unspoken 
general policy guide*
Comment 5 Kito (RETIRED) gentoo-dev 2005-08-17 19:25:34 UTC
If you have a framework python, packages should be installed to the sitedir. as its the 'Apple Way'. For 
packages dependencies like scons, you should add this to your profile.bashrc or else portage won't be 
able to find the tools. Adding the same lines to the bash profile in coreutils-darwin would probably be 
the user friendly thing to do as well.

# add Python.framework dirs to path
[ -d /System/Library/Frameworks/Python.framework/Versions/Current/bin ] && \
export PATH="${PATH}:/System/Library/Frameworks/Python.framework/Versions/Current/bin"
[ -d /Library/Frameworks/Python.framework/Versions/Current/bin ] && \
export PATH="${PATH}:/Library/Frameworks/Python.framework/Versions/Current/bin"

Comment 6 Fabian Groffen gentoo-dev 2005-08-18 09:12:18 UTC
so, what exactly do you suggest, kito?

What has to be done to correctly fix this bug?  I like to see this one gone due
to its age.
Comment 7 Kito (RETIRED) gentoo-dev 2005-08-18 09:36:23 UTC
Ok, I added the Python.framework bin directories to profile.bashrc, so portage can use python tools if it 
needs. Still should probably be added to the users bash.profile, but thats not imperative. 

I would say if it works, it should be ready for ~ppc-macos, and close it out =)
Comment 8 Fabian Groffen gentoo-dev 2005-08-20 02:52:58 UTC
it appears to work and even see MacOSX specifics:
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                On
  Mac OS X Finder information                  On
-----------------------------------------------------------------

rdiff-backup-0.13.6 ~ppc-macos in CVS