From nobody Tue Nov 1 10:00:21 2022 X-Original-To: freebsd-pkgbase@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 4N1lrg1npJz4gskL for ; Tue, 1 Nov 2022 10:00:35 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail-vk1-xa35.google.com (mail-vk1-xa35.google.com [IPv6:2607:f8b0:4864:20::a35]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N1lrd74flz3KGy for ; Tue, 1 Nov 2022 10:00:33 +0000 (UTC) (envelope-from dfr@rabson.org) Received: by mail-vk1-xa35.google.com with SMTP id m18so6693943vka.10 for ; Tue, 01 Nov 2022 03:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rabson-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=F6aIXlB4EkmCCi30He5UkLpp/9xiHKEySRj5PhDsMr8=; b=d0vd57O2UjZlBbNkfhuqCfAoVUITAQRfcxvmvl6pZyrzN64pRUHMg1fVfihOT9WGEF ixmhkZwbfRNym1kws+sSSqRrhOE3TGSPhvt+OVC9ZYPlKH+xUIL7Zf/ztjGINPe4EWA3 QhjAHbGuGKpbP+Mf9ynrMe3UWuHik2I9/qpUBYEncA8V9c4kARuOfnGWNZFbqbP1d3XR dW5s4xcZIL473nV1Bobfy5rdXvoJoxfTd/JYtmQrFhAlqMUxO2Y0kPAi3lr1STOtlg76 d2b09iplMWsM5nzklYZXrxVxNPO/ve5MhFPS3ioznRn5V0p3I0uk/SaIR8RkHBILiaso FZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=F6aIXlB4EkmCCi30He5UkLpp/9xiHKEySRj5PhDsMr8=; b=sG5ztqeV9Pzkvawmg4jD84bDQVRv1YOUsHBaST8HynzmaxlJNbbhhcYP30VOxludix neBs+mVMAcqpvEWuF02rFr2Vmi7gYuFiKaV4y57nDVid2Mh/EfoOCRLAmOkGe4+nWOwa ar28i2w7YQtUd6llDVDPji3olXiYsn6bpqPcyGilobgskzRUkzrM1RDLZBKLXRMlF2B1 4OknVocohptgp3UfL6UJ4SSqlp/UD62Xiqj59VhltAOBPFMN3mQdZyaeasIyvHqMj6Vi KvbYqEeE/e02CdjJ8k2fEl4eqMaKq76C9Rd6eYp/MPLxZSMjh6h4YVQjRtT01W9zoqEP lToQ== X-Gm-Message-State: ACrzQf2gZsCK8VJq43YqWHorNdNgaQC9p7IBSRT/OJtgMjPm687ZaLKX ly34ZWd7p9R3U/RN4reZw6CfB5TGLV+j0zebDWfLymUmwC0Wu+ka X-Google-Smtp-Source: AMsMyM5uDBMMDLflQFEDtMtLscGQaOXNp1ttPESXacn/KT0d1NsE/aempAsMu/SBCb33Einvmmv0nuFsydWdkSh7ZHI= X-Received: by 2002:a1f:9d82:0:b0:3ab:1049:dbfb with SMTP id g124-20020a1f9d82000000b003ab1049dbfbmr7143958vke.34.1667296832192; Tue, 01 Nov 2022 03:00:32 -0700 (PDT) List-Id: Packaging the FreeBSD base system List-Archive: https://lists.freebsd.org/archives/freebsd-pkgbase List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pkgbase@freebsd.org MIME-Version: 1.0 From: Doug Rabson Date: Tue, 1 Nov 2022 10:00:21 +0000 Message-ID: Subject: Include files for pkgbase To: freebsd-pkgbase@freebsd.org Cc: =?UTF-8?Q?Mina_Gali=C4=87?= , John Baldwin Content-Type: multipart/alternative; boundary="0000000000006b1ae605ec65cb58" X-Rspamd-Queue-Id: 4N1lrd74flz3KGy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rabson-org.20210112.gappssmtp.com header.s=20210112 header.b=d0vd57O2; dmarc=none; spf=pass (mx1.freebsd.org: domain of dfr@rabson.org designates 2607:f8b0:4864:20::a35 as permitted sender) smtp.mailfrom=dfr@rabson.org X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[rabson-org.20210112.gappssmtp.com:s=20210112]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-pkgbase@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a35:from]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[rabson-org.20210112.gappssmtp.com:+]; DMARC_NA(0.00)[rabson.org]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[dfr]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N --0000000000006b1ae605ec65cb58 Content-Type: text/plain; charset="UTF-8" I was looking int https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254173 recently and realised that packaging for include files is messed up. For instance, lives in runtime-dev but it includes which is in utilities-dev. The clibs-dev package containers C++ header files, most of which cannot work without the standard C includes from runtime-dev. Looking closer, include files from src/include are in runtime but subdirectories of src/include don't have PACKAGE set, to drop into utilities by default. This is all too confusing. I think we should put all the includes from src/include and subdirectories as well as the C++ standard includes into the same package and I think that package should be clibs-dev since none of it is much use without the libs contained in clibs-dev. --0000000000006b1ae605ec65cb58 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was looking int=C2=A0https://bugs.freebsd.= org/bugzilla/show_bug.cgi?id=3D254173=C2=A0recently and realised that packaging for include fil= es is messed up. For instance, <stdio.h> lives in runtime-dev but it = includes <xlocale/_stdio.h> which is in utilities-dev. The clibs-dev= =C2=A0package containers C++ header files, most of which cannot work withou= t the standard C includes from runtime-dev. Looking closer, include files f= rom src/include are in runtime but subdirectories of src/include don't = have PACKAGE set, to drop into utilities by default.

Thi= s is all too confusing. I think we should put all the includes from src/inc= lude and subdirectories as well as the C++ standard includes into the same = package and I think that package should be clibs-dev=C2=A0since none of it = is much use without the libs contained in clibs-dev.
--0000000000006b1ae605ec65cb58--