[Bug 285405] graphics/libavif: needs math library

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Mar 2025 13:56:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285405

            Bug ID: 285405
           Summary: graphics/libavif: needs math library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

[ 96% 66/66] : && /usr/local/libexec/ccache/cc -O2 -pipe
-fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-aliasing -O2
-pipe -fno-omit-frame-pointer  -fstack-protector-strong -fno-strict-aliasing
-DNDEBUG -fstack-protector-strong     -Xlinker
--dependency-file=CMakeFiles/avifenc.dir/link.d
CMakeFiles/avifenc.dir/apps/avifenc.c.o -o avifenc 
-Wl,-rpath,/construction/xports/graphics/libavif/work/.build:/usr/local/lib: 
libavif_apps.a  libavif.so.16.2.0  /usr/local/lib/libpng.so  /usr/lib/libz.so 
/usr/local/lib/libjpeg.so && :
FAILED: avifenc
: && /usr/local/libexec/ccache/cc -O2 -pipe -fno-omit-frame-pointer 
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fno-omit-frame-pointer
 -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG
-fstack-protector-strong     -Xlinker
--dependency-file=CMakeFiles/avifenc.dir/link.d
CMakeFiles/avifenc.dir/apps/avifenc.c.o -o avifenc 
-Wl,-rpath,/construction/xports/graphics/libavif/work/.build:/usr/local/lib: 
libavif_apps.a  libavif.so.16.2.0  /usr/local/lib/libpng.so  /usr/lib/libz.so 
/usr/local/lib/libjpeg.so && :
ld: error: undefined symbol: round
>>> referenced by iccmaker.c
>>>               iccmaker.c.o:(avifGenerateRGBICC) in archive libavif_apps.a
>>> referenced by iccmaker.c
>>>               iccmaker.c.o:(avifGenerateRGBICC) in archive libavif_apps.a
>>> referenced by iccmaker.c
>>>               iccmaker.c.o:(avifGenerateRGBICC) in archive libavif_apps.a
>>> referenced 10 more times

ld: error: undefined symbol: roundf
>>> referenced by iccmaker.c
>>>               iccmaker.c.o:(avifGenerateRGBICC) in archive libavif_apps.a
>>> referenced by iccmaker.c
>>>               iccmaker.c.o:(avifGenerateGrayICC) in archive libavif_apps.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)

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