pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50743: ncurses-6 [linker command failed]



>Number:         50743
>Category:       pkg
>Synopsis:       ncurses-6 [linker command failed]
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 04:45:00 +0000 2016
>Originator:     Keke Pierre
>Release:        pkgsrc-2015Q4
>Organization:
>Environment:
FreeBSD prosody 10.1-RELEASE-p24 FreeBSD 10.1-RELEASE-p24 #0: Mon Nov  2 12:17:28 UTC 2015     root%amd64-builder.daemonology.net@localhost:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I'm running a Freebsd server and I'm trying to install ncurses-6.0nb1 but it is breaking.
>How-To-Repeat:
bmake update

cd ../lib && libtool --tag=CXX --silent --mode=link c++  c++ -O  \
	-o libncurses++.la ../obj_lo/cursesf.lo ../obj_lo/cursesm.lo ../obj_lo/cursesw.lo ../obj_lo/cursespad.lo ../obj_lo/cursesp.lo ../obj_lo/cursslk.lo ../obj_lo/cursesapp.lo ../obj_lo/cursesmain.lo \
	-rpath /usr/pkg/lib \
	-version-number 6:0  -L../lib -lform -lmenu -lpanel -lncurses  -L../lib ../lib/libform.la ../lib/libmenu.la ../lib/libpanel.la ../lib/libncurses.la    -Wl,-R/usr/pkg/lib -lutil  -lstdc++
*** [buildlink3] Warning: libtool replaced -lform with ../lib/libform.la
*** [buildlink3] Warning: libtool replaced -lmenu with ../lib/libmenu.la
*** [buildlink3] Warning: libtool replaced -lpanel with ../lib/libpanel.la
*** [buildlink3] Warning: libtool replaced -lncurses with ../lib/libncurses.la
/usr/bin/ld: cannot find -lstdc++
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:319: recipe for target '../lib/libncurses++.la' failed
gmake[1]: *** [../lib/libncurses++.la] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/devel/ncurses/work/ncurses-6.0/c++'
Makefile:113: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkgsrc/devel/ncurses
*** Error code 1

Stop.
>Fix:
I was able to fix this by doing the following.
# cvs diff
cvs diff: Diffing .
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/devel/ncurses/Makefile.common,v
retrieving revision 1.31
diff -r1.31 Makefile.common
38a39,40
> BUILDLINK_TRANSFORM+=	rm:-lstdc++
> 
cvs diff: Diffing patches
# 


Home | Main Index | Thread Index | Old Index