Bug#845211: link-grammar: FTBFS: /usr/bin/ld: cannot find -lncurses

Chris Lamb lamby at debian.org
Mon Nov 21 13:53:09 UTC 2016


Source: link-grammar
Version: 5.3.11-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Dear Maintainer,

link-grammar fails to build from source in unstable/amd64:

  […]

  gcc -DPACKAGE_NAME=\"link-grammar\" -DPACKAGE_TARNAME=\"link-grammar\" -DPACKAGE_VERSION=\"5.3.11\" -DPACKAGE_STRING=\"link-grammar\ 5.3.11\" -DPACKAGE_BUGREPORT=\"link-grammar at googlegroups.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"link-grammar\" -DVERSION=\"5.3.11\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DHAVE_STRNDUP=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_PRCTL=1 -DHAVE_LOCALE_T_IN_LOCALE_H=1 -DHAVE_MKLIT=1 -DHAVE_LIBSTDC__=1 -DHAVE_HUNSPELL=1 -DHUNSPELL_DICT_DIR=\"/usr/share/myspell/dicts\" -DHAVE_EDITLINE=1 -DHAVE_WIDECHAR_EDITLINE=1 -DHAVE_REGEXEC=1 -DHAVE_PYTHON=\"2.7\" -DHAVE_MAYBE_UNINITIALIZED=1 -DVERSION=\"5.3.11\" -DDICTIONARY_DIR=\"/usr/share/link-grammar\" -I.  -I.. -I.. -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wold-style-definition  -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wmissing-declarations -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -Wno-attributes -Wno-long-long -Winline -I/usr/include/hunspell -I/usr/include/editline -Wdate-time -D_FORTIFY_SOURCE=2 -DUSE_PTHREADS=1 -DUSE_SAT_SOLVER=1  -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -c -o parser-utilities.o parser-utilities.c
  /bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -fno-strict-aliasing -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--as-needed -o link-parser link-parser.o command-line.o lg_readline.o parser-utilities.o ../link-grammar/liblink-grammar.la -ledit -lncurses -lbsd   -lminisat  -lstdc++ 
  libtool: link: gcc -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -std=c11 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -fno-strict-aliasing -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-O1 -o .libs/link-parser link-parser.o command-line.o lg_readline.o parser-utilities.o  -Wl,--as-needed ../link-grammar/.libs/liblink-grammar.so -ledit -lncurses -lbsd -lminisat -lstdc++
  /usr/bin/ld: cannot find -lncurses
  collect2: error: ld returned 1 exit status
  Makefile:469: recipe for target 'link-parser' failed
  make[2]: *** [link-parser] Error 1
  make[2]: Leaving directory '«BUILDDIR»/link-parser'
  Makefile:539: recipe for target 'all-recursive' failed
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory '«BUILDDIR»'
  dh_auto_build: make -j9 returned exit code 2
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: link-grammar.5.3.11-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 21480 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-bugs/attachments/20161121/c5158ef3/attachment-0001.obj>


More information about the Reproducible-bugs mailing list