Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694118 - dev-lang/open-cobol-1.1 with sys-libs/ncurses[tinfo] - ../libcob/.libs/libcob.so: error: undefined reference to 'cbreak'
Summary: dev-lang/open-cobol-1.1 with sys-libs/ncurses[tinfo] - ../libcob/.libs/libcob...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2019-09-12 01:15 UTC by Alessandro Barbieri
Modified: 2020-05-13 08:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
open-cobol-1.1:20190911-131147.log (open-cobol-1.1:20190911-131147.log,70.04 KB, text/plain)
2019-09-12 01:16 UTC, Alessandro Barbieri
Details
emerge --info (info,13.46 KB, text/plain)
2019-09-12 01:16 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-09-12 01:15:01 UTC
/bin/bash ../libtool --tag=CC --mode=link gcc  -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -lpthread -lgomp -Wl,--hash-style=gnu -o cobcrun  cobcrun-cobcrun.o ../libcob/libcob.la
mkdir .libs
gcc -Os -pipe -march=native -mtune=native -fomit-frame-pointer -mfpmath=sse -Wdate-time -Wno-error=implicit-function-declaration -fopenmp -pthread -fno-unroll-all-loops -fno-unroll-loops -fno-peel-loops -Wformat -Wformat-security -Warray-bounds -Wclobbered -Wimplicit-function-declaration -Wvolatile-register-var -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -finline-functions -fsigned-char -Wall -Wwrite-strings -Wmissing-prototypes -Wno-format-y2k -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -Wl,-fuse-ld=gold -Wl,--hash-style=gnu -o .libs/cobcrun cobcrun-cobcrun.o  ../libcob/.libs/libcob.so -lpthread -lgomp -lm -lgmp -lncurses -ldb -ldl
../libcob/.libs/libcob.so: error: undefined reference to 'cbreak'
../libcob/.libs/libcob.so: error: undefined reference to 'stdscr'
../libcob/.libs/libcob.so: error: undefined reference to 'keypad'
../libcob/.libs/libcob.so: error: undefined reference to 'LINES'
../libcob/.libs/libcob.so: error: undefined reference to 'reset_prog_mode'
../libcob/.libs/libcob.so: error: undefined reference to 'def_prog_mode'
../libcob/.libs/libcob.so: error: undefined reference to 'COLS'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:270: cobcrun] Error 1
make[2]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1/bin'
make[1]: *** [Makefile:339: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/notmpfs/portage/dev-lang/open-cobol-1.1/work/open-cobol-1.1'
make: *** [Makefile:230: all] Error 2
emake failed
 * ERROR: dev-lang/open-cobol-1.1::gentoo failed (compile phase):
 *   emake failed.
Comment 1 Alessandro Barbieri 2019-09-12 01:16:01 UTC
Created attachment 589714 [details]
open-cobol-1.1:20190911-131147.log

buildlog
Comment 2 Alessandro Barbieri 2019-09-12 01:16:52 UTC
Created attachment 589716 [details]
emerge --info

info
Comment 3 Jeroen Roovers gentoo-dev 2019-09-12 06:13:49 UTC
1. I have been running tinfo canaries for years, but this build didn't fail for me like it should have.

2. https://sourceforge.net/projects/open-cobol/ says:

"
    OpenCOBOL 1.1 became GNU Cobol 1.1 in 2013.
    GnuCOBOL 2.2 is the latest, version 3.0 is on its way.
"