Issue #2893 has been reported by davshao.

----------------------------------------
Bug #2893: Don't clean /usr/obj/usr error: conflicting types for 'unctrl'
http://bugs.dragonflybsd.org/issues/2893

* Author: davshao
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Update through (I have been using full buildworlds after latest updates 
including cleaning /usr/obj/usr):

commit b34d3b9b8fa26892a7eb1f0fbf9a053d72798cd8
Date:   Thu Mar 10 10:43:31 2016 +0200

    nrelease: Allow to build snapshots on tmpfs.

After installation,

cd /usr/obj
mv usr usr.prev

because it appears one needs a functioning /usr/obj/usr to build anymore.

Now update through:

commit 3eec877432eb8056a5450dd96fad6f6abad016b9
Date:   Fri Mar 11 20:11:40 2016 +0100

    ncurses: Upgrade version 5.9 (20110402) => 6.0 (20160305)

cd /usr/src
make buildworld

Not long into the build, reproduced on 2 separate machines so far:

echo tic: /usr/obj/usr/src/btools_x86_64/usr/lib/libc.a 
/usr/obj/usr/src/btools_x86_64/usr/lib/priv/libprivate_ncurses.a >> .depend
cc -O -pipe -g  -D_XOPEN_SOURCE_EXTENDED -DENABLE_WIDEC 
-DSET_NCURSES_CH_T=cchar_t -DSET_NEED_WCHAR_H=1 
-I/usr/src/usr.bin/tic/../../contrib/ncurses/progs -I. 
-I/usr/src/usr.bin/tic/../../contrib/ncurses/include 
-I/usr/src/usr.bin/tic/../../lib/libncurses/include -I/usr/src/usr.bin/tic 
-I/usr/obj/usr/src/btools_x86_64/usr/src/usr.bin/tic   -std=gnu99 
-Wmissing-include-dirs -Wsystem-headers -Wall -Wformat-security -Winit-self 
-Wno-pointer-sign -Wextra -Wno-unused-parameter -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type 
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter 
-Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -c 
/usr/src/usr.bin/tic/../../contrib/ncurses/progs/tic.c -o tic.o
In file included from 
/usr/src/usr.bin/tic/../../contrib/ncurses/progs/progs.priv.h:121:0,
                 from /usr/src/usr.bin/tic/../../contrib/ncurses/progs/tic.c:42:
/usr/src/usr.bin/tic/../../lib/libncurses/include/unctrl.h:60:38: error: 
conflicting types for 'unctrl'
 NCURSES_EXPORT(NCURSES_CONST char *) NCURSES_SP_NAME(unctrl) (SCREEN*, chtype);
                                      ^
In file included from /usr/include/curses.h:1971:0,
                 from 
/usr/src/usr.bin/tic/../../contrib/ncurses/progs/progs.priv.h:121,
                 from /usr/src/usr.bin/tic/../../contrib/ncurses/progs/tic.c:42:
/usr/src/usr.bin/tic/../../lib/libncurses/include/unctrl.h:57:38: note: 
previous declaration of 'unctrl' was here
 NCURSES_EXPORT(NCURSES_CONST char *) unctrl (chtype);

*** Error code 1

Stop.
make[3]: stopped in /usr/src/usr.bin/tic
sh /usr/src/tools/install.sh  -o root -g wheel -m 555   tic 
/usr/obj/usr/src/btools_x86_64/usr/bin
install: tic: No such file or directory
*** Error code 71

The /etc/make.conf used is:

CFLAGS+=-g
STRIP=

WITH_PKGNG=yes
DISABLE_VULNERABILITIES=yes

WITH_VIM_OPTIONS=yes

On one machine, moving back /usr/obj/usr allows
make quickworld
to complete successfully.  However I have not attempted to install this world 
yet.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to