CRUX

Welcome to CRUX bug tracking.
Tasklist

FS#1048 - freetype-32 is missing dependency libpng-32

Attached to Project: CRUX
Opened by Kristian Lehmann (kris) - Monday, 25 August 2014, 18:44 GMT
Last edited by Danny Rawlins (Romster) - Friday, 05 September 2014, 02:59 GMT
Task Type Bug Report
Category ports → compat-32
Status Closed
Assigned To CRUX Developers (crux)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Missing dependency: libpng-32
This task depends upon

Closed by  Danny Rawlins (Romster)
Friday, 05 September 2014, 02:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Normally its up to the user to make sure that optional compat-32 ports are installed. But in this case, libpng/libpng-32 is widely used. So I've fixed freetype and freetype-32 to include libpng/libpng-32
Comment by Danny Rawlins (Romster) - Monday, 01 September 2014, 13:05 GMT
Not an issue as opt/freetype does not have libpng, and compat-32 closely follows their 64bit ports.

For compat-32/freetype-32 to include libpng-32, opt/freetype would require libpng added to its dependencies first.
Comment by Kristian Lehmann (kris) - Monday, 01 September 2014, 20:08 GMT
If having libpng installed freetype-32 fails to build if not libpng-32 is installed:

...
/objs/.libs/ftbzip2.o /usr/ports/compat-32/freetype-32/work/src/freetype-2.5.3/objs/.libs/psaux.o /usr/ports/compat-32/freetype-32/work/src/freetype-2.5.3/objs/.libs/psnames.o -L/usr/lib32 -L/lib32 -lbz2 -L/usr/lib /usr/lib/libpng16.so -lz -lm -m32 -march=x86-64 -m32 -Wl,-soname -Wl,libfreetype.so.6 -o /usr/ports/compat-32/freetype-32/work/src/freetype-2.5.3/objs/.libs/libfreetype.so.6.11.2
/usr/lib/libpng16.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
config.mk:55: recipe for target '/usr/ports/compat-32/freetype-32/work/src/freetype-2.5.3/objs/libfreetype.la' failed
make: *** [/usr/ports/compat-32/freetype-32/work/src/freetype-2.5.3/objs/libfreetype.la] Error 1
=======> ERROR: Building '/usr/ports/compat-32/freetype-32/freetype-32#2.5.3-1.pkg.tar.gz' failed.

Loading...