Ticket #18537: Build error.txt

File Build error.txt, 16.9 KB (added by Begasus, 5 months ago)

Build errors after changed files for openexr30

Line 
1/Opslag/Haiku/haiku/generated.x86_64> jam EXRTranslator
2Starting build of type regular ...
3AddHaikuImagePackages: package gutenprint8 not available!
4Asked for bios_ia32 target boot platform
5Unknown path to handle adding to image
6Asked for pxe_ia32 target boot platform
7Unknown path to handle adding to image
8...patience...
9...patience...
10...found 13231 target(s)...
11...updating 4 target(s)...
12C++ objects/haiku/x86_64/release/add-ons/translators/exr/EXRGamma.o
13../src/add-ons/translators/exr/EXRGamma.cpp: In function 'float knee(double, double)':
14../src/add-ons/translators/exr/EXRGamma.cpp:19:48: error: 'static T Imath_3_0::Math<T>::log(T) [with T = double]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
15 19 | return float (Imath::Math<double>::log (x * f + 1) / f);
16 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
17In file included from ../src/add-ons/translators/exr/EXRGamma.cpp:9:
18build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:73:14: note: declared here
19 73 | static T log (T x) { return std::log (x); }
20 | ^~~
21../src/add-ons/translators/exr/EXRGamma.cpp: In constructor 'Gamma::Gamma(float, float, float, float, float)':
22../src/add-ons/translators/exr/EXRGamma.cpp:57:35: error: 'static T Imath_3_0::Math<T>::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
23 57 | m (Imath::Math<float>::pow(2, exposure + 2.47393)),
24 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
25build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:88:14: note: declared here
26 88 | static T pow (T x, T y) { return std::pow (x, y); }
27 | ^~~
28../src/add-ons/translators/exr/EXRGamma.cpp:59:36: error: 'static T Imath_3_0::Math<T>::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
29 59 | kl (Imath::Math<float>::pow(2, kneeLow)),
30 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
31build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:88:14: note: declared here
32 88 | static T pow (T x, T y) { return std::pow (x, y); }
33 | ^~~
34../src/add-ons/translators/exr/EXRGamma.cpp:60:46: error: 'static T Imath_3_0::Math<T>::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
35 60 | f (findKneeF (Imath::Math<float>::pow(2, kneeHigh) - kl,
36 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
37build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:88:14: note: declared here
38 88 | static T pow (T x, T y) { return std::pow (x, y); }
39 | ^~~
40../src/add-ons/translators/exr/EXRGamma.cpp:61:40: error: 'static T Imath_3_0::Math<T>::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
41 61 | Imath::Math<float>::pow(2, 3.5) - kl)),
42 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
43build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:88:14: note: declared here
44 88 | static T pow (T x, T y) { return std::pow (x, y); }
45 | ^~~
46../src/add-ons/translators/exr/EXRGamma.cpp:62:43: error: 'static T Imath_3_0::Math<T>::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
47 62 | s (255.0 * Imath::Math<float>::pow(2, -3.5 * g))
48 | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
49build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:88:14: note: declared here
50 88 | static T pow (T x, T y) { return std::pow (x, y); }
51 | ^~~
52../src/add-ons/translators/exr/EXRGamma.cpp: In member function 'float Gamma::operator()(half)':
53../src/add-ons/translators/exr/EXRGamma.cpp:93:37: error: 'static T Imath_3_0::Math<T>::pow(T, T) [with T = float]' is deprecated: use std::math functions [-Werror=deprecated-declarations]
54 93 | x = Imath::Math<float>::pow (x, g);
55 | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
56build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath/ImathMath.h:88:14: note: declared here
57 88 | static T pow (T x, T y) { return std::pow (x, y); }
58 | ^~~
59cc1plus: all warnings being treated as errors
60
61/Opslag/Haiku/haiku/generated.x86_64/cross-tools-x86_64/bin/x86_64-unknown-haiku-gcc -c "../src/add-ons/translators/exr/EXRGamma.cpp" -O2 -Wall -Wno-multichar -Wpointer-arith -Wsign-compare -Wno-ctor-dtor-privacy -Woverloaded-virtual -Werror -Wno-error=unused-but-set-variable -Wno-error=cpp -Wno-error=register -Wno-error=address-of-packed-member -Wno-error=stringop-overread -Wno-error=array-bounds -Wno-error=cast-align -Wno-error=format-truncation -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-builtin-fork -fno-builtin-vfork -nostdinc -DARCH_x86_64 -D__HAIKU_PRIMARY_PACKAGING_ARCH=\"x86_64\" -DHAIKU_DISTRO_COMPATIBILITY_OFFICIAL -DHAIKU_TARGET_PLATFORM_HAIKU -DHAIKU_REGULAR_BUILD -DHAIKU_OFFICIAL_RELEASE -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/add-ons/translators/exr -iquote objects/common/add-ons/translators/exr -iquote objects/haiku_host/x86_64/common/add-ons/translators/exr -iquote objects/haiku/x86_64/common/add-ons/translators/exr -iquote ../src/add-ons/translators/exr/../shared -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++ -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/x86_64-unknown-haiku -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/backward -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/ext -I ../headers/glibc -I ../headers/posix -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/gcc/include -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/gcc/include-fixed -I ../headers -I ../headers/os -I ../headers/os/add-ons -I ../headers/os/add-ons/file_system -I ../headers/os/add-ons/graphics -I ../headers/os/add-ons/input_server -I ../headers/os/add-ons/registrar -I ../headers/os/add-ons/screen_saver -I ../headers/os/add-ons/tracker -I ../headers/os/app -I ../headers/os/device -I ../headers/os/drivers -I ../headers/os/game -I ../headers/os/interface -I ../headers/os/kernel -I ../headers/os/locale -I ../headers/os/media -I ../headers/os/mail -I ../headers/os/midi -I ../headers/os/midi2 -I ../headers/os/net -I ../headers/os/storage -I ../headers/os/support -I ../headers/os/translation -I ../headers/private/. -o "objects/haiku/x86_64/release/add-ons/translators/exr/EXRGamma.o"
62
63...failed C++ objects/haiku/x86_64/release/add-ons/translators/exr/EXRGamma.o ...
64C++ objects/haiku/x86_64/release/add-ons/translators/exr/EXRTranslator.o
65In file included from ../src/add-ons/translators/exr/EXRTranslator.cpp:17:
66../src/add-ons/translators/exr/IStreamWrapper.h:21:25: error: 'Int64' does not name a type; did you mean 'int64'?
67 21 | virtual Int64 tellg();
68 | ^~~~~
69 | int64
70../src/add-ons/translators/exr/IStreamWrapper.h:22:43: error: 'Int64' has not been declared
71 22 | virtual void seekg(Int64 pos);
72 | ^~~~~
73In file included from build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfAttribute.h:18,
74 from build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfHeader.h:26,
75 from build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfRgbaFile.h:23,
76 from ../src/add-ons/translators/exr/EXRTranslator.cpp:16:
77build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfIO.h:90:25: error: 'virtual void Imf_3_0::IStream::seekg(uint64_t)' was hidden [-Werror=overloaded-virtual=]
78 90 | virtual void seekg (uint64_t pos) = 0;
79 | ^~~~~
80../src/add-ons/translators/exr/IStreamWrapper.h:22:37: note: by 'virtual void IStreamWrapper::seekg(int)'
81 22 | virtual void seekg(Int64 pos);
82 | ^~~~~
83../src/add-ons/translators/exr/EXRTranslator.cpp: In member function 'virtual status_t EXRTranslator::DerivedIdentify(BPositionIO*, const translation_format*, BMessage*, translator_info*, uint32)':
84../src/add-ons/translators/exr/EXRTranslator.cpp:92:32: error: cannot declare variable 'istream' to be of abstract type 'IStreamWrapper'
85 92 | IStreamWrapper istream("filename", stream);
86 | ^~~~~~~
87../src/add-ons/translators/exr/IStreamWrapper.h:15:7: note: because the following virtual functions are pure within 'IStreamWrapper':
88 15 | class IStreamWrapper : public IStream {
89 | ^~~~~~~~~~~~~~
90build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfIO.h:82:25: note: 'virtual uint64_t Imf_3_0::IStream::tellg()'
91 82 | virtual uint64_t tellg () = 0;
92 | ^~~~~
93build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfIO.h:90:25: note: 'virtual void Imf_3_0::IStream::seekg(uint64_t)'
94 90 | virtual void seekg (uint64_t pos) = 0;
95 | ^~~~~
96../src/add-ons/translators/exr/EXRTranslator.cpp: In member function 'virtual status_t EXRTranslator::DerivedTranslate(BPositionIO*, const translator_info*, BMessage*, uint32, BPositionIO*, int32)':
97../src/add-ons/translators/exr/EXRTranslator.cpp:124:32: error: cannot declare variable 'istream' to be of abstract type 'IStreamWrapper'
98 124 | IStreamWrapper istream("filename", source);
99 | ^~~~~~~
100cc1plus: all warnings being treated as errors
101
102/Opslag/Haiku/haiku/generated.x86_64/cross-tools-x86_64/bin/x86_64-unknown-haiku-gcc -c "../src/add-ons/translators/exr/EXRTranslator.cpp" -O2 -Wall -Wno-multichar -Wpointer-arith -Wsign-compare -Wno-ctor-dtor-privacy -Woverloaded-virtual -Werror -Wno-error=unused-but-set-variable -Wno-error=cpp -Wno-error=register -Wno-error=address-of-packed-member -Wno-error=stringop-overread -Wno-error=array-bounds -Wno-error=cast-align -Wno-error=format-truncation -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-builtin-fork -fno-builtin-vfork -nostdinc -DARCH_x86_64 -D__HAIKU_PRIMARY_PACKAGING_ARCH=\"x86_64\" -DHAIKU_DISTRO_COMPATIBILITY_OFFICIAL -DHAIKU_TARGET_PLATFORM_HAIKU -DHAIKU_REGULAR_BUILD -DHAIKU_OFFICIAL_RELEASE -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/add-ons/translators/exr -iquote objects/common/add-ons/translators/exr -iquote objects/haiku_host/x86_64/common/add-ons/translators/exr -iquote objects/haiku/x86_64/common/add-ons/translators/exr -iquote ../src/add-ons/translators/exr/../shared -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++ -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/x86_64-unknown-haiku -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/backward -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/ext -I ../headers/glibc -I ../headers/posix -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/gcc/include -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/gcc/include-fixed -I ../headers -I ../headers/os -I ../headers/os/add-ons -I ../headers/os/add-ons/file_system -I ../headers/os/add-ons/graphics -I ../headers/os/add-ons/input_server -I ../headers/os/add-ons/registrar -I ../headers/os/add-ons/screen_saver -I ../headers/os/add-ons/tracker -I ../headers/os/app -I ../headers/os/device -I ../headers/os/drivers -I ../headers/os/game -I ../headers/os/interface -I ../headers/os/kernel -I ../headers/os/locale -I ../headers/os/media -I ../headers/os/mail -I ../headers/os/midi -I ../headers/os/midi2 -I ../headers/os/net -I ../headers/os/storage -I ../headers/os/support -I ../headers/os/translation -I ../headers/private/. -o "objects/haiku/x86_64/release/add-ons/translators/exr/EXRTranslator.o"
103
104...failed C++ objects/haiku/x86_64/release/add-ons/translators/exr/EXRTranslator.o ...
105C++ objects/haiku/x86_64/release/add-ons/translators/exr/IStreamWrapper.o
106In file included from ../src/add-ons/translators/exr/IStreamWrapper.cpp:7:
107../src/add-ons/translators/exr/IStreamWrapper.h:21:25: error: 'Int64' does not name a type; did you mean 'int64'?
108 21 | virtual Int64 tellg();
109 | ^~~~~
110 | int64
111../src/add-ons/translators/exr/IStreamWrapper.h:22:43: error: 'Int64' has not been declared
112 22 | virtual void seekg(Int64 pos);
113 | ^~~~~
114In file included from ../src/add-ons/translators/exr/IStreamWrapper.h:9:
115build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR/ImfIO.h:90:25: error: 'virtual void Imf_3_0::IStream::seekg(uint64_t)' was hidden [-Werror=overloaded-virtual=]
116 90 | virtual void seekg (uint64_t pos) = 0;
117 | ^~~~~
118../src/add-ons/translators/exr/IStreamWrapper.h:22:37: note: by 'virtual void IStreamWrapper::seekg(int)'
119 22 | virtual void seekg(Int64 pos);
120 | ^~~~~
121../src/add-ons/translators/exr/IStreamWrapper.cpp:32:1: error: 'Int64' does not name a type; did you mean 'int64'?
122 32 | Int64
123 | ^~~~~
124 | int64
125../src/add-ons/translators/exr/IStreamWrapper.cpp:40:1: error: variable or field 'seekg' declared void
126 40 | IStreamWrapper::seekg(Int64 pos)
127 | ^~~~~~~~~~~~~~
128../src/add-ons/translators/exr/IStreamWrapper.cpp:40:23: error: 'Int64' was not declared in this scope; did you mean 'int64'?
129 40 | IStreamWrapper::seekg(Int64 pos)
130 | ^~~~~
131 | int64
132cc1plus: all warnings being treated as errors
133
134/Opslag/Haiku/haiku/generated.x86_64/cross-tools-x86_64/bin/x86_64-unknown-haiku-gcc -c "../src/add-ons/translators/exr/IStreamWrapper.cpp" -O2 -Wall -Wno-multichar -Wpointer-arith -Wsign-compare -Wno-ctor-dtor-privacy -Woverloaded-virtual -Werror -Wno-error=unused-but-set-variable -Wno-error=cpp -Wno-error=register -Wno-error=address-of-packed-member -Wno-error=stringop-overread -Wno-error=array-bounds -Wno-error=cast-align -Wno-error=format-truncation -fno-strict-aliasing -fno-delete-null-pointer-checks -fno-builtin-fork -fno-builtin-vfork -nostdinc -DARCH_x86_64 -D__HAIKU_PRIMARY_PACKAGING_ARCH=\"x86_64\" -DHAIKU_DISTRO_COMPATIBILITY_OFFICIAL -DHAIKU_TARGET_PLATFORM_HAIKU -DHAIKU_REGULAR_BUILD -DHAIKU_OFFICIAL_RELEASE -iquote ../build/user_config_headers -iquote ../build/config_headers -iquote ../src/add-ons/translators/exr -iquote objects/common/add-ons/translators/exr -iquote objects/haiku_host/x86_64/common/add-ons/translators/exr -iquote objects/haiku/x86_64/common/add-ons/translators/exr -iquote ../src/add-ons/translators/exr/../shared -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers/OpenEXR -I build_packages/openexr30-3.0.5-1-x86_64/develop/headers/Imath -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++ -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/x86_64-unknown-haiku -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/backward -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/c++/ext -I ../headers/glibc -I ../headers/posix -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/gcc/include -I build_packages/gcc_syslibs_devel-13.2.0_2023_08_10-3-x86_64/develop/headers/gcc/include-fixed -I ../headers -I ../headers/os -I ../headers/os/add-ons -I ../headers/os/add-ons/file_system -I ../headers/os/add-ons/graphics -I ../headers/os/add-ons/input_server -I ../headers/os/add-ons/registrar -I ../headers/os/add-ons/screen_saver -I ../headers/os/add-ons/tracker -I ../headers/os/app -I ../headers/os/device -I ../headers/os/drivers -I ../headers/os/game -I ../headers/os/interface -I ../headers/os/kernel -I ../headers/os/locale -I ../headers/os/media -I ../headers/os/mail -I ../headers/os/midi -I ../headers/os/midi2 -I ../headers/os/net -I ../headers/os/storage -I ../headers/os/support -I ../headers/os/translation -I ../headers/private/. -o "objects/haiku/x86_64/release/add-ons/translators/exr/IStreamWrapper.o"
135
136...failed C++ objects/haiku/x86_64/release/add-ons/translators/exr/IStreamWrapper.o ...
137
138BUILD FAILURE:
139...failed updating 3 target(s)...
140...skipped 1 target(s)...