You are not logged in.

#1 2019-11-12 13:16:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

[Solved] extra-x86_64-build fails on checkpkg

PKGBUILD at bottom, LICENSE file is the one from my aur mesa-git package.

Last part of the output when building with extra-x86_64-build :

==> Finished making: mesa-for-amdgpu-pro 19.2.3-1 (Tue 12 Nov 2019 02:12:41 PM CET)
==> Installing mesa-for-amdgpu-pro package group with pacman -U...
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) mesa-for-amdgpu-pro-19.2.3-1

Total Installed Size:  11.15 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                             [####################################################] 100%
(1/1) checking package integrity                                                           [####################################################] 100%
(1/1) loading package files                                                                [####################################################] 100%
(1/1) checking for file conflicts                                                          [####################################################] 100%
:: Processing package changes...
(1/1) installing mesa-for-amdgpu-pro                                                       [####################################################] 100%
Optional dependencies for mesa-for-amdgpu-pro
    opengl-man-pages: for the OpenGL API man pages
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
resolving dependencies...
looking for conflicting packages...

Packages (4) licenses-20191011-1  pyalpm-0.9.0-1  python-pyelftools-0.25-1  namcap-3.2.8-3

Total Installed Size:  2.20 MiB

:: Proceed with installation? [Y/n] 
(4/4) checking keys in keyring                                                             [####################################################] 100%
(4/4) checking package integrity                                                           [####################################################] 100%
(4/4) loading package files                                                                [####################################################] 100%
(4/4) checking for file conflicts                                                          [####################################################] 100%
:: Processing package changes...
(1/4) installing pyalpm                                                                    [####################################################] 100%
(2/4) installing licenses                                                                  [####################################################] 100%
(3/4) installing python-pyelftools                                                         [####################################################] 100%
(4/4) installing namcap                                                                    [####################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
Checking PKGBUILD
Checking mesa-for-amdgpu-pro-19.2.3-1-x86_64.pkg.tar.xz
==> Running checkpkg
  -> Downloading current versions
error: target not found: mesa-for-amdgpu-pro
==> WARNING: Skipped checkpkg due to missing packages
$ 

after extra-x86_64-build has finished, namcap has no problems with checking the tarball .
Is checkpkg fail expected behavior , bug in my PKGBUILD , bug in devtools or something else ?







# Maintainer: Lone_Wolf <lonewolf at xs4all dot nl>
# Contributor: Armin K. <krejzi at email dot com>
# Contributor: Kristian Klausen <klausenbusk@hotmail.com>
# Contributor: Egon Ashrafinia <e.ashrafinia@gmail.com>
# Contributor: Tavian Barnes <tavianator@gmail.com>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Antti "Tera" Oja <antti.bofh@gmail.com>
# Contributor: Diego Jose <diegoxter1006@gmail.com>

pkgbase=mesa-for-amdgpu-pro
pkgname=('mesa-for-amdgpu-pro')
pkgdesc="an open-source implementation of the OpenGL specification, git version"
pkgver=19.2.3
pkgrel=1
arch=('x86_64')
makedepends=('python-mako' 'xorgproto'
              'libxml2' 'libx11'  'elfutils'  'libxrandr'
              'libgcrypt'  'wayland' 'wayland-protocols' 'meson' 'ninja' 'llvm')
depends=('libdrm' 'libxxf86vm' 'libxdamage' 'libxshmfence' 'libelf'
         'libunwind' 'wayland' 'llvm-libs')
optdepends=('opengl-man-pages: for the OpenGL API man pages')
provides=(mesa=$pkgver-$pkgrel opengl-driver)
conflicts=('mesa' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'vulkan-mesa-layer' 'libva-mesa-driver' 'mesa-vdpau' 'libglvnd')
url="https://www.mesa3d.org"
license=('custom')
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
                'LICENSE')
md5sums=('7744fbc59d55bb9a54ac018250bf77dc'
         'SKIP'
         '5c65a0fe315dd347e09b1f2826a1df5a')
sha512sums=('a64a6b508c28a61b9f5a50f639d0cdca2546caa2118c2478100e3535961d76bf3877357d4a7ddd7dc1d3dfc617883c8ee188915523b003aed8db03e0d5e1c007'
            'SKIP'
            '25da77914dded10c1f432ebcbf29941124138824ceecaf1367b3deedafaecabc082d463abcfa3d15abff59f177491472b505bcb5ba0c4a51bb6b93b4721a23c2')
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D'  # Emil Velikov <emil.l.velikov@gmail.com>
              '946D09B5E4C9845E63075FF1D961C596A7203456'  # Andres Gomez <tanty@igalia.com>
              'E3E8F480C52ADD73B278EE78E1ECBE07D7D70895'  # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>
              'A5CC9FEC93F2F837CB044912336909B6B25FADFA'  # Juan A. Suarez Romero <jasuarez@igalia.com>
              '71C4B75620BC75708B4BDB254C95FAAB3EB073EC') # Dylan Baker <dylan@pnwbakers.com>

prepare() {
    # although removing _build folder in build() function feels more natural,
    # that interferes with the spirit of makepkg --noextract
    if [  -d _build ]; then
        rm -rf _build
    fi
}

build () {
    meson setup mesa-$pkgver _build \
       -D b_ndebug=true \
       -D buildtype=plain \
       --wrap-mode=nofallback \
       -D prefix=/usr \
       -D sysconfdir=/etc \
       -D platforms=x11,wayland,drm,surfaceless \
       -D dri-drivers=[] \
       -D gallium-drivers=swrast \
       -D vulkan-drivers=[] \
       -D dri3=true \
       -D egl=false \
       -D gallium-extra-hud=false \
       -D gallium-nine=false \
       -D gallium-omx=disabled \
       -D gallium-va=false \
       -D gallium-vdpau=false \
       -D gallium-xa=false \
       -D gallium-xvmc=false \
       -D gbm=true \
       -D gles1=false \
       -D gles2=false \
       -D glvnd=false \
       -D glx=dri \
       -D libunwind=true \
       -D llvm=true \
       -D lmsensors=false \
       -D shared-glapi=true \
       -D gallium-opencl=disabled \
       -D valgrind=false \
       -D tools=[]
       
    meson configure _build
    ninja  -C _build
}

package_mesa-for-amdgpu-pro() {
    DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C _build install

    install -Dt "${pkgdir}/usr/share/licenses/${pkgname}" "${srcdir}/LICENSE"
}

Last edited by Lone_Wolf (2019-11-13 12:06:01)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#2 2019-11-12 21:19:30

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: [Solved] extra-x86_64-build fails on checkpkg

checkpkg compares the filelist for a new version of a package with the one currently in the repo.  Given this package is not in the repos, it fails.

Offline

#3 2019-11-13 12:05:24

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [Solved] extra-x86_64-build fails on checkpkg

That explains why I hadn't seen this before when building my aur mesa-git with extra-x86_64-build (all aur packages I use are put in a local repo).

tl;dr : expected behaviour, checkpkg does what it is supposed to do.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB