Package Details: apngasm 3.1.10-2

Git Clone URL: https://aur.archlinux.org/apngasm.git (read-only, click to copy)
Package Base: apngasm
Description: tool for assembling apng files
Upstream URL: https://github.com/apngasm/apngasm
Keywords: apng
Licenses: LGPL
Conflicts: apng-utils, apngasm-bin
Submitter: haawda
Maintainer: eaglet
Last Packager: eaglet
Votes: 3
Popularity: 0.42
First Submitted: 2020-07-25 17:05 (UTC)
Last Updated: 2026-03-23 16:27 (UTC)

Latest Comments

1 2 Next › Last »

rien333 commented on 2026-04-24 11:25 (UTC) (edited on 2026-04-24 11:28 (UTC) by rien333)

I'm getting some linker errors. Thanks for maintaining this!

EDIT: the linking errors (sometimes) go away if you do the build process/makepkg twice.

[ 85%] Building CXX object cli/CMakeFiles/apngasm-cli.dir/src/cli.cpp.o
[ 90%] Linking CXX shared library libapngasm.so
[ 95%] Linking CXX static library libapngasm.a
[ 95%] Built target apngasm-static
[100%] Linking CXX executable apngasm
[100%] Built target apngasm-dynamic
/usr/bin/ld: /tmp/ccxVxzqr.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup+0x69): undefined reference to `apngasm::APNGAsm::APNGAsm()'
/usr/bin/ld: <artificial>:(.text.startup+0x158f): undefined reference to `apngasm::APNGAsm::APNGAsm()'
/usr/bin/ld: <artificial>:(.text.startup+0x15c9): undefined reference to `apngasm::APNGAsm::setAPNGAsmListener(apngasm::listener::IAPNGAsmListener*)'
/usr/bin/ld: <artificial>:(.text.startup+0x176f): undefined reference to `apngasm::APNGAsm::loadAnimationSpec(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
...
<artificial>:(.text+0xaa7b): undefined reference to `apngasm::APNGAsm::~APNGAsm()'
collect2: error: ld returned 1 exit status
make[2]: *** [cli/CMakeFiles/apngasm-cli.dir/build.make:136: cli/apngasm] Error 1
make[1]: *** [CMakeFiles/Makefile2:287: cli/CMakeFiles/apngasm-cli.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

eaglet commented on 2026-03-23 16:33 (UTC) (edited on 2026-03-23 16:33 (UTC) by eaglet)

Added a patch to remove the boost_system requirement, builds again.

dreieck commented on 2025-11-25 22:07 (UTC)

build fails for me:

1.6.51
CMake Warning (dev) at lib/CMakeLists.txt:88 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Error at /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:141 (find_package):
  Could not find a package configuration file provided by "boost_system"
  (requested version 1.89.0) with any of the following names:

    boost_systemConfig.cmake
    boost_system-config.cmake

  Add the installation prefix of "boost_system" to CMAKE_PREFIX_PATH or set
  "boost_system_DIR" to a directory containing one of the above files.  If
  "boost_system" provides a separate development package or SDK, be sure it
  has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/Boost-1.89.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake/Modules/FindBoost.cmake:610 (find_package)
  lib/CMakeLists.txt:88 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().

Regards!

corysanin commented on 2024-11-26 22:55 (UTC)

If it's linked to an old version of boost... rebuild? 🤨 Don't create symlinks for it.

Faalagorn commented on 2024-06-01 19:54 (UTC)

In requires libboost_program_options.so.1.81.0 currently, but seems to work with libboost_program_options.so.1.83 too when symlinked

frankspace commented on 2023-11-26 21:40 (UTC)

If I try compiling this in a chroot, I consistently get the same error as Wild_Penguin, and just rerunning the command has no effect. I was able to get it to compile outside of a chroot by running makepkg twice in a row, only it was libapngasm.so that it couldn't find the first time around. I don't understand what's wrong, either.

Wild_Penguin commented on 2022-12-19 22:09 (UTC)

.... and right after posting it doesn't fail!

Just a guess: maybe this is some kind of build bug which happens because it tries to link the executable before the library has been linked? Something hardcoded in the Makefile which should not be hardcoded?

Just sometimes linking the library is faster than linking the executable, which means it will not always fail. But because only linking the executable has failed, on subsequent runs the library is there -> it succeeds.

I should probably mention I now next to nothing on the internals of Makefiles.

Wild_Penguin commented on 2022-12-19 21:59 (UTC)

This always fails on the first try of building:

$ LANG=C makepkg
==> Making package: apngasm 3.1.10-1 (Mon Dec 19 23:55:44 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning apngasm git repo...
Cloning into bare repository '/home/ville/AUR/apngasm/en/apngasm'...
remote: Enumerating objects: 2671, done.
remote: Counting objects: 100% (333/333), done.
remote: Compressing objects: 100% (132/132), done.
remote: Total 2671 (delta 191), reused 283 (delta 168), pack-reused 2338
Receiving objects: 100% (2671/2671), 1.07 MiB | 1.43 MiB/s, done.
Resolving deltas: 100% (1569/1569), done.
==> Validating source files with sha512sums...
    apngasm ... Skipped
==> Extracting sources...
  -> Creating working copy of apngasm git repo...
Cloning into 'apngasm'...
done.
Switched to a new branch 'makepkg'
==> Starting build()...
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13") 
-- Found PNG: /usr/lib/libpng.so (found version "1.6.39") 
1.6.39
-- Found Boost: /usr/lib/cmake/Boost-1.80.0/BoostConfig.cmake (found version "1.80.0") found components: program_options regex system 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ville/AUR/apngasm/en/src/apngasm/build
[ 10%] Building CXX object cli/CMakeFiles/apngasm-cli.dir/src/options.cpp.o
[ 10%] Building CXX object cli/CMakeFiles/apngasm-cli.dir/src/apngasm-cli.cpp.o
[ 15%] Building CXX object cli/CMakeFiles/apngasm-cli.dir/src/cli.cpp.o
[ 20%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/apngasm.cpp.o
[ 25%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/apngasm.cpp.o
[ 35%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/apngframe.cpp.o
[ 35%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/apngframe.cpp.o
[ 40%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/spec/specwriter.cpp.o
[ 50%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/spec/specreader.cpp.o
[ 50%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/spec/priv/specreaderimpl.cpp.o
[ 60%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/spec/priv/specwriterimpl.cpp.o
[ 60%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/spec/priv/specreaderimpl.cpp.o
[ 70%] Building CXX object lib/CMakeFiles/apngasm-dynamic.dir/src/listener/apngasmlistener.cpp.o
[ 70%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/spec/specreader.cpp.o
[ 75%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/spec/specwriter.cpp.o
[ 85%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/spec/priv/specwriterimpl.cpp.o
[ 85%] Building CXX object lib/CMakeFiles/apngasm-static.dir/src/listener/apngasmlistener.cpp.o
[ 90%] Linking CXX executable apngasm
/usr/bin/ld: cannot find -lapngasm: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [cli/CMakeFiles/apngasm-cli.dir/build.make:132: cli/apngasm] Error 1
make[1]: *** [CMakeFiles/Makefile2:244: cli/CMakeFiles/apngasm-cli.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Linking CXX static library libapngasm.a
[100%] Linking CXX shared library libapngasm.so
[100%] Built target apngasm-static
[100%] Built target apngasm-dynamic
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

However, re-running makepkg right after succeeds:

$ LANG=C makepkg
==> Making package: apngasm 3.1.10-1 (Mon Dec 19 23:56:02 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating apngasm git repo...
==> Validating source files with sha512sums...
    apngasm ... Skipped
==> Extracting sources...
  -> Creating working copy of apngasm git repo...
Reset branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
1.6.39
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ville/AUR/apngasm/en/src/apngasm/build
[  5%] Linking CXX executable apngasm
[ 75%] Built target apngasm-dynamic
[ 85%] Built target apngasm-static
[100%] Built target apngasm-cli
==> Entering fakeroot environment...
==> Starting package()...
[ 20%] Built target apngasm-cli
[ 60%] Built target apngasm-dynamic
[100%] Built target apngasm-static
Install the project...
-- Install configuration: ""
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/include/apngasm.h
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/include/apngframe.h
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/include/apngasm-conf.h
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/include/apngasm-version.h
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/lib/libapngasm.so
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/lib/libapngasm.a
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/lib/pkgconfig/libapngasm.pc
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/bin/apngasm
-- Set runtime path of "/home/ville/AUR/apngasm/en/pkg/apngasm/usr/bin/apngasm" to ""
-- Installing: /home/ville/AUR/apngasm/en/pkg/apngasm/usr/man/man1/apngasm.1
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "apngasm"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: apngasm 3.1.10-1 (Mon Dec 19 23:56:04 2022)

And it looks like the package is build correctly and works.

Possibly something fishy in the Makefile. Don't have time to investigate myself right now why it fails.

haawda commented on 2022-12-14 16:37 (UTC)

I do not. Please file a bug report or elaborate.

b0o commented on 2022-12-14 03:36 (UTC)

I'm having the same issue as @lubosz