Opened 8 months ago
Last modified 8 months ago
#69405 new defect
lnav @0.12.0_0 fails to build on mavericks
Reported by: | tehcog (tehcog) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | mavericks | Cc: | herbygillot (Herby Gillot) |
Port: | lnav |
Description
:info:build fs_util.cc:91:15: error: use of undeclared identifier 'mkostemp'; did you mean 'mkstemps'? :info:build if ((fd = mkostemp(pattern_copy, O_CLOEXEC)) == -1) { :info:build ^~~~~~~~ :info:build mkstemps :info:build /usr/include/unistd.h:671:6: note: 'mkstemps' declared here :info:build int mkstemps(char *, int); :info:build ^ :info:build depbase=`echo is_utf8.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ :info:build /opt/local/bin/clang++-mp-16 -std=c++14 -DHAVE_CONFIG_H -I. -I../../src -Wall -I../../src/ -I../../src/third-party -I../../src/fmtlib -I../../src/third-party/date/include -I../../src/third-party/scnlib/include -I/opt/local/include -I../../src/third-party/doctest-root -isystem/opt/local/include/LegacySupport -I/opt/local/include -D_ISOC99_SOURCE -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_OS_TZDB=1 -DHAS_REMOTE_API=0 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/local/include -pipe -Os -stdlib=libc++ -arch x86_64 -pthread -MT is_utf8.o -MD -MP -MF $depbase.Tpo -c -o is_utf8.o is_utf8.cc &&\ :info:build mv -f $depbase.Tpo $depbase.Po :info:build 1 error generated. :info:build make[3]: *** [fs_util.o] Error 1
Attachments (1)
Change History (2)
Changed 8 months ago by tehcog (tehcog)
Attachment: | lnav_main.log added |
---|
comment:1 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
mkostemp
was introduced in macOS 10.12. So this issue is not specific to MacPorts and would occur for any user trying to compile lnav on OS X 10.11 or earlier. You could file an lnav bug report about it and see if the developer can add a workaround.