[MacPorts] #71217: base: failures during destroot, potentially related to fs_clone_capable (was: I broke my macports install ?)

MacPorts noreply at macports.org
Thu Oct 31 21:40:19 UTC 2024


#71217: base: failures during destroot, potentially related to fs_clone_capable
----------------------------+--------------------
  Reporter:  Randrianasulu  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  base           |    Version:
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+--------------------
Changes (by mascguy):

 * cc: jmroot (added)
 * component:  ports => base


Old description:

> I ran sudo port selfupdate and macports updated itself to 2.10.3
>
> Now I can't install gnutls, mc (at least) from  sources even with -t mode
>

> with -t mode it hides
>
> /opt/local/bin/gmkdir
>
> and install_headers during destroot step  in gnutls fails
>
> without -t
>
> :error:destroot Failed to destroot gnutls.
> :debug:destroot Error code: NONE
> :debug:destroot Backtrace:
> :debug:destroot     while executing
> :debug:destroot "fs_clone_capable $destroot"
> :debug:destroot     (procedure "portdestroot::destroot_finish" line 229)
> :debug:destroot     invoked from within
> :debug:destroot "$postrun $targetname"
> :debug:destroot dropping privileges: euid changed to 502, egid changed to
> 501
>
> .

New description:

 I ran sudo port selfupdate and macports updated itself to 2.10.3

 Now I can't install gnutls, mc (at least) from  sources even with -t mode

 with -t mode it hides

 `/opt/local/bin/gmkdir`

 and install_headers during destroot step in gnutls fails

 without -t

 {{{
 :error:destroot Failed to destroot gnutls.
 :debug:destroot Error code: NONE
 :debug:destroot Backtrace:
 :debug:destroot     while executing
 :debug:destroot "fs_clone_capable $destroot"
 :debug:destroot     (procedure "portdestroot::destroot_finish" line 229)
 :debug:destroot     invoked from within
 :debug:destroot "$postrun $targetname"
 :debug:destroot dropping privileges: euid changed to 502, egid changed to
 501
 }}}

--

Comment:

 This just occurred on at least one buildbot, for new port `mozjs128`:

 https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/289180/steps
 /install-port/logs/stdio

 I thought this might simply be fluke, but it looks like it could be a
 legitimate 2.10.3 issue:

 {{{
 DEBUG: Executing portdestroot::destroot_finish
 DEBUG: Fixing glibtool .la files in destroot for mozjs128
 DEBUG: checking for mtree violations
 Error: Failed to destroot mozjs128.
 DEBUG: Error code: NONE
 DEBUG: Backtrace:
     while executing
 "fs_clone_capable $destroot"
     (procedure "portdestroot::destroot_finish" line 229)
     invoked from within
 "$postrun $targetname"
 DEBUG: dropping privileges: euid changed to 502, egid changed to 501.
 Error: See
 /opt/local/var/macports/logs/_opt_bblocal_var_buildworker_ports_build_ports_lang_mozjs128/mozjs128/main.log
 for details.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71217#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list