Date: Tue, 29 Aug 2017 16:46:04 -0400 From: Jung-uk Kim <jkim@FreeBSD.org> To: Jan Beich <jbeich@FreeBSD.org>, Johannes M Dieterich <jmd@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r448928 - in head/graphics: . drm-next-kmod Message-ID: <e44221eb-1cf6-499c-9966-5c29761d0c21@FreeBSD.org> In-Reply-To: <60d6-1emr-wny@FreeBSD.org> References: <201708291632.v7TGWJq0022465@repo.freebsd.org> <60d6-1emr-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ADE0wvBXAL24mJKUBvaorOU6nbfnbuWFv Content-Type: multipart/mixed; boundary="W8c4MVW4g7d7m1MrcSjMckr9sqmdeWSpa"; protected-headers="v1" From: Jung-uk Kim <jkim@FreeBSD.org> To: Jan Beich <jbeich@FreeBSD.org>, Johannes M Dieterich <jmd@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Message-ID: <e44221eb-1cf6-499c-9966-5c29761d0c21@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: <60d6-1emr-wny@FreeBSD.org> --W8c4MVW4g7d7m1MrcSjMckr9sqmdeWSpa Content-Type: multipart/mixed; boundary="------------E5977EFA2C02F65D6156D031" Content-Language: en-US This is a multi-part message in MIME format. --------------E5977EFA2C02F65D6156D031 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/29/2017 13:13, Jan Beich wrote: > Johannes M Dieterich <jmd@FreeBSD.org> writes: >=20 >> 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 >=20 > Fails to build if SRC_BASE !=3D /usr/src. With SRCTOP undefined the por= t > relies on /sys symlink existing and pointing to a real location. The > latter conflicts with $SRC_BASE/etc/Makefile hardcoding "usr/src/sys". >=20 > Maybe add MAKE_ENV =3D SRCTOP=3D"${SRC_BASE}" to fix the following. >=20 > $ 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/graphics= /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/Ma= kefile" 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-4ee5= acb/amd > *** Error code 1 Also, please fix non-root build while you're at it. Please see the attached patch. Jung-uk Kim --------------E5977EFA2C02F65D6156D031 Content-Type: text/x-patch; name="gpu-firmware-kmod.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="gpu-firmware-kmod.diff" Index: graphics/gpu-firmware-kmod/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- graphics/gpu-firmware-kmod/Makefile (revision 448935) +++ graphics/gpu-firmware-kmod/Makefile (working copy) @@ -14,13 +14,12 @@ ONLY_FOR_ARCHS_REASON=3D the new KMS components are =20 NO_PACKAGE=3D Distribution in binary form without license file not allow= ed =20 +USES=3D kmod uidfix USE_GITHUB=3D yes GH_ACCOUNT=3D FreeBSDDesktop GH_PROJECT=3D kms-firmware GH_TAGNAME=3D 39de0f1 =20 -USES=3D kmod - .include <bsd.port.pre.mk> =20 .if ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} < 1200019 @@ -27,4 +26,6 @@ GH_TAGNAME=3D 39de0f1 IGNORE=3D not supported on 11.x or older, no kernel support .endif =20 +MAKE_ENV+=3D KMODOWN=3D${UID} KMODGRP=3D${GID} + .include <bsd.port.post.mk> --------------E5977EFA2C02F65D6156D031-- --W8c4MVW4g7d7m1MrcSjMckr9sqmdeWSpa-- --ADE0wvBXAL24mJKUBvaorOU6nbfnbuWFv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEl1bqgKaRyqfWXu/CfJ+WJvzb8UYFAlml0pEACgkQfJ+WJvzb 8UYuYAf/RpziBwOaTl98jLOjouIrohR35YWfY+6bedR87+O4Md/W5Ys3Br0w7kLJ MW8nDwU+HWCH31LcIT69tzK03JWVUER+SQXDE5nQzxY6nlmVWZnn/1J+ySgA558l /ELR5E9s3to0+6UBqNyee7Z4oaS7zZtv51GgJL3ug+/ulbGykSmQ2MYLva4DPrzu nV1sbz24Ll77HB5NYNK/NCrWsGpWdpedCWTaIql017BuBy0StH/1jw0i2DM9sHda yrCtYp+8KtzFvyvvtnuz0jskV+KO13EJyu4tInpBfik/MFRMtu3/EtIy6l/SBXZf BWyA25o7HtqaLPNoTktU2UUitdRBpw== =Utd0 -----END PGP SIGNATURE----- --ADE0wvBXAL24mJKUBvaorOU6nbfnbuWFv--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e44221eb-1cf6-499c-9966-5c29761d0c21>