pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: firefox fails to build on netbsd-8 amd64



nia <nia%NetBSD.org@localhost> writes:

> BUILDLINK_API_DEPENDS.MesaLib+=	MesaLib>=17.2.0

Adding that makes MesaLib 20 get built and bl3d in.

  Index: mozilla-common.mk
  ===================================================================
  RCS file: /cvsroot/pkgsrc/www/firefox/mozilla-common.mk,v
  retrieving revision 1.171
  diff -u -p -r1.171 mozilla-common.mk
  --- mozilla-common.mk	17 Jun 2020 17:54:26 -0000	1.171
  +++ mozilla-common.mk	22 Jun 2020 16:00:02 -0000
  @@ -229,6 +229,7 @@ BUILDLINK_API_DEPENDS.nss+=	nss>=3.53
   .include "../../devel/nss/buildlink3.mk"
   .include "../../devel/zlib/buildlink3.mk"
   #.include "../../mk/jpeg.buildlink3.mk"
  +BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=17.2.0
   .include "../../graphics/MesaLib/buildlink3.mk"
   #BUILDLINK_API_DEPENDS.cairo+=	cairo>=1.10.2nb4
   #.include "../../graphics/cairo/buildlink3.mk"

OK to commit that?

Things get further now, failing at with the following:

AR_x86_64-unknown-netbsd = None
AR_x86_64_unknown_netbsd = Some("/usr/bin/ar")
running: "/usr/bin/ar" "crs" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/libmesa.a" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/mesa/program/dummy_errors.o" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/mesa/program/symbol_table.o" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/mesa/main/extensions_table.o" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/mesa/main/imports.o" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/compiler/shader_enums.o"
exit code: 0
cargo:rustc-link-lib=static=mesa
cargo:rustc-link-search=native=/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out
TARGET = Some("x86_64-unknown-netbsd")
OPT_LEVEL = Some("2")
HOST = Some("x86_64-unknown-netbsd")
CXX_x86_64-unknown-netbsd = None
CXX_x86_64_unknown_netbsd = Some(" /tmp/work/www/firefox/work/.cwrapper/bin/c++ -std=gnu++17")
CXXFLAGS_x86_64-unknown-netbsd = None
CXXFLAGS_x86_64_unknown_netbsd = None
HOST_CXXFLAGS = None
CXXFLAGS = Some("-O2 -D_GLIBCXX_INCLUDE_NEXT_C_HEADERS -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/ffmpeg4 -I/usr/pkg/include/freetype2")
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
running: "/tmp/work/www/firefox/work/.cwrapper/bin/c++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-O2" "-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS" "-D_FORTIFY_SOURCE=2" "-I/usr/pkg/include" "-I/usr/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss" "-I/usr/X11R7/include" "-I/usr/X11R7/include/libdrm" "-I/usr/pkg/include/glib-2.0" "-I/usr/pkg/include/gio-unix-2.0" "-I/usr/pkg/lib/glib-2.0/include" "-I/usr/pkg/include/ffmpeg4" "-I/usr/pkg/include/freetype2" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-o" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/compiler/glsl_types.o" "-c" "glsl-optimizer/src/compiler/glsl_types.cpp"
cargo:warning=clang-10: warning: -Wl,-rpath,/usr/pkg/gcc8/lib: 'linker' input unused [-Wunused-command-line-argument]
cargo:warning=clang-10: warning: argument unused during compilation: '-L/usr/pkg/gcc8/lib' [-Wunused-command-line-argument]
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:374:14: error: use of undeclared identifier 'uint16_t_type'
cargo:warning=      return uint16_t_type;
cargo:warning=             ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:376:14: error: use of undeclared identifier 'uint8_t_type'
cargo:warning=      return uint8_t_type;
cargo:warning=             ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:380:14: error: use of undeclared identifier 'int16_t_type'; did you mean '__int16_t_type'?
cargo:warning=      return int16_t_type;
cargo:warning=             ^~~~~~~~~~~~
cargo:warning=             __int16_t_type
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:50:1: note: '__int16_t_type' declared here
cargo:warning=DECL_VEC_TYPE(int16_t,   i16vec, GLSL_TYPE_INT16,   GL_INT16, _NV)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:35:4: note: expanded from macro 'DECL_VEC_TYPE'
cargo:warning=   DECL_TYPE(stype,      etype ##__VA_ARGS__,         btype, 1, 1)   \
cargo:warning=   ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.h:344:34: note: expanded from macro 'DECL_TYPE'
cargo:warning=   static const glsl_type *const NAME##_type;
cargo:warning=                                 ^
cargo:warning=<scratch space>:3:1: note: expanded from here
cargo:warning=__int16_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:382:14: error: use of undeclared identifier 'int8_t_type'; did you mean '__int8_t_type'?
cargo:warning=      return int8_t_type;
cargo:warning=             ^~~~~~~~~~~
cargo:warning=             __int8_t_type
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:52:1: note: '__int8_t_type' declared here
cargo:warning=DECL_VEC_TYPE(int8_t,    i8vec,  GLSL_TYPE_INT8,    GL_INT8, _NV)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:35:4: note: expanded from macro 'DECL_VEC_TYPE'
cargo:warning=   DECL_TYPE(stype,      etype ##__VA_ARGS__,         btype, 1, 1)   \
cargo:warning=   ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.h:344:34: note: expanded from macro 'DECL_TYPE'
cargo:warning=   static const glsl_type *const NAME##_type;
cargo:warning=                                 ^
cargo:warning=<scratch space>:39:1: note: expanded from here
cargo:warning=__int8_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:392:14: error: use of undeclared identifier 'uint64_t_type'
cargo:warning=      return uint64_t_type;
cargo:warning=             ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:394:14: error: use of undeclared identifier 'int64_t_type'; did you mean '__int64_t_type'?
cargo:warning=      return int64_t_type;
cargo:warning=             ^~~~~~~~~~~~
cargo:warning=             __int64_t_type
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:48:1: note: '__int64_t_type' declared here
cargo:warning=DECL_VEC_TYPE(int64_t,   i64vec, GLSL_TYPE_INT64,   GL_INT64, _ARB)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:35:4: note: expanded from macro 'DECL_VEC_TYPE'
cargo:warning=   DECL_TYPE(stype,      etype ##__VA_ARGS__,         btype, 1, 1)   \
cargo:warning=   ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.h:344:34: note: expanded from macro 'DECL_TYPE'
cargo:warning=   static const glsl_type *const NAME##_type;
cargo:warning=                                 ^
cargo:warning=<scratch space>:220:1: note: expanded from here
cargo:warning=__int64_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:612:1: error: use of undeclared identifier 'int64_t_type'; did you mean '__int64_t_type'?
cargo:warning=VECN(components, int64_t, i64vec)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:599:7: note: expanded from macro 'VECN'
cargo:warning=      sname ## _type, vname ## 2_type,           \
cargo:warning=      ^
cargo:warning=<scratch space>:79:1: note: expanded from here
cargo:warning=int64_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:48:1: note: '__int64_t_type' declared here
cargo:warning=DECL_VEC_TYPE(int64_t,   i64vec, GLSL_TYPE_INT64,   GL_INT64, _ARB)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:35:4: note: expanded from macro 'DECL_VEC_TYPE'
cargo:warning=   DECL_TYPE(stype,      etype ##__VA_ARGS__,         btype, 1, 1)   \
cargo:warning=   ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.h:344:34: note: expanded from macro 'DECL_TYPE'
cargo:warning=   static const glsl_type *const NAME##_type;
cargo:warning=                                 ^
cargo:warning=<scratch space>:220:1: note: expanded from here
cargo:warning=__int64_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:613:1: error: use of undeclared identifier 'uint64_t_type'
cargo:warning=VECN(components, uint64_t, u64vec)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:599:7: note: expanded from macro 'VECN'
cargo:warning=      sname ## _type, vname ## 2_type,           \
cargo:warning=      ^
cargo:warning=<scratch space>:85:1: note: expanded from here
cargo:warning=uint64_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:614:1: error: use of undeclared identifier 'int16_t_type'; did you mean '__int16_t_type'?
cargo:warning=VECN(components, int16_t, i16vec)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:599:7: note: expanded from macro 'VECN'
cargo:warning=      sname ## _type, vname ## 2_type,           \
cargo:warning=      ^
cargo:warning=<scratch space>:91:1: note: expanded from here
cargo:warning=int16_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:50:1: note: '__int16_t_type' declared here
cargo:warning=DECL_VEC_TYPE(int16_t,   i16vec, GLSL_TYPE_INT16,   GL_INT16, _NV)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:35:4: note: expanded from macro 'DECL_VEC_TYPE'
cargo:warning=   DECL_TYPE(stype,      etype ##__VA_ARGS__,         btype, 1, 1)   \
cargo:warning=   ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.h:344:34: note: expanded from macro 'DECL_TYPE'
cargo:warning=   static const glsl_type *const NAME##_type;
cargo:warning=                                 ^
cargo:warning=<scratch space>:3:1: note: expanded from here
cargo:warning=__int16_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:615:1: error: use of undeclared identifier 'uint16_t_type'
cargo:warning=VECN(components, uint16_t, u16vec)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:599:7: note: expanded from macro 'VECN'
cargo:warning=      sname ## _type, vname ## 2_type,           \
cargo:warning=      ^
cargo:warning=<scratch space>:97:1: note: expanded from here
cargo:warning=uint16_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:616:1: error: use of undeclared identifier 'int8_t_type'; did you mean '__int8_t_type'?
cargo:warning=VECN(components, int8_t, i8vec)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:599:7: note: expanded from macro 'VECN'
cargo:warning=      sname ## _type, vname ## 2_type,           \
cargo:warning=      ^
cargo:warning=<scratch space>:103:1: note: expanded from here
cargo:warning=int8_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:52:1: note: '__int8_t_type' declared here
cargo:warning=DECL_VEC_TYPE(int8_t,    i8vec,  GLSL_TYPE_INT8,    GL_INT8, _NV)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/builtin_type_macros.h:35:4: note: expanded from macro 'DECL_VEC_TYPE'
cargo:warning=   DECL_TYPE(stype,      etype ##__VA_ARGS__,         btype, 1, 1)   \
cargo:warning=   ^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.h:344:34: note: expanded from macro 'DECL_TYPE'
cargo:warning=   static const glsl_type *const NAME##_type;
cargo:warning=                                 ^
cargo:warning=<scratch space>:39:1: note: expanded from here
cargo:warning=__int8_t_type
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:617:1: error: use of undeclared identifier 'uint8_t_type'
cargo:warning=VECN(components, uint8_t, u8vec)
cargo:warning=^
cargo:warning=glsl-optimizer/src/compiler/glsl_types.cpp:599:7: note: expanded from macro 'VECN'
cargo:warning=      sname ## _type, vname ## 2_type,           \
cargo:warning=      ^
cargo:warning=<scratch space>:109:1: note: expanded from here
cargo:warning=uint8_t_type
cargo:warning=^
cargo:warning=12 errors generated.
exit code: 1

--- stderr


error occurred: Command "/tmp/work/www/firefox/work/.cwrapper/bin/c++" "-std=gnu++17" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-O2" "-D_GLIBCXX_INCLUDE_NEXT_C_HEADERS" "-D_FORTIFY_SOURCE=2" "-I/usr/pkg/include" "-I/usr/include" "-I/usr/pkg/include/nspr" "-I/usr/pkg/include/nss/nss" "-I/usr/X11R7/include" "-I/usr/X11R7/include/libdrm" "-I/usr/pkg/include/glib-2.0" "-I/usr/pkg/include/gio-unix-2.0" "-I/usr/pkg/lib/glib-2.0/include" "-I/usr/pkg/include/ffmpeg4" "-I/usr/pkg/include/freetype2" "-I" "glsl-optimizer/include" "-I" "glsl-optimizer/src/mesa" "-I" "glsl-optimizer/src/mapi" "-I" "glsl-optimizer/src/compiler" "-I" "glsl-optimizer/src/compiler/glsl" "-I" "glsl-optimizer/src/gallium/auxiliary" "-I" "glsl-optimizer/src/gallium/include" "-I" "glsl-optimizer/src" "-I" "glsl-optimizer/src/util" "-D__STDC_FORMAT_MACROS" "-DHAVE_PTHREAD" "-DHAVE_TIMESPEC_GET" "-o" "/tmp/work/www/firefox/work/build/release/build/glslopt-46a925399a15ea01/out/glsl-optimizer/src/compiler/glsl_types.o" "-c" "glsl-optimizer/src/compiler/glsl_types.cpp" with args "c++" did not execute successfully (status code exit code: 1).



gmake[3]: *** [/tmp/work/www/firefox/work/firefox-77.0.1/config/makefiles/rust.mk:297: force-cargo-library-build] Error 101
gmake[3]: Leaving directory '/tmp/work/www/firefox/work/build/toolkit/library/rust'
gmake[2]: *** [/tmp/work/www/firefox/work/firefox-77.0.1/config/recurse.mk:74: toolkit/library/rust/target] Error 2
gmake[2]: Leaving directory '/tmp/work/www/firefox/work/build'
gmake[1]: *** [/tmp/work/www/firefox/work/firefox-77.0.1/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/tmp/work/www/firefox/work/build'
gmake: *** [/tmp/work/www/firefox/work/firefox-77.0.1/config/rules.mk:394: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/firefox


Home | Main Index | Thread Index | Old Index