Package Details: libdispatch 5.3.0-1

Git Clone URL: https://aur.archlinux.org/libdispatch.git (read-only, click to copy)
Package Base: libdispatch
Description: Comprehensive support for concurrent code execution on multicore hardware
Upstream URL: https://apple.github.io/swift-corelibs-libdispatch
Licenses: Apache
Conflicts: libdispatch-git, swift, swift-development
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 1
Popularity: 0.009957
First Submitted: 2020-02-13 22:23
Last Updated: 2020-09-28 12:39

Latest Comments

frankspace commented on 2020-09-29 04:16

I run Artix, which I wouldn't think would make a difference. I did try building libblocksruntime in a chroot, which succeeded. However, attempting to build libdispatch in a (new and fresh) chroot with the chroot-built libblocksruntime package installed failed in exactly the same way. So I'm stumped. But y'know, it's unambiguous that upstream doesn't want to be bothered by bug reports or plebes, and deadbeef seems to be moving in a direction I don't care for, so I think it'd honestly be easier and less painful just to give up and find a new music player instead. Thank you anyway!

aperez commented on 2020-09-28 17:33

@frankspace: I suspect that there might be something odd with your Arch installation. I have just managed to build the package and the tests pass using a clean chroot, like this:

makechrootpkg -cur ~/archbuild/ \
  -I ../libblocksruntime/libblocksruntime-0.4.1-1-x86_64.pkg.tar.zst

Also the libblocksruntime package was built in the same way.

Could you try to build the package in the same way? It should work.

frankspace commented on 2020-09-28 15:12

I still can't compile this without disabling the check() part. I have no idea how to go about figuring out why the dispatch_io_net test times out, and, more to the point, I have no idea how to file a bug report upstream. Does anyone have any ideas about either?

frankspace commented on 2020-09-21 03:41

Compilation fails because test 17, dispatch_io_net, times out. I haven't got even the vaguest idea where to begin trying to figure out why.

aperez commented on 2020-05-12 10:57

@Ugzuzg: Thanks for the heads up, I have updated the package in a slightly different way to ensure that it links against the system-installed libBlocksRuntime.so instead of building its own, and also removing -Werror instead unsetting CPPFLAGS =)

Ugzuzg commented on 2020-05-11 20:58

Here is what I used to install 5.2.3 version:

pkgname=libdispatch
pkgver=5.2.3
pkgrel=1
pkgdesc='Comprehensive support for concurrent code execution on multicore hardware'
arch=(i686 x86_64 arm armv6h armv7h aarch64)
url=https://apple.github.io/swift-corelibs-libdispatch
license=(Apache)
depends=()
makedepends=(git clang cmake)
conflicts=(libdispatch-git swift swift-development)
source=("${pkgname}::git+https://github.com/apple/swift-corelibs-libdispatch.git#tag=swift-${pkgver}-RELEASE")
sha512sums=(SKIP)

prepare () {
    cd "${pkgname}"
}

build () {
    unset CPPFLAGS
    CC=clang CXX=clang++ cmake -H"${pkgname}" -Bbuild \
        -DCMAKE_INSTALL_PREFIX=/usr \
        "../${pkgname}"
    cmake --build build -j $(nproc)
}

check () {
    cmake --build build --target test
}

package () {
    DESTDIR="${pkgdir}" cmake --install build
}