Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 837263

Summary: dev-lang/maude-3.1-r1 - /.../ld: cannot find -lcurses: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 837812    
Attachments: emerge-info.txt
dev-lang:maude-3.1-r1:20220407-233643.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-08 14:03:00 UTC
too long lines were shrinked:

../../src/3rdParty/MersenneTwister.h:376:22: warning: ISO C++17 does not allow register’ storage class specifier [-Wregister]
  376 |         register int i = mtrand.N;
      |                      ^
x86_64-pc-linux-gnu-g++  -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o maude maude-main.o ../Mixfix/libmixfix.a ../StrategyLanguage/libstrategyLanguage.a ../Meta/libmeta.a ../ObjectSystem/libobjectSystem.a ../BuiltIn/libbuiltIn.a .
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcurses: No such file or directory
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:490: maude] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220407-030024

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 14.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.0
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.59.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 83b7b8a4c85099f2e91fef78a71df5cf2fbefef4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 7 21:49:42 2022 +0000

    2022-04-07 21:49:40 UTC

emerge -qpvO dev-lang/maude
[ebuild  N    ] dev-lang/maude-3.1-r1  USE="-doc -examples"
Comment 1 Toralf Förster gentoo-dev 2022-04-08 14:03:01 UTC
Created attachment 769358 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-08 14:03:02 UTC
Created attachment 769361 [details]
dev-lang:maude-3.1-r1:20220407-233643.log
Comment 3 Toralf Förster gentoo-dev 2022-04-08 14:03:03 UTC
Created attachment 769364 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-08 14:03:05 UTC
Created attachment 769367 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-08 14:03:12 UTC
Created attachment 769370 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-08 14:03:12 UTC
Created attachment 769373 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-08 14:03:13 UTC
Created attachment 769376 [details]
temp.tar.bz2
Comment 8 Hans Lub 2023-03-18 09:25:46 UTC
The newest Maude release (3.2.2) still links with libcurses (if configured with '--with-tecla', which is what Gentoo does)

Just changing the one single occurrence of "-lcurses" in configure.ac to "-ltinfo" makes the thing compile and run. I'll try to ping upstream about this as well.