From owner-freebsd-ports@freebsd.org Sat Aug 19 13:11:42 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A605DE8F48 for ; Sat, 19 Aug 2017 13:11:42 +0000 (UTC) (envelope-from a.andersson.thn@gmail.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5AD6741DD for ; Sat, 19 Aug 2017 13:11:41 +0000 (UTC) (envelope-from a.andersson.thn@gmail.com) Received: by mail-it0-x22d.google.com with SMTP id 77so17115951itj.1 for ; Sat, 19 Aug 2017 06:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ewnGQSgskmWk1SNbyrYN85opXc6NUTL41SigltpdNH4=; b=sUYl3ldcIcur4RDhVjO1/fIUwYnIIdIhd9ajiXykJsawF0HGeuhsz1E2L3J4wZWR/P NLneCNcbycj9LVo0JP7J8VGF4YQVFYvZ/SoWl5B51kL8+3Naw8isqO4Cdd5/qMNQnEl1 7Yf77KOA1pHwRmLCLnPLgpkE2nr9HdW0GRDIFtvSXGOOHmGeK5Pdtb14qM44QyG2dc9i qSC1xoQs4KRgxz67H/LWuKxzdo8x1D3a54YhLGisypkScP6qfHkZN9P2Nz8xtHBZRq5o ZClq9FEtrzpGHnxyldGrOHOR9E/VSg6P1s8zQdy9jrVhOYCQAiWe/FRt2P1/bLh/IF3c dSLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ewnGQSgskmWk1SNbyrYN85opXc6NUTL41SigltpdNH4=; b=Qrms0jhLewFm9VA6PDk6BGvw/RbVnV7cN12IFduB6yrt0XC7IBmpzWigimL6c9BG1q oquFzNPnvKovE4t0/RgkP1Z7F+H4eA/eV7CP6YkBUIwLdz/a3ghoRoRvSlHODHOcXp4L 4WL7H6Mj4NTN6VClQUeheXuE6q0NbsrASwj5eWbWUKzWqVqTB5qMEEjwEqUNlDeEfBgD unL/GdYeIBLeSASH7dyoZfSAdkvsBtVr2NmwhLSa9k+jOxFGKGhW0I9UvnDpWgUkQSJf 61uBS6M/Rf77QEORW0fxabKxH/sTwD5XzAb/OtNEr9gjnglegbXegyTzSGSmArYDHojw 4Xjw== X-Gm-Message-State: AHYfb5iQ3Z3GYUIKsEQhHMcGuG5jSuOj5+RPcGMsmRVXPef5mydSUzAX NMOjiV5sXLlPzZoaODdGmv5bX3eeCQ== X-Received: by 10.36.83.208 with SMTP id n199mr1191638itb.39.1503148301106; Sat, 19 Aug 2017 06:11:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.33.213 with HTTP; Sat, 19 Aug 2017 06:11:40 -0700 (PDT) Received: by 10.79.33.213 with HTTP; Sat, 19 Aug 2017 06:11:40 -0700 (PDT) In-Reply-To: <20170819130112.GV1133@albert.catwhisker.org> References: <20170819130112.GV1133@albert.catwhisker.org> From: Andreas Andersson Date: Sat, 19 Aug 2017 15:11:40 +0200 Message-ID: Subject: Re: x11/nvidia-settings: poudriere fails; portmaster succeeds To: David Wolfskill Cc: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Aug 2017 13:11:42 -0000 I can also confirm I an having problems with this. With the exact same error. Den 19 aug. 2017 3:01 em skrev "David Wolfskill" : > In fairness, this may be an "apple vs. orange" comparison. But it's > fairly unusual (in my experience) for poudriere to fail to build a port, > but when it's a port that I had just built successfully (using > portmaster) on my laptop... well, I thought it was worth mentioning. > > The whine in the poudriere log is: > > ... > cc -O2 -pipe -fstack-protector -fno-strict-aliasing -fno-strict-aliasing > -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter > -Wno-format-zero-length -DNV_BSD -I/usr/local/include -I . -I image_data > -I libXNVCtrl -I XF86Config-parser/.. -I libXNVCtrlAttributes -I xpm_data > -I common-utils -I common-unix/virtual-resolutions -I _out/FreeBSD_amd64 > -I/usr/local/include -D_THREAD_SAFE -pthread -I /usr/include/dbus-1.0/ > -DPROGRAM_NAME=\"nvidia-settings\" -fPIC -c XF86Config-parser/Generate.c > -o _out/FreeBSD_amd64/Generate.o && cc -MM -O2 -pipe -fstack-protector > -fno-strict-aliasing -fno-strict-aliasing -fno-omit-frame-pointer > -Wformat=2 -Wno-unused-parameter -Wno-format-zero-length -DNV_BSD > -I/usr/local/include -I . -I image_data -I libXNVCtrl -I > XF86Config-parser/.. -I libXNVCtrlAttributes -I xpm_data -I common-utils -I > common-unix/virtual-resolutions -I _out/FreeBSD_amd64 > -I/usr/local/include -D_THREAD_SAFE -pthread -I /usr/include/dbus-1.0/ > -DPROGRAM_NAME=\"nvidia-settings\" -fPIC XF86Config-parser/Generate.c | > sed -e "s,: ,: $\(wildcard ," -e "s,\([^\\]\)$,\1)," -e "s;^Generate.o: ; > _out/FreeBSD_amd64/Generate.o: ;" > _out/FreeBSD_amd64/Generate.d > gtk+-2.x/ctkgridlicense.c:42:10: fatal error: 'dbus/dbus.h' file not found > #include > ^~~~~~~~~~~~~ > 1 error generated. > .... > > which looks to me as if somehow nvidia-settings has a dependency on dbus > of which poudriere was unaware; more on that below (after I sketch the > environment). > > I have two machines that have nightly-updated private mirrors of the > FreeBSD SVN src, ports, and doc repositories: my laptop and a "build > machine" ("freebeast"). > > As described in , > I perform a source-based update of stable/11 on each of the machines > each morning; upon reboot and after "make delete-old-libs", I use > portmaster on each of these machines to update the installed ports to > match the state of the just-updated /usr/ports working copy. > > The laptop only builds the world & its own custom kernel; freebeast runs > a GENERIC kernel and builds that, as well as kernels for the two > "production" machines. On a regular basis (normally, each Sunday > morning), I update the production machines by installing the just-built > snapshot of stable/11 onto them, reboot, perform a "pkg updgrade", and > reboot again. > > The production machines are configured to get their packages (for the > "pkg upgrade") from freebeast. > > freebeast uses poudriere to build the packages. > > Since I (normally) only update the production machines on Sunday, I > don't see much value in running poudriere every day. On the other hand, > if I wait until Sunday (to get a week's worth of updates), that can take > a while, even with a reasonably fast machine. > > So, as a compromise, I do the "weekly" package-building in two stages: > the first is on Saturday (as in, today), doing a "catch up" run for the > last 6 days of updates, then on Sunday -- usually! -- there's only a > small amount of work to get caught up. > > Thus, the successful build of x11/nvidia-settings was on my laptop, > yesterday: > > ... > ===>>> The following actions were performed: > Upgrade of nvidia-xconfig-378.13 to nvidia-xconfig-384.59 > Upgrade of libuv-1.13.1 to libuv-1.14.0 > Upgrade of cups-filters-1.13.5 to cups-filters-1.16.0 > Upgrade of harfbuzz-1.4.7 to harfbuzz-1.4.8 > Upgrade of harfbuzz-icu-1.4.7 to harfbuzz-icu-1.4.8 > Upgrade of opusfile-0.8 to opusfile-0.9 > Upgrade of nvidia-settings-378.13_1 to nvidia-settings-384.59_1 > > Command exit status: 0 > > freebeast runs (essentially) headless; it has no X11-related ports > installed at all. So my next attempt to build x11/nvidia-settings > was on freebeast, but using poudriere -- which failed as described > above. > > Checking (on my laptop) for ports on which nvidia-settings depends, I > see: > > g1-252(11.1-S)[1] pkg info -d x11/nvidia-settings > nvidia-settings-384.59_1: > libXxf86vm-1.1.4_1 > libXv-1.0.11,1 > libXext-1.3.3_1,1 > libX11-1.6.5,1 > pango-1.40.6 > gtk2-2.24.31 > fontconfig-2.12.1,1 > freetype2-2.8 > libvdpau-1.1.1 > mesa-libs-17.1.5 > gdk-pixbuf2-2.36.6 > cairo-1.14.8_1,2 > jansson-2.10 > glib-2.50.2_4,1 > gettext-runtime-0.19.8.1_1 > atk-2.24.0 > g1-252(11.1-S)[2] > > And that list does not seem to mention any dbus-related ports. > > So I *suspect* that the portmaster build was "successful" only by > accident (because portmaster builds in teh local enviornment, which > happened to already have dbus installed, so dbus/dbus.h was already > present -- even though not called out as a dependency), while poudriere > would (I expect) have provided the file if it had actually been advised > that it was wanted.... > > Sorry for going on at such lengh; hope it was of some use despite that. > > Peace, > david > -- > David H. Wolfskill david@catwhisker.org > If we wish to eliminate sources of Fake News, start at the top: D. Trump. > > See http://www.catwhisker.org/~david/publickey.gpg for my public key. >