From owner-freebsd-ports@freebsd.org Mon Feb 24 18:11:04 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8293F23D53F for ; Mon, 24 Feb 2020 18:11:04 +0000 (UTC) (envelope-from SRS0=Bihw=4M=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48R99M0Cq8z3DjJ for ; Mon, 24 Feb 2020 18:11:02 +0000 (UTC) (envelope-from SRS0=Bihw=4M=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 5486628416; Mon, 24 Feb 2020 19:11:00 +0100 (CET) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id CCB142842B; Mon, 24 Feb 2020 19:10:56 +0100 (CET) Subject: Re: Cannot build qt5-webkit with debug To: Marcin Cieslak Cc: Michael Osipov <1983-01-06@gmx.net>, freebsd-ports@freebsd.org References: <86c4b386-9298-fa0a-ccc1-ec6b1e65b788@quip.cz> <81e73790-6b69-8038-b087-9ff75c1cf9b5@gmx.net> <1a72bb7d-8ded-afe4-6fa7-8c301d73839e@quip.cz> <23335a73-5853-eab2-5684-b40f430ec8c7@quip.cz> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <12ae3631-1973-5a42-8aa2-2fb8b9b93f8b@quip.cz> Date: Mon, 24 Feb 2020 19:10:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48R99M0Cq8z3DjJ X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=Bihw=4M=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=Bihw=4M=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [4.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.85)[ip: (0.32), ipnet: 94.124.104.0/21(0.16), asn: 42000(3.66), country: CZ(0.09)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.98)[0.976,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.997,0]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=Bihw=4M=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=Bihw=4M=quip.cz=000.fbsd@elsa.codelab.cz]; MID_RHS_MATCH_FROM(0.00)[]; FREEMAIL_CC(0.00)[gmx.net] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 18:11:04 -0000 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@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/ (root@testjail) ~/# cat /tmp/phantom.2.js var page = require('webpage').create(); page.onConsoleMessage = function(str) { console.log(str); } page.open('https://phantomjs.org/api/phantom/', function(status) { page.render('/tmp/beforeclick.png'); console.log(page.url); var element = page.evaluate(function() { return document.querySelector('img[src = "https://phantomjs.org/img/phantomjs-logo.png"]'); }); page.sendEvent('click', element.offsetLeft, element.offsetTop, 'left'); window.setTimeout(function () { console.log(page.url); page.render('/tmp/afterclick.png'); phantom.exit(); }, 5000); console.log('element is ' + element); }); Kind regards Miroslav Lachman