Bug 254576 - math/sc-im 0.8.0 fails to build with linker error
Summary: math/sc-im 0.8.0 fails to build with linker error
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Baptiste Daroussin
Depends on:
Reported: 2021-03-26 10:07 UTC by p5B2E9A8F
Modified: 2021-05-03 14:32 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bapt)

poudriere log file (52.78 KB, text/plain)
2021-03-26 10:07 UTC, p5B2E9A8F
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description p5B2E9A8F 2021-03-26 10:07:49 UTC
Created attachment 223604 [details]
poudriere log file

===>   sc-im-0.8.0 depends on shared library: libzip.so - found (/usr/local/lib/libzip.so)
gram.y:1067:51: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation]
                                                  ui_mv_bottom_bar(); }
gram.y:1066:38: note: previous statement is here
                                     else         parse_str(user_conf_d, "input_bar_bottom=1", TRUE);
1 warning generated.
cc  -fstack-protector-strong  block.o buffer.o clipboard.o cmds_command.o cmds_edit.o cmds_insert.o cmds_normal.o cmds_visual.o cmds.o color.o conf.o dep_graph.o digraphs.o exec.o file.o filter.o format.o freeze.o help.o hide_show.o history.o input.o interp.o lex.o lua.o main.o maps.o marks.o pipe.o plot.o range.o shift.o sort.o subtotal.o trigger.o tui.o undo.o vmtbl.o xls.o xlsx.o xmalloc.o yank.o utils/dictionary.o utils/extra.o utils/string.o gram.o -o sc-im -lxlsreader -lxlsxwriter -lm -lxlsreader -pthread -lxlsxwriter -lncursesw -L/usr/local/lib -lxml2 -Wl,-R/usr/local/lib -lzip  -L/usr/local/lib -llua-5.1 -lm  -Wl,--export-dynamic
ld: error: undefined symbol: init_extended_color
>>> referenced by color.c:580
>>>               color.o:(redefine_color)
>>> referenced by color.c:642
>>>               color.o:(define_color)

ld: error: undefined symbol: init_extended_pair
>>> referenced by tui.c:1447
>>>               tui.o:(ui_start_colors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:190: sc-im] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/sc-im/work/sc-im-0.8.0/src'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

make: stopped in /usr/ports/math/sc-im
=>> Cleaning up wrkdir
===>  Cleaning for sc-im-0.8.0
build of math/sc-im | sc-im-0.8.0 ended at Fri Mar 26 10:28:33 CET 2021
build time: 00:00:29
!!! build failure encountered !!!
Comment 1 p5B2E9A8F 2021-03-30 10:50:26 UTC
The patch https://svnweb.freebsd.org/ports/head/math/sc-im/Makefile?r1=569546&r2=569545&pathrev=569546

does not fix the linker error. Build of sc-im 0.8.0 fails exactly with the same error.