Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 13:28:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281236] lang/clisp: Fails to build with GCC 14: error: passing argument 2 of 'db->stat' from incompatible pointer type [-Wincompatible-pointer-types]
Message-ID:  <bug-281236-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281236

            Bug ID: 281236
           Summary: lang/clisp: Fails to build with GCC 14: error: passing
                    argument 2 of 'db->stat' from incompatible pointer
                    type [-Wincompatible-pointer-types]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d
                    efault-foo/2024-08-29_19h57m48s/logs/errors/clisp-2.49
                    .93+_7.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 281091

Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14.

/wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0=
f842ed/modules/berkeley-db/bdb.c:1519:44:
error: passing argument 2 of 'db->stat' from incompatible pointer type
[-Wincompatible-pointer-types]
 1519 | # define DB_STAT(s)   SYSCALL(db->stat,(db,&s,flags));
      |                                            ^
      |                                            |
      |                                            DB_HASH_STAT ** {aka str=
uct
__db_h_stat **}
/wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0=
f842ed/modules/berkeley-db/bdb.c:279:223:
note: in definition of macro 'SYSCALL1'
  279 |   } while(0)
      |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20
                                                                      ^=20=
=20=20
/wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0=
f842ed/modules/berkeley-db/bdb.c:1519:23:
note: in expansion of macro 'SYSCALL'
 1519 | # define DB_STAT(s)   SYSCALL(db->stat,(db,&s,flags));
      |                       ^~~~~~~
/wrkdirs/usr/ports/lang/clisp/work/clisp-df3b9f6fdcff22832898e89a989eb499c0=
f842ed/modules/berkeley-db/bdb.c:1534:7:
note: in expansion of macro 'DB_STAT'
 1534 |       DB_STAT(hash_stat);

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/clisp-2.49.93+_7.log

Useful link: https://gcc.gnu.org/gcc-14/porting_to.html

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Maintainer informed via mail


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091
[Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281236-7788>