Le 12/02/2021 à 00:11, Gregory Pittman a écrit :
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.


It looks like the linker might be running out of memory on your computer. I just tested building Scribus r24471 on a Fedora 33 VM with 4gb of RAM and the build completed without issue. Scribus was able to start successfully too.

Jean



_______________________________________________
scribus-dev mailing list
[email protected]
http://lists.scribus.net/mailman/listinfo/scribus-dev

Reply via email to