pkgsrc-Bugs archive

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

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



On Thu, Dec 07, 2023 at 12:55:27AM +0000, gutteridge%NetBSD.org@localhost wrote:
> Synopsis: Building ncurses on Fedora 35 leads to error mv: 'demo.o' and '../obj_lo/demo.o' are the same file
> 
> State-Changed-From-To: closed->open
> State-Changed-By: gutteridge%NetBSD.org@localhost
> State-Changed-When: Thu, 07 Dec 2023 00:55:27 +0000
> State-Changed-Why:
> We have more reports of this, reopening.

Ran into the same issue on newer Fedora, specifically Fedora release 39,
using pkgsrc-2023Q3.

Also fails with:

cd ../lib && libtool --tag=CXX --silent --mode=link c++  c++ -O2  \
        -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:4  -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
gmake[1]: *** [Makefile:267: ../obj_lo/demo.lo] Error 1


Found this PR, applied the PREFER_NATIVE workaround, only to find
more build breakage in other packages (databases/db4 so far).

Tooling versions:
 gcc-13.2.1-4.fc39.x86_64
 gcc-c++-13.2.1-4.fc39.x86_64
 binutils-gold-2.40-13.fc39.x86_64




Home | Main Index | Thread Index | Old Index