From nobody Thu Jul 18 10:37:13 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WPq4g2qByz5RCpy for ; Thu, 18 Jul 2024 10:37:23 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx2.dismail.de (mx2.dismail.de [159.69.191.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WPq4f2dC9z4h7j for ; Thu, 18 Jul 2024 10:37:22 +0000 (UTC) (envelope-from lumiwa@dismail.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dismail.de header.s=20190914 header.b=HfXTWFaq; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (mx1.freebsd.org: domain of lumiwa@dismail.de designates 159.69.191.136 as permitted sender) smtp.mailfrom=lumiwa@dismail.de Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 119801bd for ; Thu, 18 Jul 2024 12:37:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=20190914; bh=XDfbL8ExFZkwh4oCcx0Sb FV7CqaMyX3SPGEB/wbnLN4=; b=HfXTWFaqalt39XRJwx4yTuDXMcPAZfr5wvF+h uFv/YGJHRl3XiXO+VGx3HC/MlwuOTc2L5jo4EKHMlFaetguTNdtc670I1g6vwT0F 0iuAacbrw3xenkqkaVLqN0qmVGQ2aP3ixUii4I8Ty82rx6OqU2E9HInyGhkql3fb sS+QcKqR9XnuiENJ836yLtfLpuaFKGUh7Ec0CWvvQ+TifoOMJ/TRRTElFfex4SZ7 IPLLYNeyKjLVw8ArWvCtRhNinyfKWNa5s98Ns0q0ToRK7/Uc7WGTkDxafAtGPn0a /MlNQjEKt6wdyvvkaI+pip3nu8hLdJS001fmB6rMiU9qlRX8g== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 2be2e346 for ; Thu, 18 Jul 2024 12:37:18 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 1cb34f95 for ; Thu, 18 Jul 2024 12:37:18 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id f3430fe0 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 18 Jul 2024 12:37:17 +0200 (CEST) Date: Thu, 18 Jul 2024 06:37:13 -0400 From: LuMiWa To: FreeBSD Questions Subject: machine/endian.h' file not found Message-ID: <20240718063713.6788d6ad@dismail.de> X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.69 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[dismail.de:dkim]; NEURAL_HAM_SHORT(-0.99)[-0.986]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; RCVD_IN_DNSWL_MED(-0.20)[159.69.191.136:from]; R_SPF_ALLOW(-0.20)[+ip4:159.69.191.136]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[dismail.de:+] X-Rspamd-Queue-Id: 4WPq4f2dC9z4h7j Hi, I did try to compile drm-515-kmod from ports on FreeBSD 14.1-RELEASE p2 which is upgraded from 14.0 (freebsd-update upgrade) and I got: --- dma-buf-kmod.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/dma-buf-kmod.c:30: In file included from /usr/src/sys/sys/param.h:116: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ 1 error generated. *** [dma-buf-kmod.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf --- dma-fence-array.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/dma-fence-array.c:27: In file included from /usr/src/sys/sys/param.h:116: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ --- dma-fence.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/dma-fence.c:27: In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/linuxkpi/bsd/include/linux/dma-fence.h:30: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/err= .h:32: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ --- dma-fence-chain.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/dma-fence-chain.c:27: In file included from /usr/src/sys/sys/param.h:116: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ --- sync_file.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/sync_file.c:9: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/fil= e.h:32: In file included from /usr/src/sys/sys/param.h:116: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ --- dma-resv.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/dma-resv.c:36: In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/linuxkpi/gplv2/include/linux/dma-resv.h:42: In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/ww_= mutex.h:29: In file included from /usr/src/sys/sys/param.h:116: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ --- dma-buf.o --- In file included from /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5= .15.160_0/drivers/dma-buf/dma-buf.c:30: In file included from /usr/src/sys/sys/param.h:116: /usr/src/sys/sys/types.h:45:10: fatal error: 'machine/endian.h' file not fo= und 45 | #include | ^~~~~~~~~~~~~~~~~~ --- dma-fence-array.o --- 1 error generated. *** [dma-fence-array.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf --- dma-fence.o --- 1 error generated. *** [dma-fence.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf --- dma-fence-chain.o --- 1 error generated. *** [dma-fence-chain.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf --- sync_file.o --- 1 error generated. *** [sync_file.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf --- dma-resv.o --- 1 error generated. *** [dma-resv.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf --- dma-buf.o --- 1 error generated. *** [dma-buf.o] Error code 1 make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf 7 errors make[1]: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.1= 5.160_0/dmabuf make: stopped in /usr/ports/graphics/drm-515-kmod/work/drm-kmod-drm_v5.15.1= 60_0 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/drm-515-kmod Thank you. --=20 =E2=80=9CI hate books; they only teach us to talk about things we know noth= ing about.=E2=80=9D =E2=80=95 Jean-Jacques Rousseau=20