Opened 10 years ago

Closed 10 years ago

#41933 closed defect (fixed)

xgalaga @2.1.1.0_1: install: /usr/share/man/man6/xgalaga.6x.gz: Operation not permitted

Reported by: smockrw@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: xgalaga

Description (last modified by ryandesign (Ryan Carsten Schmidt))

after moving to 10.9 I've started to rebuild my OS/GNU tools/toys, trying to update xgalaga I received an error regarding a missing directory, assuming this was my problem (the upgrade to 10.9 'lost' a lot of local changes) I uninstalled it and attempted to do a install, the following is that I got:

/usr/bin/install -c xgalaga.6x.gz /usr/share/man/man6/xgalaga.6x.gz
install: /usr/share/man/man6/xgalaga.6x.gz: Operation not permitted
make: *** [install] Error 71
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_xgalaga/xgalaga/work/xgalaga-2.1.1.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_xgalaga/xgalaga/work/xgalaga-2.1.1.0" && /usr/bin/make -w install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_xgalaga/xgalaga/work/destroot 
Exit code: 2
Error: org.macports.destroot for port xgalaga returned: command execution failed
Warning: targets not executed for xgalaga: org.macports.activate org.macports.destroot org.macports.install
Please see the log file for port xgalaga for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_xgalaga/xgalaga/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port xgalaga failed

I would think the man page for this should be placed in /opt/local/man/ but it seems to want /usr/share/man/man6 (which exists but root/OSX owned...)

thanks,

Randall

Change History (3)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: xgalaga added
Status: newassigned
Summary: xgalaga install/upgrade failsxgalaga @2.1.1.0_1: install: /usr/share/man/man6/xgalaga.6x.gz: Operation not permitted

You're right. And not only should it install to the right prefix instead of /usr, it should install into the destroot (the staging area), not directly to the final prefix.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

This problem and a solution were reported to the developers of xgalaga 4 years ago.

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.