[SOLVED] MAKEPKG from git - md5sums?

I'm trying to make my first AUR package.
So far I have somethign that seems almost correct, except I am missing the md5sums field.
pkgname=exit-prompt
pkgver=0.1
pkgrel=1
pkgdesc="Exit dialog using systemctl, designed for OpenBox. Based on cb-exit from CrunchBang."
arch=('any')
url='https://github.com/MightyPork/exit-prompt'
license=('MIT')
depends=('python2' 'pygtk')
makedepends=(git)
optdepends=('systemd: power management'
'openbox: logout function')
source=('git://github.com/MightyPork/exit-prompt.git')
provides=('exit-prompt')
md5sums=()
pkgver() {
cd "$srcdir/exit-prompt"
git describe --always | sed 's|-|.|g'
package() {
install -Dm 755 "$srcdir/exit-prompt" "$pkgdir/usr/bin/exit-prompt"
Obviously since it comes from a git repository, I don't know what will be in the repository, hence it makes no sense at all to provide a md5 checksum. However, the build crashes with "ERROR: Integrity checks are missing.".
How to do this right?
Last edited by MightyPork (2014-06-21 10:44:50)

Oh, my bad, it actually skips the git one, but has checksums for the others.
source=(git://git.gnome.org/gtk+
settings.ini
scroller.patch
switch.patch)
sha256sums=('SKIP'
'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621'
'e93a3c06974d9ef82a6f77dc3da8c2c1d143e941de12e3a757a5746ac45dfc9e'
'84b4e74b1d98bef69b9feb369aabed585a7dde99d05178c30e8e534f66d0d089')
Neverming, thanks for help. Closing.

Similar Messages

  • [SOLVED] `makepkg` doesn't merge fetched git changes

    Hey there,
    I'm using this PKGBUILD:
    # Maintainer: Dmitry Korzhevin <dkorzhevin AT gmail DOT com>
    # Contributor: Mark Foxwell <[email protected]>
    # Contributor: Licia Todd <tigrmesh at aol dot com>
    # Contributor: Tim Zebulla <amon at faumrahrer dot de>
    # Contributor: Richard Schwab <mail NOSPAM w.tf-w.tf>
    pkgname=weechat-git
    pkgver=0.4.1.rc2.9.gb045a35
    pkgrel=1
    epoch=1
    pkgdesc="Fast, light & extensible IRC client (curses UI)"
    arch=('i686' 'x86_64')
    url="http://www.weechat.org/"
    license=('GPL3')
    depends=('curl' 'gnutls' 'ncurses')
    makedepends=('git' 'aspell' 'cmake' 'lua' 'perl' 'python2' 'ruby' 'tcl')
    optdepends=('aspell' 'lua' 'perl' 'python2' 'ruby' 'tcl')
    provides=('weechat')
    conflicts=('weechat')
    options=(!libtool !strip debug)
    source=(git://git.sv.gnu.org/weechat.git)
    md5sums=(SKIP)
    pkgver() {
    cd weechat
    git describe | sed "s/^v//; s/-/./g"
    build() {
    cd weechat
    mkdir build
    cd build
    cmake .. -DPREFIX=/usr \
    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
    -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
    package() {
    cd weechat/build
    make DESTDIR="$pkgdir/" install
    When I run `makepkg` and there are updates it fetches the updates, then tells me I'd already have the newest version.
    When I manually check out ~/build/weechat-git-custom/weechat (this is the git repo), then I see that the master branch doesn't have anything new since I cloned it.
    When I `git checkout origin/master` I can see all the changes with `git log` because they were fetched.
    Manually doing `git pull` in the repo merges the updates, then I can just do `makepkg` in the package dir and it builds it correctly.
    TL;DR: `makepkg` fetches git updates but it doesn't merge them.
    Last edited by Nothing4You (2013-05-22 00:04:48)

    Nothing4You wrote:If by renaming you mean using weechat-git-custom as dir it's because it's not the weechat-git package from AUR and I usually keep the original AUR PKGBUILDs there, and I will most likely switch to the AUR package again when there were some changes done to that PKGBUILD.
    No, that isn't what I meant. Your source array is declared as "weechat::git://git.sv.gnu.org/weechat.git". This doesn't do anything because the repo will already be called 'weechat' in your SRCDEST.

  • [solved] makepkg -o and GIT-package

    makepkg -o / --nobuild
    This command downloads and extracts files only.
    But in case of a PKGBUILD which clones the src from a GIT-repository the behavior is different (it downloads nothing).
    Do you think I should write a bugreport? Or is there another command I don't know?
    Last edited by Radioactiveman (2011-09-12 20:23:12)

    I think that that's behaving as expected, all of the -git PKGBUILDs I've seen pull the source from git inside the build() function which means it would take a change to makepkg and a rewrite of all the PKGBUILDs which pull from any kind of VCS for it to be possible to do what you want.

  • Got sources from git/svn/cvs/wtf? md5sum for all files...

    Your package gets sources from git/svn/cvs/wtf?
    I used this little trick to check the md5sum of all files and ensure a little more the package users
    will download exactly what you downloaded when you created the package:
    echo "7ce3eabab979cd067b096e83280239ed -" >"$srcdir"/md5sources
    find . -type f -print0 | sort -z | xargs -0 cat | md5sum --status -c "$srcdir"/md5sources || return 1
    The md5 is calculated using the same command without -c before the whole building process just after downloading the sources.
    I thought someone can find it useful or give a comment.

    Shouldn't this go to AUR-related? Users of official repo packages should never have to access any of the git/svn/cvs sources anyway.

  • [SOLVED] makepkg ignoreing CFLAGS

    It seems no matter what I do makeflags ignores my CFLAGS and CXXFLAGS options.
    I have added
    CFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe"
    to all the locations that makepkg.conf has been installed..
    /etc/makepkg.conf
    /home/jwdev/abs/chroot/jwdev/etc/makepkg.conf
    /home/jwdev/abs/chroot/root/etc/makepkg.conf
    /var/abs/core/pacman/makepkg.conf
    as well as to the makechrootpkg command
    mkarchroot -C /etc/pacman.conf -M /etc/makepkg.conf $CHROOT/root base-devel
    arch-nspawn $CHROOT/root pacman -Syu
    cd $1
    makechrootpkg -c -r $CHROOT -- CFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe" CXXFLAGS="-march=sandybridge -mtune=sandybridge -O3 -pipe"
    But still, when I run makepkg I see...
    g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall
    This is the case if I makepkg or makechrootpkg
    is there some otehr secert location for these args? or are they hardcoded in
    I do see that some packages have hardcoded args, like libaio, which kind of defeats the point of abs
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
    make
    but in my test case, smplayer, this is not the case
    build() {
    cd "$pkgname-$pkgver"
    make PREFIX=/usr \
    DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \
    QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE
    thanks
    UPDATE:  running makepkg on "joe" I see that the CFLAGS are correct... so it seems that only some (all but 1 so far actually) packages respect the makepkg? while the other just do their 'own thing'?  I am new to Arch, so maybe I am missing a huge piece of information
    Last edited by ntisithoj (2015-03-17 06:35:08)

    The trick desribed in wiki:
    https://wiki.archlinux.org/index.php/makepkg#CFLAGS.2FCXXFLAGS.2FCPPFLAGS_in_makepkg.conf_do_not_work_for_QMAKE_based_packages
    works only with those sources, that use qmake (qmake-qt4) for preconfigure. In those case, you should to define QMAKE variable in PKGBUILD and next invoke it in "build" section. See example of QupZilla that works for me (it's modified qupzilla-qt5-qtwebkit-git's PKGBUILD by Alex Talker):
    pkgname=qupzilla-qt5-qtwebkit-git
    pkgver=r3348.0c37b62
    pkgrel=1
    pkgdesc="A new and very fast open source browser based on WebKit core, written in Qt Framework."
    arch=('i686' 'x86_64')
    url="http://qupzilla.com/index.php"
    license=('GPL')
    depends=( 'qt5-base' 'qt5-script' 'qt5-webkit')
    makedepends=('git')
    provides=('qupzilla' 'qupzilla-git')
    conflicts=('qupzilla' 'qupzilla-git' 'qupzilla-qt5-git')
    source=('git+https://github.com/QupZilla/qupzilla.git')
    md5sums=('SKIP')
    CFLAGS="-march=native -mtune=bdver2 -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    CXXFLAGS="-march=native -mtune=bdver2 -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4"
    pkgver() {
    cd qupzilla
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    build() {
    cd "$srcdir/qupzilla"
    export USE_WEBGL="true"
    export KDE_INTEGRATION="true"
    export QUPZILLA_PREFIX="/usr/"
    export USE_LIBPATH="/usr/lib"
    qmake-qt5 "$srcdir/qupzilla/QupZilla.pro" \
    PREFIX=/usr \
    CONFIG+=LINUX_INTEGRATED \
    INSTALL_ROOT_PATH="$pkgdir" \
    QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
    QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
    make
    package() {
    cd ${srcdir}/qupzilla
    make INSTALL_ROOT="$pkgdir/" install
    Modified sections are:
    - in "headers" - where I add CFLAGS="something" and CXXFLAGS="something" variable and
    - in "build" section by add:
    QupZilla.pro to
    qmake-qt5 "$srcdir/qupzilla/
    in original PKGBUILD and
    CONFIG+=LINUX_INTEGRATED \
    INSTALL_ROOT_PATH="$pkgdir" \
    QMAKE_CFLAGS_RELEASE="${CFLAGS}" \
    QMAKE_CXXFLAGS_RELEASE="${CXXFLAGS}"
    But, in case of smplayer, it looks like, that is "preconfigured". There isn't *.pro file, you don't use "qmake" to preconfigure sources, and typical configuration for it is only:
    make
    sudo make install
    because everything else is in Makefile.txt. You should use another trick (I don't know which will be correct).

  • Migrating from Git to TFS 2013

    Hi,
    I have TFS 2013 and want to migrate GIT source code to TFS. I was able to migrate the code with history but want to ask for a way where by I can keep branches also intact. I want to give away from GIT and want to use Git support from TFS itself.
    Thanks,
    Suman

    Hi Suman,
    Since you use GitHub, and it's a 3rd party hosted service which like Visual Studio Online(TFS online). Actually, you can connect to Git team project of Visual Studio Online and publish your git repository to GitHub. And also connect to the git repository
    via Team Explorer. As for Visual Studio Online, Microsoft is working on adding support to allow Git repos to be added to
    TFVC team projects in the near future. Check the user voice for more info:
    http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/3612921-support-converting-tfs-online-project-from-tfsvc-t
    For your scenario, you might need to move from GitHub to TFS git repostiry, then import a git repository to TFS. Please check the links below for the detailed information:
    https://tomkrueger.wordpress.com/2013/05/13/move-from-github-to-tfs-git-repository/
    http://blog.simontimms.com/2013/04/02/importing-a-git-repository-into-tfs/
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [SOLVED] makepkg leaves empty source dir

    Hello, I made this package https://aur.archlinux.org/packages/i8kutils-bzr/
    Works as expected, the only problem is that after running makepkg (with or without the --clean flag) there is always an empty "i8kutils-bzr" directory in the package root.
    The culprit PKGBUILD line seems to be the following. The empty dir name changes along with $pkgname.
    source=("$pkgname"::'bzr+https://launchpad.net/i8kutils/trunk'
    I can't find how to stop makepkg from creating that empty dir.
    The sources are inside the 'src' directory, that dir may be used for cloning? But why does makepkg keep it?
    Last edited by adirat (2014-07-15 15:41:38)

    I can see the sources only in pkg-root/src/$pkgname, the pkg-root/$pkgname is always empty. It is created when bzr pulls the sources, though
    if I change the source line to the following, makepkg has the same behavior only the empty dir name is "trunk".
    So you have an empty pkg-root/trunk and source present in pkg-root/src/trunk
    source=('bzr+https://launchpad.net/i8kutils/trunk'
    Edit: And on every build, bzr re-downloads all the sources
    Later edit:
    core/pacman 4.1.2-6 (base base-devel) [installed]
    Last edited by adirat (2014-07-15 15:21:47)

  • [solved] makepkg do not recognize vcs fragments in pkgbuild

    Just try to build a package from certain git branch and seem to discover that fragments in pkgbuild seems to be ignored. Can anyone confirm this issue?
    I tried pacman 4.2.1 and also build from git repo as of commit 3d45293. Neither of them work. Test case I tried includes mesa-git in aur (by changing only branch from "master" to "amdgpu") and https://gist.github.com/tomty89/1b386c293e43f93663b1.
    Also seems it's not limited to git but also hg (and maybe others).
    Last edited by tom.ty89 (2015-05-21 19:45:21)

    Seems I made mistake, the required fragment would be in srcdir.

  • [SOLVED] makepkg fails when building libdivecomputer-git from AUR.

    I'm not sure where to start debugging this failure as I'm a newb when it comes to compiling packages.
    Can anyone point me in the right direction?
    [dan@arch libdivecomputer-git]$ makepkg -s PKGBUILD
    ==> Determining latest git revision...
    -> Version found: 20120714
    ==> Making package: libdivecomputer-git 20120714-1 (Sat Jul 14 13:43:22 EST 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Starting build()...
    ==> Connecting to GIT server....
    Cloning into 'libdivecomputer'...
    remote: Counting objects: 3995, done.
    remote: Compressing objects: 100% (1563/1563), done.
    remote: Total 3995 (delta 3240), reused 2983 (delta 2429)
    Receiving objects: 100% (3995/3995), 739.19 KiB | 59 KiB/s, done.
    Resolving deltas: 100% (3240/3240), done.
    ==> GIT checkout done or server timeout
    ==> Starting make...
    Cloning into '/home/dan/libdivecomputer-git/src/libdivecomputer-build'...
    done.
    libtoolize: putting auxiliary files in `.'.
    libtoolize: copying file `./ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
    libtoolize: copying file `m4/libtool.m4'
    libtoolize: copying file `m4/ltoptions.m4'
    libtoolize: copying file `m4/ltsugar.m4'
    libtoolize: copying file `m4/ltversion.m4'
    libtoolize: copying file `m4/lt~obsolete.m4'
    configure.ac:25: installing './config.guess'
    configure.ac:25: installing './config.sub'
    configure.ac:21: installing './install-sh'
    configure.ac:21: installing './missing'
    examples/Makefile.am: installing './depcomp'
    automake: warnings are treated as errors
    /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libdivecomputer.la': linking libtool libraries using a non-POSIX
    /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac'
    src/Makefile.am:4: while processing Libtool library 'libdivecomputer.la'
    autoreconf: automake failed with exit status: 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by bergersau (2012-07-18 03:57:09)

    You may want to notify the maintainer by posting a comment on https://aur.archlinux.org/packages.php?ID=52648

  • [SOLVED] makepkg git clone fails (firewalled), how to use https

    At my new employer git(hub) traffic has been blocked so I am unable to clone a repo with "git clone git://someurl/..." but I can clone via https "git clone https://someurl/..."
    However, makepkg uses the former and fails with the following error:
    Cloning into bare repository '/tmp/cower-git/cower' ...
    fatal: unable to connect to github.com:
    github.com[0: 192.30.252.130]: errno=Connection refused
    Can I configure makepkg to use https cloning?  I can edit makepkg itself, but this seems far from ideal.
    For the time being, I just cd'ed into 'src' and manually cloned via https, then backed out and used 'makepkg -ei'.  So I now have cower up and running, but this is a bit tedius to do for all git packages.

    Change it how?  I tried changing it to "https://github..." but then makepkg didn't treat it as a git repo and just downloaded the webpage.
    EDIT: nevermind, I'm an idiot:
    source=("git+https://github/...")
    I know I had done this before, but I wasn't finding it when I needed it.  Thanks.
      - Trilby: Moderator and Noob!

  • [SOLVED] I can't build kde frameworks packages from git.

    CMake Error at CMakeLists.txt:5 (find_package):
    Could not find a configuration file for package "ECM" that is compatible
    with requested version "1.7.0".
    The following configuration files were considered but not accepted:
    /usr/share/ECM/cmake/ECMConfig.cmake, version: 1.6.0
    How can i solve this error?
    Last edited by agapito (2015-02-07 04:42:51)

    Hi agapito,
    I think you should install the package extra-cmake-modules-git from the AUR.

  • [SOLVED] Makepkg, install dependencies from AUR.

    Is it possible for makepkg to install the dependencies from AUR with makepkg -si?
    Last edited by lemanski6 (2012-09-20 18:05:38)

    Nope.  Many "AUR helpers" do this though.  In my limited experience yaourt seems to be one that handles this seemlessly, but I'd say it comes with some costs of hiding what is doing from the user.

  • [SOLVED] How to makepkg from local source

    Hello!
    I have downloaded a tarball from the Aur and when using "makepkg -si" it downloads and compiles the source from Github just fine.
    I want to do some changes on the source but I don't know how to get makepkg to use the edited files instead of getting the fresh source from Github. The only solution I have come up with is to fork on Github and change url in PKGBUILD, it works fine but it's a real hassle.
    Any help is appreciated.
    Last edited by Lime (2015-05-21 18:45:20)

    jasonwryan wrote:man makepkg | less -p extract
    I thought I had looked everywhere and I completely forgot about that, thanks!
    Solution for anyone else wanting to do this, use -e/--noextract flag.

  • [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

    dockbarx-shinybar-theme]$ makepkg
    ==> Making package: dockbarx-shinybar-theme 1.3.1-2 (Tue Jul 15 17:33:07 EDT 2014)
    ==> WARNING: Using a PKGBUILD without a package() function is deprecated.
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found Shinybar1_3_for_DockbarX_by_Levviathor.gz
    ==> Validating source files with md5sums...
    Shinybar1_3_for_DockbarX_by_Levviathor.gz ... Passed
    ==> Extracting sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    /home/itstallchris/Downloads/AUR-User-Install/dockbarx-shinybar-theme/PKGBUILD: line 16: cd: /home/itstallchris/Downloads/AUR-User-Install/dockbarx-shinybar-theme/src/Shinybar1.3.1_deviantart: No such file or directory
    ==> ERROR: A failure occurred in build().
    Aborting...
    PKGBUILD
    dockbarx-shinybar-theme]$ cat PKGBUILD
    # Contributor: twa022 <[email protected]>
    pkgname=dockbarx-shinybar-theme
    pkgver=1.3.1
    pkgrel=2
    pkgdesc="Windows 7-like theme for DockBarX"
    arch=('any')
    url="http://levviathor.deviantart.com/art/Shinybar1-3-for-DockbarX-135875506"
    license=('cc-by-sa')
    depends=('dockbarx')
    groups=('dockbarx-themes')
    source=('http://www.deviantart.com/download/135875506/Shinybar1_3_for_DockbarX_by_Levviathor.gz')
    DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 -H -U Mozilla -O %o %u')
    build () {
    cd ${srcdir}/Shinybar${pkgver}_deviantart
    mkdir -p ${pkgdir}/usr/share/dockbarx/themes
    install -Dm644 shinybar_13_horiz.tar.gz ${pkgdir}/usr/share/dockbarx/themes/
    install -Dm644 shinybar_13_vert.tar.gz ${pkgdir}/usr/share/dockbarx/themes/
    install -Dm644 README_shinybar.txt ${pkgdir}/usr/share/dockbarx/
    md5sums=('387ad43ff48ea410b42dfe07648c3132')
    I have already updated checksums with
    $ updpkgsums
    I've found https://bbs.archlinux.org/viewtopic.php?id=82790 says something about CDPATH= makepkg
    Is this my solution? If so, how do I implement?
    Last edited by heyitstallchris (2014-07-15 23:27:23)

    loqs wrote:
    That checksum matches up with the contents of this redirect
    <html><head><title>Redirection</title></head><body><script type="text/javascript">window.location.href="http:\/\/levviathor.deviantart.com\/art\/Shinybar1-3-1-for-DockbarX-135875506"</script><noscript><a href="http://levviathor.deviantart.com/art/Shinybar1-3-1-for-DockbarX-135875506">Click here to continue.</a></noscript></body></html>
    Translation for Newbie Corner?
    karol wrote:
    Edit: Oh yes, what's the output of
    file Shinybar1_3_for_DockbarX_by_Levviathor.gz
    I don't think it's a gz file :-)
    It's not, it's a gzip archive.
    karol wrote:Go to http://levviathor.deviantart.com/art/Sh … -135875506 , download the zip file and unzip it in the src directory you use for building the package.
    Comment out the 'source' line in the PKGBUILD.
    Is this all safe? I've never encountered this before.

  • Attempting to build libarchive from git but failing [SOLVED]

    Here is my draft PKGBUILD for libarchive-git:
    # Maintainer: graysky <graysky AT arcnlinux DOT us>
    pkgname=libarchive-git
    pkgver=20120804
    pkgrel=1
    pkgdesc="Library that can create and read several streaming archive formats. Git version."
    arch=('i686' 'x86_64')
    url="http://libarchive.googlecode.com/"
    license=('BSD')
    depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat' 'lrzip')
    makedepends=('git')
    provides=('libarchive')
    conflicts=('libarchive')
    _gitroot=https://github.com/libarchive/libarchive.git
    _gitname=libarchive
    build() {
    cd "$srcdir"
    msg "Connecting to GIT server...."
    if [[ -d "$_gitname" ]]; then
    cd "$_gitname" && git pull origin
    msg "The local files are updated."
    else
    git clone "$_gitroot" "$_gitname"
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting build..."
    rm -rf "$srcdir/$_gitname-build"
    git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
    cd "$srcdir/$_gitname-build"
    ./build/autogen.sh
    ./configure --prefix=/usr --without-xml2
    make
    package() {
    cd "$srcdir/$_gitname-build"
    make DESTDIR="$pkgdir" install
    install -D -m644 COPYING "$pkgdir"/usr/share/licenses/libarchive/COPYING
    # vim:set ts=2 sw=2 et:
    My build dies at the make step in the build function.  Build log on pastebin.  Love to hear suggestions from more advanced users.
    Thanks!
    EDIT: tried adding a --disable-acl to the configure step which does get further but still dies in errors:
    ./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
    archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'
    ./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_close':
    archive_write_disk_posix.c:(.text+0x273a): undefined reference to `archive_write_disk_set_acls'
    collect2: error: ld returned 1 exit status
    ./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_finish_entry':
    archive_write_disk_posix.c:(.text+0xfec): undefined reference to `archive_write_disk_set_acls'
    ./.libs/libarchive.a(archive_write_disk_posix.o): In function `_archive_write_disk_close':
    archive_write_disk_posix.c:(.text+0x273a): undefined reference to `archive_write_disk_set_acls'
    collect2: error: ld returned 1 exit status
    make[1]: *** [bsdcpio] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** [bsdtar] Error 1
    make[1]: Leaving directory `/scratch/src/libarchive-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by graysky (2012-08-05 19:46:29)

    OK... upstream fixed.  https://groups.google.com/forum/#!topic … b_qTv6JEuo

Maybe you are looking for