https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-geosciences/grass-8.2.0-r2 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 842921 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: ' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_end_reduce' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_end_reduce_nowait' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_end_single' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_for_static_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_for_static_init_4u' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_global_thread_num' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_reduce' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_reduce_nowait' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gmath.8.2.so: undefined reference to `__kmpc_single' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_end_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_end_single' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_for_static_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_for_static_init_4u' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_global_thread_num' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_gpde.8.2.so: undefined reference to `__kmpc_single' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_interpfl.8.2.so: undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_interpfl.8.2.so: undefined reference to `__kmpc_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_interpfl.8.2.so: undefined reference to `__kmpc_dispatch_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_interpfl.8.2.so: undefined reference to `__kmpc_dispatch_next_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_interpfl.8.2.so: undefined reference to `__kmpc_end_critical' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_interpfl.8.2.so: undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/lib/libgrass_sim.8.2.so: undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: execute.c:(.text+0x37b): undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: execute.c:(.text+0x39b): undefined reference to `__kmpc_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: execute.c:(.text+0x425): undefined reference to `__kmpc_end_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x1039): undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x105d): undefined reference to `__kmpc_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x1113): undefined reference to `__kmpc_end_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x1133): undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x114d): undefined reference to `__kmpc_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x11d5): undefined reference to `__kmpc_end_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x15eb): undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x1614): undefined reference to `__kmpc_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x1880): undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x188e): undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x1926): undefined reference to `__kmpc_end_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x44f5): undefined reference to `__kmpc_dispatch_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x4517): undefined reference to `__kmpc_dispatch_next_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x4585): undefined reference to `__kmpc_dispatch_next_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x4afd): undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x4bae): undefined reference to `__kmpc_reduce' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x4e17): undefined reference to `__kmpc_end_reduce' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x4e26): undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x50da): undefined reference to `__kmpc_reduce' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x53ca): undefined reference to `__kmpc_end_reduce' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x54cf): undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x6a1): undefined reference to `__kmpc_fork_call' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x6b6): undefined reference to `__kmpc_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0x748): undefined reference to `__kmpc_end_serialized_parallel' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0xac0): undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0xad4): undefined reference to `__kmpc_barrier' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0xc4a): undefined reference to `__kmpc_for_static_init_4' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0xc89): undefined reference to `__kmpc_for_static_fini' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: main.c:(.text+0xc97): undefined reference to `__kmpc_barrier' Details: <[Errno 2] No such file or directory: 'g.gui.dbmgr'> Details: <[Errno 2] No such file or directory: 'i.atcorr'> Details: <[Errno 2] No such file or directory: 'i.cca'> Details: <[Errno 2] No such file or directory: 'i.fft'> Details: <[Errno 2] No such file or directory: 'i.gensigset'> Details: <[Errno 2] No such file or directory: 'i.ifft'> Details: <[Errno 2] No such file or directory: 'i.pca'> Details: <[Errno 2] No such file or directory: 'i.smap'> Details: <[Errno 2] No such file or directory: 'i.zc'> Details: <[Errno 2] No such file or directory: 'm.nviz.image'> Details: <[Errno 2] No such file or directory: 'r.gwflow'> Details: <[Errno 2] No such file or directory: 'r.in.lidar'> Details: <[Errno 2] No such file or directory: 'r.in.pdal'> Details: <[Errno 2] No such file or directory: 'r.in.png'> Details: <[Errno 2] No such file or directory: 'r.mfilter'> Details: <[Errno 2] No such file or directory: 'r.neighbors'> Details: <[Errno 2] No such file or directory: 'r.out.png'> Details: <[Errno 2] No such file or directory: 'r.param.scale'> Details: <[Errno 2] No such file or directory: 'r.patch'> Details: <[Errno 2] No such file or directory: 'r.resamp.bspline'> Details: <[Errno 2] No such file or directory: 'r.resamp.rst'> Details: <[Errno 2] No such file or directory: 'r.series'> Details: <[Errno 2] No such file or directory: 'r.series.accumulate'> Details: <[Errno 2] No such file or directory: 'r.sim.sediment'> Details: <[Errno 2] No such file or directory: 'r.sim.water'> Details: <[Errno 2] No such file or directory: 'r.slope.aspect'> Details: <[Errno 2] No such file or directory: 'r.solute.transport'> Details: <[Errno 2] No such file or directory: 'r.sun'> Details: <[Errno 2] No such file or directory: 'r.surf.fractal'> Details: <[Errno 2] No such file or directory: 'r.surf.gauss'> Details: <[Errno 2] No such file or directory: 'r.terraflow'> Details: <[Errno 2] No such file or directory: 'r.viewshed'> Details: <[Errno 2] No such file or directory: 'r3.gwflow'> Details: <[Errno 2] No such file or directory: 'v.buffer'> Details: <[Errno 2] No such file or directory: 'v.extract'> Details: <[Errno 2] No such file or directory: 'v.in.lidar'> Details: <[Errno 2] No such file or directory: 'v.in.pdal'> Details: <[Errno 2] No such file or directory: 'v.kernel'> Details: <[Errno 2] No such file or directory: 'v.lidar.correction'> Details: <[Errno 2] No such file or directory: 'v.lidar.edgedetection'> Details: <[Errno 2] No such file or directory: 'v.lidar.growing'> Details: <[Errno 2] No such file or directory: 'v.out.postgis'> Details: <[Errno 2] No such file or directory: 'v.outlier'> Details: <[Errno 2] No such file or directory: 'v.rectify'> Details: <[Errno 2] No such file or directory: 'v.surf.bspline'> Details: <[Errno 2] No such file or directory: 'v.surf.rst'> ERROR: /usr/include/bits/byteswap.h:35: Syntax error at '{' ERROR: /usr/include/bits/byteswap.h:39: Syntax error at '&' ERROR: /usr/include/bits/byteswap.h:39: Syntax error at '>>' ERROR: /usr/include/bits/byteswap.h:50: Syntax error at '{' ERROR: /usr/include/bits/byteswap.h:54: Syntax error at '&' ERROR: /usr/include/bits/byteswap.h:71: Syntax error at '{' ERROR: /usr/include/bits/byteswap.h:75: Syntax error at '&' ERROR: /usr/include/bits/uintn-identity.h:34: Syntax error at '{' ERROR: /usr/include/bits/uintn-identity.h:40: Syntax error at '{' ERROR: /usr/include/bits/uintn-identity.h:46: Syntax error at '{' ERROR: /usr/include/gdal/cpl_port.h:1018: Syntax error at ' ERROR: /usr/include/gdal/cpl_port.h:319: Syntax error at ' ERROR: /usr/include/gdal/cpl_port.h:321: Syntax error at ' ERROR: /usr/include/gdal/cpl_port.h:896: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:281: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:308: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:315: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:321: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:330: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:331: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:339: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:397: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:406: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:433: Syntax error at ' ERROR: /usr/include/sys/cdefs.h:80: Syntax error at ' ERROR: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h:32: Syntax error at ')' ERROR: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h:32: Syntax error at ',' ERROR: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h:32: Syntax error at 'GPJ_grass_to_osr' ERROR: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h:33: Syntax error at ')' ERROR: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h:33: Syntax error at ',' ERROR: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/defs/gprojects.h:36: Syntax error at 'OGRSpatialReferenceH' ERROR: <built-in>:342: Syntax error at ' ERROR: <built-in>:343: Syntax error at ' ModuleNotFoundError: No module named 'wx' execute.c:(.text+0x22): undefined reference to `__kmpc_global_thread_num' fatal: not a git repository (or any parent up to mount point /var/tmp) grass.exceptions.CalledModuleError: Module run `d.rast --q map=tmp_grad_rel_4896` ended with an error. main.c:(.text+0x140c): undefined reference to `__kmpc_for_static_init_4u' main.c:(.text+0x20): undefined reference to `__kmpc_global_thread_num' main.c:(.text+0x25): undefined reference to `__kmpc_global_thread_num' main.c:(.text+0x25c7): undefined reference to `__kmpc_fork_call' main.c:(.text+0x2b): undefined reference to `__kmpc_global_thread_num' main.c:(.text+0x3385): undefined reference to `__kmpc_for_static_init_4u' main.c:(.text+0x4488): undefined reference to `__kmpc_barrier' main.c:(.text+0x9f3): undefined reference to `__kmpc_for_static_init_4u' ERROR: clang -E -I/var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include -I/var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include -D__GLIBC_HAVE_LONG_LONG: /var/tmp/portage/sci-geosciences/grass-8.2.0-r2/work/grass-8.2.0/dist.x86_64-pc-linux-gnu/include/grass/gprojects.h:55:14: fatal error: 'ogr_srs_api.h' file not found