Subject: pkg/9889: netatalk package broken and fix.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 04/14/2000 22:46:15
>Number: 9889
>Category: pkg
>Synopsis: netatalk package broken and fix.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 14 22:47:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Takahiro Kambe
>Release: NetBSD-current 2000/4/12
>Organization:
>Environment:
System: NetBSD land.sky.yamashina.kyoto.jp 1.4X NetBSD 1.4X (LAND) #13: Thu Apr 13 08:18:58 JST 2000 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386
>Description:
netatalk package broken with some lint(1) problem.
>How-To-Repeat:
make produce such error message:
root@land[696]:make
=> Checksum OK for netatalk-990130.tar.gz.
===> Extracting for netatalk-19990130
work -> /usr/obj/pkgsrc/net/netatalk/work
===> Patching for netatalk-19990130
===> Applying NetBSD patches for netatalk-19990130
===> Configuring for netatalk-19990130
===> Building for netatalk-19990130
Making all for netbsd...
cd ../../libatalk; make CC="gcc -Werror -I../../sys/netbsd/" ADDLIBS="-Wl,-R/usr/pkg/lib -lcrypt" DEFS="-DBSD4_4" OPTOPTS="" SBINDIR="/usr/pkg/sbin" BINDIR="/usr/pkg/bin" RESDIR="/usr/pkg/share" ETCDIR="/usr/pkg/etc" LIBDIR="/usr/pkg/lib" INCDIR="/usr/pkg/include" ATALK_DESTDIR="/usr/pkg" AFSDIR="" KRBDIR="" EXAMPLEDIR="/usr/pkg/share/examples/netatalk" all
lint -chapbxzF -DBSD4_4 -I/usr/obj/pkgsrc/net/netatalk/work/netatalk-990130/libatalk/../include -i /usr/obj/pkgsrc/net/netatalk/work/netatalk-990130/libatalk/adouble/ad_flush.c
lint: cannot exec gcc -Werror -I../../sys/netbsd/: No such file or directory
*** Error code 1
Stop.
>Fix:
I don't know why lint(1) fails but it seems no need to run
lint(1) here since no lint libraries are installed after.
So, I solved this problem adding NOLINT=yes in libatalk/Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted: