Re: git: a4c7ade4901e - main - cad/kicad-devel: Update to 2024.11.02 00:28:09

From: Nuno Teixeira <eduardo_at_freebsd.org>
Date: Sun, 03 Nov 2024 19:53:00 UTC
(...)

I found the cause and it's related with libgit2 recent upgrade:

v1.8.4

We erroneously shipped v1.8.3 without actually including the change in
v1.8.2. This release re-re-introduces the pre-v1.8.0 commit constness
behavior.

--- kicad/CMakeFiles/kicad.dir/all ---
--- kicad/CMakeFiles/kicad.dir/project_tree_pane.cpp.o ---
/wrkdirs/usr/ports/cad/kicad-devel/work/kicad-00afc4547636b2c1ad37acd14e6b761ec7f76e50/kicad/project_tree_pane.cpp:2327:13:
error: no matching function for call to 'git_commit_create'
 2327 |         if( git_commit_create( &oid, repo, "HEAD", author, author,
nullptr, commit_msg.mb_str(), tree,
      |             ^~~~~~~~~~~~~~~~~
/usr/local/include/git2/commit.h:359:17: note: candidate function not
viable: no known conversion from 'git_commit *const[1]' to 'const
git_commit **' for 10th argument
  359 | GIT_EXTERN(int) git_commit_create(
      |                 ^
  360 |         git_oid *id,
  361 |         git_repository *repo,
  362 |         const char *update_ref,
  363 |         const git_signature *author,
  364 |         const git_signature *committer,
  365 |         const char *message_encoding,
  366 |         const char *message,
  367 |         const git_tree *tree,
  368 |         size_t parent_count,
  369 |         const git_commit *parents[]);
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/all ---
---
pcbnew/CMakeFiles/pcbnew_kiface_objects.dir/dialogs/dialog_global_edit_text_and_graphics.cpp.o
---

Cheers,

Nuno Teixeira <eduardo@freebsd.org> escreveu (domingo, 3/11/2024 à(s)
12:54):

> (...)
>
> Nevermind, it's related to my wxgtk32 update exp-run and it's building now.
>
> Sorry for noise.
>
> Nuno Teixeira <eduardo@freebsd.org> escreveu (domingo, 3/11/2024 à(s)
> 12:03):
>
>> Hello Michael,
>>
>> On 14.1 release:
>>
>> <...>
>> -- Performing Test HAS_FLTO_THIN - Success
>> Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>>   File "/usr/local/lib/python3.11/site-packages/wx/__init__.py", line 17,
>> in <module>
>>     from wx.core import *
>>   File "/usr/local/lib/python3.11/site-packages/wx/core.py", line 12, in
>> <module>
>>     from ._core import *
>> ImportError: /usr/local/lib/python3.11/site-packages/wx/_
>> core.cpython-311.so: Undefined symbol "_ZNK12wxDataFormateqERKS_@WXU_3.2"
>> CMake Error at cmake/FindwxPython.cmake:56 (message):
>>   wxPython/Phoenix does not appear to be installed on the system
>> Call Stack (most recent call first):
>>   CMakeLists.txt:1004 (find_package)
>>
>>
>> -- Configuring incomplete, errors occurred!
>> *** Error code 1
>>
>> Cheers,
>>
>> Michael Reifenberger <mr@freebsd.org> escreveu (sábado, 2/11/2024 à(s)
>> 16:26):
>>
>>> The branch main has been updated by mr:
>>>
>>> URL:
>>> https://cgit.FreeBSD.org/ports/commit/?id=a4c7ade4901e0899c5aeed6a6a89f1cb058b4992
>>>
>>> commit a4c7ade4901e0899c5aeed6a6a89f1cb058b4992
>>> Author:     Michael Reifenberger <mr@FreeBSD.org>
>>> AuthorDate: 2024-11-02 16:25:26 +0000
>>> Commit:     Michael Reifenberger <mr@FreeBSD.org>
>>> CommitDate: 2024-11-02 16:26:07 +0000
>>>
>>>     cad/kicad-devel: Update to 2024.11.02 00:28:09
>>> ---
>>>  cad/kicad-devel/Makefile.git_rev | 4 ++--
>>>  cad/kicad-devel/distinfo         | 6 +++---
>>>  2 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/cad/kicad-devel/Makefile.git_rev
>>> b/cad/kicad-devel/Makefile.git_rev
>>> index a3cc2fac93d5..6ff8dfbefb8b 100644
>>> --- a/cad/kicad-devel/Makefile.git_rev
>>> +++ b/cad/kicad-devel/Makefile.git_rev
>>> @@ -1,2 +1,2 @@
>>> -GIT_SRC_HASH=  6ebd8f46fe24533214b9ed43f1f7e5a4b80dcc71
>>> -GIT_SRC_DATE=  20241011110305
>>> +GIT_SRC_HASH=  00afc4547636b2c1ad37acd14e6b761ec7f76e50
>>> +GIT_SRC_DATE=  20241102002809
>>> diff --git a/cad/kicad-devel/distinfo b/cad/kicad-devel/distinfo
>>> index e89a079e6bc0..a1ca491432a9 100644
>>> --- a/cad/kicad-devel/distinfo
>>> +++ b/cad/kicad-devel/distinfo
>>> @@ -1,3 +1,3 @@
>>> -TIMESTAMP = 1728646475
>>> -SHA256
>>> (kicad/kicad/code-kicad-6ebd8f46fe24533214b9ed43f1f7e5a4b80dcc71_GL0.tar.gz)
>>> = cadd07b314ebf04fb9804fb05a2fc443427fe090e29eb8980c0150a9faa37068
>>> -SIZE
>>> (kicad/kicad/code-kicad-6ebd8f46fe24533214b9ed43f1f7e5a4b80dcc71_GL0.tar.gz)
>>> = 98433959
>>> +TIMESTAMP = 1730542159
>>> +SHA256
>>> (kicad/kicad/code-kicad-00afc4547636b2c1ad37acd14e6b761ec7f76e50_GL0.tar.gz)
>>> = b1e5c05cd3a31934f8aa3eff154f5a0566d2ac709b287553e2a39369826d0a36
>>> +SIZE
>>> (kicad/kicad/code-kicad-00afc4547636b2c1ad37acd14e6b761ec7f76e50_GL0.tar.gz)
>>> = 98761141
>>>
>>
>>
>> --
>> Nuno Teixeira
>> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org
>>
>
>
> --
> Nuno Teixeira
> FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org
>


-- 
Nuno Teixeira
FreeBSD UNIX:  <eduardo@FreeBSD.org>   Web:  https://FreeBSD.org