Description of problem: executing "freetype-config --libs" shows "-L/usr/include -Wl,--rpath -Wl,/usr/include -lfreetype", which contains a invalid rpath "/usr/include". Rebuiling ImageMagick with fedora-rpmdevtools fails because rebuiling ImageMagick calls "freetype-config" in configure and uses the result, which annoys /usr/lib/rpm/check-rpaths when "/usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot" is called. Version-Release number of selected component (if applicable): freetype-devel-2.2.1-3 How reproducible: 100% Steps to Reproduce: 1. execute "freetype-config --libs" 2. 3. Actual results: returns "-L/usr/include -Wl,--rpath -Wl,/usr/include -lfreetype", which is not correct. Expected results: On FC5 (freetype-devel-2.1.10-5.2.1), it returns "-lfreetype -lz" Additional info: /usr/bin/freetype-config includes the line: libdir=`pkg-config --variable includedir freetype2` This must be: libdir=`pkg-config --variable libdir freetype2` , perhaps?
Even it is corrected so that "freetype-config --libs" returns -L/usr/include -Wl,--rpath -Wl,/usr/lib -lfreetype", including a standard rpath such as "/usr/lib" would not be recommended (I am not sure).
fixed in 2.2.1-4.fc6