Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-libs/ncurses-6.0-r1: /usr/bin/x86_64-gentoo-freebsd9.1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
zoujiaqing
n00b
n00b


Joined: 05 Apr 2017
Posts: 22

PostPosted: Wed Apr 05, 2017 5:59 pm    Post subject: sys-libs/ncurses-6.0-r1: /usr/bin/x86_64-gentoo-freebsd9.1 Reply with quote

title: sys-libs/ncurses-6.0-r1: /usr/bin/x86_64-gentoo-freebsd9.1-ld: cannot find -lstdc++

run:
Code:
emerge -u sys-apps/portage


error:
Code:
clang++ -O2 -pipe -mtune=generic -shared -Wl,-soname,`basename ../lib/libncurses++.so.6.0 .6.0`.6,-stats,-lc -o ../lib/libncurses++.so.6.0 ../obj_s/cursesf.o ../obj_s/cursesm.o ../obj_s/cursesw.o ../obj_s/cursespad.o ../obj_s/cursesp.o ../obj_s/cursslk.o ../obj_s/cursesapp.o ../obj_s/cursesmain.o -L../lib -lform -lmenu -lpanel -lncurses  -L../lib -lform -lmenu -lpanel -lncurses    -lutil  -lstdc++
/usr/bin/x86_64-gentoo-freebsd9.1-ld: cannot find -lstdc++
/usr/bin/x86_64-gentoo-freebsd9.1-ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [../lib/libncurses++.so.6.0] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64_fbsd/ncurses/c++'
gmake: *** [all] Error 2
 * ERROR: sys-libs/ncurses-6.0-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64_fbsd/ncurses'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0'

>>> Failed to emerge sys-libs/ncurses-6.0-r1, Log file:

>>>  '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'

 * Messages for package sys-libs/ncurses-6.0-r1:

 * ERROR: sys-libs/ncurses-6.0-r1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_64.amd64_fbsd/ncurses'
 * S: '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0'

 * Regenerating GNU info directory index...
 * Processed 67 info files.

 * IMPORTANT: 11 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


Reproducible: Always
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Apr 05, 2017 9:20 pm    Post subject: Re: sys-libs/ncurses-6.0-r1: /usr/bin/x86_64-gentoo-freebsd9 Reply with quote

zoujiaqing wrote:
* If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1'`,
* the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1'`.
* The complete build log is located at '/var/tmp/portage/sys-libs/ncurses-6.0-r1/temp/build.log'.

zoujiaqing ... you need to provide the above 'emerge --info =sys-libs/ncurses-6.0-r1', build.log, and 'emerge -pvq =sys-libs/ncurses-6.0-r1' both here (in code blocks, or pastebin), and as attatchments/comments to your bug.

As a guess I suspect that USE="cxx" is not set on sys-libs/ncurses ... but that would be a wild guess as I'm fairly sure all profiles have this enabled (though I'm not sure about amd64-fbsd/clang as there are other use.mask for cxx).

best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum