From owner-freebsd-ports-bugs@freebsd.org Mon Jun 17 05:19:54 2019 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C628415D3AEA for ; Mon, 17 Jun 2019 05:19:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 5B2B5775CA for ; Mon, 17 Jun 2019 05:19:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1B59F15D3AE9; Mon, 17 Jun 2019 05:19:54 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB49715D3AE8 for ; Mon, 17 Jun 2019 05:19:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85A18775C9 for ; Mon, 17 Jun 2019 05:19:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id C82B8167F for ; Mon, 17 Jun 2019 05:19:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5H5Jq4q085704 for ; Mon, 17 Jun 2019 05:19:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5H5JpP6085686 for ports-bugs@FreeBSD.org; Mon, 17 Jun 2019 05:19:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238639] devel/gn: maybe unusable by www/firefox Date: Mon, 17 Jun 2019 05:19:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2019 05:19:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238639 Bug ID: 238639 Summary: devel/gn: maybe unusable by www/firefox Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: needs-qa Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: gecko@FreeBSD.org, o.hushchenkov@gmail.com CC: gecko@FreeBSD.org, o.hushchenkov@gmail.com Flags: maintainer-feedback?(o.hushchenkov@gmail.com) www/firefox may start requiring devel/gn or devel/chromium-gn in future. For now upstream bundles preprocessed GN->JSON files. Unfortunately, it doesn't work with devel/gn compared to devel/chromium-gn. Can you investigate? https://bugzilla.mozilla.org/show_bug.cgi?id=3D1534615 https://firefox-source-docs.mozilla.org/build/buildsystem/gn.html Environment: $ pkg install python27 $ hash git 2>/dev/null || pkg install mercurial $ hg clone https://hg.mozilla.org/mozilla-unified firefox || git clone https://github.com/mozilla/gecko-dev firefox $ cd firefox $ hg update central || git checkout origin/master $ echo "export CC=3Dclang80 CXX=3Dclang++80 # whichever mesa installs" >>.m= ozconfig $ echo "ac_add_options --disable-debug-symbols" >>.mozconfig $ ./mach bootstrap # select Firefox for Desktop Steps to reproduce: $ pkg install gn $ ./mach configure $ ./mach build-backend -b GnConfigGen 0:01.09 _virtualenvs/init/bin/python config.status --backend GnConfigGen Reticulating splines... 0:00.68 File already read. Skipping: modules/brotli/moz.build Running "/usr/local/bin/gn gen media/webrtc/trunk/webrtc/gn-output --args=3Dis_debug=3Dfalse host_cpu=3D"x64" target_os=3D"freebsd" target_cpu= =3D"x64" --ide=3Djson" ERROR at //rtc_base/BUILD.gn:850:5: Only source, header, and object files belong in the sources of a source_set. //rtc_base/sigslottester.h.pump is n= ot one of the valid types. "sigslottester.h.pump", ^--------------------- See //rtc_base/BUILD.gn:813:1: whence it was called. rtc_source_set("rtc_base_tests_utils") { ^--------------------------------------- See //BUILD.gn:288:7: which caused the file to be included. "rtc_base", ^--------- Traceback (most recent call last): File "config.status", line 1255, in config_status(**args) File "python/mozbuild/mozbuild/config_status.py", line 145, in config_sta= tus the_backend.consume(definitions) File "python/mozbuild/mozbuild/backend/base.py", line 128, in consume if (not self.consume_object(obj) and File "python/mozbuild/mozbuild/gn_processor.py", line 550, in consume_obj= ect obj.gn_target) File "python/mozbuild/mozbuild/gn_processor.py", line 521, in generate_gn_config subprocess.check_call(gen_args, cwd=3Dsrcdir, stderr=3Dsubprocess.STDOU= T) File "/usr/local/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/local/bin/gn', 'gen', u'media/webrtc/trunk/webrtc/gn-output', u'--args=3Dis_debug=3Dfalse host_cp= u=3D"x64" target_os=3D"freebsd" target_cpu=3D"x64"', '--ide=3Djson']' returned non-ze= ro exit status 1 --=20 You are receiving this mail because: You are the assignee for the bug.=