[Bug 280410] emulators/fs-uae: fix build issue on -CURRENT and -STABLE
Date: Mon, 22 Jul 2024 15:02:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280410 Bug ID: 280410 Summary: emulators/fs-uae: fix build issue on -CURRENT and -STABLE Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: sirdice@gmail.com Created attachment 252227 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=252227&action=edit Patch to fix linker issue On 15-CURRENT and recent 14-STABLE the ftime() function moved from libcompat to libutil.This caused a linker error at the end of the build. ld: error: undefined symbol: ftime >>> referenced by blkdev_cdimage.cpp >>> blkdev_cdimage.o:(cdda_play_func(void*)) in archive libuae.a >>> referenced by blkdev_cdimage.cpp >>> blkdev_cdimage.o:(cdda_play_func(void*)) in archive libuae.a >>> did you mean: ctime >>> defined in: /lib/libc.so.7 c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[2]: *** [Makefile:3627: fs-uae] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/fs-uae/work/fs-uae-3.1.66' gmake[1]: *** [Makefile:4241: all-recursive] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/fs-uae/work/fs-uae-3.1.66' gmake: *** [Makefile:2356: all] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Patch fixes the issue for 14-STABLE > 1401500 and 15-CURRENT > 1500019 -- You are receiving this mail because: You are the assignee for the bug.