<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.freebsd.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.freebsd.org/bugzilla/"
          
          maintainer="bugmeister@FreeBSD.org"
>

    <bug>
          <bug_id>257220</bug_id>
          
          <creation_ts>2021-07-16 17:29:01 +0000</creation_ts>
          <short_desc>devel/onetbb: Fails to patch:  fetch: commit/fa944e19600500863507ed8e9b1f5a30037d9df6.patch: size mismatch: expected 1467, actual 1465</short_desc>
          <delta_ts>2021-07-17 17:00:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Ports &amp; Packages</product>
          <component>Individual Port(s)</component>
          <version>Latest</version>
          <rep_platform>Any</rep_platform>
          <op_sys>Any</op_sys>
          <bug_status>Closed</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needs-patch, needs-qa</keywords>
          <priority>---</priority>
          <bug_severity>Affects Many People</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthias Andree">mandree</reporter>
          <assigned_to name="Ganael LAPLANCHE">martymac</assigned_to>
          <cc>pkubaj</cc>
          

      

      

      <flag name="maintainer-feedback"
          id="58690"
          type_id="3"
          status="?"
          setter="bugzilla"
          requestee="martymac"
    />
    <flag name="merge-quarterly"
          id="58707"
          type_id="7"
          status="?"
          setter="koobs"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1170659</commentid>
    <comment_count>0</comment_count>
    <who name="Matthias Andree">mandree</who>
    <bug_when>2021-07-16 17:29:01 +0000</bug_when>
    <thetext>Try &quot;make -C /usr/ports/devel/onetbb distclean checksum&quot; and see this error shown below. It may make sense to download the patch and commit it to the ports Git... who knows when Github change the output again.

===&gt;   onetbb-2021.3.0 depends on file: /usr/local/sbin/pkg - found
=&gt; oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz doesn&apos;t seem to exist in /usr/ports/distfiles/.
=&gt; Attempting to fetch https://codeload.github.com/oneapi-src/oneTBB/tar.gz/v2021.3.0?dummy=/oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz
fetch: https://codeload.github.com/oneapi-src/oneTBB/tar.gz/v2021.3.0?dummy=/oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/oneapi-src/oneTBB/tar.gz/v2021.3.0?dummy=/oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz: size of remote file is not known
oneapi-src-oneTBB-v2021.3.0_GH0.tar.gz                1612 kB 5801 kBps    01s
=&gt; fa944e19600500863507ed8e9b1f5a30037d9df6.patch doesn&apos;t seem to exist in /usr/ports/distfiles/.
=&gt; Attempting to fetch https://github.com/oneapi-src/oneTBB/commit/fa944e19600500863507ed8e9b1f5a30037d9df6.patch
fetch: https://github.com/oneapi-src/oneTBB/commit/fa944e19600500863507ed8e9b1f5a30037d9df6.patch: size mismatch: expected 1467, actual 1465
=&gt; Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/fa944e19600500863507ed8e9b1f5a30037d9df6.patch
fetch: http://distcache.FreeBSD.org/ports-distfiles/fa944e19600500863507ed8e9b1f5a30037d9df6.patch: Not Found
=&gt; Couldn&apos;t fetch it - please try to retrieve this
=&gt; port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/onetbb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170683</commentid>
    <comment_count>1</comment_count>
    <who name="Ganael LAPLANCHE">martymac</who>
    <bug_when>2021-07-16 19:55:06 +0000</bug_when>
    <thetext>Hello Matthias, Piotr,

Matthias, thanks a lot for your report.

Piotr, can you check if :

https://github.com/oneapi-src/oneTBB/commit/fa944e19600500863507ed8e9b1f5a30037d9df6.patch

is the patch you expected with commit 1daf680 ? Can you fix distinfo ?

Thanks in advance,

Best regards,

Ganael.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170684</commentid>
    <comment_count>2</comment_count>
    <who name="Matthias Andree">mandree</who>
    <bug_when>2021-07-16 20:10:30 +0000</bug_when>
    <thetext>I wonder if it&apos;s a load balancing issue and sometimes a refetch helps, sometimes not. I *strongly* suggest to add &amp; commit a copy of the small (&lt; 2 kB) patch to avoid formatting differences from the download so we isolate our ports tree from Github matters.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170759</commentid>
    <comment_count>3</comment_count>
    <who name="Piotr Kubaj">pkubaj</who>
    <bug_when>2021-07-17 11:03:32 +0000</bug_when>
    <thetext>(In reply to Matthias Andree from comment #2)
Yes, it&apos;s this patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170784</commentid>
    <comment_count>4</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2021-07-17 16:59:45 +0000</bug_when>
    <thetext>A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=908b8b96c31a9a01af6e39f6863a2f3bb05a7f43

commit 908b8b96c31a9a01af6e39f6863a2f3bb05a7f43
Author:     Ganael LAPLANCHE &lt;martymac@FreeBSD.org&gt;
AuthorDate: 2021-07-17 16:57:26 +0000
Commit:     Ganael LAPLANCHE &lt;martymac@FreeBSD.org&gt;
CommitDate: 2021-07-17 16:57:26 +0000

    devel/onetbb: Integrate patch from previous commit 1daf680

    to avoid fetch problems.

    PR:             257220
    Reported by:    mandree

 devel/onetbb/Makefile                              |  3 ---
 devel/onetbb/distinfo                              |  2 --
 .../files/patch-src_tbbmalloc_frontend.cpp (new)   | 30 ++++++++++++++++++++++
 3 files changed, 30 insertions(+), 5 deletions(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1170785</commentid>
    <comment_count>5</comment_count>
    <who name="Ganael LAPLANCHE">martymac</who>
    <bug_when>2021-07-17 17:00:38 +0000</bug_when>
    <thetext>Hello,

I&apos;ve added the patch to the ports tree.

Thanks again!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>