Opened 9 years ago

Closed 9 years ago

#32819 closed defect (invalid)

rsync @3.0.8 +2nd instance attempts to override 1st instance of org.macports.rsyncd.plist

Reported by: nhojpatrick (John Patrick) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: rsync

Description

I'm trying to setup a seconds instance of macport so I'm able to attempt to start contributing to mac ports. I did the following and found that rsync doesn't appear to use the --prefix specified at configure.

PATH=/bin:/sbin:/usr/bin:/usr/sbin ; export PATH;
MP_PREFIX=/Users/john/tmp/macports-test ;
sudo rm -rf $MP_PREFIX ;
mkdir $MP_PREFIX ;
./configure --prefix=$MP_PREFIX --with-applications-dir=$MP_PREFIX/Applications ;
make ;
sudo make install ;
PATH=/bin:/sbin:/usr/bin:/usr/sbin:$MP_PREFIX/bin ; export PATH;
sudo port -v selfupdate ;
sudo port install git-core ;

I get the following error.

--->  Activating rsync @3.0.8_1
Error: Target org.macports.activate returned: Image error: /Library/LaunchDaemons/org.macports.rsyncd.plist already exists and does not belong to a registered port.  Unable to activate port rsync. Use 'port -f activate rsync' to force the activation.
Error: Failed to install rsync
Log for rsync is at: /Users/john/tmp/macports-test/var/macports/logs/_Users_john_tmp_macports-test_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_rsync/rsync/main.log
Error: The following dependencies were not installed: rsync
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

main.log (5.6 KB) - added by nhojpatrick (John Patrick) 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by nhojpatrick (John Patrick)

Attachment: main.log added

comment:1 Changed 9 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed

This is not specific to the rsync port, you need to disable the creation of startup items in this second macports installation.

Edit your ${prefix}/etc/macports/macports.conf accordingly:

startupitem_type none
Note: See TracTickets for help on using tickets.