Package Details: lib32-dav1d 1.0.0-1

Git Clone URL: https://aur.archlinux.org/lib32-dav1d.git (read-only, click to copy)
Package Base: lib32-dav1d
Description: AV1 cross-platform decoder focused on speed and correctness (32 bit)
Upstream URL: https://code.videolan.org/videolan/dav1d/
Licenses: BSD
Submitter: oxalin
Maintainer: oxalin
Last Packager: oxalin
Votes: 8
Popularity: 0.59
First Submitted: 2019-08-15 16:53 (UTC)
Last Updated: 2022-05-21 00:53 (UTC)

Pinned Comments

oxalin commented on 2020-05-25 15:49 (UTC) (edited on 2020-05-25 15:55 (UTC) by oxalin)

About GPG, it is up to you to import the missing public key. If you receive an error about it, this is ffmpeg's project public key. Something like the following should do the trick: gpg --recv-keys 7180713BE58D1ADC

Latest Comments

loglog commented on 2022-03-22 16:19 (UTC) (edited on 2022-03-22 16:22 (UTC) by loglog)

@elfosardo Thanks for the hint to install using makepkg.

@oxalin thanks for the idea to sign locally; however I feel it is a hack.

For a proper fix, the VLC team should renew their rusty dusty release key.

BTW, dav1d just advanced to version 1.0.0 - though not officially released yet - but you can already download the tarball and .asc signature. And guess -- it's signed with the same old expired key.

$ LANG=C gpg --verify dav1d-1.0.0.tar.xz.asc 
gpg: assuming signed data in 'dav1d-1.0.0.tar.xz'
gpg: Signature made Fr 18 Mär 2022 15:36:43 CET
gpg:                using DSA key 65F7C6B4206BD057A7EB73787180713BE58D1ADC
gpg: Good signature from "VideoLAN Release Signing Key (2018)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2015)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2013)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2014)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2016)" [expired]
gpg:                 aka "VideoLAN Release Signing Key (2017)" [expired]
gpg: Note: This key has expired!
Primary key fingerprint: 65F7 C6B4 206B D057 A7EB  7378 7180 713B E58D 1ADC
$ echo $?
0

Fun fact: the milestone's release notes include my issue ticket 382: dav1d is signed with expired RSA key though it had been just closed without any action.

oxalin commented on 2022-03-14 20:31 (UTC)

@elfosardo: pamac should be more explicit about the reason of the signature failure. After investgation, it seems pamac is kind of blind to what type of error / warning it encounters.

Could you locally sign the key and see if that helps?

gpg --lsign-key 7180713BE58D1ADC

elfosardo commented on 2022-03-09 09:41 (UTC)

@loglog @oxalin: thanks both for your replies, although this particular issue is not related to the key not being imported (as I wrote, I've done that already), nor to the package itself. I know that it's not the AUR responsibility to keep the key up-to-date, nor I was implying that. I saw the comment from loglog, but the issue I encountered make the package not buildable using pamac, instead of just receiving a warning, I'm getting a failure, as you can see from the trace I posted. Anyway, to bypass the issue I used makepkg instead of pamac, so the problem seems related to the current pamac version and how it reads the package signature. Hope this can help others trying to build this package.

loglog commented on 2022-03-08 14:05 (UTC)

@elfosardo: This is a known problem, see my comment from 2022-01-10 below. The videolan signoff keys seem to be orphaned since 2017. It is not the AUR maintainer's responsibility, but a negligence of the videolan team.

I reported the issue to the dav1d team, but they did not recognize the relevance to their project and closed the issue. I added a comment to the "next release" ticket for the upcoming next version. We'll see if that will help.

If anyone has a better understanding of the VideoLan.org project and can address this general issue (which is not specific to the dav1d codec and project), you're welcome to jump in.

dav1d issue ticket 382: (dav1d is signed with expired RSA key)[ https://code.videolan.org/videolan/dav1d/-/issues/382]

dav1d issue ticket 374: (next release)[ https://code.videolan.org/videolan/dav1d/-/issues/374]

elfosardo commented on 2022-03-07 10:30 (UTC)

@oxalin: thank you for your answer, I've imported the key correctly, as I usually do for other packages. This is what I'm getting:

==> Validating source files with sha512sums...
    dav1d-0.9.2.tar.xz ... Passed
    dav1d-0.9.2.tar.xz.asc ... Skipped
    c6a08b3aa1ee99dade53e5e32033bc1d14455a22.patch ... Skipped
==> Validating source files with b2sums...
    dav1d-0.9.2.tar.xz ... Passed
    dav1d-0.9.2.tar.xz.asc ... Skipped
    c6a08b3aa1ee99dade53e5e32033bc1d14455a22.patch ... Skipped
==> Verifying source file signatures with gpg...
    dav1d-0.9.2.tar.xz ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 2.218s
CPU time consumed: 2.062s
Error: Failed to build lib32-dav1d

oxalin commented on 2022-03-07 00:43 (UTC)

@elfosardo : you probably mean the VideoLAN's public key has expired. Please, don't flag a package out-of-date for this reason: the key is outside of the source code's scope. I'm providing a mean to get the key in my pinned comment, but it is to the user's responsibility to get the proper key and work around it.

That being said, even with the expired key, you should receive a warning (as long as you imported the key in the first place), but it shouldn't fail. If you have the key and it fails, than there must be something else going on. If you have a trace, let me know.

elfosardo commented on 2022-03-06 17:23 (UTC)

Because of the expired packaging key, this can't be built anymore

loglog commented on 2022-01-10 11:34 (UTC) (edited on 2022-01-19 11:57 (UTC) by loglog)

I tried to update from 0.9.2-1 to 0.9.2-2, but pamac builds a package lib32-dav1d-0.9.2-1-x86_64.pkg.tar and installs it. I end up with v0.9.2-1 again.

Pamac's output includes this:

==> Verifying source file signatures with gpg... dav1d-0.9.2.tar.xz ... Passed (WARNING: the key has expired.) ==> WARNING: Warnings have occurred while verifying the signatures. [...] ninja: Entering directory `build' [30/117] Generating include/vcs_version.h with a custom command fatal: not a git repository: '/var/tmp/pamac-build-bernhard/lib32-dav1d/src/dav1d-0.9.2/.git' [117/117] Linking target tools/dav1d [...] ==> Leaving fakeroot environment. ==> Finished making: lib32-dav1d 0.9.2-1 (Mo 10 Jan 2022 11:22:55 CET) ==> Cleaning up... [...] Checking available disk space... [1/1] Reinstalling lib32-libdav1d (0.9.2-1)... [1/1] Transaction successfully finished.

Pamac's output does not include the word 'patch', and during the compilation meson.build does not contain the change that makes the essential difference between 0.9.2-1 and 0.9.2-2.

During compilation, there exists a directory /var/tmp/pamac-build-bernhard/lib32-dav1d/.git but no /var/tmp/pamac-build-bernhard/lib32-dav1d/src/dav1d-0.9.2/.git

Platform: Manjaro Linux, Kernel 5.15.12, Intel Core i7-2820

EDIT (2022-01-19): The VideoLAN.org packaging key, which was used to sign dav1d-0.9.2.tar.xz, expired recently:

$ LANG=C gpg --list-keys  7180713BE58D1ADC
pub   dsa1024 2013-01-21 [SC] [expired: 2022-01-08]
      65F7C6B4206BD057A7EB73787180713BE58D1ADC
[...]

Nocifer commented on 2022-01-08 10:37 (UTC)

Alright, on the one hand this now builds successfully for me. But on the other hand I just gave it a try and so does lib32-shaderc, which used to produce the same error at the linking stage and which hasn't seen any updates in the meantime. Also, trying to build lib32-dav1d without the new upstream patch produces a whole bunch of new linking errors which weren't present before - these errors must be what @aaronp was referring to and what the upstream patch actually fixes.

But anyway, long story short, the linking error I had encountered with both lib32-dav1d and lib32-shaderc is now gone and both packages can be built just fine, which leads me to believe the issue was just an incompatibility with some system library or another that got silently resolved. Whatever the case, mission accomplished.

oxalin commented on 2022-01-07 23:54 (UTC)

@aaronp: thanks for the commit proposition. It is now included in the release I just pushed. @Nocifer: let us know if this helps.

This is a workaround until the next dav1d release.

aaronp commented on 2022-01-07 16:56 (UTC)

https://code.videolan.org/videolan/dav1d/-/commit/c6a08b3aa1ee99dade53e5e32033bc1d14455a22.patch

this should fix build issues.

Nocifer commented on 2021-08-09 09:49 (UTC)

Just as I reported in the lib32-shaderc thread, I'm getting similar "undefined reference" errors with this package as well:

[2/4] Linking target src/libdav1d.so.5.1.1
FAILED: src/libdav1d.so.5.1.1 
gcc -m32  -o src/libdav1d.so.5.1.1 src/libdav1d.so.5.1.1.p/cpuid.obj src/libdav1d.so.5.1.1.p/msac.obj src/libdav1d.so.5.1.1.p/cdef_avx2.obj src/libdav1d.so.5.1.1.p/itx_avx2.obj src/libdav1d.so.5.1.1.p/looprestoration_avx2.obj src/libdav1d.so.5.1.1.p/cdef_sse.obj src/libdav1d.so.5.1.1.p/itx_sse.obj src/libdav1d.so.5.1.1.p/cdef_avx512.obj src/libdav1d.so.5.1.1.p/mc_avx512.obj src/libdav1d.so.5.1.1.p/mc_avx2.obj src/libdav1d.so.5.1.1.p/film_grain_avx2.obj src/libdav1d.so.5.1.1.p/ipred_avx2.obj src/libdav1d.so.5.1.1.p/loopfilter_avx2.obj src/libdav1d.so.5.1.1.p/film_grain_sse.obj src/libdav1d.so.5.1.1.p/ipred_sse.obj src/libdav1d.so.5.1.1.p/loopfilter_sse.obj src/libdav1d.so.5.1.1.p/looprestoration_sse.obj src/libdav1d.so.5.1.1.p/mc_sse.obj src/libdav1d.so.5.1.1.p/cdef16_avx2.obj src/libdav1d.so.5.1.1.p/film_grain16_avx2.obj src/libdav1d.so.5.1.1.p/ipred16_avx2.obj src/libdav1d.so.5.1.1.p/itx16_avx2.obj src/libdav1d.so.5.1.1.p/loopfilter16_avx2.obj src/libdav1d.so.5.1.1.p/looprestoration16_avx2.obj src/libdav1d.so.5.1.1.p/mc16_avx2.obj src/libdav1d.so.5.1.1.p/cdef16_sse.obj src/libdav1d.so.5.1.1.p/film_grain16_sse.obj src/libdav1d.so.5.1.1.p/ipred16_sse.obj src/libdav1d.so.5.1.1.p/itx16_sse.obj src/libdav1d.so.5.1.1.p/loopfilter16_sse.obj src/libdav1d.so.5.1.1.p/looprestoration16_sse.obj src/libdav1d.so.5.1.1.p/mc16_sse.obj src/libdav1d.so.5.1.1.p/cdf.c.o src/libdav1d.so.5.1.1.p/cpu.c.o src/libdav1d.so.5.1.1.p/data.c.o src/libdav1d.so.5.1.1.p/decode.c.o src/libdav1d.so.5.1.1.p/dequant_tables.c.o src/libdav1d.so.5.1.1.p/getbits.c.o src/libdav1d.so.5.1.1.p/intra_edge.c.o src/libdav1d.so.5.1.1.p/itx_1d.c.o src/libdav1d.so.5.1.1.p/lf_mask.c.o src/libdav1d.so.5.1.1.p/log.c.o src/libdav1d.so.5.1.1.p/mem.c.o src/libdav1d.so.5.1.1.p/msac.c.o src/libdav1d.so.5.1.1.p/obu.c.o src/libdav1d.so.5.1.1.p/picture.c.o src/libdav1d.so.5.1.1.p/qm.c.o src/libdav1d.so.5.1.1.p/ref.c.o src/libdav1d.so.5.1.1.p/refmvs.c.o src/libdav1d.so.5.1.1.p/scan.c.o src/libdav1d.so.5.1.1.p/tables.c.o src/libdav1d.so.5.1.1.p/warpmv.c.o src/libdav1d.so.5.1.1.p/wedge.c.o src/libdav1d.so.5.1.1.p/x86_cpu.c.o src/libdav1d.so.5.1.1.p/x86_msac_init.c.o src/libdav1d_bitdepth_8.a.p/cdef_apply_tmpl.c.o src/libdav1d_bitdepth_8.a.p/cdef_tmpl.c.o src/libdav1d_bitdepth_8.a.p/fg_apply_tmpl.c.o src/libdav1d_bitdepth_8.a.p/film_grain_tmpl.c.o src/libdav1d_bitdepth_8.a.p/ipred_prepare_tmpl.c.o src/libdav1d_bitdepth_8.a.p/ipred_tmpl.c.o src/libdav1d_bitdepth_8.a.p/itx_tmpl.c.o src/libdav1d_bitdepth_8.a.p/lf_apply_tmpl.c.o src/libdav1d_bitdepth_8.a.p/loopfilter_tmpl.c.o src/libdav1d_bitdepth_8.a.p/looprestoration_tmpl.c.o src/libdav1d_bitdepth_8.a.p/lr_apply_tmpl.c.o src/libdav1d_bitdepth_8.a.p/mc_tmpl.c.o src/libdav1d_bitdepth_8.a.p/recon_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_cdef_init_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_film_grain_init_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_ipred_init_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_itx_init_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_loopfilter_init_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_looprestoration_init_tmpl.c.o src/libdav1d_bitdepth_8.a.p/x86_mc_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/cdef_apply_tmpl.c.o src/libdav1d_bitdepth_16.a.p/cdef_tmpl.c.o src/libdav1d_bitdepth_16.a.p/fg_apply_tmpl.c.o src/libdav1d_bitdepth_16.a.p/film_grain_tmpl.c.o src/libdav1d_bitdepth_16.a.p/ipred_prepare_tmpl.c.o src/libdav1d_bitdepth_16.a.p/ipred_tmpl.c.o src/libdav1d_bitdepth_16.a.p/itx_tmpl.c.o src/libdav1d_bitdepth_16.a.p/lf_apply_tmpl.c.o src/libdav1d_bitdepth_16.a.p/loopfilter_tmpl.c.o src/libdav1d_bitdepth_16.a.p/looprestoration_tmpl.c.o src/libdav1d_bitdepth_16.a.p/lr_apply_tmpl.c.o src/libdav1d_bitdepth_16.a.p/mc_tmpl.c.o src/libdav1d_bitdepth_16.a.p/recon_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_cdef_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_film_grain_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_ipred_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_itx_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_loopfilter_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_looprestoration_init_tmpl.c.o src/libdav1d_bitdepth_16.a.p/x86_mc_init_tmpl.c.o src/libdav1d_entrypoint.a.p/lib.c.o src/libdav1d_entrypoint.a.p/thread_task.c.o -flto -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libdav1d.so.5 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -pthread -ldl -Wl,--end-group
/usr/bin/ld: src/libdav1d.so.5.1.1.p/ipred16_sse.obj: warning: relocation against `_dav1d_filter_intra_taps' in read-only section `.text'
/usr/bin/ld: /tmp/ccOsSZKm.ltrans0.ltrans.o: in function `read_tx_tree':
<artificial>:(.text+0x112): undefined reference to `dav1d_msac_decode_bool_adapt_sse2'
/usr/bin/ld: /tmp/ccOsSZKm.ltrans0.ltrans.o: in function `read_mv_component_diff':
<artificial>:(.text+0x671): undefined reference to `dav1d_msac_decode_bool_adapt_sse2'
...

...etc.

I can build other lib32 packages fine, and I've also tried my luck (and failed) with building inside a clean chroot, so this shouldn't be an issue with my system's configuration; but of course I'm not ruling anything out.

Also, I know I'm using march=native here but I've already tried with the default march=x86-64 mtune=generic and still no dice, so it's not that.

Any help would be greatly appreciated, because at this point I'm almost resolved to dealing with it the noobish way: uninstalling lib32-gst-plugins-bad (which both this package and lib32-shaderc are dependencies of) and calling it a day.

oxalin commented on 2021-05-28 18:32 (UTC)

I would be willing to have a co-maintainer if someone is interested. I do want to continue maintaining my/these packages, but the last few weeks have been pretty busy with work and life. So I haven't had time to update the package. This should be fixed later today.

muncrief commented on 2021-05-17 00:11 (UTC)

There is a conflict between the newly released dav1d 0.9.0-1 and this lib32-libdav1d package which is 0.8.2.

To temporarily get around the problem just edit the PKGBUILD file and change "pkgver=0.8.2" to "pkgver=0.9.0", and then set the sha512sums and b2sums values to "SKIP". If you're paranoid you can look up the checksum values but I didn't care.

oxalin commented on 2020-10-18 07:05 (UTC)

Is anybody still experiencing the error previously reported by kode54? While I was looking for commits to fix the error, I just rebuilt the package and I had no error today (some warnings, but they are harmless).

kode54 commented on 2020-09-29 07:42 (UTC)

@oxalin : I just found the commit at the 0.7.1 tag, did:

git format-patch <commit hash>

Which generates a bunch of 0001-whatever.patch, and cat 00*.patch > temp.patch, and applied that to the 0.7.1 source this AUR package extracted with makepkg -o and attempted to build with makepkg -e. This was after 0.7.1 itself failed to build.

oxalin commented on 2020-09-28 03:25 (UTC)

@kode54 : do you have a link to the patches, commits or an issue that I could look into?

kode54 commented on 2020-09-18 00:03 (UTC) (edited on 2020-09-18 00:04 (UTC) by kode54)

It also appears to be an unfixed upstream failure, as I got the same issue when I patched the source tree to the latest git master version.

E: They did have to apply two separate fixes for nasm v2.15, perhaps they also need to apply nasm v2.15 fixes for 32 bit building as well.

jwhickman commented on 2020-09-17 23:37 (UTC)

I'm getting the same failure as @kode54

kode54 commented on 2020-09-14 02:48 (UTC)

The nasm parts now fail to compile with a huge mess of error log:

/usr/bin/nasm -f elf32 -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/src/ -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/build/ -MQ src/libdav1d.so.4.0.2.p/msac.obj -MF src/libdav1d.so.4.0.2.p/msac.obj.ndep ../src/x86/msac.asm -o src/libdav1d.so.4.0.2.p/msac.obj
../src/x86/msac.asm:86: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:88: error: `%ifndef' expects macro identifiers
../src/x86/msac.asm:263: ... from macro `LEA' defined here
../src/x86/msac.asm:1176: ... from macro `call' defined here
../src/x86/msac.asm:1183: ... from macro `call_internal' defined here
../src/x86/msac.asm:216: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:218: error: `%ifndef' expects macro identifiers
../src/x86/msac.asm:263: ... from macro `LEA' defined here
../src/x86/msac.asm:1176: ... from macro `call' defined here
../src/x86/msac.asm:1183: ... from macro `call_internal' defined here
../src/x86/msac.asm:262: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:264: error: `%ifndef' expects macro identifiers
../src/x86/msac.asm:263: ... from macro `LEA' defined here
../src/x86/msac.asm:1176: ... from macro `call' defined here
../src/x86/msac.asm:1183: ... from macro `call_internal' defined here
../src/x86/msac.asm:335: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:402: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:423: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:576: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/msac.asm:749: ... from macro `cglobal' defined here
../src/x86/msac.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/msac.asm:656: ... from macro `PROLOGUE' defined here
../src/x86/msac.asm:579: error: `%ifndef' expects macro identifiers
../src/x86/msac.asm:263: ... from macro `LEA' defined here
../src/x86/msac.asm:1176: ... from macro `call' defined here
../src/x86/msac.asm:1183: ... from macro `call_internal' defined here
[38/98] Generating vcs_version.h with a custom command
fatal: not a git repository: '/home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/.git'
[41/98] Generating 'src/libdav1d.so.4.0.2.p/cpuid.obj'.
../src/x86/cpuid.asm:47: warning: dropping trailing empty parameter in call to multi-line macro `DEFINE_ARGS_INTERNAL' [-w+macro-params-legacy]
../src/x86/cpuid.asm:749: ... from macro `cglobal' defined here
../src/x86/cpuid.asm:787: ... from macro `cglobal_internal' defined here
../src/x86/cpuid.asm:656: ... from macro `PROLOGUE' defined here
[52/98] Generating 'src/libdav1d.so.4.0.2.p/ipred_ssse3.obj'.
FAILED: src/libdav1d.so.4.0.2.p/ipred_ssse3.obj
/usr/bin/nasm -f elf32 -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/src/ -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/build/ -MQ src/libdav1d.so.4.0.2.p/ipred_ssse3.obj -MF src/libdav1d.so.4.0.2.p/ipred_ssse3.obj.ndep ../src/x86/ipred_ssse3.asm -o src/libdav1d.so.4.0.2.p/ipred_ssse3.obj
../src/x86/ipred_ssse3.asm:159: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:182: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:206: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:441: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:491: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:508: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:544: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:705: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:964: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:1198: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:1305: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:1547: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:1579: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:1605: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:2778: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/ipred_ssse3.asm:2941: error: `%ifndef' expects macro identifiers
../src/x86/ipred_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/ipred_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/ipred_ssse3.asm:1183: ... from macro `call_internal' defined here
[53/98] Generating 'src/libdav1d.so.4.0.2.p/cdef_sse.obj'.
FAILED: src/libdav1d.so.4.0.2.p/cdef_sse.obj
/usr/bin/nasm -f elf32 -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/src/ -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/build/ -MQ src/libdav1d.so.4.0.2.p/cdef_sse.obj -MF src/libdav1d.so.4.0.2.p/cdef_sse.obj.ndep ../src/x86/cdef_sse.asm -o src/libdav1d.so.4.0.2.p/cdef_sse.obj
../src/x86/cdef_sse.asm:1391: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1392: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1393: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1394: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:1084: ... from macro `CDEF_DIR' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1397: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1398: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1399: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1400: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:1084: ... from macro `CDEF_DIR' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1403: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1404: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
../src/x86/cdef_sse.asm:1405: error: `%ifndef' expects macro identifiers
../src/x86/cdef_sse.asm:308: ... from macro `CDEF_FILTER' defined here
../src/x86/cdef_sse.asm:264: ... from macro `LEA' defined here
../src/x86/cdef_sse.asm:1177: ... from macro `call' defined here
../src/x86/cdef_sse.asm:1184: ... from macro `call_internal' defined here
[54/98] Generating 'src/libdav1d.so.4.0.2.p/film_grain_ssse3.obj'.
FAILED: src/libdav1d.so.4.0.2.p/film_grain_ssse3.obj
/usr/bin/nasm -f elf32 -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/src/ -I /home/chris/Source/AUR/lib32-dav1d/src/dav1d-0.7.1/build/ -MQ src/libdav1d.so.4.0.2.p/film_grain_ssse3.obj -MF src/libdav1d.so.4.0.2.p/film_grain_ssse3.obj.ndep ../src/x86/film_grain_ssse3.asm -o src/libdav1d.so.4.0.2.p/film_grain_ssse3.obj
../src/x86/film_grain_ssse3.asm:101: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:1247: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:512: ... from macro `generate_grain_uv_fn' defined here
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:1248: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:512: ... from macro `generate_grain_uv_fn' defined here
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:1249: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:512: ... from macro `generate_grain_uv_fn' defined here
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:1321: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:3288: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:2125: ... from macro `FGUV_FN' defined here
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:3294: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:2125: ... from macro `FGUV_FN' defined here
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
../src/x86/film_grain_ssse3.asm:3300: error: `%ifndef' expects macro identifiers
../src/x86/film_grain_ssse3.asm:2125: ... from macro `FGUV_FN' defined here
../src/x86/film_grain_ssse3.asm:263: ... from macro `LEA' defined here
../src/x86/film_grain_ssse3.asm:1176: ... from macro `call' defined here
../src/x86/film_grain_ssse3.asm:1183: ... from macro `call_internal' defined here
ninja: build stopped: subcommand failed.

oxalin commented on 2020-05-25 15:49 (UTC) (edited on 2020-05-25 15:55 (UTC) by oxalin)

About GPG, it is up to you to import the missing public key. If you receive an error about it, this is ffmpeg's project public key. Something like the following should do the trick: gpg --recv-keys 7180713BE58D1ADC

oxalin commented on 2020-05-25 15:49 (UTC)

@ekce : this is not an error per se. You have to import the public key which is unknown to your setup if it was never installed.

ekce commented on 2020-05-24 04:48 (UTC)

There's an (unknown public key 7180713BE58D1ADC) error for this package.

sl1pkn07 commented on 2019-08-16 11:47 (UTC)

please remove libdav1d.so in provides. break dav1d package

oxalin commented on 2019-08-16 07:01 (UTC)

It should be fixed. arch-meson seems to detect differently the architecture on some systems (at work, 0.4.0-1 was compiling fine; at home, not at all) when using CFLAGS and CXXFLAGS (even in combination with CC and CXX to set the compiler in one variable and the flags in the other) compared to putting everything in CC and CXX.

Take note though: I had to delete the package from my cache to be able to compile it after having previously failed with version 0.4.0-1. (~/.cache/pacaur/lib32-dav1d).

KozRoss commented on 2019-08-16 03:55 (UTC)

Even unknown78's fix doesn't work for me - I still get exactly the same errors trying to build this.

unknown78 commented on 2019-08-15 19:36 (UTC)

In a 64bit environment it doesn't build for me with a lot of messages similar to "/usr/bin/ld: i386:x86-64 architecture of input file `tests/59830eb@@checkasm@exe/checkasm.obj' is incompatible with i386 output"

I could make the package with this small change ->

"arch-meson build --libdir=/usr/lib32 -Denable_asm=false"

I didn't see a build option to force nasm to use 32bit instead of 64bit which would be better.