From owner-freebsd-gecko@freebsd.org Sat Oct 3 05:58:35 2020 Return-Path: Delivered-To: freebsd-gecko@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 84AD63FC422 for ; Sat, 3 Oct 2020 05:58:35 +0000 (UTC) (envelope-from msachinn7@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4C3GPl2Gzgz3d3g for ; Sat, 3 Oct 2020 05:58:35 +0000 (UTC) (envelope-from msachinn7@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id 4B9913FC420; Sat, 3 Oct 2020 05:58:35 +0000 (UTC) Delivered-To: gecko@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 4A4B13FC86C for ; Sat, 3 Oct 2020 05:58:35 +0000 (UTC) (envelope-from msachinn7@gmail.com) Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C3GPk0lDgz3cbt for ; Sat, 3 Oct 2020 05:58:33 +0000 (UTC) (envelope-from msachinn7@gmail.com) Received: by mail-lf1-x129.google.com with SMTP id 77so4502463lfj.0 for ; Fri, 02 Oct 2020 22:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=XJHaXn8pXvF5HxaeKk0gdWQ1XdqKReKDLZhdOUEf9i0=; b=IO1OqK3YJU3U1iicaa8V+7jz6bdEfoelHB468y8ly0mgDygHtUiyh0JAUuZJ4uWYr8 srIgpU2G9FAYdSO+OIYc2n45/XBtfUiqxXnTdVSfzFrkfHcA0EGKweLAkNMK3F2rsKQL SgcvuRJImb11D03umGRLAvrM3hyjtu0MYG5uCcBH2e537cpChbSZR9387Vptt9faU4Hy w9Ug3AUELMXxdpmX7g6nkjiaJ5vA6Fc4XrWxBHVuMLQO0jsK6/MQdM9SzFJZlUrMtn5M l/IXQy1IZzO1PvFG+Y20+jq+TVFVtl4Gkje2FUOzOZOg9IS+IQH2PREduXAehz8b6au2 Ci/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=XJHaXn8pXvF5HxaeKk0gdWQ1XdqKReKDLZhdOUEf9i0=; b=gIgw5kssIRM5xnbA0f0oZvE/LDEAd2TOvFZaaMHhzsI1YBZU4RDEUk57vat3r/VLIH Egigz4Oni41ZpKB0Kir2/Jn18XlHfAsyDZZ9UCNPFoyLIBvcc5hbsuBK3CSboRgi29bo u2HxAZ6ZkmqLvmlJBzycPlW7e8CSl1nVdtRhaiN4+H5HzGIPY4E/ERyeOrqJQ1tCnGUp wqsNKGCaZGDd5mz8MMlOd/87LEL09YX4N6kLXW6PR26OzFbZb9KBHimattoQO7KsA1wH C5WwPoDcbERv+ZYE75ssO1eoBKrUZcTL2TwkYjjBHY73Xu27AkuQdIY8qIdA91trSCAC WZwQ== X-Gm-Message-State: AOAM5300eIw37XaMxYpI/bRq87rAXhkDEo/8GyVXuCDV3dpurgpwSS9t /Yl7SkS+pvw+h+alAAYNZriscXoPYbFYfMOuul7x4LqCq3s= X-Google-Smtp-Source: ABdhPJzkqe55XhelZPGdx7bNEmiPzU7AnFF686mQ7HZU80/xNp2YUNiDjSt/9Rlu1oo9KYIsZNKAfsgh/W9Q/ifS7JI= X-Received: by 2002:a19:520c:: with SMTP id m12mr2198876lfb.166.1601704711748; Fri, 02 Oct 2020 22:58:31 -0700 (PDT) MIME-Version: 1.0 From: Sachin S Date: Sat, 3 Oct 2020 11:28:21 +0530 Message-ID: Subject: firefox-esr debug build failed on Freebsd 12.1 To: gecko@freebsd.org X-Rspamd-Queue-Id: 4C3GPk0lDgz3cbt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=IO1OqK3Y; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of msachinn7@gmail.com designates 2a00:1450:4864:20::129 as permitted sender) smtp.mailfrom=msachinn7@gmail.com X-Spamd-Result: default: False [-2.92 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.93)[-0.927]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[gecko@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.01)[-1.006]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::129:from]; NEURAL_SPAM_SHORT(0.01)[0.013]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[gecko]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2020 05:58:35 -0000 Hello, I was trying to build a debug version of firefox-esr on Freebsd 12.1. This was basically to check a problem on youtube not able to play the next video while on autoplay. I am using a OSSv4.2 driver for my soundcard, as it's not supported in main sound drivers. So, I disabled all the sound options(alsa, sndio etc.) in firefox config file, enabled debug mode. Below is the error I see, while a release build went fine without any problem. image/decoders/Unified_cpp_image_decoders0.o /usr/local/bin/clang++90 -std=gnu++17 -o Unified_cpp_image_decoders0.o -c -I/usr/ports/www/firefox-esr/work/.build/dist/stl_wrappers -I/usr/ports/www/firefox-esr/w ork/.build/dist/system_wrappers -include /usr/ports/www/firefox-esr/work/firefox-78.3.1/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector- strong -ftrivial-auto-var-init=pattern -DDEBUG=1 -DOS_POSIX=1 -DOS_FREEBSD=1 -DOS_BSD=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_J S_API -I/usr/ports/www/firefox-esr/work/firefox-78.3.1/image/decoders -I/usr/ports/www/firefox-esr/work/.build/image/decoders -I/usr/ports/www/firefox-esr/work/.bui ld/ipc/ipdl/_ipdlheaders -I/usr/ports/www/firefox-esr/work/firefox-78.3.1/ipc/chromium/src -I/usr/ports/www/firefox-esr/work/firefox-78.3.1/ipc/glue -I/usr/ports/ww w/firefox-esr/work/firefox-78.3.1/gfx/2d -I/usr/ports/www/firefox-esr/work/firefox-78.3.1/image -I/usr/ports/www/firefox-esr/work/firefox-78.3.1/gfx/skia -I/usr/por ts/www/firefox-esr/work/firefox-78.3.1/gfx/skia/skia -I/usr/ports/www/firefox-esr/work/.build/dist/include -I/usr/local/include/nspr -I/usr/local/include -I/usr/loc al/include/nss -I/usr/local/include/nspr -I/usr/ports/www/firefox-esr/work/.build/dist/include/nss -I/usr/local/include -I/usr/local/include -I/usr/local/include/pi xman-1 -I/usr/local/include -fPIC -DMOZILLA_CLIENT -include /usr/ports/www/firefox-esr/work/.build/mozilla-config.h -Qunused-arguments -DLIBICONV_PLUG -isystem /usr /local/include -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-construc tor-modified -Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wflo at-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough -Wunused-function -Wunused-variable -Wstring-conversion -Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare -Wtautological-unsigned-zero-compare -Wno-error=tautological-type-limit-compare -Wno-inlin e-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=backend-plugin -Wno-error=return-std-move -Wno-error=atomic-alignment -Wformat -W format-security -Wno-gnu-zero-variadic-macro-arguments -Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -pipe -O3 -DLIBICONV_PLUG -fstack-pr otector-strong -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exce ptions -fno-math-errno -pipe -g -O2 -O3 -fno-omit-frame-pointer -funwind-tables -Wno-error=shadow -fexperimental-new-pass-manager -MD -MP -MF .deps/Unified_cpp_ima ge_decoders0.o.pp Unified_cpp_image_decoders0.cpp In file included from Unified_cpp_image_decoders0.cpp:11: /usr/ports/www/firefox-esr/work/firefox-78.3.1/image/decoders/nsAVIFDecoder.cpp:264:54: error: use of undeclared identifier 'AOM_PLANE_ALPHA' MOZ_ASSERT(img->stride[AOM_PLANE_Y] == img->stride[AOM_PLANE_ALPHA]); ^ /usr/ports/www/firefox-esr/work/firefox-78.3.1/image/decoders/nsAVIFDecoder.cpp:264:54: error: use of undeclared identifier 'AOM_PLANE_ALPHA' 2 errors generated. Could you suggest what can be done? I see that the identifier 'AOM_PLANE_ALPHA' is already defined in a different file as shown below. root@bsd:/usr/ports/www/firefox-esr # find /usr/ports/ -name '*.[h,hpp]' | xargs grep AOM_PLANE_ALPHA /usr/ports/www/firefox-esr/work/firefox-78.3.1/third_party/aom/aom/aom_image.h:#define AOM_PLANE_ALPHA 3 /**< A (Transparency) plane */ I am new to Freebsd world, so can I include the above path in Makefile or is there a different solution? Thanks for reading my mail!! Thanks, Sachin