[Bug 244237] lang/spidermonkey60: undeclared readline dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 20 02:29:11 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244237
Bug ID: 244237
Summary: lang/spidermonkey60: undeclared readline dependency
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: tcberner at freebsd.org
Reporter: jcfyecrayz at liamekaens.com
Flags: maintainer-feedback?(tcberner at freebsd.org)
Assignee: tcberner at freebsd.org
====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/js60 is linked to /usr/local/lib/libreadline.so.8 from
devel/readline but it
is not declared as a dependency
Warning: you need USES+=readline
FYI, if you manually remove readline (pkg delete -f readline), then configure
fails [1]. We probably could use --disable-readline to avoid the readline
dependency, but it's probably fine to just add USES=readline.
[1]
checking for readline in -lreadline... no
configure: error: No system readline library found.
DEBUG: <truncated - see config.log for full output>
DEBUG: int main() {
DEBUG:
DEBUG: ; return 0; }
DEBUG: configure:8746: /usr/bin/cc -std=gnu99 -shared -Wl,-z,defs
-Wl,--gc-sections -pthread -fstack-protector-strong -Wl,-z,noexecstack
-Wl,-z,text -Wl,-z,relro -o conftest -Wl
DEBUG: configure:8818: checking for readline in -lreadline
DEBUG: configure:8837: /usr/bin/cc -std=gnu99 -o conftest -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -ffunction-sections -fdata-sections
-fno-math-errno -pipe -Qunused-arguments -isystem /usr/local/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -fstack-protector-strong
-Wl,-z,noexecstack -Wl,-z,text -Wl,-z,relro conftest.c -lreadline -lm
-L/usr/local/lib 1>&5
DEBUG: /usr/bin/ld: cannot find -lreadline
DEBUG: cc: error: linker command failed with exit code 1 (use -v to see
invocation)
DEBUG: configure: failed program was:
DEBUG: #line 8826 "configure"
DEBUG: #include "confdefs.h"
DEBUG: /* Override any gcc2 internal prototype to avoid an error. */
DEBUG: /* We use char because int might match the return type of a gcc2
DEBUG: builtin and then its argument prototype would still apply. */
DEBUG: char readline();
DEBUG:
DEBUG: int main() {
DEBUG: readline()
DEBUG: ; return 0; }
DEBUG: configure: error: No system readline library found.
ERROR: old-configure failed
+ echo '===> Script "../firefox-60.9.0/js/src/configure" failed unexpectedly.'
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list