From owner-freebsd-stable@FreeBSD.ORG Thu May 1 14:39:30 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C540A106566B for ; Thu, 1 May 2008 14:39:30 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from mail3.secureworks.net (mail3.secureworks.net [65.114.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 86C158FC1B for ; Thu, 1 May 2008 14:39:30 +0000 (UTC) (envelope-from mike@jellydonut.org) Received: from localhost (localhost [127.0.0.1]) by mail3.secureworks.net (Postfix) with ESMTP id ADAB119E0F7; Thu, 1 May 2008 14:39:29 +0000 (GMT) X-Virus-Scanned: amavisd-new at secureworks.net Received: from mail3.secureworks.net ([127.0.0.1]) by localhost (mail3.secureworks.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MXYYbVTYLis1; Thu, 1 May 2008 14:39:29 +0000 (GMT) Received: from [192.168.23.35] (mole1.secureworks.net [63.239.86.3]) by mail3.secureworks.net (Postfix) with ESMTP id 8023219E0F5; Thu, 1 May 2008 14:39:29 +0000 (GMT) Message-ID: <4819D621.9090901@jellydonut.org> Date: Thu, 01 May 2008 10:39:29 -0400 From: Michael Proto User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080227 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Greg Byshenk References: <20080501132724.GD840@core.byshenk.net> In-Reply-To: <20080501132724.GD840@core.byshenk.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: samba build failure on 6-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2008 14:39:30 -0000 Greg Byshenk wrote: > I'm posting this to freebsd-stable even though it is a problem with a port, > because the port itself has not changed, but a rebuild fails (on a system > and with a configuration that worked before my most recent system updates). > > 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. > > > The actual error is below. Any ideas are welcome. I have a machine that I can > play with if someone would like me to try anything. > > -greg > > > 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. > I can confirm this on a 6-STABLE system last SUPed (kernel and world rebuilt) to 20080428 11:23 EDT. samba-3.0.28,1 built fine on this box when it was 6.3-RELEASE, and now fails in exactly the same place when trying to rebuild on 6-STABLE. -Proto