You are not logged in.

#1 2024-07-15 13:51:52

korimitsu
Member
Registered: 2016-08-14
Posts: 141

libultrahdr-git fails to build

libultrahdr-git doesn't compile.

https://pastebin.com/aCveE8ve

Last edited by korimitsu (2024-07-15 13:53:01)

Offline

#2 2024-07-15 14:02:12

korimitsu
Member
Registered: 2016-08-14
Posts: 141

Re: libultrahdr-git fails to build

[  SKIPPED ] EditorAPIParameterizedTests/EditorHelperTest.MultipleEffects/63
[  SKIPPED ] EditorAPIParameterizedTests/EditorHelperTest.MultipleEffects/64
[  SKIPPED ] EditorAPIParameterizedTests/EditorHelperTest.MultipleEffects/65
[  FAILED  ] 36 tests, listed below:
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/0, where GetParam() = (0, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/1, where GetParam() = (0, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/2, where GetParam() = (0, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/3, where GetParam() = (1, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/4, where GetParam() = (1, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/5, where GetParam() = (1, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/6, where GetParam() = (2, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/7, where GetParam() = (2, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI0AndDecodeTest/8, where GetParam() = (2, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/0, where GetParam() = (0, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/1, where GetParam() = (0, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/2, where GetParam() = (0, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/3, where GetParam() = (1, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/4, where GetParam() = (1, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/5, where GetParam() = (1, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/6, where GetParam() = (2, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/7, where GetParam() = (2, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI1AndDecodeTest/8, where GetParam() = (2, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/0, where GetParam() = (0, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/1, where GetParam() = (0, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/2, where GetParam() = (0, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/3, where GetParam() = (1, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/4, where GetParam() = (1, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/5, where GetParam() = (1, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/6, where GetParam() = (2, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/7, where GetParam() = (2, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI2AndDecodeTest/8, where GetParam() = (2, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/0, where GetParam() = (0, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/1, where GetParam() = (0, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/2, where GetParam() = (0, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/3, where GetParam() = (1, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/4, where GetParam() = (1, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/5, where GetParam() = (1, 2)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/6, where GetParam() = (2, 0)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/7, where GetParam() = (2, 1)
[  FAILED  ] JpegRAPIParameterizedTests/JpegRAPIEncodeAndDecodeTest.EncodeAPI3AndDecodeTest/8, where GetParam() = (2, 2)

36 FAILED TESTS


0% tests passed, 1 tests failed out of 1

Total Test time (real) =   4.57 sec

The following tests FAILED:
          1 - UHDRUnitTests, (Failed)
Errors while running CTest
==> ERROR: A failure occurred in check().
    Aborting...
error: failed to build 'libultrahdr-git-1.0.0.r167.ge9932b3-1': 
error: can't build imagemagick-full-7.1.1.35-1, deps not satisfied: libultrahdr-git  libultrahdr-git
error: packages failed to build: libultrahdr-git-1.0.0.r167.ge9932b3-1  imagemagick-full-7.1.1.35-1

Offline

#3 2024-07-15 16:07:01

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 185

Re: libultrahdr-git fails to build

You could try removing the check function from the PKGBUILD, can't fail tests if it doesn't run them.

But actually that may not help because you might get a compiled program that doesn't do what its supposed to do. But it will compile.

It looks like someone  has already raised this as an issue on github: https://github.com/google/libultrahdr/issues/207


Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | MATE

Offline

#4 2024-07-15 18:09:39

korimitsu
Member
Registered: 2016-08-14
Posts: 141

Re: libultrahdr-git fails to build

Great, looks like the project is from Google.

Offline

#5 2024-07-15 18:13:00

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 185

Re: libultrahdr-git fails to build

Fixed in this merge as per contributer's comment on what I previously linked: https://github.com/google/libultrahdr/pull/203

So likely the next version or two will contain the fix.


Desktop: Ryzen 7 1800X | AMD 7800XT | KDE Plasma
MacbookPro-2012 | MATE

Offline

#6 2024-07-16 09:58:37

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,981

Re: libultrahdr-git fails to build

@korimitsu :

since the fix has been merged upstream and libultrahdr-git  is a VCS package re-building it should be enough to make it work.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2024-07-16 20:08:56

korimitsu
Member
Registered: 2016-08-14
Posts: 141

Re: libultrahdr-git fails to build

Yes now it compiles fine both imagemagick-full-git-7.1.1.35.r9.gefc26763e-1 and libultrahdr-git 1.0.0.r190.ga921ed1-1.

Offline

Board footer

Powered by FluxBB