Package Details: lib32-libheif 1.16.2-1

Git Clone URL: https://aur.archlinux.org/lib32-libheif.git (read-only, click to copy)
Package Base: lib32-libheif
Description: HEIF file format decoder and encoder (32-bit)
Upstream URL: https://github.com/strukturag/libheif
Licenses: GPL3
Provides: libheif.so
Submitter: rodrigo21
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 5
Popularity: 0.011605
First Submitted: 2018-09-03 23:49 (UTC)
Last Updated: 2023-07-24 13:55 (UTC)

Latest Comments

1 2 Next › Last »

discobeez commented on 2023-05-28 18:20 (UTC) (edited on 2023-05-28 18:21 (UTC) by discobeez)

When trying to update my Arch installation today, I got this error message:

$ yay -Syu
:: Synchronizing package databases...
core 134.1 KiB 272 KiB/s 00:00 [##############################] 100%
extra 8.3 MiB 6.90 MiB/s 00:01 [##############################] 100%
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libheif (1.16.2-1) breaks dependency 'libheif=1.16.1' required by lib32-libheif
:: installing rav1e (0.6.6-1) breaks dependency 'rav1e=0.6.3' required by lib32-rav1e
-> error refreshing databases - exit status 1

Telling pacman to ignore the two packages for upgrading makes the system upgrade work:

$  yay -Syu --ignore libheif,rav1e

freitafr commented on 2023-05-11 06:52 (UTC)

Hi,

I believe cmake should be part of the dependencies. It’s in extra and was not installed on my system, resulting in:

.cache/pikaur/build/lib32-libheif/PKGBUILD: line 48: cmake: command not found

RockyCott commented on 2023-05-09 15:06 (UTC)

I've following problem when I try to upgrade with yay -Syyu in Manjaro 6.1.26-1:

:: Searching for updates in AUR...
 -> No AUR package found for libheif=1.16.1
:: Checking for updates in the repositories...
 -> manjaro-hello: local (0.7.0-6) is newer than extra (0.7.0-5)
 -> Packages not in AUR: manjaro-documentation-en  manjaro-firmware  systemd-fsck-silent
 -> Orphan (unmaintained) AUR Packages: lib32-gd  lib32-libraqm
 -> AUR packages marked as out-of-date: lib32-libdav1d  lib32-libxpm  responsively
:: 3 Packages to upgrade/install.
2  aur/lib32-libheif  1.14.2-1 -> 1.16.1-2
1  aur/lib32-rav1e             -> 0.6.3-1
   (Make Dependency of lib32-libheif)
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" o repository name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
 -> could not find all required packages: libheif =1.16.1

papavlos commented on 2023-05-07 22:15 (UTC)

Thank you for fixing.

korimitsu commented on 2023-05-07 15:53 (UTC)

works now good job!

sl1pkn07 commented on 2023-05-07 12:45 (UTC)

try again

korimitsu commented on 2023-05-07 11:48 (UTC)

Also

loading packages...
resolving dependencies...
warning: cannot resolve "libaom.so=3-32", a dependency of "lib32-libheif"
:: The following package cannot be upgraded due to unresolvable dependencies:
      lib32-libheif

:: Do you want to skip the above package for this upgrade? [y/N] 
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libaom.so=3-32' required by lib32-libheif

sl1pkn07 commented on 2023-05-07 11:16 (UTC)

done(?)

NeWolf commented on 2023-05-07 11:03 (UTC)

A failure occurred in build()

==> Making package: lib32-libheif 1.16.1-1 (Sun May  7 14:03:04 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found libheif-1.16.1.tar.gz
==> Validating source files with sha256sums...
    libheif-1.16.1.tar.gz ... Passed
==> Extracting sources...
  -> Extracting libheif-1.16.1.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Found LIBDE265 
libde265 (HEIC decoder): found (built-in)
-- Found X265 
x265 (HEIC encoder): found (built-in)
-- Found DAV1D 
Dav1d (AVIF decoder): found (built-in)
-- Found AOM 
aom (AVIF encoder): found (built-in)
aom (AVIF decoder): found (built-in)
-- Found SvtEnc 
Svt-av1 (AVIF encoder): found (plugin)
CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message):
  WARNING: MISSING PACKAGE

We could not find development headers for RAV1E. Do you have the necessary dev package installed? This package is NOT REQUIRED and you may ignore this warning but by doing so you may miss some functionality of libheif.

Relevant CMake configuration variables:

RAV1E_INCLUDE_DIR=<not found>
RAV1E_LIBRARY=/usr/lib/librav1e.so

You may use CMake GUI, cmake -D or ccmake to modify the values. Delete CMakeCache.txt to discard all values and force full re-detection if necessary.

Call Stack (most recent call first): cmake/modules/FindRAV1E.cmake:17 (libfind_process) CMakeLists.txt:74 (find_package) CMakeLists.txt:97 (plugin_option)

-- Could NOT find RAV1E (missing: RAV1E_INCLUDE_DIR RAV1E_LIBRARIES) Rav1e (AVIF encoder): not found CMake Warning at cmake/modules/LibFindMacros.cmake:267 (message): WARNING: MISSING PACKAGE

We could not find development headers for LIBSHARPYUV. Do you have the necessary dev package installed? This package is NOT REQUIRED and you may ignore this warning but by doing so you may miss some functionality of libheif.

Relevant CMake configuration variables:

LIBSHARPYUV_INCLUDE_DIR=<not found>
LIBSHARPYUV_LIBRARY=/usr/lib/libsharpyuv.so

You may use CMake GUI, cmake -D or ccmake to modify the values. Delete CMakeCache.txt to discard all values and force full re-detection if necessary.

Call Stack (most recent call first): cmake/modules/Findlibsharpyuv.cmake:18 (libfind_process) CMakeLists.txt:104 (find_package)

-- Could NOT find libsharpyuv (missing: LIBSHARPYUV_INCLUDE_DIR LIBSHARPYUV_LIBRARIES) libsharpyuv: disabled Compiling 'x265' as built-in backend Compiling 'libde265' as built-in backend Compiling 'dav1d' as built-in backend Compiling 'aomdec' as built-in backend Compiling 'aomenc' as built-in backend Compiling 'svtenc' as dynamic plugin Not compiling 'rav1e' backend Not compiling 'libsharpyuv' -- Checking for module 'gdk-pixbuf-2.0' -- Package 'gdk-pixbuf-2.0', required by 'virtual:world', not found -- Configuring done (0.2s) -- Generating done (0.0s) -- Build files have been written to: /home/newolf/wine-stable/lib32-libgphoto2/lib32-gd/lib32-libheif/src/build [ 1%] Linking CXX shared library libheif.so /usr/bin/ld: /usr/lib/libx265.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[2]: *** [libheif/CMakeFiles/heif.dir/build.make:582: libheif/libheif.so.1.16.1] Error 1 make[1]: *** [CMakeFiles/Makefile2:307: libheif/CMakeFiles/heif.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

korimitsu commented on 2023-05-07 10:58 (UTC)

Fails to build:

pamac build lib32-libheif
Preparing...
Cloning lib32-libheif build files...
Generating lib32-libheif information...
Checking lib32-libheif dependencies...
Resolving dependencies...
Checking inter-conflicts...

To build (1):
  lib32-libheif  1.16.1-1  (1.14.2-1)  AUR


Edit build files : [e]
Apply transaction ? [e/y/N]
...
[ 93%] Linking CXX executable heif-thumbnailer
[ 93%] Built target heif-thumbnailer
[ 95%] Building CXX object libheif/plugins/CMakeFiles/heif-svtenc.dir/__/heif_plugin.cc.o
[ 96%] Building C object gdk-pixbuf/CMakeFiles/pixbufloader-heif.dir/pixbufloader-heif.c.o
[ 98%] Linking CXX shared module libheif-svtenc.so
/usr/bin/ld: /usr/lib/libSvtAv1Enc.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [libheif/plugins/CMakeFiles/heif-svtenc.dir/build.make:115: libheif/plugins/libheif-svtenc.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:333: libheif/plugins/CMakeFiles/heif-svtenc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking C shared module libpixbufloader-heif.so
[100%] Built target pixbufloader-heif
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...