Cannot build qt5-webkit with debug

Marcin Cieslak saper at saper.info
Mon Feb 24 18:17:37 UTC 2020


On Mon, 24 Feb 2020, Miroslav Lachman wrote:

> Marcin Cieslak wrote on 2020/02/24 18:51:
>> On Mon, 24 Feb 2020, Marcin Cieslak wrote:
>> 
>>> On Mon, 24 Feb 2020, Miroslav Lachman wrote:
>>> 
>>>    frame #13: 0x00000008039aa3ed 
>>> libQt5WebKit.so.5`WebCore::CSSParser::parseSheet(this=0x00007fffffffa490, 
>>> sheet=0x00000008155f5e40, string=0x00007fffffffb888, 
>>> textPosition=0x00007fffffffb650, ruleSourceDataResult=0x0000000000000000, 
>>> logErrors=false) at CSSParser.cpp:423:5
>>> 
>>> Looks like it has some trouble parsing font declarations in the HTML/CSS 
>>> code you have been testing
>>> on. This can be a webkit bug...
>>> 
>>> Would be good to have a minimal HTML/CSS testcase to reproduce this and 
>>> this should
>>> probably be reported upstream.
>> 
>> There is this report:
>> 
>> https://github.com/qtwebkit/qtwebkit/issues/933
>> 
>> It says it crashes if you have no fonts installed (no TTF).
>> 
>> Could this "fix" it?
>
> Thank you for the tip, I will look at it.
>
> The following fonts related packages are installed:
>
> (root at testjail) ~/# pkg info | grep -i font
> dejavu-2.37_1                  Bitstream Vera Fonts clone with a wider range 
> of characters
> encodings-1.0.5,1              X.Org Encoding fonts
> font-bh-ttf-1.0.3_4            X.Org Bigelow & Holmes TTF font
> font-misc-ethiopic-1.0.3_4     X.Org miscellaneous Ethiopic font
> font-misc-meltho-1.0.3_4       X.Org miscellaneous Meltho font
> fontconfig-2.12.6,1            XML-based font configuration API for X Windows
> freetype2-2.10.1               Free and portable TrueType font rendering 
> engine
> libfontenc-1.1.4               The fontenc Library
> mkfontscale-1.2.1              Creates an index of scalable font files for X
> woff2-1.0.2_4                  Library and converter tools for the WOFF 2.0 
> web font format
> xorg-fonts-truetype-7.7_1      X.Org TrueType fonts
>
>
>
> This is the code of the tested example - fetching from https://phantomjs.org/

Can you check if "fc-list" can see the fonts?

Can you publish your work in progress phantomjs port so I can try this here?

Marcin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3663 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20200224/eb95a437/attachment-0001.bin>


More information about the freebsd-ports mailing list