Current-Users archive

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

Re: current-amd64 build breaking in sup/lib



Hello,
It breaks also on i386 but you can change that :)

Remove errmsg.c from the Makefile

Index: usr.sbin/sup/lib/Makefile
===================================================================
RCS file: /cvsroot/src/usr.sbin/sup/lib/Makefile,v
retrieving revision 1.13
diff -r1.13 Makefile
8c8
< SRCS+=        atoo.c errmsg.c expand.c ffilecopy.c filecopy.c \
---
> SRCS+=        atoo.c expand.c ffilecopy.c filecopy.c \


And er should be initialised

Index: usr.sbin/sup/source/supcmeat.c
===================================================================
RCS file: /cvsroot/src/usr.sbin/sup/source/supcmeat.c,v
retrieving revision 1.33
diff -r1.33 supcmeat.c
744c744
<       int er;
---
>       int er = 0;

The last revision of the files left this issues. Someone should commit
the changes

On Thu, Jan 15, 2009 at 11:09 PM, Hisashi T Fujinaka 
<htodd%twofifty.com@localhost> wrote:
> #    create  lib/atoo.d
> CC=/usr/src/obj.amd64/tooldir.NetBSD-5.99.7-x86_64/bin/x86_64--netbsd-gcc
> /usr/src/obj.amd64/tooldir.NetBSD-5.99.7-x86_64/bin/nbmkdep -f atoo.d --
>  -UCMUCS -UCMU -UMACH -DVAR_TMP -DHAS_DAEMON -DHAS_POSIX_DIR  -DLIBWRAP
> -DHAS_FPARSELN -DHAS_VIS -DHAS_FGETLN -I/usr/src/usr.sbin/sup/lib/../source
> -I/usr/src/usr.sbin/sup/lib/../lib -I/usr/src/usr.sbin/sup/lib/../sys
> -DEE_XXX  -D_FORTIFY_SOURCE=2  -nostdinc -isystem
> /usr/src/obj.amd64/destdir.amd64/usr/include
>  /usr/src/usr.sbin/sup/lib/../source/atoo.c
> nbmake: don't know how to make errmsg.c. Stop
>
> nbmake: stopped in /usr/src/usr.sbin/sup/lib
>
> *** Failed target:  dependall-lib
> *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
> case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
> this="usr.sbin/sup/"; real="/usr/src/usr.sbin/sup" ;; *)
> this="usr.sbin/sup/${dir}/"; real="/usr/src/usr.sbin/sup/${dir}" ;; esac;
> show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
> "${real}" && /usr/src/obj.amd64/tooldir.NetBSD-5.99.7-x86_64/bin/nbmake
> _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib dependall
> *** Error code 2
>
> Stop.
> nbmake: stopped in /usr/src/usr.sbin/sup
>
>
> --
> Hisashi T Fujinaka - htodd%twofifty.com@localhost
> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
>

Regards


Home | Main Index | Thread Index | Old Index