[Bug 213973] x11-toolkits/libgdiplus Building fails because of tests

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 1 12:47:20 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213973

            Bug ID: 213973
           Summary: x11-toolkits/libgdiplus Building fails because of
                    tests
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mono at FreeBSD.org
          Reporter: alex.theissen at me.com
          Assignee: mono at FreeBSD.org
             Flags: maintainer-feedback?(mono at FreeBSD.org)

When I try to install the port I get the following linker error:
-------------------------------------------------------------------------------------
gmake[3]: Entering directory
'/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-4.2/tests'
/bin/sh ../libtool  --tag=CC   --mode=link cc  -D_THREAD_SAFE -O2 -pipe
-march=native  -fstack-protector -fno-strict-aliasing -pthread 
-L/usr/local/lib -fstack-protector -o testgdi testgdi.o ../src/libgdiplus.la
-lm -L/usr/local/lib -lglib-2.0 -lintl   -L/usr/local/lib -lcairo -lpthread   
-L/usr/local/lib -lfontconfig -lfreetype   -L/usr/local/lib -lfreetype  
-L/usr/local/lib -lXrender -lX11   -L/lib -ljpeg -ltiff -lgif -lpng -lz
libtool: link: cc -D_THREAD_SAFE -O2 -pipe -march=native -fstack-protector
-fno-strict-aliasing -pthread -fstack-protector -o .libs/testgdi testgdi.o 
-L/usr/local/lib ../src/.libs/libgdiplus.so -lm -lglib-2.0 -lintl -lcairo
-lpthread -lfontconfig -lfreetype -lXrender -lX11 -L/lib -ljpeg -ltiff -lgif
-lpng -lz -pthread -Wl,-rpath -Wl,/usr/local/lib
testgdi.o: In function `win_draw':
testgdi.c:(.text+0x1e6): undefined reference to `GdipCreateFromXDrawable_linux'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
-------------------------------------------------------------------------------------

I do not know why this reference can't be found by the linker but the "_linux"
suffix suggests that it is linux specific and shouldn't be compiled on freebsd.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list