From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 2 08:40:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 418731065675 for ; Fri, 2 May 2008 08:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 248B18FC1A for ; Fri, 2 May 2008 08:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m428e0Go047659 for ; Fri, 2 May 2008 08:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m428e0HU047658; Fri, 2 May 2008 08:40:00 GMT (envelope-from gnats) Resent-Date: Fri, 2 May 2008 08:40:00 GMT Resent-Message-Id: <200805020840.m428e0HU047658@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, greg byshenk Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A7E31065672 for ; Fri, 2 May 2008 08:34:56 +0000 (UTC) (envelope-from gbyshenk@byshenk.net) Received: from core.byshenk.net (core.byshenk.net [62.58.73.230]) by mx1.freebsd.org (Postfix) with ESMTP id 0380D8FC14 for ; Fri, 2 May 2008 08:34:55 +0000 (UTC) (envelope-from gbyshenk@byshenk.net) Received: from core.byshenk.net (localhost.aoes.com [127.0.0.1]) by core.byshenk.net (8.14.2/8.14.2) with ESMTP id m4286fau090743 for ; Fri, 2 May 2008 10:06:41 +0200 (CEST) (envelope-from gbyshenk@core.byshenk.net) Received: (from gbyshenk@localhost) by core.byshenk.net (8.14.2/8.14.2/Submit) id m4286f6r090742; Fri, 2 May 2008 10:06:41 +0200 (CEST) (envelope-from gbyshenk) Message-Id: <200805020806.m4286f6r090742@core.byshenk.net> Date: Fri, 2 May 2008 10:06:41 +0200 (CEST) From: greg byshenk To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/123325: Samba3 port does not build X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: greg byshenk List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2008 08:40:01 -0000 >Number: 123325 >Category: ports >Synopsis: Samba3 port does not build >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri May 02 08:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: greg byshenk >Release: FreeBSD 6.3-STABLE i386 >Organization: none >Environment: System: FreeBSD ats-core-2.aoes.com 6.3-STABLE FreeBSD 6.3-STABLE #75: Thu May 1 12:50:18 CEST 2008 root@ats-core-2.aoes.com:/usr/obj/usr/src/sys/AOES6 i386 x86 32-bit, both intel and amd FreeBSD 6-STABLE on or after 24 April 2008 >Description: On 6-STABLE as of 24 April 2008 (and later), samba3 build fails. Basically my problem is that the current Samba3 (samba-3.0.28,1) won't build on a recent 6-STABLE system (I noticed it with sources csup'd 24 April, and it continues with sources csup'd today, 1 May). The strange thing is that this is a version of samba that has previously built successfully, on the machine and with the configuration that is now failing. (I was attempting to rebuild because I saw some strange library errors.) This at least suggests to me that the problem is _not_ due to something changing with Samba, but to some other change that is being reflected in the Samba build. The system in question is built from sources csup'd today (1 May 2008), with all installed ports current as of today. The same Samba did build successfully with a source and ports tree csup'd on 7 March 2008. As a test to see if there is some problem with the ports dependencies, I've tried a 'portupgrade -fR samba'; all of the dependencies built fine, but then I got the same error when attempting to build Samba itself. It is not definitive, but this suggests to me that this is not a ports problem (per se), but a kernel/world problem. This latter is highlighted by the fact that Samba builds without error on a system with sources csup'd on 17 April. That is, if I take the exact same system on which the build fails, revert my world/kernel to a build from 17 April (leaving everything else exactly the same), then the error disappears and Samba builds successfully. >How-To-Repeat: update a system to 6-STABLE and attempt to build samba3 port. Compiling smbd/oplock_linux.c smbd/oplock_linux.c: In function `signal_handler': smbd/oplock_linux.c:73: error: structure has no member named `si_fd' The following command failed: cc -I. -I/usr/ports/net/samba3/work/samba-3.0.28/source -O2 -fno-strict-aliasing -pipe +-D_SAMBA_BUILD_=3 -I/usr/local/include +-I/usr/ports/net/samba3/work/samba-3.0.28/source/iniparser/src -Iinclude -I./include -I. -I. +-I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H +-I/usr/local/include -DLDAP_DEPRECATED -I/usr/ports/net/samba3/work/samba-3.0.28/source/lib +-D_SAMBA_BUILD_=3 -fPIC -DPIC -c smbd/oplock_linux.c -o smbd/oplock_linux.o *** Error code 1 Stop in /usr/ports/net/samba3/work/samba-3.0.28/source. *** Error code 1 Stop in /usr/ports/net/samba3. *** Error code 1 Stop in /usr/ports/net/samba3. >Fix: Downgrade system to 6-STABLE as of 17 April 2008. The build succeeds. >Release-Note: >Audit-Trail: >Unformatted: