../third_party/parakeet.cpp/src/backend.hpp fails to compile with error: unknown type name 'int64_t'
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(firefox-esr115 unaffected, firefox-esr153 unaffected, firefox158 wontfix, firefox159 wontfix, firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox158 | --- | wontfix |
| firefox159 | --- | wontfix |
| firefox160 | --- | fixed |
People
(Reporter: herrtimson, Assigned: padenot)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 external file)
|
712.85 KB,
application/gzip
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
I download firefox-157.0_beta3 tarball and compiled it, using clang-23 on linux with musl as libc
Actual results:
the build fails to compile with:
517:48.73 /usr/lib/llvm/23/bin/armv7a-unknown-linux-musleabihf-clang++-23 -std=gnu++20 -o backend.o -c -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox_build/dist/stl_wrappers -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstrict-flex-arrays=1 -DNDEBUG=1 -DTRIMMED=1 -DMOZ_HAS_MOZGLUE -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox_build/third_party/parakeet.cpp -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/llama.cpp -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/llama.cpp/ggml -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/llama.cpp/ggml/include -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/llama.cpp/ggml/src -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/llama.cpp/ggml/src/ggml-cpu -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp/include -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp/src -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox_build/dist/include/nss -I/usr/include/libpng16 -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox_build/mozilla-config.h -mfloat-abi=hard -fno-rtti -pthread -fno-sized-deallocation -fno-aligned-new -ffunction-sections -fdata-sections -fno-math-errno -fno-exceptions -fdiagnostics-absolute-paths -fPIC -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fomit-frame-pointer -O2 -fomit-frame-pointer -funwind-tables -Wall -Wbitfield-enum-conversion -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wimplicit-int-enum-cast -Woctal-prefix-extension -Wpointer-arith -Wshift-bool -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wvector-conversion -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wdeprecated-literal-operator -Winvalid-utf8 -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wformat -Wformat-security -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-vla-cxx-extension -Wno-unknown-warning-option -Wno-character-conversion -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/backend.o.pp -fcolor-diagnostics /var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp/src/backend.cpp
517:52.29 TPW In file included from /var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp/src/backend.cpp:1:
517:52.30 E /var/tmp/portage/www-client/firefox-157.0_beta3/work/firefox-157.0/third_party/parakeet.cpp/src/backend.hpp:116:39: error: unknown type name 'int64_t'
Expected results:
the compressed build log is attached
cstdint header is missing, this patch adds it:
diff --git a/third_party/parakeet.cpp/src/backend.hpp b/third_party/parakeet.cpp/src/backend.hpp
index d534ec9..f17ec23 100644
--- a/third_party/parakeet.cpp/src/backend.hpp
+++ b/third_party/parakeet.cpp/src/backend.hpp
@@ -1,5 +1,6 @@
#pragma once
#include <cstddef>
+#include <cstdint>
#include <functional>
#include <string>
#include <vector>
upstream issue: https://github.com/mudler/parakeet.cpp/issues/70
Updated•2 months ago
|
Comment 2•2 months ago
|
||
:padenot, since you are the author of the regressor, bug 1940906, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 3•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
| Assignee | ||
Comment 4•1 month ago
|
||
Updated•1 month ago
|
Comment 5•1 month ago
|
||
Set release status flags based on info from the regressing bug 1940906
Updated•1 month ago
|
Updated•1 month ago
|
Comment 8•1 month ago
|
||
Backed out for causing lint vendor failures
Backout link: https://hg.mozilla.org/integration/autoland/rev/b278b8ae1cbec3c2108c1440ba05b5f6e16b1342
Comment 10•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
Description
•