From nobody Mon Dec 11 15:51:16 2023 X-Original-To: uboot@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 4SpmSP0rdTz53mJY for ; Mon, 11 Dec 2023 15:51:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SpmSN5BrRz4GSq for ; Mon, 11 Dec 2023 15:51:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702309876; a=rsa-sha256; cv=none; b=YjsDoiA4iRnLXie7RB4twZ20kZrBOOdZMOWLozDfKgD7bhkBoyBGWyCQ7njMB/J5ynp/sv k62EIQYu11iXiqvpGmbs+J5+MUq/1VZLUn95K6hmdbz3NOSHzDg/aFfo8FIa6ML1gduLOf QO7ikDAy5CqsXr2gJJtFFxJ1iG79qcvykvxfA3nXm3xFk2yUhToj4v8LZCKVSlHwBojGs3 FUpZC+Bj0Qh7gjJBZtMDTH6fZ90kl/YHYmGMSkfbVvSQqK/HQRhOBG3wI9DC4ew40EvI4l 647FRmvoc+QKNUZUEI7suyQLD5iOS+nRnH8CSThrYpcCddQH0ZqadYNcjzbpXA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702309876; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=op9EG6ZMX4nFmj50qbWCfbqimY7OcdAM7lp5y0eM+fc=; b=lTitCGclJbTpgdmudyvc1OHfn8rxFfYiQrfkksSAkrkZb28zMFQ8/kTeDCeqdYPfICmB2n WxOsjCy0F5lh3H/hRn7JkIRuI9ud/+VvOGQbCXmsXJ5Ibc0bVF+QHrFgqd0WQqaes5gQFg 0K6xruFa5UUQwXOCx4QTWla82X7QjfiHhlCcuVK9cis8wyVprcJBdGbvVhmzijNQLt6nRK YyY2b4rQaZWyH+ljOhw8PUcMB957wyhXqvIr1NQwWlMOeWhc0q35UK46WsfPTij30diVEU AH+sdM/BEnpA1Md7UWSasiqw3ttJk0d1azTfEKVejENo3qcE2OFtVdjWuy97Tg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SpmSN4JDfzcqp for ; Mon, 11 Dec 2023 15:51:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BBFpGuh042483 for ; Mon, 11 Dec 2023 15:51:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BBFpGEd042482 for uboot@FreeBSD.org; Mon, 11 Dec 2023 15:51:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: uboot@FreeBSD.org Subject: [Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long') Date: Mon, 11 Dec 2023 15:51:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: uboot@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-uboot List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-uboot@freebsd.org X-BeenThere: freebsd-uboot@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267842 --- Comment #5 from John Hein --- One way this can happen: you have multimedia/v4l_compat installed. v4l_com= pat installs a linux/types.h in LOCALBASE (among other files). And that is the culprit for this problem. You also have to have a situation where the buil= d is told to look in LOCALBASE for include files (e.g., -I/usr/local/include). = That can happen if you have devel/sdl2 installed ('make configure' will detect t= hat and cause -I/usr/local/include to be passed to the compiler). I will attach a local patch I have had for about a year. I just realize I = did not submit this patch yet (because I tried to build on another system withou the patch). The patch does what Mark suggested - it helps the build look in the local working source tree for its include files before looking outside = the build. Once that is fixed, you may hit other errors, such as: tools/mkeficapsule.c:18:10: fatal error: 'uuid/uuid.h' file not found That does NOT happen if you have e2fsprogs-libuuid installed (and devel/sdl= 20 to get -I/usr/local/include). I have separate patches for that. --=20 You are receiving this mail because: You are the assignee for the bug.=