pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/pkg_install/files



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Jan 22 18:15:40 UTC 2015

Modified Files:
        pkgsrc/pkgtools/pkg_install/files: configure configure.ac
        pkgsrc/pkgtools/pkg_install/files/lib: config.h.in

Log Message:
Add AC_SYS_LARGEFILE to files/configure.ac

Given that libarchive is built with large file support, pkg_install
needs it too. Otherwise libarchive and pkg_install may see different
definitions of types such as struct stat, resulting in a runtime
failure on some platforms (especially Darwin 9):

  % bmake package
  => Creating binary package /usr/pkgsrc/pkgtools/pkg_install/work/.packages/pkg_install-20141227.tgz
  pkg_create: cannot write to archive: tar format cannot archive this (type=00)

The reason why this was unnoticed until now is that libarchive's
"configure" has just been regenerated with Autoconf 2.69. Prior to
2.69, AC_SYS_LARGEFILE did nothing significant on Darwin so there was
no actual inconsistency between libarchive and pkg_install, which was
just coincidental.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/pkgtools/pkg_install/files/configure
cvs rdiff -u -r1.38 -r1.39 pkgsrc/pkgtools/pkg_install/files/configure.ac
cvs rdiff -u -r1.20 -r1.21 pkgsrc/pkgtools/pkg_install/files/lib/config.h.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index