From owner-svn-src-all@freebsd.org Mon Jan 29 09:56:07 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B49BEE0CDA; Mon, 29 Jan 2018 09:56:07 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (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 2DDD3685AA; Mon, 29 Jan 2018 09:56:07 +0000 (UTC) (envelope-from jason.harmening@gmail.com) Received: by mail-it0-x22f.google.com with SMTP id w14so8637229itc.3; Mon, 29 Jan 2018 01:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=X7436XTZEUH0skOXPVqhRSTuPQxMmkLlJixFm1tw4yM=; b=vHKibJxPm1DKnUxw6ixthVaQvSTrjJJNSLkU1NYB1LiCtN1MH93cGunWiaQ8BdCX7Z ZgsmHOzbX/rQ/eaCTQxmglEYM1eF5Acs3X7YjwcXGCxxA+YmMNJ9KusKJIy+PJBiUoTu 9YAUgKj6Mav4lvvxnawWFuYZssG1c10z+OnC4B82H9XiTF0JOk97ijlKMGIhbPjcuX84 5sSagrKzEPm1x4gbm6SAuMr6DZGlGAVanARPBrvIhkyzzWWqPPCfXqSOvU8WkWLfcv1D hFNtvDRsN55SbP7KxT7JsjguWojK7PsdSopOSvd7GgBz+Vjo56o3+VJJ9biIkPQEkCbt b25w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=X7436XTZEUH0skOXPVqhRSTuPQxMmkLlJixFm1tw4yM=; b=qi0hwE/HSVOih9vMMJ4rA5ZQ8iOxn1XD5p4qMqFqOJpSV/pww7OGmQBv0qIkZ+LwBz ngVaJJEIrr5DVaJA9SNaaY0IvTkBD75CYqKTa1p/EE1IdRerZOfC6XuUZiaRXq7EYtnM 19N6YPwNoMOs4HzAMl+05SHPGxfptH5HemYI+L0Ak1il2b1lHVu0SjTeaUtTd6ixoUPu /dF2pzcK6GzTHEl8YI2D6bbifp1CLl1AATHR0TFe10uJ55wpvHYILRzv836BuvvrwD98 elkZPEOK76RxAusu+RbgLfZu5YcC7+3iPlZUABhBwd+7aiQqDyJRx91PaZijayn14zUK Nh8w== X-Gm-Message-State: AKwxytccpLXn8avGSAf2Y7YJIIIALH5iC0+6svzkzu3to9CTyLR2/jSO bWWFTvJOuEAG9DNGx23fjPsjZz0= X-Google-Smtp-Source: AH8x225NR/GwHCcQwANA9Pdn84+NWRa+UtgcmWxNjaNVm/w2xcXkjtYnKiLh1ZqUK7AbDFMkropIvA== X-Received: by 10.36.14.76 with SMTP id 73mr25518699ite.43.1517219766388; Mon, 29 Jan 2018 01:56:06 -0800 (PST) Received: from [192.168.1.3] (c-67-188-30-11.hsd1.ca.comcast.net. [67.188.30.11]) by smtp.googlemail.com with ESMTPSA id x82sm5982364itb.36.2018.01.29.01.56.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 01:56:05 -0800 (PST) Subject: Re: svn commit: r328489 - head/sys/conf To: "O. Hartmann" , David Wolfskill Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <201801272013.w0RKDaMU098200@repo.freebsd.org> <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de> From: Jason Harmening Message-ID: <98501f75-1a1b-9221-c52d-24415230a886@gmail.com> Date: Mon, 29 Jan 2018 02:10:04 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20180127214755.3c59661e@thor.intern.walstatt.dynvpn.de> Content-Type: multipart/mixed; boundary="------------FA187B7F511EB9BDEF4EE648" Content-Language: en-US X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 09:56:07 -0000 This is a multi-part message in MIME format. --------------FA187B7F511EB9BDEF4EE648 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit > > This happens now if PORTS_MODULE=x11/nvidia-driver is defined in /etc/src.conf: > > [...] > --- kernel-install --- > mkdir -p /boot/kernel > install -p -m 555 -o root -g wheel kernel /boot/kernel/ > --- ports-install --- > Variable OBJTOP is recursive. > > make[8]: stopped > in /usr/obj/usr/src/amd64.amd64/sys/FY/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-387.34/src/nvidia > *** Error code 2 > > Stop. > make[7]: stopped > in /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/x11/nvidia-driver/work/NVIDIA-FreeBSD-x86_64-387.34/src > *** Error code 1 > David sent me logs of the failing case; thanks David! The failure happens when buildkernel and installkernel are run separately instead of all-up, e.g. 'make kernel'. The installkernel step is leaving MK_AUTO_OBJ=no in the env passed to the port build. It looks like at least one of the install stages of nvidia-driver needs to generate temporary output, which leads to confusion when the port isn't built as though it's an in-tree component. Can you guys try out the attached patch? --------------FA187B7F511EB9BDEF4EE648 Content-Type: text/plain; charset=UTF-8; name="patch_auto_obj" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch_auto_obj" SW5kZXg6IHN5cy9jb25mL2tlcm4ucG9zdC5tawo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvY29u Zi9rZXJuLnBvc3QubWsJKHJldmlzaW9uIDMyODQ4OSkKKysrIHN5cy9jb25mL2tlcm4ucG9z dC5tawkod29ya2luZyBjb3B5KQpAQCAtNzAsNyArNzAsOCBAQAogCS11IENYWCBcCiAJLXUg Q1BQIFwKIAktdSBNQUtFU1lTUEFUSCBcCi0JTUFLRUZMQUdTPSIke01BS0VGTEFHUzpNKjp0 VzpTL14tbSAvLW1fL2c6Uy8gLW0gLyAtbV8vZzp0dzpOLW1fKn0iIFwKKwlNS19BVVRPX09C Sj15ZXMgXAorCU1BS0VGTEFHUz0iJHtNQUtFRkxBR1M6TSo6dFc6Uy9eLW0gLy1tXy9nOlMv IC1tIC8gLW1fL2c6dHc6Ti1tXyo6Tk1LX0FVVE9fT0JKPSp9IiBcCiAJU1lTRElSPSR7U1lT RElSfSBcCiAJUEFUSD0ke1BBVEh9OiR7TE9DQUxCQVNFfS9iaW46JHtMT0NBTEJBU0V9L3Ni aW4gXAogCVNSQ19CQVNFPSR7U1JDX0JBU0V9IFwK --------------FA187B7F511EB9BDEF4EE648--