From owner-freebsd-current@FreeBSD.ORG Tue Dec 20 09:13:51 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A81F1065675 for ; Tue, 20 Dec 2011 09:13:51 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 13A578FC16 for ; Tue, 20 Dec 2011 09:13:50 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so3489797obb.13 for ; Tue, 20 Dec 2011 01:13:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=gB1NBah1Z/Upuh06L4Ev0BNV9RpqPvGaQ01wWYQWdPQ=; b=E6wk8faAZsqJrzx/PKjQBn7/JCba0nXzZP6ohcHWOqU77HvkdDgyE4sAHiiMUvP6uD pwAN/52KFkyvMzs06eQhGhYx0cimFcbNnXsVvdJOH2/p8wTHMwFWqgHjazlRPmo0m3M1 wkxObSC55Ibp24dkUaYY6IQmg42aoi6aUaQXc= MIME-Version: 1.0 Received: by 10.182.231.38 with SMTP id td6mr883851obc.66.1324372430207; Tue, 20 Dec 2011 01:13:50 -0800 (PST) Received: by 10.182.62.227 with HTTP; Tue, 20 Dec 2011 01:13:49 -0800 (PST) In-Reply-To: <4EF01EEC.9030204@zoho.com> References: <4EEFB8B6.8010203@zoho.com> <4EF001A7.4030602@zoho.com> <4EF01EEC.9030204@zoho.com> Date: Tue, 20 Dec 2011 01:13:49 -0800 Message-ID: From: Garrett Cooper To: Alex Kuster Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org Subject: Re: Failure to compile world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 09:13:51 -0000 On Mon, Dec 19, 2011 at 9:36 PM, Alex Kuster wrot= e: > On 12/20/2011 01:52, Garrett Cooper wrote: >> >> On Mon, Dec 19, 2011 at 7:31 PM, Alex Kuster >> =C2=A0wrote: >>> >>> A follow-up on this is libc not building because of missing >>> SCTP_REMOTE_UDP_ENCAPS_PORT >>> apparently the Makefile doesn't include /sys/ into the includes of the >>> libc. >>> >>> My current version (/usr/include/netinet/sctp.h) lacks that definition, >>> it >>> should look in the headers of the source, not the current system header= s >>> ... >>> so I just added that to the Makefile ( lib/libc/net/Makefile.inc ). >>> >>> I'm leaving note if anyone else experiences the same problem. >> >> =C2=A0 =C2=A0 Please file a PR for this and other similar build issues. = The >> mantra I've gotten in the past is that "builds aren't guaranteed to >> work in a subdirs", but I would really like for this to become a >> reality because I really wouldn't want to have to installworld (or >> installincludes) a whole system just to get some headers installed for >> a trivial program in the base system :). >> =C2=A0 =C2=A0 Just to make sure though, did you do make depend all , or = just make >> all? >> Thanks! >> -Garrett >> > > Hi Garett ... Well, those issues were raised by a simple "make buildworld= " > in the traditional /usr/src > When I found the first issue with libc i just went to /usr/src/lib/libc, > fixed and ran a make in there, so the second issue appeared and libc was > built with no problems. Hmm.. yeah, that's a bug then. > Now I'm facing another one which I'll find out and see how to fix to get = a > compiling/working system. Ok. > Thanks for your time! Np! > P.S =E2=86=92 I didn't know about installincludes, I'll read about that make distribution does more than that too (and mergemaster runs that). man build has some other interesting tricks that may or may not be of value to you. > P.S 2 =E2=86=92 I never-ever-ever filed a PR http://www.freebsd.org/send-pr.html Cheers! -Garrett