From nobody Thu Dec 28 22:39:45 2023 X-Original-To: desktop@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 4T1Njt28Lgz54p7K for ; Thu, 28 Dec 2023 22:39:46 +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 4T1Njs6mdlz3Gb2 for ; Thu, 28 Dec 2023 22:39:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703803186; a=rsa-sha256; cv=none; b=i/F7ZQHXEJ4liCIvv/avQ+PF8qV9Rsy/XC7Fe7bkJ7+TxmwfAV+WQHrKS2K4k28dBF/dbV IRAeup+fyJVonSrlt+6tufMHhKg6AvE23U9CeG+8YhvdXAD97ngaXcnIafm2YUrp2kzDrv A8H+9vHZjJc6FuLWU/SRnW5tqTgFkeJuVBXUdp9FZjPlYh/WpDXfYCpzP2AW1hW9HIWFDI 4/uA+9W5k/dEMQ44YfWgWORIxSzp53s+cUVPYaBiCitvX0mAt6lQ3JH+KTydFZNbLMwBbb hKp33gQh/8EemGCfTvTcOWM118XnSuUe/sVzuzgEr3OLDfz4IK6XGFxA/D9yXA== 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=1703803186; 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=AFbVtXfhWAFJU92fUcH/CQPNxnp2SNceN95wmFljpG4=; b=bcSEyurt9fAfmUPKFxzjkBoaM7Pi4VrpgcrM5ar/E1dtq57vFXc7lKDrhwHZfbhlL8gACw 5Abq2izYcDVLpqABlskAAUCXmqLU9qWHPl2g2p6TC3h+Z92RrCZwf/MjJJROxlR3oQUuke q6yx/q1EDTUvCdnoUIQPszb4brsnJ+Bdd1+WfOLUSvj2J9hKP0s6SS+8SISXJLH51sMHw9 2zi07BdJVgWtg5W5Sn0g6bJ8PB9c7gDqzLm/wNgvayWhviOP44J4Izxv8L8TzyZQRm6K7o a7VjATi2NiY0444uYxgL4zEOxRMXDGBZmlrEH+vUFvl+SuXjIz8hTGT7B1KK1Q== 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 4T1Njs5k3lzhFk for ; Thu, 28 Dec 2023 22:39:45 +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 3BSMdj4N072518 for ; Thu, 28 Dec 2023 22:39:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BSMdjws072517 for desktop@FreeBSD.org; Thu, 28 Dec 2023 22:39:45 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: desktop@FreeBSD.org Subject: [Bug 275969] converters/libiconv: Unable to build without including /usr/local/include/iconv.h Date: Thu, 28 Dec 2023 22:39:45 +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: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275969 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jcfyecrayz@liamekaens.com --- Comment #7 from John Hein --- Doesn't dillo already build via the www/dillo2 port? And so you could just= use that for your CI. FWIW, the www/dillo2 port does include /usr/local/include/iconv.h (and does build with -DDLIBICONV_PLUG). And it = does not link with /usr/local/lib/libiconv.so. Maybe you are trying to avoid depending on the FreeBSD ports infrastructure= for you continuous integration setup. I guess that's a reasonable goal for the upstream CI. That said, if you want to coerce the build to include /usr/include/iconv.h instead of /usr/local/include/iconv.h (for #include ), you can use '-isystem /usr/include' or '-isystem /usr/include -isystem /usr/local/inclu= de'. That may work for using /usr/include/iconv.h (vs /usr/local/include/iconv.h= ).=20 But it may not work if you wanted header files from /usr/local/include/open= ssl (vs /usr/include/openssl). Any time you have two choices for a library on any platform, you are going = to run into potential conflicts that may be hard to resolve unless the build system for a project is set up specifically to support such an option (there are ways to do this). Usually on FreeBSD in these situations for building = most upstream projects, it is most manageable to prefer the libs / include files= in LOCALBASE if there is a choice that exists in both the base system (/usr/include & /lib & /usr/lib) and also in LOCALBASE. --=20 You are receiving this mail because: You are the assignee for the bug.=