Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 636958 - sys-apps/duc-1.4.1-r1 USE=ncurses with sys-libs/ncurses[tinfo] - configure: checking for tputs in -lncursesw... no
Summary: sys-apps/duc-1.4.1-r1 USE=ncurses with sys-libs/ncurses[tinfo] - configure: c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: NP-Hardass
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tinfo
  Show dependency tree
 
Reported: 2017-11-09 13:16 UTC by piotr5
Modified: 2018-02-25 16:03 UTC (History)
2 users (show)

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


Attachments
applied with "patch -p1" in source-directory "${S}" results in successful compiling (tinfo.patch,922 bytes, patch)
2017-11-09 13:16 UTC, piotr5
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description piotr5 2017-11-09 13:16:24 UTC
Created attachment 503266 [details, diff]
applied with "patch -p1" in source-directory "${S}" results in successful compiling

the failure happens in configuration phase:
"The ncurses library was not found, which is needed for ui support."
probably a bug in the creation of the configure file. I made a patch and put it into /etc/portage/patches/sys-apps/duc/ and to get it applied I had to change my /etc/portage/bashrc from what was suggested in the handbook to a more elaborate:
#!/bin/sh
if [ "${EBUILD_PHASE}" == "prepare" ]; then
 cd "${S}"
 if  [[ -z "`type -t epatch_user`" ]]; then
   if  [[ -z "`type -t eapply_user`" ]]; then
     echo applying /etc/portage/patches/${CATEGORY}/${PN}/*.patch
     for i in `ls /etc/portage/patches/${CATEGORY}/${PN}/*.patch 2>/dev/null` ;do 
       patch -p1 <"${i}" ||die "patch failed"
     done
   else
     eapply_user
   fi
 else
   epatch_user
 fi
 cd -
fi
Comment 1 Jeroen Roovers gentoo-dev 2018-02-25 16:03:55 UTC
Fixed in 9999 and 1.4.3.