[Bug 273672] comms/wsjtx: Fails to build with GCC 13: error: typedef redefinition with different types ('size_t' (aka 'unsigned long') vs 'int')

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Sep 2023 07:06:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273672

            Bug ID: 273672
           Summary: comms/wsjtx: Fails to build with GCC 13: error:
                    typedef redefinition with different types ('size_t'
                    (aka 'unsigned long') vs 'int')
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hamradio@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 273397
          Assignee: hamradio@FreeBSD.org
             Flags: maintainer-feedback?(hamradio@FreeBSD.org)

This bug report blocks the update of GCC_DEFAULT to 13. This webpage can help
finding ta fix: https://gcc.gnu.org/gcc-13/porting_to.html .

[  0%] Building Fortran object CMakeFiles/wsjt_fort_omp.dir/lib/packjt.f90.o
/usr/local/bin/gfortran13 -DBIGSYM=1 -DBOOST_ALL_DYN_LINK -DCMAKE_BUILD -DQT5
-DUNIX
-I/wrkdirs/usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx-build
-I/wrkdirs/usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx -O
-Wl,-rpath=/usr/local/lib/gcc13 -fallow-argument-mismatch -O3 -DNDEBUG -O3
-fbounds-check -funroll-all-loops -fno-f2c
-ffpe-summary=invalid,zero,overflow,underflow -Wall -Wno-conversion
-fno-second-underscore -Jfortran_modules_omp -fvisibility=hidden -fopenmp -c
/wrkdirs/usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx/lib/packjt.f90
-o CMakeFiles/wsjt_fort_omp.dir/lib/packjt.f90.o
--- CMakeFiles/wsjt_cxx.dir/all ---
In file included from <built-in>:1:
/wrkdirs/usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx-build/wsjtx_config.h:72:20:
error: typedef redefinition with different types ('size_t' (aka 'unsigned
long') vs 'int')
    typedef size_t fortran_charlen_t;
                   ^
/wrkdirs/usr/ports/comms/wsjtx/work/.build/wsjtx-prefix/src/wsjtx-build/wsjtx_config.h:68:15:
note: previous definition is here
  typedef int fortran_charlen_t;
              ^
1 error generated.


Referenced Bugs:

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