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

MacPorts noreply at macports.org
Sat Dec 5 17:51:05 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:
Resolution:                            |   Keywords:  tiger
      Port:  libarchive legacysupport  |
---------------------------------------+--------------------------

Comment (by kencu):

 I think this error is connected to something in the link resolution. When
 legacysupport is included, several functions are found that are not
 otherwise found, like openat and lchmod. Something there is not 100%
 right, it seems. Here is an example:

 {{{
 test_basic

 cpio/test/test_basic.c:117: r != 0
    Description: Error invoking
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.5.0/bsdcpio"
 -p
       r=256 (0x100, 0400)
       0=0 (0x0, 00)
 cpio/test/test_basic.c:124: Contents don't match
    Description: Error invoking
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.5.0/bsdcpio"
 -p in dir passthrough
   file="stderr"
 0000_62_73_64_63_70_69_6f_3a_20_66_69_6c_65_3a_20_43_bsdcpio: file: C
 0010_61_6e_27_74_20_63_72_65_61_74_65_20_27_70_61_73_an't create 'pas
 0020_73_74_68_72_6f_75_67_68_2f_66_69_6c_65_27_3a_20_sthrough/file':
 0030_4e_6f_20_73_75_63_68_20_66_69_6c_65_20_6f_72_20_No such file or
 0040_64_69_72_65_63_74_6f_72_79_0a_62_73_64_63_70_69_directory.bsdcpi
 0050_6f_3a_20_43_61_6e_27_74_20_6c_73_74_61_74_20_6c_o: Can't lstat l
 0060_69_6e_6b_66_69_6c_65_0a_62_73_64_63_70_69_6f_3a_inkfile.bsdcpio:
 0070_20_43_61_6e_27_74_20_6c_73_74_61_74_20_73_79_6d_ Can't lstat sym
 0080_6c_69_6e_6b_0a_62_73_64_63_70_69_6f_3a_20_43_   link.bsdcpio: C
   expected
 0000_31_20_62_6c_6f_63_6b_0a_                        1 block.
 cpio/test/test_basic.c:37: File should exist: file
    Description: passthrough
 cpio/test/test_basic.c:39: File file has size -1073748484, expected 10
    Description: passthrough
 cpio/test/test_basic.c:41: File file has 56256 links, expected 2
    Description: passthrough
 cpio/test/test_basic.c:45: File should exist: linkfile
    Description: passthrough
 cpio/test/test_basic.c:45: Files linkfile and file are not hardlinked
 cpio/test/test_basic.c:49: Symlink should exist: symlink
 cpio/test/test_basic.c:49: File symlink is not a symlink to file
 cpio/test/test_basic.c:53: File should exist: file2
    Description: passthrough
 cpio/test/test_basic.c:55: File file2 has size -1073748484, expected 10
    Description: passthrough
 cpio/test/test_basic.c:57: File file2 has 26200 links, expected 1
    Description: passthrough
 cpio/test/test_basic.c:60: Dir should exist: dir
 cpio/test/test_basic.c:45: Summary: Failed 2 times
 cpio/test/test_basic.c:49: Summary: Failed 2 times
 }}}

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


More information about the macports-tickets mailing list