From nobody Sun Jul 20 01:22:51 2025 X-Original-To: freebsd-pkg@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 4bl5Pn6f4Gz62bSZ for ; Sun, 20 Jul 2025 01:23:09 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-20.consmr.mail.gq1.yahoo.com (sonic301-20.consmr.mail.gq1.yahoo.com [98.137.64.146]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4bl5Pm615cz3FpZ for ; Sun, 20 Jul 2025 01:23:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=V3mA4x4C; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.146 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1752974586; bh=NyGhDTtCxlI4fCHMbXdiFSJb+LFbo8RsvsfFBs7d7JM=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=V3mA4x4CktUgXxe1eYXhkOGu2s+InNgodfSbO8VhPeKIkSql1okIYvp6SAAlJWsd61DmsK7rKpYyzw9tAgyLSPOSGbI5+VtrcqlPR9vzEsx0j4HbcJQj7rHD9UxVFQkubo4nCPmR1RrbtWNPkxmPoDS94rZ5QIjM4c3X5B36T/KY3lyIIBzQku5HZ/2PNj4lyuct9G7fili21z/0F/II8eVHNJV+cgGSlzwF5AFdOoe9hDcweUZ7h3TRGwbfIVqbsUTl/frvsKQQC+evA3B3v/CsYd1rIzzUsiT9RsS6ZasuHVOWAwzYltmLDdMTZDSdx5PV0oMRTOwNzbIA5qyzVA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1752974586; bh=ko/Pc7yegiAK4gGX7njA1jmtiRnfdMLcKHFCX0lQgWo=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=t1e5pCbh6GB1yrkGXldqEQlH8jKdrPUs7P60YJRJMmOIw7xUAYRupLT1lE3AbSkeM285VKXnGyCXKs28B3pBONio2X/Cl/z9CtDAzXjRWwIa2pIL465JkoGFtNgxnsHbBFfKl4TnICsc7geCxRgwg832uxT/t4mf6kh0fA9wJdIe5LvXY9VJoOw0md/VAcQmylIs/zjlfkbdPS6TU9brXGUrIGwxm192uxZE15HJAcIGLgeLgosgbLEohfEmvogfgSsNZqrKH6qZ8Po0s/8JkzuwBcMZpRAsdiimS2muC0j2+JDMke0FMWX39Fw8sdqsr26xt1/rbz8/xs33cPXrAA== X-YMail-OSG: 98AUX38VM1lTjRON.LTklEHyYyydRB0DdfiMeMo9YN1PU934Cf8T97.riaOp2mS uIFdcUO4gD6szc67yEZN83wgEYU3fJ5jpU8znWjQWQW54qnSK0S0n0SkaGKN4C2tCms7YcYzvG80 dvTZiFwUWL_v41GLzNXQOLWpAl.pPB_d4hP2p3bQx6kHY.OnaXL0NCd1Ju9ZVkjtuBXDQdTXMDvS yox9FW__WiGFKsSDMtTJGdR_vLp9kkZXqHp16LoLt9v8PTVOXjXTlp4QCL.KxsbIp.1Y.zUJOQ4q 6FL4Q_zXmUyrVHalWDJLgtZS_25F5ZEPG9Sr9lWkeI1v7Mn4NEvWx916GfG0Cbh0gHp8ZB4UUPqI EEv8dq_b8nv.DrjA5YDfn5BDMgueineNazN8ewn8MkKZkoRAotWOro9LacqyOXjb6Qz.yHngN_Kc lzYr6RpawBB3jgDJVfGPIMMILD0.zyVcL8NBZTBwOpBUwBnRRyXtCRak3dmHYoS762cIN0VlypTg nivUAS_MWZy_NMJFiLcuhDe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12Q9yMJpGGR3isUIDtAjGoxTONZg_1hALErpHOxM3QLnQlGBj rtn0fQakVrcOvCOjnbCr4GcESyeNsYHzhTSJU0yFhgek77XrKRvqw0sayh_lPlePeoRUZv_s84N6 I1WfbyrxBgMJK4hPWCxxbSJZPto_g0lrZtJyMouORqbUKCR5Mea5G1F3pY2iQaqMvvGaC_6JdhFv BxK15X96ZoLHaQ5ZaDhMku4Q6FM3oPIVqjw19ErzJ96NLbqPGIRNN_2CrkY4O0tnwUBvkA__YRLs DfjK0kPLtk6QN3OVtYgSH0JivHIZi2gGAmzTP6v41vbGRrYv._glxKdyOq8ePFhvS1fFyjCwHSLw 3eWbZBLYfxU00MpXXNXteFgEZH0BY9HaM8GSnmh3FKS2L6zsbfl3H2fmBOEJzeM8mFcGk2SOt6sN 6NrSb.1LRx41Ku8Td1silYePNUtG46wDdQNlxDprxtVIi79TL1LMm0vgDCbVNnjo6PSL.RzDpsic rbmFzpBuKQMFJRiIL3zwznCjAji7uwBegiIVxu2Jse5TlLNZstY.CCsGUCDTy881CIiotzL1Zic2 frGLAGYYpAW9XJTlAiP0fxxpHhLpHzZ2LPNygSEWdac0jmBOec5c6IvlTDlLuWd2iRzHYDhhUNey 53YN74.41fGdnFwa7fKfSvQkOt8pCLaG7rkP1Z7ZRRgHCwUv05yXSHWTlafRLS1zXEHrY9DU4_jD sPbg0aGjHuA-- X-Sonic-MF: X-Sonic-ID: b59c3ce5-53c3-46d1-afa3-a0874613f212 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Sun, 20 Jul 2025 01:23:06 +0000 Received: by hermes--production-gq1-74d64bb7d7-r4nbl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 9e61661dc5065560a6e5404350bf66c7; Sun, 20 Jul 2025 01:23:02 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.600.51.1.1\)) Subject: pkg mistakenly tries to use both -ffreestanding and for the same source files for its libecc Message-Id: <5FA139B7-CCDD-49D8-ACD4-9901F4A6FAFB@yahoo.com> Date: Sat, 19 Jul 2025 18:22:51 -0700 Cc: FreeBSD-pkgbase@freebsd.org To: FreeBSD-pkg@freebsd.org, Baptiste Daroussin X-Mailer: Apple Mail (2.3826.600.51.1.1) References: <5FA139B7-CCDD-49D8-ACD4-9901F4A6FAFB.ref@yahoo.com> X-Spamd-Result: default: False [-0.22 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_SPAM_LONG(0.94)[0.935]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; MV_CASE(0.50)[]; NEURAL_SPAM_MEDIUM(0.34)[0.340]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.146:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MLMMJ_DEST(0.00)[FreeBSD-pkg@freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.64.146:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Queue-Id: 4bl5Pm615cz3FpZ X-Spamd-Bar: / koobs on discord reported on build failures for attempting to build pkg 2.2.1 using devel/llvm20 . He got errors like: --- pkg_libecc_rand.pico --- In file included from pkg_libecc_rand.c:5: In file included from = /wrkdirs/usr/ports/ports-mgmt/pkg-devel/work/pkg-3f6b36f19/external/libecc= /include/libecc/external_deps/rand.h:18: In file included from = /wrkdirs/usr/ports/ports-mgmt/pkg-devel/work/pkg-3f6b36f19/external/libecc= /include/libecc/words/words.h:60: In file included from = /wrkdirs/usr/ports/ports-mgmt/pkg-devel/work/pkg-3f6b36f19/external/libecc= /include/libecc/words/words_64.h:23: In file included from = /wrkdirs/usr/ports/ports-mgmt/pkg-devel/work/pkg-3f6b36f19/external/libecc= /include/libecc/words/types.h:64: In file included from = /usr/local/llvm20/lib/clang/20/include/inttypes.h:24: In file included from /usr/include/inttypes.h:33: /usr/include/sys/stdint.h:48:24: error: typedef redefinition with = different types ('__int_fast8_t' (aka 'int') vs 'int8_t' (aka 'signed = char')) 48 | typedef __int_fast8_t int_fast8_t; | ^ /usr/local/llvm20/lib/clang/20/include/stdint.h:280:24: note: previous = definition is here 280 | typedef __int_least8_t int_fast8_t; | ^ . . . (Various *.c files for libecc for various integer types, the above being just one example.) The compile command used -ffreestanding and -DWITH_STDLIB and the source code uses when WITH_STDLIB is defined: . . ./work/pkg-*/external/libecc/include/libecc/words/types.h : . . . /*** Handling the types ****/ #ifdef WITH_STDLIB /* * User explicitly needs to build w/ stdlib. Let's include the headers * we need to get basic types: (uint*_t), NULL, etc. You can see below * (i.e. under #else) what is precisely needed. */ #include #include #include #else /* WITH_STDLIB */ . . . My testing the specific file's failure via removing the -ffreestanding from the compile command lead to it compiling without any complaints. NOTE from the C standards with : "The header includes the header and extends it with additional facilities provided by hosted implementations." It makes no guarantees about usability for freestanding contexts. Freestanding and hosted do not even need to agree about various points generally and mixing the two is --at best-- implementation defined for C --and likely has points of Undefined Behavior. In other words, the above combination is incoherent relative to the C standards that include . Only the libecc code seemed to have use of -ffreestanding . Other places outside libecc had use of . For reference for the libecc -ffreestanding use: # pwd /wrkdirs/usr/ports/ports-mgmt/pkg-devel/work/pkg-3f6b36f19 # grep -r -e -ffreestanding ./ ./external/libecc/common.mk:LIB_CFLAGS ?=3D $(CFLAGS) $(FPIC_CFLAG) = -MMD -MP -ffreestanding ./external/libecc/Makefile: -ffreestanding \ ./external/libecc/meson.build: '-ffreestanding' ./external/libecc/Makefile.autosetup: -ffreestanding \ ./external/libecc/README.md: -ffreestanding -fno-builtin -nostdlib = -DWORDSIZE=3D64" \ ./external/libecc/README.md: -ffreestanding -fno-builtin -nostdlib = -DWORDSIZE=3D64" \ =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sun Jul 20 21:00:50 2025 X-Original-To: pkg@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 4blbXg1GSkz62bTK for ; Sun, 20 Jul 2025 21:00:51 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4blbXf4ZDpz46lS for ; Sun, 20 Jul 2025 21:00:50 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753045250; 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; bh=EVB7AuoikJb75YbB9n4eJZXZhHrpgJwAIj0IZYO5R18=; b=KTtl7y6cbeCJx5lWpKeXOaKzg2DqQnyOQtTFvRlLg7EmgyUe+ctPFKWy/BX+PAWy52LYE9 +Krg1YnREjFK1qwIg3iDKbzoWF46WxGzKVrVYLVQCiwdZVf2YdKV9bcBN3wqlOoq/PT/jH SqH4PjdGOAWncultyZesU0QcNMRFsS8NF+BtKlN3mhdsUDmmSsmdtgRO8JEFn0icglRdy0 YK6SsEmgS9BwzioBqTmhbSx1JVBU7LPLlqIg4449CFVpIhpIYTPrtX1fLltVrkl1avb1dm Ig+BRqo1c7W08A8kmKcbgSXbWzZLLHdUfRGeoj+jwB4RN2EJzqdZFhb6I9mJJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1753045250; 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; bh=EVB7AuoikJb75YbB9n4eJZXZhHrpgJwAIj0IZYO5R18=; b=MwXV7+p65auUVooGTxR8mOQ6SLLK2SexC74QLwEk4C8QBp62poBrPeZqQho7+6vDm/rs0r i3INdzhgx/6jb+eVuMdY1BNs9xi98VKsQWuFGM91z1QsS4cull+LzpB9jX/mPm8HdaeOTt sRgRUULSZxseLU0RwAubCWDI83vL64ksGfvpdCEDKlPxUp/WP7ze9zIc7AKdaF9oDI30UW RlGs+PFy34znThelfwxuBrSQE/+iH4asZtzh+4At8PLz4JolIPAYaW8F77yJvgrrdOcYZp 7tRk99g2pXEvJhUVfi4ceJznLsCwYVR3Vbnj35pTpt2SbzjuLYK4DeokzbkORA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1753045250; a=rsa-sha256; cv=none; b=SvI85vUxVQDQJFq1tD+MfKcqsziy+5uAykU3GJv1Jv4Wlsc0JFTj9WPHeKqm+1dlWg3hFz JrRmypNCMUKwiEpDiwWIxtOGbunjPVApkRBDU9UUOlPE8sR1rD4ZVaYAbOBpJQf6KeVDvg XHDYKOQttKSwHOEYe8uDR6ugRnFKLmqFX80YHVISg+al9TMNzBMbTuApJJVHjZ1HK54itW IzDtdzZST0wxkHR1Uj5fPNYiRpw4whBf3A68g1W6hDp9kWUFZ4+WY3W+Aww6xUcFaLw/Hb FcpQ3Uy/6WIje0vMVhJkn8ZIBDZQc38+tisbrQZf9DiikxG+Sd4RkjT8SkSClg== 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 4blbXf43FxzCBf for ; Sun, 20 Jul 2025 21:00:50 +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 56KL0oOQ023757 for ; Sun, 20 Jul 2025 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 56KL0oQb023756 for pkg@FreeBSD.org; Sun, 20 Jul 2025 21:00:50 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202507202100.56KL0oQb023756@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: pkg@FreeBSD.org Subject: Problem reports for pkg@FreeBSD.org that need special attention Date: Sun, 20 Jul 2025 21:00:50 +0000 List-Id: Binary package management and package tools discussion List-Archive: https://lists.freebsd.org/archives/freebsd-pkg List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkg@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17530452501.8672.19792" Content-Transfer-Encoding: 7bit --17530452501.8672.19792 Date: Sun, 20 Jul 2025 21:00:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 220049 | ports-mgmt/pkg installs unneeded packages Open | 219036 | ports-mgmt/pkg: pkg confused, installs older ver New | 284263 | ports-mgmt/pkg: [1.21.3] --raw-format is broken w Open | 268296 | ports-mgmt/pkg: pip-audit regularly shows vulnera In Progress | 287989 | ports-mgmt/pkg: packages version recognizing erro Open | 264962 | ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_ 6 problems total for which you should take action. --17530452501.8672.19792 Date: Sun, 20 Jul 2025 21:00:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |    220049 | ports-mgmt/pkg installs unneeded packages
Open        |    219036 | ports-mgmt/pkg:  pkg confused, installs older ver
New         |    284263 | ports-mgmt/pkg: [1.21.3] --raw-format is broken w
Open        |    268296 | ports-mgmt/pkg: pip-audit regularly shows vulnera
In Progress |    287989 | ports-mgmt/pkg: packages version recognizing erro
Open        |    264962 | ports-mgmt/pkg 1.18.2: 'pkg-static: pkg_checksum_

6 problems total for which you should take action.
--17530452501.8672.19792--