From nobody Thu Nov 9 12:00:56 2023 X-Original-To: ports-bugs@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 4SR0sN4cZKz50YNS for ; Thu, 9 Nov 2023 12:00:56 +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 4SR0sN3X68z4VLk for ; Thu, 9 Nov 2023 12:00:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699531256; 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=o9zvZ6j2pi/xYojFkCRiekiz2FYqNe6lzekMRxxl2D0=; b=PCOvYHU2dYNyy7rcg6MT+/LfP4w6PUO5/DAR5Lr5BkEAtHDI79Wbs0gw6q0igfTht4wZ3O VyHdod09L7QQF4b67BOQtxSba+JVgPuOove1YRtd8xRe9Wly5Uvk78rL7nE2p6R9BfiROY rgMkGy6JmZPrHQDO37HwslRLxvqOBZjNVKvCuNzhEHhLDzGc7/ClcZ5kME5OFELC561EsW +pPUbA5pJe1kTpy6RrW2WHxVZuhPRyfTJMqHdV4dZtIQtMf/6kQLiRNrIPkohB00eX4JVy LDqNTKY19mwRa1DimI5uHnKHeZCxUs4JR3AlYLCpBlNwD+yG70va1kjPeWFolg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699531256; a=rsa-sha256; cv=none; b=Bffby6twIAEiUEiqKEQYUJ0awF9uAt+1CSpFOraKQa9kvL5002xkgv42sMVGNhNpSIO3Ag YArn+0QI+k27JqDYHXGPmaZnehRGufIj37BIrmgR/tqaQda1HGpCy4mZx0ITsnSO8bEkhA Y3G2ZOm0uc8D9eWTmHOb3DNN1wIiNv8bsd6v34KKbPaSyToQslNLYNYuf88QTgnvpoLIry Kz00QkCXEWssHWUJR8Xq3KMp2K2xy2Tqg1m13j4TmnpANCpmr3pswkyUl0kQWPqwcereSU mtZLx1eihWzQqfmKgEJPDf4HsQHoTnVrpBG1uq2AKO43szkvMFX2bpd4Fr0aGw== 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 4SR0sN2cSqzJd for ; Thu, 9 Nov 2023 12:00:56 +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 3A9C0uWk077822 for ; Thu, 9 Nov 2023 12:00:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A9C0uBi077793 for ports-bugs@FreeBSD.org; Thu, 9 Nov 2023 12:00:56 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: ports-bugs@FreeBSD.org Subject: [Bug 274978] emulators/qemu-devel: conflict with sysutils/dtc (libftd, ftd.h) Date: Thu, 09 Nov 2023 12:00:56 +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 Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274978 --- Comment #1 from John Hein --- @bofh, Why in ports e6a3abc3c8260427f41eb4e50d57cc1bceb891f7, do you escape the " = in CONFIGURE_ARGS (like: --extra-ldflags=3D-L\"${LOCALBASE}/lib\" )? It seems= to get passed to meson, and ultimately to cc, and the quotes actually are interpreted as part of the path string. I made a change to test --enable-fdt=3Dsystem, and got this error from meso= n (in build/meson-logs/meson-log.txt): =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Command line: `/usr/bin/cc -m64 -mcx16 '-L"/usr/lib"' '-L"/usr/local/lib"' -I/z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-= 6c9ae1ce82b65faa3f266fd103729878cf11e07e -I/usr/local/include -I/usr/local/include/capstone /z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-6c= 9ae1ce82b65faa3f266fd103729878cf11e07e/build/meson-private/tmpdriw8mlm/test= file.c -o /z1/local/users/jhein/.nobak/wd/usr/ports/emulators/qemu-devel/work/qemu-6c= 9ae1ce82b65faa3f266fd103729878cf11e07e/build/meson-private/tmpdriw8mlm/outp= ut.exe -O2 -pipe -fstack-protector-strong -fno-strict-aliasing '-DPREFIX=3D\""/usr/local\""' -D_FILE_OFFSET_BITS=3D64 -O0 -Werror=3Dimplicit-function-declaration -Wl,--start-group -lfdt -Wl,--end-g= roup -Wl,--allow-shlib-undefined -Wl,-rpath=3D/usr/local/lib` -> 1 stderr: ld: error: unable to find library -lfdt cc: error: linker command failed with exit code 1 (use -v to see invocation) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Notice that there are literal " marks in -L"/usr/lib" and -L"/usr/local/lib= " in the meson log. That is causing the search for libfdt to fail since the quo= te characters are literally included in the path name. When I remove the \ (i.e., change \" to just ") in emulators/qemu-devel/Makefile, then the -L/usr/local/lib search works (and = cc can find -lfdt). I'm just wondering what was the reason behind adding the backslash escaped quoting in -L\"/usr/local/lib\" (and -L\"/usr/lib\" as well). It is a bit unusual to see that, so there must have been something specific that drove = the addition of the backslash escapes. Maybe it is to address potential spaces= in LOCALBASE (admittedly that would be tricky to support and get the right quo= ting passed through all the layers in play here: the Makefile, configure shell script, and meson python), but that would not explain the quoting around the literal /usr/lib. --=20 You are receiving this mail because: You are the assignee for the bug.=