From nobody Wed Nov 2 16:21:44 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 4N2XGF3BNLz4gJ2g for ; Wed, 2 Nov 2022 16:21:57 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 4N2XGD4Tvbz3l7R for ; Wed, 2 Nov 2022 16:21:56 +0000 (UTC) (envelope-from dfr@rabson.org) Received: by mail-qt1-x82e.google.com with SMTP id hh9so11611521qtb.13 for ; Wed, 02 Nov 2022 09:21:56 -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:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=50JINS5GNK3NASX+EJWJQcYgAIr1NyvfMg0sk/ETrOA=; b=02kaKJ+SToDoVq3EtI+88XOXFVEwcuLkea7dagpF2n8sjQZxszElr7a3slMmwmCtDZ tgkEPcoxb8lFwBzzqyigV7meMoNtgxcwrys7mgZp1/NjGEwaMwuetkIZW3n3AgtmZ4rZ FCeRBv4tNdyx99FgHEHgeXT6T1rTqhvBo+EyQZSveVTXyJ6gbua+EpQTAtPw15jn30FK xwfJsG0k9H8OJCFKKJXFg3VnJN3CJZJ4Pxp6gZBRKlv6uGb3B/0bQv1kVzgeRsU6TKzV DKhvoVMqtKebf4eKIbBYqgaijglMmv9FtdnYiiufQfqnq2FHvLachoybeSPPRmDRZAcx qNpA== 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:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=50JINS5GNK3NASX+EJWJQcYgAIr1NyvfMg0sk/ETrOA=; b=rGV/+prodG5XG2APT9DEGyZgILDw0CxhJy1gNvlp2zTKYld0rgIcY0yJMhvJlGhUMh DY2gmUqwinZ1UwEJRvIbqK8MGmDgmTCSlRpABf4VTrzlmDoalZmh5VPb21A0CSlFy4s9 3uo/WSXbIrANJV1WkO3HnLmZLVqUL9kY3nMvkXMHfC4YG7dqbVfuzNdXVtnSc+lMPTNn Hj/Dg9bjzVWuamJoCdwjmteOoJBOEXVWhM+0V8E38m9LTfz6gRq85e3VHbsypJ+BJlVo kFOiSOGeacdH/vvp/ETteiKq8yfXkJmmtmdWecygAS0LqM00GernDA7aoZHZbSc7nTY/ BGLA== X-Gm-Message-State: ACrzQf28NJk/pDeOGSgL7ST+6gErYkPrQbicQmYOzY/RfFwyvmmZUjYK RDESkSi1cfRsbpOqUW3AUeX6DHTnbFGxjWsc3YLZGwtYHQA= X-Google-Smtp-Source: AMsMyM4IqWgMa7fKkXvWjRaS2xwSHGJihSSH8bUjXFpRpLTwe1UcnLfgaQG+Z1sE4HUZ7vgBGO9nc6URzeqgVe2jqHA= X-Received: by 2002:ac8:7309:0:b0:3a5:44d0:f000 with SMTP id x9-20020ac87309000000b003a544d0f000mr3469036qto.448.1667406115759; Wed, 02 Nov 2022 09:21:55 -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 References: In-Reply-To: From: Doug Rabson Date: Wed, 2 Nov 2022 16:21:44 +0000 Message-ID: Subject: Re: New conflict on if_wg.h in runtime package To: Guido Falsi Cc: freebsd-pkgbase@freebsd.org Content-Type: multipart/alternative; boundary="00000000000039fd3405ec7f3d1c" X-Rspamd-Queue-Id: 4N2XGD4Tvbz3l7R X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rabson-org.20210112.gappssmtp.com header.s=20210112 header.b=02kaKJ+S; dmarc=none; spf=pass (mx1.freebsd.org: domain of dfr@rabson.org designates 2607:f8b0:4864:20::82e 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)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; 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]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::82e:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[rabson.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[dfr]; DKIM_TRACE(0.00)[rabson-org.20210112.gappssmtp.com:+]; TO_DN_SOME(0.00)[]; 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 --00000000000039fd3405ec7f3d1c Content-Type: text/plain; charset="UTF-8" On Wed, 2 Nov 2022 at 16:07, Guido Falsi wrote: > On 02/11/22 16:32, Doug Rabson wrote: > > > > > > On Wed, 2 Nov 2022 at 13:54, Guido Falsi > > wrote: > > > > Hi! > > > > I am trying to upgrade head using packaged base and I'm getting this > > error now: > > > > pkg: FreeBSD-runtime-dev-14.snap20221102095743 conflicts with > > FreeBSD-runtime-14.snap20221102095743 (installs files into the same > > place). Problematic file: /usr/include/dev/wg/if_wg.h > > > > Looks like for some reason if_wg.h ended up in both packages. > > > > Am I doing something wrong and can I work around this or should this > be > > fixed in the sources? > > > > > > This seems to be a problem in pkgbase. Packages are built using the > > metalog generated from the various install commands during the build - > > if_wg.h has two entries in the metalog, one with > > tags=package=runtime,dev and one with tags=package=runtime. Can you open > > a bug on bugs.freebsd.org ? > > > > > > > sure! > I think the problem is caused by the 'copies' target in src/include which is where the second metalog entry happens. From my limited understanding, this target shouldn't create metalog entries but I'm not sure how to stop it. > > --00000000000039fd3405ec7f3d1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, 2 Nov 2022 at 16:07, Guido Fa= lsi <mad@madpilot.net> wrote:=
On 02/11/22 16:32, Doug Rabson wrote:
>
>
> On Wed, 2 Nov 2022 at 13:54, Guido Falsi <mad@madpilot.net
> <mailto:mad@m= adpilot.net>> wrote:
>
>=C2=A0 =C2=A0 =C2=A0Hi!
>
>=C2=A0 =C2=A0 =C2=A0I am trying to upgrade head using packaged base and= I'm getting this
>=C2=A0 =C2=A0 =C2=A0error now:
>
>=C2=A0 =C2=A0 =C2=A0pkg: FreeBSD-runtime-dev-14.snap20221102095743 conf= licts with
>=C2=A0 =C2=A0 =C2=A0FreeBSD-runtime-14.snap20221102095743 (installs fil= es into the same
>=C2=A0 =C2=A0 =C2=A0place).=C2=A0 Problematic file: /usr/include/dev/wg= /if_wg.h
>
>=C2=A0 =C2=A0 =C2=A0Looks like for some reason if_wg.h ended up in both= packages.
>
>=C2=A0 =C2=A0 =C2=A0Am I doing something wrong and can I work around th= is or should this be
>=C2=A0 =C2=A0 =C2=A0fixed in the sources?
>
>
> This seems to be a problem in pkgbase. Packages are built using the > metalog generated from the various install commands during the build -=
> if_wg.h has two entries in the metalog, one with
> tags=3Dpackage=3Druntime,dev and one with=C2=A0tags=3Dpackage=3Druntim= e. Can you open
> a bug on bugs.freebsd.org <http://bugs.freebsd.org>?
>
>


sure!

I think the problem is caused by = the 'copies' target in src/include which is where the second metalo= g entry happens. From my limited understanding, this target shouldn't c= reate metalog entries but I'm not sure how to stop it.

--00000000000039fd3405ec7f3d1c--