[Bug 280684] devel/libgit2-glib: Fails to build with devel/libgit2 1.8.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 08 Aug 2024 12:44:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280684

            Bug ID: 280684
           Summary: devel/libgit2-glib: Fails to build with devel/libgit2
                    1.8.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: eduardo@FreeBSD.org
                CC: gnome@FreeBSD.org, mfechner@FreeBSD.org
                CC: gnome@FreeBSD.org, mfechner@FreeBSD.org

Hello,

Doing some run tests for devel/libgit2 1.8.1 update:

FAILED: libgit2-glib/libgit2-glib-1.0.so.0.200.0.p/ggit-clone-options.c.o
cc -Ilibgit2-glib/libgit2-glib-1.0.so.0.200.0.p -Ilibgit2-glib
-I../libgit2-glib -I. -I.. -I/usr/local/include -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -fdiagnostics-color=never -D_FILE_OFF
SET_BITS=64 -Wall -Winvalid-pch -ffast-math -fstrict-aliasing -Wpointer-arith
-Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wold-style-definition -Wdeclaration-after
-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Wcast-align
-Wno-unused-local-typedefs -Werror=implicit -Werror=init-self -Werror=main
-Werror=missing
-braces -Werror=return-type -Werror=array-bounds -Werror=write-strings
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_CHECKS -DTRANSLATE_WINDOWS_PATHS -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-stri
ct-aliasing -isystem /usr/local/include -fPIC -pthread -DGIT_SSH=1
'-DG_LOG_DOMAIN="Ggit"' -MD -MQ
libgit2-glib/libgit2-glib-1.0.so.0.200.0.p/ggit-clone-options.c.o -MF
libgit2-glib/libgit2-glib-1.0.so.0.200.0.p/
ggit-clone-options.c.o.d -o
libgit2-glib/libgit2-glib-1.0.so.0.200.0.p/ggit-clone-options.c.o -c
../libgit2-glib/ggit-clone-options.c
../libgit2-glib/ggit-clone-options.c:153:3: error: call to undeclared function
'git_error_set_str'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
  153 |                 git_error_set_str (GIT_ERROR, error->message);
      |                 ^
../libgit2-glib/ggit-clone-options.c:153:3: note: did you mean
'giterr_set_str'?
/usr/local/include/git2/deprecated.h:476:18: note: 'giterr_set_str' declared
here
  476 | GIT_EXTERN(void) giterr_set_str(int error_class, const char *string);
      |                  ^
../libgit2-glib/ggit-clone-options.c:195:3: error: call to undeclared function
'git_error_set_str'; ISO C99 and later do not support implicit function
declarations [-Werror,-Wimplicit-function-declaration]
  195 |                 git_error_set_str (GIT_ERROR, error->message);
      |                 ^
2 errors generated.

Any clues?
Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.