Opened 7 years ago

Closed 7 years ago

#41933 closed defect (fixed)

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

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

Description (last modified by ryandesign (Ryan 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-'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_games_xgalaga/xgalaga/work/xgalaga-" && /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:
To report a bug, follow the instructions in the guide:
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...)



Change History (3)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: xgalaga added
Status: newassigned
Summary: xgalaga install/upgrade failsxgalaga @ 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 7 years ago by ryandesign (Ryan Schmidt)

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

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

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