Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2020 02:29:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244237] lang/spidermonkey60: undeclared readline dependency
Message-ID:  <bug-244237-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244237

            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@freebsd.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(tcberner@freebsd.org)
          Assignee: tcberner@freebsd.org

=3D=3D=3D=3D> 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+=3Dreadline


FYI, if you manually remove readline (pkg delete -f readline), then configu=
re
fails [1]. We probably could use --disable-readline to avoid the readline
dependency, but it's probably fine to just add USES=3Dreadline.


[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=3Dgnu99 -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=3Dgnu99 -o conftest -O2 -pipe=20
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing=20
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2 -ffunction-sections -fdata-sections
-fno-math-errno -pipe -Qunused-arguments -isystem /usr/local/include
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D2  -pthread  -fstack-protector-strong=
=20
-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 '=3D=3D=3D>  Script "../firefox-60.9.0/js/src/configure" failed unex=
pectedly.'

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244237-7788>