Bug 278709

Summary: editors/scite: build fail
Product: Ports & Packages Reporter: Ivan Rozhuk <rozhuk.im>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Open ---    
Severity: Affects Only Me CC: cyberbotx, fernape
Priority: --- Flags: cyberbotx: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description Ivan Rozhuk 2024-05-03 06:34:14 UTC
FreeBSD 14/stable, amd64
# pkg version -vI | grep lua
lua52-5.2.4_1                      =   up-to-date with index
lua53-5.3.6_1                      =   up-to-date with index
lua54-5.4.6_1                      =   up-to-date with index
lua54-argparse-0.7.1               =   up-to-date with index
lua54-luacheck-0.25.g20200825      =   up-to-date with index
lua54-luafilesystem-1.8.0          =   up-to-date with index


c++ -Os  -fstack-protector-strong  -rdynamic \
-Wl,--version-script ./lua.vers SciTEGTK.o GUIGTK.o Widget.o DirectorExtension.o Cookie.o Credits.o EditorConfig.o ExportHTML.o ExportPDF.o ExportRTF.o ExportTEX.o ExportXML.o FilePath.o FileWorker.o IFaceTable.o JobQueue.o LexillaLibrary.o MatchMarker.o MultiplexExtension.o PropSetFile.o ScintillaCall.o ScintillaWindow.o SciTEBase.o SciTEBuffers.o SciTEIO.o SciTEProps.o StringHelpers.o StringList.o StyleDefinition.o StyleWriter.o Utf8_16.o LuaExtension.o lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o lcorolib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o loadlib.o loslib.o linit.o lutf8lib.o -o ../bin/SciTE -lscintilla \
-Wl,--as-needed -L/usr/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -pthread -lglib-2.0 -lintl
ld: error: version script assignment of 'VERS_1.0' to symbol '_Z11raise_errorP9lua_StatePKc' failed: symbol not defined
ld: error: version script assignment of 'VERS_1.0' to symbol '_Z14absolute_indexP9lua_Statei' failed: symbol not defined
ld: error: version script assignment of 'VERS_1.0' to symbol '_ZN14StylingContext10PushMethodEP9lua_StatePFiS1_EPKc' failed: symbol not defined
ld: error: version script assignment of 'VERS_1.0' to symbol '_ZN14StylingContext7ContextEP9lua_State' failed: symbol not defined
ld: error: version script assignment of 'VERS_1.0' to symbol '_ZN8LexerCPP14EvaluateTokensERSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKSt3mapIS6_NS_11SymbolValueESt4lessIS6_ESaISt4pairIKS6_SB_EEE' failed: symbol not defined
ld: error: version script assignment of 'VERS_1.0' to symbol '_ZN8LexerCPP18EvaluateExpressionERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt3mapIS5_NS_11SymbolValueESt4lessIS5_ESaISt4pairIS6_S9_EEE' failed: symbol not defined
ld: error: version script assignment of 'VERS_1.0' to symbol '_ZNK11PropSetFile8EvaluateB5cxx11EPKc' failed: symbol not defined
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [makefile:152: ../bin/SciTE] Error 1
Comment 1 Fernando ApesteguĂ­a freebsd_committer freebsd_triage 2024-05-07 15:44:51 UTC
Confirmed in pkg-fallout:

https://lists.freebsd.org/archives/freebsd-pkg-fallout/2024-May/596448.html
Comment 2 Naram Qashat 2024-05-07 21:57:04 UTC
Sorry for not replying quickly. I know that it is a problem (I get the fallout emails from it), but I haven't had time to actually update the port. It is not a trivial thing as it and scintilla need updating together and I need to make a new port for lexilla as the scintilla author has made that a separate component now.