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

Bug 838034

Summary: dev-scheme/scm-5.5.6-r4 - /.../ld: cannot find -lcurses: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Scheme Project <scheme>
Status: RESOLVED FIXED    
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-scheme:scm-5.5.6-r4:20220412-072730.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-12 08:40:44 UTC
scm.h:80:15: note: in definition of macro P’
   80 | # define P(s) s
      |               ^
(system "x86_64-pc-linux-gnu-gcc -shared -o crs.so crs.o -lcurses -lc")
/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
(delete-file "crs.o")

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220411-080050

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/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-1.60.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit b57ed15efd903575bf4cfcaf5656fbb1c5858624
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 12 07:19:23 2022 +0000

    2022-04-12 07:19:20 UTC

emerge -qpvO dev-scheme/scm
[ebuild  N    ] dev-scheme/scm-5.5.6-r4  USE="ncurses readline -arrays -bignums -cautious -dynamic-linking -engineering-notation -gsubr -inexact -ioext -libscm -macro -posix -regex -sockets -unix"
Comment 1 Toralf Förster gentoo-dev 2022-04-12 08:40:45 UTC
Created attachment 770279 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-12 08:40:46 UTC
Created attachment 770282 [details]
dev-scheme:scm-5.5.6-r4:20220412-072730.log
Comment 3 Toralf Förster gentoo-dev 2022-04-12 08:40:47 UTC
Created attachment 770285 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-12 08:40:48 UTC
Created attachment 770288 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-12 08:40:50 UTC
Created attachment 770291 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-12 08:40:51 UTC
Created attachment 770294 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-12-15 18:45:33 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f12da135603cb2c16bebca18c220486ccac0b2e

commit 6f12da135603cb2c16bebca18c220486ccac0b2e
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-12-15 17:45:34 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-12-15 18:45:31 +0000

    dev-scheme/scm: curses -> ncurses
    
    Closes: https://bugs.gentoo.org/838034
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-scheme/scm/files/scm-5.5.6-ncurses.patch | 11 +++++++++++
 dev-scheme/scm/scm-5.5.6-r4.ebuild           |  7 +++++--
 2 files changed, 16 insertions(+), 2 deletions(-)