Package Details: mingw-w64-giflib 5.2.2-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-giflib.git (read-only, click to copy)
Package Base: mingw-w64-giflib
Description: A library for reading and writing gif images (mingw-w64)
Upstream URL: http://sourceforge.net/projects/giflib/
Keywords: giflib mingw mingw-w64
Licenses: MIT
Submitter: Schala
Maintainer: None
Last Packager: drakkan
Votes: 3
Popularity: 0.000000
First Submitted: 2012-11-01 00:39 (UTC)
Last Updated: 2024-03-10 13:01 (UTC)

Latest Comments

1 2 3 Next › Last »

xantares commented on 2022-12-06 09:26 (UTC)

perhaps the doc can be avoided being built to drop the xmlto & docbook deps

looks there's a BUILD_DOC var in configure ?

Pol_M commented on 2019-09-03 23:26 (UTC) (edited on 2019-09-03 23:27 (UTC) by Pol_M)

!makeflags solved the solution, thank you a lot Nicola Murino (and of course, the rest of you who helped). Sorry for not answering earlier, I was on a small trip :) You're all the best! The Mingw enviorment on Arch is one of the best things ever!

spider-mario commented on 2019-08-31 21:00 (UTC) (edited on 2019-08-31 21:01 (UTC) by spider-mario)

Basically, I think the Makefile doesn’t specify all the dependencies that it should, and so linking commands are run before all of their inputs are ready.

If I build with -j9, I randomly get either:

i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2 -shared -Wl,-O1,--sort-common,--as-needed  -Wl,--out-implib,libutil.dll.a -o libutil-7.dll qprintf.o getarg.o -L. -lgif
i686-w64-mingw32-ar rcs libutil.a qprintf.o getarg.o
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lgif

or:

i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2 -shared -Wl,-O1,--sort-common,--as-needed  -Wl,--out-implib,libutil.dll.a -o libutil-7.dll qprintf.o getarg.o -L. -lgif
i686-w64-mingw32-ar rcs libutil.a qprintf.o getarg.o
i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2 -shared -Wl,-O1,--sort-common,--as-needed -Wl,--out-implib,libgif.dll.a -o libgif-7.dll dgif_lib.o egif_lib.o gifalloc.o gif_err.o gif_font.o gif_hash.o openbsd-reallocarray.o quantize.o
i686-w64-mingw32-ar rcs libgif.a dgif_lib.o egif_lib.o gifalloc.o gif_err.o gif_font.o gif_hash.o openbsd-reallocarray.o quantize.o
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: qprintf.o:qprintf.c:(.text+0x7d): undefined reference to `GifErrorString'

drakkan commented on 2019-08-31 14:57 (UTC)

@spider-mario, thanks for your suggestion, I tested setting MAKEFLAGS="-j2" and it works for me, I also added -j2 directly inside the PKGBUILD build section and it compiles fine too. Can you please give more details on how to reproduce the build error? I tested in a clean chroot

spider-mario commented on 2019-08-31 11:35 (UTC)

I think this needs !makeflags in the options too. If I build it in parallel, it fails.

drakkan commented on 2019-08-28 14:12 (UTC)

@Pol_M, are you building in a clean chroot? I just retested in my previous build chroot (with mingw-w64-gcc 9.1.0) and then in a new clean chroot after installing only the compiler (9.2.0 version),mingw-w64-pkg-config and mingw-w64-configure, in both cases the package compiles fine, can you please share more details about your build env? If you need urgent help I can share the builded package

Pol_M commented on 2019-08-28 13:46 (UTC)

I'm not capable of building this package:

i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2  -c -o quantize.o quantize.c
i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2  -c -o qprintf.o qprintf.c
i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2  -c -o getarg.o getarg.c
i686-w64-mingw32-gcc -pipe -fno-plt -fexceptions --param=ssp-buffer-size=4 -std=gnu99 -fPIC -Wall -Wno-format-truncation -O2 -D_FORTIFY_SOURCE=2 -shared -Wl,-O1,--sort-common,--as-needed  -Wl,--out-implib,libutil.dll.a -o libutil-7.dll qprintf.o getarg.o -L. -lgif
i686-w64-mingw32-ar rcs libutil.a qprintf.o getarg.o
/usr/lib/gcc/i686-w64-mingw32/9.2.0/../../../../i686-w64-mingw32/bin/ld: cannot find -lgif

And removing the -lgif parameter causes other errors to appear, mainly missing symbols

Schala commented on 2016-06-22 19:48 (UTC)

Try now

Martchus commented on 2016-06-22 19:43 (UTC) (edited on 2016-06-22 19:48 (UTC) by Martchus)

When building this (in clean chroot) I'm getting the following errors: I/O I/O I/O error : error : error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl warning: warning: Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" compilation error: file /tmp/xmlto-xsl.sGp70t line 4 element import compilation error: file /tmp/xmlto-xsl.aI6tdI line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl compilation error: file /tmp/xmlto-xsl.3SFM2K line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl" compilation error: file /tmp/xmlto-xsl.HZH7gQ line 4 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl make[2]: *** [Makefile:612: gifbuild.html] Error 5 These errors could be easily avoided by not building the documentation which is discarded anyways. Listing all targets (excluding doc) explicitly works for me: make lib util libtool pic stamp-h1 bin_PROGRAMS='' I guess the make dependency docbook-xml can be removed then, too. (The problem might also be fixed by adding the make dependency docbook-xsl. However, that would be useless because documentation is discarded anyways.)

Schala commented on 2016-01-24 09:42 (UTC)

I have no idea what's up with the repo right now.