Opened 8 months ago

Closed 8 months ago

Last modified 8 months ago

#69654 closed defect (invalid)

libnatpmp: destroot is broken: install: chmod 755 /opt/local/include: Permission denied

Reported by: barracuda156 Owned by: edilmedeiros (Edil Medeiros)
Priority: Normal Milestone:
Component: ports Version: 2.9.2
Keywords: Cc:
Port: libnatpmp

Description

Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/libnatpmp-20150609" && /usr/bin/make -w install INSTALLPREFIX=/opt/local CC="/usr/bin/gcc-4.2 -Os -arch ppc -arch ppc" CC="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/compwrap/cc/usr/bin/gcc-4.2" CXX="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/compwrap/cxx/usr/bin/g++-4.2" OBJC="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/compwrap/objc/usr/bin/gcc-4.2" OBJCXX="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/compwrap/objcxx/usr/bin/g++-4.2" INSTALL="/usr/bin/install -c" DESTDIR=/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/destroot 
make: Entering directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_net_libnatpmp/libnatpmp/work/libnatpmp-20150609'
/usr/bin/install -c -d /opt/local/include
install: chmod 755 /opt/local/include: Permission denied
/usr/bin/install -c -m 644 natpmp.h /opt/local/include
install: /opt/local/include/natpmp.h: Permission denied
make: *** [install] Error 71

Change History (5)

comment:1 Changed 8 months ago by jmroot (Joshua Root)

You need to provide full logs when you report bugs. That command doesn't look anything like what this port ran on CI or the buildbot, so my first guess is that you have local modifications which are to blame.

comment:2 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

For one thing, your report mentions version 20150609 but the port was just added to MacPorts two days ago at version 20230423.

comment:3 in reply to:  2 Changed 8 months ago by barracuda156

Replying to ryandesign:

For one thing, your report mentions version 20150609 but the port was just added to MacPorts two days ago at version 20230423.

I apologize, I did not notice it tried to install from an overlay port, which apparently I had earlier and left unfinished for some reason. Please close this.

comment:4 Changed 8 months ago by jmroot (Joshua Root)

Resolution: invalid
Status: assignedclosed

comment:5 Changed 8 months ago by barracuda156

Just to confirm, all good:

36-152% port -v installed libnatpmp
The following ports are currently installed:
  libnatpmp @20230423_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2024-04-03T21:12:13+0800'
Note: See TracTickets for help on using tickets.