[MacPorts] #61746: libarchive @3.5.0: causes port activation to fail on Tiger

MacPorts noreply at macports.org
Sat Dec 5 01:24:20 UTC 2020


#61746: libarchive @3.5.0: causes port activation to fail on Tiger
--------------------+--------------------------------------
 Reporter:  kencu   |      Owner:  tobypeterson
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:  tiger   |       Port:  libarchive legacysupport
--------------------+--------------------------------------
 Trying to activate certain ports on Tiger is failing, for example this
 attempt to activate texlive-bin:

 {{{
 DEBUG: error deleting "/opt/local/var/macports/software/texlive-
 bin/mpextractHNkVPDAk/Library/Library/TeX/Library/TeX/Distributions/Library/TeX/Distributions/.FactoryDefaults/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Library/TeX/Distributions/.FactoryDefaults/MacPorts-
 TeXLive/Contents/Library/TeX/Distributions/.FactoryDefaults/MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Doc/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Doc/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Doc/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents": file name too long
     while executing
 "::file delete -force $extracted_dir"
     invoked from within
 "try {
         registry::write {
             foreach file $imagefiles {
                 set srcfile "${extracted_dir}${file}"

                 # To be ..."
     (procedure "_activate_contents" line 21)
     invoked from within
 "_activate_contents $requested $rename_list"
     (procedure "activate" line 61)
     invoked from within
 "activate $name "" "" 0 $optionslist"
     (procedure "portimage::activate_composite" line 3)
     invoked from within
 "portimage::activate_composite $portname $composite_version [array get
 options]"
 Error: port activate failed: error deleting
 "/opt/local/var/macports/software/texlive-
 bin/mpextractHNkVPDAk/Library/Library/TeX/Library/TeX/Distributions/Library/TeX/Distributions/.FactoryDefaults/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Library/TeX/Distributions/.FactoryDefaults/MacPorts-
 TeXLive/Contents/Library/TeX/Distributions/.FactoryDefaults/MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-
 TeXLive/Contents/AllTexmf/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Doc/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Doc/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents/Doc/Library/TeX/Distributions/.FactoryDefaults
 /MacPorts-TeXLive/Contents": file name too long
 }}}

 Rolling libarchive back to {{{libarchive @3.4.3_0}}} restores proper
 function.

 I suspect this might have something to do with an error in
 {{{legacysupport}}} on Tiger, but at present I have not yet sorted this
 out.

 I can't run the libarchive test on Tiger as they fail to build due to
 other missing defines, etc, at the moment.

 I'm going to try patching libarchive rather than using legacysupport, and
 see if that fixes it. If so, we'll have a better clue that it is something
 in legacysupport doing it.

 I don't know at present if any other systems show this error.

 I'll assign this to Toby, although he had nothing to do with it, and can't
 test it anyway. I'll see if I can sort it out.

-- 
Ticket URL: <https://trac.macports.org/ticket/61746>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list