Package Details: flif 0.4-1

Git Clone URL: https://aur.archlinux.org/flif.git (read-only, click to copy)
Package Base: flif
Description: Free Lossless Image Format
Upstream URL: https://github.com/FLIF-hub/FLIF/
Licenses: Apache, LGPL3, custom: CC0 1.0 Universal
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 8
Popularity: 0.000000
First Submitted: 2018-09-13 19:02 (UTC)
Last Updated: 2021-11-23 22:59 (UTC)

Latest Comments

dbermond commented on 2022-12-10 15:51 (UTC)

@dreieck I've just checked, and the package is building fine for me.

dreieck commented on 2022-11-30 14:40 (UTC) (edited on 2022-11-30 14:41 (UTC) by dreieck)

Source download now works, but build() fails for me:

[...]
lto-wrapper: note: see the ‘-flto’ option documentation for more information
ln -sf libflif.so.0 libflif.so
cc -std=gnu11  -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -I/usr/include/libpng16  -DLODEPNG_NO_COMPILE_PNG -DLODEPNG_NO_COMPILE_DISK -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lpng16  -O3 -I/usr/include/SDL2 -D_REENTRANT -Wall -Ilibrary/ viewflif.c -L. -lflif -L/usr/lib -lSDL2 -o viewflif
cc -shared   -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -I/usr/include/libpng16  -DLODEPNG_NO_COMPILE_PNG -DLODEPNG_NO_COMPILE_DISK  -Ilibrary/ -fPIC -Wall -Werror=implicit-function-declaration -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread  -o libpixbufloader-flif.so flif-pixbuf-loader.c -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lpng16  -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0  -L. -lflif
cc -O0 -ggdb3 -Wall -Ilibrary/ ../tools/test.c -L. -lflif.dbg  -o test-interface
cc1: warning: command-line option ‘-fpermissive’ is valid for C++/ObjC++ but not for C
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `image_rggb.cpp.e578ee66'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `image.cpp.fdda8274'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `chance.cpp.54faa10c'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `lodepng.cpp.ef9a1ae0'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `factory.cpp.5aac03ba'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `flif_interface.cpp.1aa1d716'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `image_png.cpp.11c96bd3'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `common.cpp.3598ad64'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `flif_enc.cpp.f21049bb'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `color_range.cpp.5a6b6939'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `image_pnm.cpp.4f9326ca'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `flif_dec.cpp.d7709218'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `crc32k.cpp.40f1bacd'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `io.cpp.25da5522'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `symbol.cpp.96918c91'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `image_pam.cpp.ab436906'
/usr/bin/ld: ./libflif.dbg.so: undefined reference to `image_metadata.cpp.d7adf66a'
collect2: error: ld returned 1 exit status
make: *** [Makefile:135: test-interface] Error 1
make: *** Waiting for unfinished jobs....
ln -sf libflif_dec.so.0 libflif_dec.so
make: Leaving directory '/home/[...]/.cache/yay/flif/src/FLIF-0.4/src'

Regards!

dbermond commented on 2021-11-28 01:45 (UTC)

@dreieck See also discusson here: https://github.com/github/feedback/discussions/8149

dbermond commented on 2021-11-27 13:44 (UTC)

@dreieck This is a problem with github. The url used is a well established way of downloading releases from github. A github user also reported this on the latest hours.

dreieck commented on 2021-11-27 11:00 (UTC)

Fails to download source:

==> Retrieving sources...
  -> Downloading flif-0.4.tar.gz...
--2021-11-27 11:59:33--  https://github.com/FLIF-hub/FLIF/archive/v0.4/flif-0.4.tar.gz
SSL_INIT
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/FLIF-hub/FLIF/tar.gz/v0.4/flif-0.4 [following]
--2021-11-27 11:59:33--  https://codeload.github.com/FLIF-hub/FLIF/tar.gz/v0.4/flif-0.4
SSL_INIT
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-11-27 11:59:33 ERROR 404: Not Found.

I think https://github.com/FLIF-hub/FLIF/archive/refs/tags/v0.4.tar.gz would work as source URL.

Thanks for maintaining!

Vaporeon commented on 2019-03-06 07:33 (UTC)

I used makepkg anyway. Oddly it built after running makepkg a second time.

dbermond commented on 2019-03-05 15:45 (UTC)

@Vaporeon Package is building fine. Please use makepkg to build it.

Vaporeon commented on 2019-03-03 07:51 (UTC)

Fails on package() "install: cannot create regular file '-snip-/flif/pkg/flif/usr/bin': File exists"