View Issue Details

IDProjectCategoryView StatusLast Update
0013117ScribusBuild Systempublic2015-10-07 16:07
ReporterKunda Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
OSMacOSXOS Version10.10.3 
Product Version1.5.1svn 
Fixed in Version1.5.1 
Summary0013117: [OSX] error: unknown type name 'z_crc_t'
DescriptionIn file included from /tmp/scribus20150607-40801-chm05x/scribus/third_party/zip/zip.cpp:29:
/tmp/scribus20150607-40801-chm05x/scribus/third_party/zip/zip_p.h:65:10: error: unknown type name 'z_crc_t'
        typedef z_crc_t crc_t;
                ^
/tmp/scribus20150607-40801-chm05x/scribus/third_party/zip/zip.cpp:286:14: error: assigning to 'const crc_t *' (aka 'const int *') from incompatible type 'const uLongf *' (aka 'const unsigned long *')
    crcTable = get_crc_table();
             ^ ~~~~~~~~~~~~~~~
2 errors generated.
make[2]: *** [scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/zip.cpp.o] Error 1
make[1]: *** [scribus/third_party/zip/CMakeFiles/scribus_zip_lib.dir/all] Error 2
Additional Informationr20157 and r20158
TagsNo tags attached.
PatchNo

Activities

FirasH

2015-06-08 11:57

developer   ~0035340

Cannot build with openSUSE 13.2 as well.

[ 6%] Building CXX object scribus/plugins/fileloader/scribus13format/CMakeFiles/scribus13format.dir/scribus13format.cpp.o
[ 6%] Building CXX object scribus/plugins/colorwheel/CMakeFiles/colorwheel.dir/cwdialog.cpp.o
Linking CXX shared module liboodrawimp.so
In file included from /home/firashanife/SVNScribus/Scribus/scribus/plugins/colorwheel/cwdialog.cpp:19:0:
/home/firashanife/SVNScribus/Scribus/scribus/ui/cmykfw.h:17:27: fatal error: ui_cmykfwbase.h: File o directory non esistente
 #include "ui_cmykfwbase.h"
                           ^
compilation terminated.
scribus/plugins/colorwheel/CMakeFiles/colorwheel.dir/build.make:117: set di istruzioni per l'obiettivo "scribus/plugins/colorwheel/CMakeFiles/colorwheel.dir/cwdialog.cpp.o" non riuscito
make[2]: *** [scribus/plugins/colorwheel/CMakeFiles/colorwheel.dir/cwdialog.cpp.o] Errore 1
CMakeFiles/Makefile2:2399: set di istruzioni per l'obiettivo "scribus/plugins/colorwheel/CMakeFiles/colorwheel.dir/all" non riuscito
make[1]: *** [scribus/plugins/colorwheel/CMakeFiles/colorwheel.dir/all] Errore 2
make[1]: *** Attesa per i processi non terminati....

Kunda

2015-06-08 23:23

updater   ~0035346

r20158 doesn't fix the error I reported. Issue still persists.

Kunda

2015-06-11 03:53

updater   ~0035371

I've uninstall Homebrew and re-installed it..everything has been configured for Yosemite. I still get the same error. Why?

ale

2015-06-11 05:41

manager   ~0035373

on debian i could compile a fresh checkout and the colorwheel does work...

Kunda

2015-06-11 19:10

updater   ~0035378

Issue with my machine. Fixed and closing

Kunda

2015-10-05 13:54

updater   ~0036523

Arghh.. should of posted how I fixed this previously. I'm working on configuring Travis-ci to build Scribus on OSX and encountering this same exact bug.

Kunda

2015-10-07 16:05

updater   ~0036532

Last edited: 2015-10-07 16:06

This bug occurs when cmake uses the system zlib instead of the homebrew installed zlib. Need to pass a flag to CMAKE to correct this:
-D CMAKE_PREFIX_PATH=/usr/local/opt/zlib 

as in:

cmake . -DCMAKE_PREFIX_PATH=/usr/local/opt/zlib -DBUILD_OSX_BUNDLE=1 -DCMAKE_INSTALL_PREFIX=/usr/local/Scribus.app/Contents/ -DQT_PREFIX=/usr/local/opt/qt5 -DWANT_HUNSPELL=1 -DWITH_PODOFO=1 -DWANT_GRAPHICSMAGICK=1 -DWANT_DEBUG=1 -DWANT_SVNVERSION=1


Issue History

Date Modified Username Field Change
2015-06-07 23:58 Kunda New Issue
2015-06-08 00:15 Kunda Summary Crash on OSX build => Crash on OSX build r20157
2015-06-08 11:57 FirasH Note Added: 0035340
2015-06-08 11:57 FirasH Severity crash => minor
2015-06-08 11:57 FirasH Reproducibility have not tried => always
2015-06-08 11:57 FirasH Status new => confirmed
2015-06-08 11:57 FirasH Summary Crash on OSX build r20157 => 1.5.1.svn r20157 does not build
2015-06-08 23:23 Kunda Note Added: 0035346
2015-06-08 23:50 Kunda Summary 1.5.1.svn r20157 does not build => 1.5.1.svn r20158 does not build
2015-06-08 23:50 Kunda Additional Information Updated
2015-06-11 03:53 Kunda Note Added: 0035371
2015-06-11 05:41 ale Note Added: 0035373
2015-06-11 19:10 Kunda Note Added: 0035378
2015-06-11 19:10 Kunda Status confirmed => closed
2015-06-11 19:10 Kunda Resolution open => no change required
2015-10-05 13:54 Kunda Note Added: 0036523
2015-10-05 13:54 Kunda Assigned To => Kunda
2015-10-05 13:54 Kunda Status closed => assigned
2015-10-05 15:42 Kunda Summary 1.5.1.svn r20158 does not build => [OSX] error: unknown type name 'z_crc_t'
2015-10-07 16:05 Kunda Note Added: 0036532
2015-10-07 16:06 Kunda Note Edited: 0036532
2015-10-07 16:06 Kunda Note Edited: 0036532
2015-10-07 16:07 Kunda Status assigned => closed
2015-10-07 16:07 Kunda Assigned To Kunda =>
2015-10-07 16:07 Kunda Fixed in Version => 1.5.1