[MacPorts] #41933: xgalaga @2.1.1.0_1: install: /usr/share/man/man6/xgalaga.6x.gz: Operation not permitted (was: xgalaga install/upgrade fails)

MacPorts noreply at macports.org
Thu Dec 26 21:35:30 PST 2013


#41933: xgalaga @2.1.1.0_1: install: /usr/share/man/man6/xgalaga.6x.gz: Operation
not permitted
------------------------+--------------------------
  Reporter:  smockrw@…  |      Owner:  ryandesign@…
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.2.1
Resolution:             |   Keywords:
      Port:  xgalaga    |
------------------------+--------------------------
Changes (by ryandesign@…):

 * status:  new => assigned
 * owner:  macports-tickets@… => ryandesign@…
 * port:   => xgalaga


Old description:

> 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

New description:

 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

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/41933#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list