pkgsrc-Bugs archive

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

pkg/56843: Building ncurses on Fedora 35 leads to error mv: 'demo.o' and '../obj_lo/demo.o' are the same file



>Number:         56843
>Category:       pkg
>Synopsis:       Building ncurses on Fedora 35 leads to error mv: 'demo.o' and '../obj_lo/demo.o' are the same file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 16 21:05:00 +0000 2022
>Originator:     Nate Johnston
>Release:        pkgsrc-2022Q1
>Organization:
>Environment:
Linux fedora 5.17.5-200.fc35.x86_64 #1 SMP PREEMPT Thu Apr 28 15:41:41 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

>Description:
When running bmake on pkgsrc/devel/ncurses on Fedora 35, there seems to be an error running ld that manifests like so:

make[1]: Entering directory '/usr/pkgsrc/devel/ncurses/work/ncurses-6.3/c++'
cp ./etip.h.in etip.h
/bin/sh ./edit_cfg.sh ../include/ncurses_cfg.h etip.h
substituting autoconf'd values from ../include/ncurses_cfg.h into etip.h
... CPP_HAS_PARAM_INIT 0
... CPP_HAS_STATIC_CAST 1
... ETIP_NEEDS_MATH_EXCEPTION 0
... ETIP_NEEDS_MATH_H 0
... HAVE_BUILTIN_H 0
... HAVE_GPP_BUILTIN_H 0
... HAVE_GXX_BUILTIN_H 0
... HAVE_IOSTREAM 1
... HAVE_TYPEINFO 1
... HAVE_VALUES_H 0
... IOSTREAM_NAMESPACE 1
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursesf.cc -o ../obj_lo/cursesf.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursesm.cc -o ../obj_lo/cursesm.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursesw.cc -o ../obj_lo/cursesw.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursespad.cc -o ../obj_lo/cursespad.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursesp.cc -o ../obj_lo/cursesp.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursslk.cc -o ../obj_lo/cursslk.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursesapp.cc -o ../obj_lo/cursesapp.lo
libtool --tag=CXX --silent --mode=compile c++ -DHAVE_CONFIG_H -DBUILDING_NCURSES_CXX -I../c++ -I. -I../include -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DNDEBUG -O2 -D_FORTIFY_SOURCE=2  -c ../c++/cursesmain.cc -o ../obj_lo/cursesmain.lo
cd ../lib && libtool --tag=CXX --silent --mode=link c++  c++ -O2 -D_FORTIFY_SOURCE=2  \
        -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:3  -L../lib -lgnuform -lgnumenu -lgnupanel -lncurses  -L../lib ../lib/libgnuform.la ../lib/libgnumenu.la ../lib/libgnupanel.la ../lib/libncurses.la   -Wl,-zrelro -Wl,-R/usr/pkg/lib -lutil
compiling demo (obj_s)
mv: 'demo.o' and '../obj_lo/demo.o' are the same file
make[1]: *** [Makefile:267: ../obj_lo/demo.lo] Error 1
make[1]: Leaving directory '/usr/pkgsrc/devel/ncurses/work/ncurses-6.3/c++'
make: *** [Makefile:140: all] Error 2
*** Error code 2

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

>How-To-Repeat:
cd /usr/pkgrc/devel/ncurses; bmake clean; bmake
>Fix:


Home | Main Index | Thread Index | Old Index