Bug 273672 - comms/wsjtx: Fails to build with GCC 13: error: typedef redefinition with different types ('size_t' (aka 'unsigned long') vs 'int')
Summary: comms/wsjtx: Fails to build with GCC 13: error: typedef redefinition with dif...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: hamradio (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-10 07:06 UTC by Lorenzo Salvadore
Modified: 2023-11-18 10:29 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (hamradio)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo Salvadore freebsd_committer freebsd_triage 2023-09-10 07:06:34 UTC
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.
Comment 2 Lorenzo Salvadore freebsd_committer freebsd_triage 2023-11-18 10:29:29 UTC
I remove the block for GCC default version update: latest test on FreeBSD 13.2 did not report any issue with this port. The bug report can probably be safely closed once FreeBSD 12 goes EOL.