[scribus-dev] crash compiling 1.5.7svn

Gregory Pittman gpittman at iglou.com
Thu Feb 11 23:11:04 UTC 2021


On 2/11/21 5:50 PM, Gregory Pittman wrote:
> On 2/11/21 2:37 PM, Jean Ghali wrote:
>> Le 11/02/2021 à 18:13, Gregory Pittman a écrit :
>>> I get this message:
>>>
>>> /bin/ld: CMakeFiles/scribus.dir/fonts/sfnt.cpp.o: in function `sfnt::subsetFaceWithHB(QByteArray const&, QList<unsigned int>, int, QMap<unsigned int, unsigned int>&)':
>>> /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1246: undefined reference to `hb_subset_input_create_or_fail'
>>> /bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1247: undefined reference to `hb_subset_input_glyph_set'
>>> /bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1254: undefined reference to `hb_subset_input_set_retain_gids'
>>> /bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1255: undefined reference to `hb_subset_input_set_drop_hints'
>>> /bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1256: undefined reference to `hb_subset_input_set_name_legacy'
>>> /bin/ld: /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:1258: undefined reference to `hb_subset'
>>> /bin/ld: CMakeFiles/scribus.dir/fonts/sfnt.cpp.o: in function `HbSubsetInputDeleter::cleanup(void*)':
>>> /home/gregp/development/Scribus15x/scribus/fonts/sfnt.cpp:45: undefined reference to `hb_subset_input_destroy'
>>> collect2: error: ld returned 1 exit status
>>> make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:15188: scribus/scribus] Error 1
>>> make[1]: *** [CMakeFiles/Makefile2:2463: scribus/CMakeFiles/scribus.dir/all] Error 2
>>> make: *** [Makefile:171: all] Error 2
>>>
>>
>> Ooops, I didn't realize harfbuzz subsetting functionalities were embedded in a separate library. As this library was not linked, this cause the linker to exit with an error.
>>
>> I tried to add the necessary detection code for harfbuzz-subset library in r24469. Unfortunately I cannot test it in my Linux VMs right now as my current internet connection does not let me access scribus public svn repository. So I hope my latest changes are going to work.
>>
> 
> Now I get a more cryptic error:
> 
> collect2: fatal error: ld terminated with signal 9 [Killed]
> compilation terminated.
> make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:15188: scribus/scribus] Error 1
> make[2]: *** Deleting file 'scribus/scribus'
> make[1]: *** [CMakeFiles/Makefile2:2463: scribus/CMakeFiles/scribus.dir/all] Error 2
> make: *** [Makefile:171: all] Error 2
> 
> I'll try nuking my build directory and starting all over.
> 

No, same message after nuking.

Greg




More information about the scribus-dev mailing list