Subject: pkg/24134: net/samba does not compile on -current
To: None <gnats-bugs@gnats.NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 01/17/2004 18:00:45
>Number:         24134
>Category:       pkg
>Synopsis:       net/samba does not compile on -current
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 17 17:01:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.6ZH
>Organization:
>Environment:
System: NetBSD night-porter.duskware.de 1.6ZG NetBSD 1.6ZG (PORTER) #0: Fri Jan 9 22:09:23 CET 2004 martin@night-porter.duskware.de:/usr/src/sys/arch/i386/compile/PORTER i386
Architecture: i386
Machine: i386
>Description:

Trying to compile samba fails:

Using FLAGS =  -O2 -pipe -I/usr/pkg/include -I./popt -Iinclude -I/noraid/usr/pkgobj/net/samba/work/samba-3.0.1/source/include -I/noraid/usr/pkgobj/net/samba/work/samba-3.0.1/source/ubiqx -I/noraid/usr/pkgobj/net/samba/work/samba-3.0.1/source/smbwrapper  -I. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/noraid/usr/pkgobj/net/samba/work/samba-3.0.1/source
      LIBS = -lcrypt -lresolv
      LDSHFLAGS = -shared  -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
      LDFLAGS = -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
Compiling dynconfig.c
In file included from dynconfig.c:21:
include/includes.h:754:27: ubi_sLinkList.h: No such file or directory
include/includes.h:755:27: ubi_dLinkList.h: No such file or directory

I have WRKOBJDIR set to /noraid/usr/pkgobj; if I comment that out the pkg
builds fine.

>How-To-Repeat:

set WRKOBJDIR
cd /usr/pkgsrc/net/samba && make

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: