From owner-svn-ports-all@freebsd.org Tue Aug 29 21:04:44 2017 Return-Path: Delivered-To: svn-ports-all@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 C6A58DE5B90; Tue, 29 Aug 2017 21:04:44 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) by mx1.freebsd.org (Postfix) with ESMTP id 1016A71373; Tue, 29 Aug 2017 21:04:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: svn commit: r448928 - in head/graphics: . drm-next-kmod To: Jan Beich Cc: Johannes M Dieterich , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org References: <201708291632.v7TGWJq0022465@repo.freebsd.org> <60d6-1emr-wny@FreeBSD.org> From: Jung-uk Kim Message-ID: <9dc7d850-2928-078b-2e27-c91059e17e44@FreeBSD.org> Date: Tue, 29 Aug 2017 17:04:35 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="u7ud7bHNmA57e6XoBpAHbLpEXALthhfSq" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Aug 2017 21:04:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --u7ud7bHNmA57e6XoBpAHbLpEXALthhfSq Content-Type: multipart/mixed; boundary="tBamEvRceUTo4VIj6tDGKvQFGWGTdG9Pk"; protected-headers="v1" From: Jung-uk Kim To: Jan Beich Cc: Johannes M Dieterich , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org Message-ID: <9dc7d850-2928-078b-2e27-c91059e17e44@FreeBSD.org> Subject: Re: svn commit: r448928 - in head/graphics: . drm-next-kmod References: <201708291632.v7TGWJq0022465@repo.freebsd.org> <60d6-1emr-wny@FreeBSD.org> In-Reply-To: --tBamEvRceUTo4VIj6tDGKvQFGWGTdG9Pk Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 08/29/2017 16:50, Jan Beich wrote: > Jung-uk Kim writes: >=20 >> On 08/29/2017 13:13, Jan Beich wrote: >> >>> Johannes M Dieterich writes: >>> >>>> Author: jmd >>>> Date: Tue Aug 29 16:32:19 2017 >>>> New Revision: 448928 >>>> URL: https://svnweb.freebsd.org/changeset/ports/448928 >>>> >>>> Log: >>>> New port: graphics/drm-next-kmod. >>> [...] >>>> +USES=3D kmod uidfix >>> >>> Fails to build if SRC_BASE !=3D /usr/src. With SRCTOP undefined the p= ort >>> relies on /sys symlink existing and pointing to a real location. The >>> latter conflicts with $SRC_BASE/etc/Makefile hardcoding "usr/src/sys"= =2E >>> >>> Maybe add MAKE_ENV =3D SRCTOP=3D"${SRC_BASE}" to fix the following. >>> >>> $ make DISABLE_MAKE_JOBS=3D >>> =3D=3D=3D> Building for drm-next-kmod-g20170825 >>> =3D=3D=3D> drm (all) >>> Warning: Object directory not changed from original /usr/ports/graphi= cs/drm-next-kmod/work/kms-drm-4ee5acb/drm >>> =3D=3D=3D> amd (all) >>> make[3]: >>> "/usr/ports/graphics/drm-next-kmod/work/kms-drm-4ee5acb/amd/Makefile"= >>> line 3: Cannot open /sys/conf/kern.opts.mk >>> make[3]: Fatal errors encountered -- cannot continue >>> make[3]: stopped in /usr/ports/graphics/drm-next-kmod/work/kms-drm-4e= e5acb/amd >>> *** Error code 1 >> >> Also, please fix non-root build while you're at it. Please see the >> attached patch. >=20 > See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221915 ;) Oh, you beat me to it. :-) >> +MAKE_ENV+=3D KMODOWN=3D${UID} KMODGRP=3D${GID} >=20 > According to bsd.own.mk when USES=3Duidfix is set KMOD(OWN|GRP) inherit= > uid/group from BIN(OWN|GRP). Have you tried to omit the line? Ah, I haven't tried it. Yes, you're right. Thanks! Jung-uk Kim --tBamEvRceUTo4VIj6tDGKvQFGWGTdG9Pk-- --u7ud7bHNmA57e6XoBpAHbLpEXALthhfSq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlml1uQACgkQfJ+WJvzb 8Uacsgf/WdUvx/RiCRWFiRpqE4AWPtPn8P9rbjHW31lBf89AOkz8gLxs+WzMVI7m A7XWQSilB7FQsr3QSbmSL443wz+IuFEv//w81ke+hoKacN01J8Wx+svv+VHF01TJ Q0ZfHOke0Jk0zBhRUM7s1T0ILyXyQLmxBvW9ComU/A4eJ5TSq/OXkpYPgGNPpl3u kImbmN1NN8PgyloI0Exwp+QzIWZUg6rSwJGRv4eMOZC0OSCPCZuTBtr4EZkr4I+p IUfQW/opXPkduEbUnwvQ6PehOpAA8+93QkAFPkcqpA6/d5BZzKXHZohLpqSSZT51 iLKtZpf8Ckurq5bjB6EdbgczPdTn/g== =mJF/ -----END PGP SIGNATURE----- --u7ud7bHNmA57e6XoBpAHbLpEXALthhfSq--