Description of problem: Autoconfigure of programs depending on libgd fail after recent update to lib64gd-devel-2.2.2-1.1.mga5 because the files /usr/lib64/pkgconfig/gdlib.pc and /usr/bin/multiarch-x86_64-linux/gdlib-config contain an unexpanded macro @LIBICONV@ This should normally be null, since linux does not require a separate libiconv.so Version-Release number of selected component (if applicable): lib64gd-devel-2.2.2-1.1.mga5 How reproducible: Steps to Reproduce: 1. Run ./configure script for program that checks for libgd. In my case this was gnuplot 2. autoconf fails to detect libgd because the flags provided by pkgconfig are not valid. Error in config.log configure:10790: gcc -o conftest -Wall -fPIC -g -O2 -Wno-uninitialized -Wdeclaration-after-statement -Wno-unused-function -Wno-sign-compare -I/usr/include -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -L/usr/lib64 conftest.c -lgd -ldl -lm -lcerf -lgd -lm -L/usr/lib64 -lz -lpng16 -lfreetype -lfontconfig -lfreetype -ljpeg -lXpm -lX11 -ltiff -lwebp @LIBICONV@ >&5 gcc: error: @LIBICONV@: No such file or directory configure:10790: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gnuplot" | #define PACKAGE_TARNAME "gnuplot" | #define PACKAGE_VERSION "5.1" | #define PACKAGE_STRING "gnuplot 5.1" | 3. Simpler test: $ gdlib-config --libs -lgd -lm -L/usr/lib64 -lz -lpng16 -lfreetype -lfontconfig -lfreetype -ljpeg -lXpm -lX11 -ltiff -lwep @LIBICONV@
David Geiger, this one's for you, guessing from the commit history.
CC: (none) => luigiwalserAssignee: bugsquad => geiger.david68210
David already fixed it in SVN. I'm just waiting for a fix for upstream issue #248 and then will push the build.
Depends on: (none) => 18938
Fixed in: http://advisories.mageia.org/MGASA-2016-0258.html
Status: NEW => RESOLVEDResolution: (none) => FIXED