pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/53162: pkgtools/pkg_install fails to build on FreeBSD



>Number:         53162
>Category:       pkg
>Synopsis:       pkgtools/pkg_install fails to build on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 06 17:15:00 +0000 2018
>Originator:     scole_mail
>Release:        pkgsrc-2018Q1
>Organization:
none
>Environment:
FreeBSD itan 10.1-RELEASE-p45 FreeBSD 10.1-RELEASE-p45 #0 r318965: Fri May 26 18:49:51 EDT 2017     root@itan:/usr/obj/usr/src/sys/GENERIC  ia64
>Description:
pkg_install fails to build on some (older?) versions of freebsd

  CC       libarchive/archive_write_set_passphrase.lo
  CC       libarchive/filter_fork_posix.lo
  CC       libarchive/xxhash.lo
  CC       libarchive/archive_disk_acl_freebsd.lo
libarchive/archive_disk_acl_freebsd.c:96: error: 'ACL_ENTRY_INHERITED' undeclared here (not in a function)
*** Error code 1

ACL_ENTRY_INHERITED looks like it was added after 10.2?
>How-To-Repeat:
cd .../pkgsrc/pkgtools/pkg_install && bmake
>Fix:
It looks like newer versions of libarchive have a fix for this

https://github.com/mmatuska/libarchive/commit/a21b93dbdb84e51ae490db89234123f595ec64cb

I'm not sure if the 2nd patch for
 libarchive/test/test_acl_platform_nfs4.c
is also required for pkgsrc.



Home | Main Index | Thread Index | Old Index