[MacPorts] #71692: scribus fails to build with gcc14: error: assignment to 'const long unsigned int *' from incompatible pointer type 'const z_crc_t *' {aka 'const unsigned int *'} [-Wincompatible-pointer-types]

MacPorts noreply at macports.org
Tue Dec 31 06:43:16 UTC 2024


#71692: scribus fails to build with gcc14: error: assignment to 'const long
unsigned int *' from incompatible pointer type 'const z_crc_t *' {aka
'const unsigned int *'} [-Wincompatible-pointer-types]
--------------------------+---------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  scribus
--------------------------+---------------------
 {{{
 [ 89%] Building C object scribus/CMakeFiles/Scribus.dir/unzip.c.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/build/scribus
 && /opt/local/bin/gcc-mp-14 -DHAVE_CARBON=1 -DHAVE_CONFIG_H -DHAVE_DLFCN_H
 -DHAVE_UNISTD_H -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
 -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_THREAD_LIB -DQT_XML_LIB
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/build/scribus
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.8/scribus
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/build
 -I/opt/local/include/qt4/QtDesigner -I/opt/local/include/qt4/QtDeclarative
 -I/opt/local/include/qt4/QtScriptTools -I/opt/local/include/qt4/QtDBus
 -I/opt/local/include/qt4/QtOpenGL -I/opt/local/include/qt4/QtMultimedia
 -I/opt/local/include/qt4/QtXmlPatterns -I/opt/local/include/qt4/QtWebKit
 -I/opt/local/include/qt4/QtHelp -I/opt/local/include/qt4/QtUiTools
 -I/opt/local/include/qt4/QtTest -I/opt/local/include/qt4/QtScript
 -I/opt/local/include/qt4/QtSvg -I/opt/local/include/qt4/Qt3Support
 -I/opt/local/share/qt4/mkspecs/default -I/opt/local/include
 -I/opt/local/include/libxml2
 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.8
 -I/opt/local/include/freetype2 -I/opt/local/include/cairo -isystem
 /opt/local/include/qt4 -isystem /opt/local/include/qt4/QtGui -isystem
 /opt/local/include/qt4/QtXml -isystem /opt/local/include/qt4/QtSql
 -isystem /opt/local/include/qt4/QtNetwork -isystem
 /opt/local/include/qt4/QtCore -pipe -Os -DNDEBUG
 -I/opt/local/libexec/boost/1.76/include -I/opt/local/include -O2 -Wall
 -fPIC -arch ppc -mmacosx-version-min=10.6
 -DSHAREDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/scribus/\"
 -DDOCDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/doc/scribus/\"
 -DICONDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/scribus/icons/\"
 -DSAMPLESDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/scribus/samples/\"
 -DSCRIPTSDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/scribus/scripts/\"
 -DTEMPLATEDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/scribus/templates/\"
 -DDESKTOPDIR=\"/Applications/MacPorts/Scribus.app/Contents/share/applications/\"
 -DAPPDATADIR=\"/Applications/MacPorts/Scribus.app/Contents/share/appdata/\"
 -DLIBDIR=\"/Applications/MacPorts/Scribus.app/Contents/lib/\"
 -DPLUGINDIR=\"/Applications/MacPorts/Scribus.app/Contents/lib/\" -MD -MT
 scribus/CMakeFiles/Scribus.dir/unzip.c.o -MF
 CMakeFiles/Scribus.dir/unzip.c.o.d -o CMakeFiles/Scribus.dir/unzip.c.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.8/scribus/unzip.c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.8/scribus/unzip.c:
 In function 'unzOpenCurrentFile3':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/scribus-1.4.8/scribus/unzip.c:1177:24:
 error: assignment to 'const long unsigned int *' from incompatible pointer
 type 'const z_crc_t *' {aka 'const unsigned int *'} [-Wincompatible-
 pointer-types]
  1177 |         s->pcrc_32_tab = get_crc_table();
       |                        ^
 make[2]: *** [scribus/CMakeFiles/Scribus.dir/unzip.c.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/build'
 make[1]: *** [scribus/CMakeFiles/Scribus.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_print_scribus/scribus/work/build'
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71692>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list