Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904268 - www-client/firefox-{102.9.0,102.10.0} ESR fails to compile (GCC 13) with error: no member named 'int32_t' in namespace 'std'
Summary: www-client/firefox-{102.9.0,102.10.0} ESR fails to compile (GCC 13) with erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-04-13 14:02 UTC by Adrien Dessemond
Modified: 2023-04-14 09:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build.log (compressed) (build.log.xz,280.63 KB, application/x-xz)
2023-04-13 14:06 UTC, Adrien Dessemond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Dessemond 2023-04-13 14:02:48 UTC
While re-testing bug #902025 I have another compilation error:

8 0:15.58 /usr/lib/llvm/15/bin/x86_64-pc-linux-gnu-clang++ -std=gnu++17 -o DocAccessibleWrap.o -c  -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dist/system_wrappers -include /var/tmp/p
ortage/www-client/firefox-102.10.0/work/firefox-102.10.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_
JS_API -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/atk -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/accessible/atk -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/base -I/var/tmp/portage/www-client/fi
refox-102.10.0/work/firefox-102.10.0/accessible/generic -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/html -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/ipc -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.
10.0/accessible/ipc/other -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/xpcom -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/xul -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/layout/generic -I/var/tm
p/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/other-licenses/atk-1.0 -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/widget -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/widget/gtk -I/var/tmp/portage/www-client/firefox-102.10.0/wor
k/firefox_build/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-clie
nt/firefox-102.10.0/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/mozilla-config.h -Qunused-arguments -Qunused-arguments -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wemp
ty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs
 -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wenum-compare-conditional -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -W
no-error=backend-plugin -Wno-error=free-nonheap-object -Wno-error=return-std-move -Wno-error=atomic-alignment -Wno-error=deprecated-copy -Wformat -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi -Wthread-safety -Wno-unknown-warning-option -fno-sized-deallocation -fno-al
igned-new -pipe -march=native -fomit-frame-pointer -fcf-protection=return -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O3 -fomit-frame-pointer -funwind-tables -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/incl
ude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I
/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0/unix-print -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wno-error=unused-function -Wno-
unused-local-typedefs -fno-strict-aliasing -ffp-contract=off  -MD -MP -MF .deps/DocAccessibleWrap.o.pp  -fcolor-diagnostics  /var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/accessible/atk/DocAccessibleWrap.cpp
8 0:15.58 accessible/atk/Platform.o
8 0:15.67 In file included from /var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/dom/canvas/DrawTargetWebgl.cpp:7:
8 0:15.67 In file included from /var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/dom/canvas/DrawTargetWebglInternal.h:10:
8 0:15.67 In file included from /var/tmp/portage/www-client/firefox-102.10.0/work/firefox-102.10.0/dom/canvas/DrawTargetWebgl.h:10:
8 0:15.67 In file included from /var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dist/include/mozilla/gfx/2D.h:12:
8 0:15.67 /var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dist/include/mozilla/gfx/Rect.h:327:47: error: no member named 'int32_t' in namespace 'std'
8 0:15.67   float min = (float)std::numeric_limits<std::int32_t>::min();
8 0:15.67                                          ~~~~~^
8 0:15.67 /var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dist/include/mozilla/gfx/Rect.h:328:47: error: no member named 'int32_t' in namespace 'std'
8 0:15.67   float max = (float)std::numeric_limits<std::int32_t>::max();
8 0:15.67                                          ~~~~~^
8 0:15.69 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/browser/components/about'
8 0:15.70 gmake[4]: Entering directory '/var/tmp/portage/www-client/firefox-102.10.0/work/firefox_build/dom/console'
Comment 1 Adrien Dessemond 2023-04-13 14:06:33 UTC
Created attachment 859992 [details]
Full build.log (compressed)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-13 22:31:34 UTC
We're approaching GCC 13 being released so I guess it's worth chasing up those backports upstream now.
Comment 3 Larry the Git Cow gentoo-dev 2023-04-14 09:17:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b5c3433426186756fa317139510d84275fdeab

commit 60b5c3433426186756fa317139510d84275fdeab
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2023-04-14 09:16:53 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-04-14 09:17:43 +0000

    www-client/firefox: add gcc-13 patch to 102esr
    
    Closes: https://bugs.gentoo.org/902025
    Closes: https://bugs.gentoo.org/904268
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 www-client/firefox/Manifest                | 1 +
 www-client/firefox/firefox-102.10.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)