nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.13k stars 175 forks source link

[nix] Error: Freetype 2 isn't installed correctly. #287

Closed Resident-Fortress closed 6 months ago

Resident-Fortress commented 10 months ago

I am trying to add TF2 source code into this existing project but when I try to run the ./waf command I get this error: freetype2 isn't installed correctly. Make sure you installed proper development package for target architecture (complete log in /home/deck/Downloads/source-engine/build/config.log) And before that it says a freetype2 sanity check has failed. (Yes I am compiling this on my Steam Deck I could care less.) How do I fix this?

config.log posted below:

project source-engine (1.0) configured on Wed Sep 6 20:55:04 2023 by

waf 2.0.22 (abi 20, python 30a08f0 on linux)

using ./waf configure -T release -f -p --disable-warns --prefix= --build-games=tf

#

Setting top to /home/deck/Downloads/source-engine

Setting out to /home/deck/Downloads/source-engine/build

Build type release

LTO build no

PolyOpt build no

Checking for 'gcc' (C compiler) find program=['gcc', 'cc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='CC' -> ['/usr/bin/gcc'] ['/usr/bin/gcc', '-dM', '-E', '-'] out: #define __SSP_STRONG__ 3

define DBL_MIN_EXP (-1021)

define UINT_LEAST16_MAX 0xffff

define __FLT16_HAS_QUIET_NAN__ 1

define __ATOMIC_ACQUIRE 2

define __FLT128_MAX_10_EXP__ 4932

define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F

define __GCC_IEC_559_COMPLEX 2

define UINT_LEAST8_TYPE unsigned char

define __SIZEOF_FLOAT80__ 16

define __INTMAX_C(c) c ## L

define __CHAR_BIT__ 8

define __UINT8_MAX__ 0xff

define __SCHAR_WIDTH__ 8

define __WINT_MAX__ 0xffffffffU

define FLT32_MIN_EXP (-125)

define ORDER_LITTLE_ENDIAN 1234

define __SIZE_MAX__ 0xffffffffffffffffUL

define __WCHAR_MAX__ 0x7fffffff

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1

define __GCC_ATOMIC_CHAR_LOCK_FREE 2

define __GCC_IEC_559 2

define FLT32X_DECIMAL_DIG 17

define FLT_EVAL_METHOD 0

define FLT64_DECIMAL_DIG 17

define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2

define UINT_FAST64_MAX 0xffffffffffffffffUL

define SIG_ATOMIC_TYPE int

define __DBL_MIN_10_EXP__ (-307)

define FINITE_MATH_ONLY 0

define FLT32X_MAX_EXP 1024

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1

define FLT32_HAS_DENORM 1

define UINT_FAST8_MAX 0xff

define __FLT32_MAX_10_EXP__ 38

define DEC64_MAX_EXP 385

define __INT8_C(c) c

define INT_LEAST8_WIDTH 8

define UINT_LEAST64_MAX 0xffffffffffffffffUL

define __SHRT_MAX__ 0x7fff

define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L

define __FLT64X_MAX_10_EXP__ 4932

define __LDBL_IS_IEC_60559__ 2

define __FLT64X_HAS_QUIET_NAN__ 1

define UINT_LEAST8_MAX 0xff

define __GCC_ATOMIC_BOOL_LOCK_FREE 2

define FLT128_DENORM_MIN 6.47517511943802511092443895822764655e-4966F128

define __UINTMAX_TYPE__ long unsigned int

define __linux 1

define __DEC32_EPSILON__ 1E-6DF

define __FLT_EVAL_METHOD_TS_18661_3__ 0

define __unix 1

define __UINT32_MAX__ 0xffffffffU

define DBL_DENORM_MIN ((double)4.94065645841246544176568792868221372e-324L)

define FLT128_MIN_EXP (-16381)

define __WINT_MIN__ 0U

define __FLT128_MIN_10_EXP__ (-4931)

define __FLT32X_IS_IEC_60559__ 2

define INT_LEAST16_WIDTH 16

define __SCHAR_MAX__ 0x7f

define FLT128_MANT_DIG 113

define WCHAR_MIN (-WCHAR_MAX - 1)

define __INT64_C(c) c ## L

define __GCC_ATOMIC_POINTER_LOCK_FREE 2

define FLT32X_MANT_DIG 53

define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x

define __STDC_HOSTED__ 1

define DEC64_MIN_EXP (-382)

define __DBL_DIG__ 15

define __FLT32_DIG__ 6

define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F

define __SHRT_WIDTH__ 16

define __FLT32_IS_IEC_60559__ 2

define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L

define STDC_UTF_16 1

define __DBL_IS_IEC_60559__ 2

define __DEC32_MAX__ 9.999999E96DF

define FLT64X_DENORM_MIN 3.64519953188247460252840593361941982e-4951F64x

define FLT32X_HAS_INFINITY 1

define __INT32_MAX__ 0x7fffffff

define __FLT16_DIG__ 3

define unix 1

define __INT_WIDTH__ 32

define __SIZEOF_LONG__ 8

define __UINT16_C(c) c

define __DECIMAL_DIG__ 21

define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64

define __gnu_linux__ 1

define __FLT128_IS_IEC_60559__ 2

define __FLT64X_MIN_10_EXP__ (-4931)

define __LDBL_HAS_QUIET_NAN__ 1

define FLT16_MIN_EXP (-13)

define FLT64_MANT_DIG 53

define FLT64X_MANT_DIG 64

define GNUC 12

define pie 2

define MMX 1

define FLT_HAS_DENORM 1

define SIZEOF_LONG_DOUBLE 16

define __BIGGEST_ALIGNMENT__ 16

define __FLT64_MAX_10_EXP__ 308

define __FLT16_MAX_10_EXP__ 4

define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L)

define INT_FAST32_MAX 0x7fffffffffffffffL

define DBL_HAS_INFINITY 1

define __SIZEOF_FLOAT__ 4

define __HAVE_SPECULATION_SAFE_VALUE 1

define DEC32_MIN_EXP (-94)

define __INTPTR_WIDTH__ 64

define FLT64X_HAS_INFINITY 1

define UINT_LEAST32_MAX 0xffffffffU

define FLT32X_HAS_DENORM 1

define INT_FAST16_TYPE long int

define MMX_WITH_SSE 1

define LDBL_HAS_DENORM 1

define __SEG_GS 1

define FLT128_HAS_INFINITY 1

define __DEC32_MIN__ 1E-95DF

define DBL_MAX_EXP 1024

define __WCHAR_WIDTH__ 32

define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32

define __DEC128_EPSILON__ 1E-33DL

define FLT16_DECIMAL_DIG 5

define __SSE2_MATH__ 1

define __ATOMIC_HLE_RELEASE 131072

define __PTRDIFF_MAX__ 0x7fffffffffffffffL

define __amd64 1

define __ATOMIC_HLE_ACQUIRE 65536

define LONG_LONG_MAX 0x7fffffffffffffffLL

define SIZEOF_SIZE_T 8

define FLT64X_MIN_EXP (-16381)

define SIZEOF_WINT_T 4

define LONG_LONG_WIDTH 64

define FLT32_MAX_EXP 128

define __GXX_ABI_VERSION 1017

define FLT_MIN_EXP (-125)

define __GCC_HAVE_DWARF2_CFI_ASM 1

define __INT16_MAX__ 0x7fff

define __x86_64 1

define INT_FAST64_TYPE long int

define FLT64_DENORM_MIN 4.94065645841246544176568792868221372e-324F64

define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L)

define FLT16_DENORM_MIN 5.96046447753906250000000000000000000e-8F16

define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128

define FLT64X_NORM_MAX 1.18973149535723176502126385303097021e+4932F64x

define __SIZEOF_POINTER__ 8

define LP64 1

define __DBL_HAS_QUIET_NAN__ 1

define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x

define DECIMAL_BID_FORMAT 1

define FLT64_MIN_EXP (-1021)

define __FLT64_MIN_10_EXP__ (-307)

define __FLT16_MIN_10_EXP__ (-4)

define FLT64X_DECIMAL_DIG 21

define __DEC128_MIN__ 1E-6143DL

define __REGISTER_PREFIX__

define __UINT16_MAX__ 0xffff

define DBL_HAS_DENORM 1

define LDBL_HAS_INFINITY 1

define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32

define __UINT8_TYPE__ unsigned char

define __FLT_DIG__ 6

define __NO_INLINE__ 1

define DEC_EVAL_METHOD 2

define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL

define FLT_MANT_DIG 24

define LDBL_DECIMAL_DIG 21

define VERSION "12.2.0"

define __UINT64_C(c) c ## UL

define INT_LEAST32_MAX 0x7fffffff

define __GCC_ATOMIC_INT_LOCK_FREE 2

define FLT128_MAX_EXP 16384

define FLT32_MANT_DIG 24

define FLOAT_WORD_ORDER ORDER_LITTLE_ENDIAN

define FLT32X_MIN_EXP (-1021)

define FLT128_HAS_DENORM 1

define FLT32_DECIMAL_DIG 9

define __FLT128_DIG__ 33

define __INT32_C(c) c

define __DEC64_EPSILON__ 1E-15DD

define ORDER_PDP_ENDIAN 3412

define DEC128_MIN_EXP (-6142)

define INT_FAST32_TYPE long int

define UINT_LEAST16_TYPE short unsigned int

define unix 1

define __SIZE_TYPE__ long unsigned int

define __UINT64_MAX__ 0xffffffffffffffffUL

define __FLT_IS_IEC_60559__ 2

define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-32LE"

define __FLT64X_DIG__ 18

define __INT8_TYPE__ signed char

define ELF 1

define __GCC_ASM_FLAG_OUTPUTS__ 1

define __UINT32_TYPE__ unsigned int

define __FLT_RADIX__ 2

define INT_LEAST16_TYPE short int

define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L

define __UINTMAX_C(c) c ## UL

define __SSE_MATH__ 1

define __k8 1

define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x

define SIG_ATOMIC_MAX 0x7fffffff

define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2

define USER_LABEL_PREFIX

define SIZEOF_PTRDIFF_T 8

define __LDBL_DIG__ 18

define __FLT64_IS_IEC_60559__ 2

define __x86_64__ 1

define __FLT16_IS_IEC_60559__ 2

define FLT16_MAX_EXP 16

define DEC32_SUBNORMAL_MIN 0.000001E-95DF

define INT_FAST16_MAX 0x7fffffffffffffffL

define __GCC_CONSTRUCTIVE_SIZE 64

define __FLT64_DIG__ 15

define UINT_FAST32_MAX 0xffffffffffffffffUL

define UINT_LEAST64_TYPE long unsigned int

define __FLT16_EPSILON__ 9.76562500000000000000000000000000000e-4F16

define __FLT_HAS_QUIET_NAN__ 1

define __FLT_MAX_10_EXP__ 38

define __LONG_MAX__ 0x7fffffffffffffffL

define FLT64X_HAS_DENORM 1

define DEC128_SUBNORMAL_MIN 0.000000000000000000000000000000001E-6143DL

define FLT_HAS_INFINITY 1

define __GNUC_EXECUTION_CHARSET_NAME "UTF-8"

define UINT_FAST16_TYPE long unsigned int

define __DEC64_MAX__ 9.999999999999999E384DD

define INT_FAST32_WIDTH 64

define __CHAR16_TYPE__ short unsigned int

define __PRAGMA_REDEFINE_EXTNAME 1

define __SIZE_WIDTH__ 64

define __SEG_FS 1

define INT_LEAST16_MAX 0x7fff

define FLT16_NORM_MAX 6.55040000000000000000000000000000000e+4F16

define DEC64_MANT_DIG 16

define __INT64_MAX__ 0x7fffffffffffffffL

define FLT32_DENORM_MIN 1.40129846432481707092372958328991613e-45F32

define SIG_ATOMIC_WIDTH 32

define INT_LEAST64_TYPE long int

define __INT16_TYPE__ short int

define INT_LEAST8_TYPE signed char

define __FLT16_MAX__ 6.55040000000000000000000000000000000e+4F16

define __STDC_VERSION__ 201710L

define __SIZEOF_INT__ 4

define DEC32_MAX_EXP 97

define INT_FAST8_MAX 0x7f

define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128

define __INTPTR_MAX__ 0x7fffffffffffffffL

define linux 1

define __FLT64_HAS_QUIET_NAN__ 1

define __FLT32_MIN_10_EXP__ (-37)

define __FLT32X_DIG__ 15

define __PTRDIFF_WIDTH__ 64

define LDBL_MANT_DIG 64

define FLT64_HAS_INFINITY 1

define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x

define FLT16_HAS_INFINITY 1

define SIG_ATOMIC_MIN (-SIG_ATOMIC_MAX - 1)

define code_model_small 1

define __GCC_ATOMIC_LONG_LOCK_FREE 2

define DEC32_MANT_DIG 7

define FLT16_MANT_DIG 11

define k8 1

define __INTPTR_TYPE__ long int

define __UINT16_TYPE__ short unsigned int

define __WCHAR_TYPE__ int

define pic 2

define __UINTPTR_MAX__ 0xffffffffffffffffUL

define INT_FAST64_WIDTH 64

define INT_FAST64_MAX 0x7fffffffffffffffL

define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1

define FLT_NORM_MAX 3.40282346638528859811704183484516925e+38F

define FLT32_HAS_INFINITY 1

define FLT64X_MAX_EXP 16384

define UINT_FAST64_TYPE long unsigned int

define __INT_MAX__ 0x7fffffff

define linux 1

define __INT64_TYPE__ long int

define FLT_MAX_EXP 128

define ORDER_BIG_ENDIAN 4321

define DBL_MANT_DIG 53

define __SIZEOF_FLOAT128__ 16

define INT_LEAST64_MAX 0x7fffffffffffffffL

define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2

define __DEC64_MIN__ 1E-383DD

define __WINT_TYPE__ unsigned int

define UINT_LEAST32_TYPE unsigned int

define __SIZEOF_SHORT__ 2

define FLT32_NORM_MAX 3.40282346638528859811704183484516925e+38F32

define SSE 1

define LDBL_MIN_EXP (-16381)

define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64

define amd64 1

define __WINT_WIDTH__ 32

define INT_LEAST8_MAX 0x7f

define INT_LEAST64_WIDTH 64

define LDBL_MAX_EXP 16384

define __FLT32X_MAX_10_EXP__ 308

define __SIZEOF_INT128__ 16

define __FLT16_MIN__ 6.10351562500000000000000000000000000e-5F16

define __FLT64X_IS_IEC_60559__ 2

define __LDBL_MAX_10_EXP__ 4932

define __ATOMIC_RELAXED 0

define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L)

define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128

define _LP64 1

define __UINT8_C(c) c

define FLT64_MAX_EXP 1024

define INT_LEAST32_TYPE int

define SIZEOF_WCHAR_T 4

define __UINT64_TYPE__ long unsigned int

define __GNUC_PATCHLEVEL__ 0

define FLT128_NORM_MAX 1.18973149535723176508575932662800702e+4932F128

define FLT64_NORM_MAX 1.79769313486231570814527423731704357e+308F64

define __FLT128_HAS_QUIET_NAN__ 1

define __INTMAX_MAX__ 0x7fffffffffffffffL

define INT_FAST8_TYPE signed char

define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x

define GNUC_STDC_INLINE 1

define FLT64_HAS_DENORM 1

define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32

define FLT16_HAS_DENORM 1

define DBL_DECIMAL_DIG 17

define STDC_UTF_32 1

define INT_FAST8_WIDTH 8

define FXSR 1

define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x

define DBL_NORM_MAX ((double)1.79769313486231570814527423731704357e+308L)

define __BYTE_ORDER ORDER_LITTLE_ENDIAN__

define __GCC_DESTRUCTIVE_SIZE 64

define __INTMAX_WIDTH__ 64

define __UINT32_C(c) c ## U

define FLT_DENORM_MIN 1.40129846432481707092372958328991613e-45F

define __INT8_MAX__ 0x7f

define __LONG_WIDTH__ 64

define PIC 2

define UINT_FAST32_TYPE long unsigned int

define FLT32X_NORM_MAX 1.79769313486231570814527423731704357e+308F32x

define __CHAR32_TYPE__ unsigned int

define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F

define SSE2 1

define __INT32_TYPE__ int

define __SIZEOF_DOUBLE__ 8

define __FLT_MIN_10_EXP__ (-37)

define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64

define INT_LEAST32_WIDTH 32

define __INTMAX_TYPE__ long int

define DEC128_MAX_EXP 6145

define __FLT32X_HAS_QUIET_NAN__ 1

define __ATOMIC_CONSUME 1

define __GNUC_MINOR__ 2

define INT_FAST16_WIDTH 64

define __UINTMAX_MAX__ 0xffffffffffffffffUL

define PIE 2

define FLT32X_DENORM_MIN 4.94065645841246544176568792868221372e-324F32x

define __DBL_MAX_10_EXP__ 308

define LDBL_DENORM_MIN 3.64519953188247460252840593361941982e-4951L

define __INT16_C(c) c

define STDC 1

define __PTRDIFF_TYPE__ long int

define __ATOMIC_SEQ_CST 5

define __FLT32X_MIN_10_EXP__ (-307)

define __UINTPTR_TYPE__ long unsigned int

define DEC64_SUBNORMAL_MIN 0.000000000000001E-383DD

define DEC128_MANT_DIG 34

define __LDBL_MIN_10_EXP__ (-4931)

define SIZEOF_LONG_LONG 8

define FLT128_DECIMAL_DIG 36

define __GCC_ATOMIC_LLONG_LOCK_FREE 2

define __FLT32_HAS_QUIET_NAN__ 1

define FLT_DECIMAL_DIG 9

define UINT_FAST16_MAX 0xffffffffffffffffUL

define LDBL_NORM_MAX 1.18973149535723176502126385303097021e+4932L

define __GCC_ATOMIC_SHORT_LOCK_FREE 2

define UINT_FAST8_TYPE unsigned char

define __ATOMIC_ACQ_REL 4

define __ATOMIC_RELEASE 3

find program=['ar'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='AR' -> ['/usr/bin/ar'] /usr/bin/gcc

Target OS linux

Target CPU x86_64

Target binfmt elf

Checking for 'g++' (C++ compiler) find program=['g++', 'c++'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='CXX' -> ['/usr/bin/g++'] ['/usr/bin/g++', '-dM', '-E', '-'] out: #define __SSP_STRONG__ 3

define DBL_MIN_EXP (-1021)

define UINT_LEAST16_MAX 0xffff

define __FLT16_HAS_QUIET_NAN__ 1

define __ATOMIC_ACQUIRE 2

define __FLT128_MAX_10_EXP__ 4932

define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F

define __GCC_IEC_559_COMPLEX 2

define UINT_LEAST8_TYPE unsigned char

define __SIZEOF_FLOAT80__ 16

define __INTMAX_C(c) c ## L

define __CHAR_BIT__ 8

define __UINT8_MAX__ 0xff

define __SCHAR_WIDTH__ 8

define __WINT_MAX__ 0xffffffffU

define FLT32_MIN_EXP (-125)

define ORDER_LITTLE_ENDIAN 1234

define __SIZE_MAX__ 0xffffffffffffffffUL

define __WCHAR_MAX__ 0x7fffffff

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1

define __GCC_ATOMIC_CHAR_LOCK_FREE 2

define __GCC_IEC_559 2

define FLT32X_DECIMAL_DIG 17

define FLT_EVAL_METHOD 0

define FLT64_DECIMAL_DIG 17

define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2

define UINT_FAST64_MAX 0xffffffffffffffffUL

define SIG_ATOMIC_TYPE int

define __DBL_MIN_10_EXP__ (-307)

define FINITE_MATH_ONLY 0

define FLT32X_MAX_EXP 1024

define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1

define FLT32_HAS_DENORM 1

define UINT_FAST8_MAX 0xff

define __FLT32_MAX_10_EXP__ 38

define DEC64_MAX_EXP 385

define __INT8_C(c) c

define INT_LEAST8_WIDTH 8

define UINT_LEAST64_MAX 0xffffffffffffffffUL

define __SHRT_MAX__ 0x7fff

define __LDBL_MAX__ 1.18973149535723176502126385303097021e+4932L

define __FLT64X_MAX_10_EXP__ 4932

define __LDBL_IS_IEC_60559__ 2

define __FLT64X_HAS_QUIET_NAN__ 1

define UINT_LEAST8_MAX 0xff

define __GCC_ATOMIC_BOOL_LOCK_FREE 2

define FLT128_DENORM_MIN 6.47517511943802511092443895822764655e-4966F128

define __UINTMAX_TYPE__ long unsigned int

define __linux 1

define __DEC32_EPSILON__ 1E-6DF

define __FLT_EVAL_METHOD_TS_18661_3__ 0

define __unix 1

define __UINT32_MAX__ 0xffffffffU

define DBL_DENORM_MIN ((double)4.94065645841246544176568792868221372e-324L)

define FLT128_MIN_EXP (-16381)

define __WINT_MIN__ 0U

define __FLT128_MIN_10_EXP__ (-4931)

define __FLT32X_IS_IEC_60559__ 2

define INT_LEAST16_WIDTH 16

define __SCHAR_MAX__ 0x7f

define FLT128_MANT_DIG 113

define WCHAR_MIN (-WCHAR_MAX - 1)

define __INT64_C(c) c ## L

define __GCC_ATOMIC_POINTER_LOCK_FREE 2

define FLT32X_MANT_DIG 53

define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x

define __STDC_HOSTED__ 1

define DEC64_MIN_EXP (-382)

define __DBL_DIG__ 15

define __FLT32_DIG__ 6

define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F

define __SHRT_WIDTH__ 16

define __FLT32_IS_IEC_60559__ 2

define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L

define STDC_UTF_16 1

define __DBL_IS_IEC_60559__ 2

define __DEC32_MAX__ 9.999999E96DF

define FLT64X_DENORM_MIN 3.64519953188247460252840593361941982e-4951F64x

define FLT32X_HAS_INFINITY 1

define __INT32_MAX__ 0x7fffffff

define __FLT16_DIG__ 3

define unix 1

define __INT_WIDTH__ 32

define __SIZEOF_LONG__ 8

define __UINT16_C(c) c

define __DECIMAL_DIG__ 21

define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64

define __gnu_linux__ 1

define __FLT128_IS_IEC_60559__ 2

define __FLT64X_MIN_10_EXP__ (-4931)

define __LDBL_HAS_QUIET_NAN__ 1

define FLT16_MIN_EXP (-13)

define FLT64_MANT_DIG 53

define FLT64X_MANT_DIG 64

define GNUC 12

define pie 2

define MMX 1

define FLT_HAS_DENORM 1

define SIZEOF_LONG_DOUBLE 16

define __BIGGEST_ALIGNMENT__ 16

define __FLT64_MAX_10_EXP__ 308

define __FLT16_MAX_10_EXP__ 4

define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L)

define INT_FAST32_MAX 0x7fffffffffffffffL

define DBL_HAS_INFINITY 1

define __SIZEOF_FLOAT__ 4

define __HAVE_SPECULATION_SAFE_VALUE 1

define DEC32_MIN_EXP (-94)

define __INTPTR_WIDTH__ 64

define FLT64X_HAS_INFINITY 1

define UINT_LEAST32_MAX 0xffffffffU

define FLT32X_HAS_DENORM 1

define INT_FAST16_TYPE long int

define MMX_WITH_SSE 1

define LDBL_HAS_DENORM 1

define __SEG_GS 1

define FLT128_HAS_INFINITY 1

define __DEC32_MIN__ 1E-95DF

define DBL_MAX_EXP 1024

define __WCHAR_WIDTH__ 32

define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32

define __DEC128_EPSILON__ 1E-33DL

define FLT16_DECIMAL_DIG 5

define __SSE2_MATH__ 1

define __ATOMIC_HLE_RELEASE 131072

define __PTRDIFF_MAX__ 0x7fffffffffffffffL

define __amd64 1

define __ATOMIC_HLE_ACQUIRE 65536

define LONG_LONG_MAX 0x7fffffffffffffffLL

define SIZEOF_SIZE_T 8

define FLT64X_MIN_EXP (-16381)

define SIZEOF_WINT_T 4

define LONG_LONG_WIDTH 64

define FLT32_MAX_EXP 128

define __GXX_ABI_VERSION 1017

define FLT_MIN_EXP (-125)

define __GCC_HAVE_DWARF2_CFI_ASM 1

define __INT16_MAX__ 0x7fff

define __x86_64 1

define INT_FAST64_TYPE long int

define FLT64_DENORM_MIN 4.94065645841246544176568792868221372e-324F64

define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L)

define FLT16_DENORM_MIN 5.96046447753906250000000000000000000e-8F16

define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128

define FLT64X_NORM_MAX 1.18973149535723176502126385303097021e+4932F64x

define __SIZEOF_POINTER__ 8

define LP64 1

define __DBL_HAS_QUIET_NAN__ 1

define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x

define DECIMAL_BID_FORMAT 1

define FLT64_MIN_EXP (-1021)

define __FLT64_MIN_10_EXP__ (-307)

define __FLT16_MIN_10_EXP__ (-4)

define FLT64X_DECIMAL_DIG 21

define __DEC128_MIN__ 1E-6143DL

define __REGISTER_PREFIX__

define __UINT16_MAX__ 0xffff

define DBL_HAS_DENORM 1

define LDBL_HAS_INFINITY 1

define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32

define __UINT8_TYPE__ unsigned char

define __FLT_DIG__ 6

define __NO_INLINE__ 1

define DEC_EVAL_METHOD 2

define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL

define FLT_MANT_DIG 24

define LDBL_DECIMAL_DIG 21

define VERSION "12.2.0"

define __UINT64_C(c) c ## UL

define INT_LEAST32_MAX 0x7fffffff

define __GCC_ATOMIC_INT_LOCK_FREE 2

define FLT128_MAX_EXP 16384

define FLT32_MANT_DIG 24

define FLOAT_WORD_ORDER ORDER_LITTLE_ENDIAN

define FLT32X_MIN_EXP (-1021)

define FLT128_HAS_DENORM 1

define FLT32_DECIMAL_DIG 9

define __FLT128_DIG__ 33

define __INT32_C(c) c

define __DEC64_EPSILON__ 1E-15DD

define ORDER_PDP_ENDIAN 3412

define DEC128_MIN_EXP (-6142)

define INT_FAST32_TYPE long int

define UINT_LEAST16_TYPE short unsigned int

define unix 1

define __SIZE_TYPE__ long unsigned int

define __UINT64_MAX__ 0xffffffffffffffffUL

define __FLT_IS_IEC_60559__ 2

define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-32LE"

define __FLT64X_DIG__ 18

define __INT8_TYPE__ signed char

define ELF 1

define __GCC_ASM_FLAG_OUTPUTS__ 1

define __UINT32_TYPE__ unsigned int

define __FLT_RADIX__ 2

define INT_LEAST16_TYPE short int

define __LDBL_EPSILON__ 1.08420217248550443400745280086994171e-19L

define __UINTMAX_C(c) c ## UL

define __SSE_MATH__ 1

define __k8 1

define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x

define SIG_ATOMIC_MAX 0x7fffffff

define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2

define USER_LABEL_PREFIX

define SIZEOF_PTRDIFF_T 8

define __LDBL_DIG__ 18

define __FLT64_IS_IEC_60559__ 2

define __x86_64__ 1

define __FLT16_IS_IEC_60559__ 2

define FLT16_MAX_EXP 16

define DEC32_SUBNORMAL_MIN 0.000001E-95DF

define INT_FAST16_MAX 0x7fffffffffffffffL

define __GCC_CONSTRUCTIVE_SIZE 64

define __FLT64_DIG__ 15

define UINT_FAST32_MAX 0xffffffffffffffffUL

define UINT_LEAST64_TYPE long unsigned int

define __FLT16_EPSILON__ 9.76562500000000000000000000000000000e-4F16

define __FLT_HAS_QUIET_NAN__ 1

define __FLT_MAX_10_EXP__ 38

define __LONG_MAX__ 0x7fffffffffffffffL

define FLT64X_HAS_DENORM 1

define DEC128_SUBNORMAL_MIN 0.000000000000000000000000000000001E-6143DL

define FLT_HAS_INFINITY 1

define __GNUC_EXECUTION_CHARSET_NAME "UTF-8"

define UINT_FAST16_TYPE long unsigned int

define __DEC64_MAX__ 9.999999999999999E384DD

define INT_FAST32_WIDTH 64

define __CHAR16_TYPE__ short unsigned int

define __PRAGMA_REDEFINE_EXTNAME 1

define __SIZE_WIDTH__ 64

define __SEG_FS 1

define INT_LEAST16_MAX 0x7fff

define FLT16_NORM_MAX 6.55040000000000000000000000000000000e+4F16

define DEC64_MANT_DIG 16

define __INT64_MAX__ 0x7fffffffffffffffL

define FLT32_DENORM_MIN 1.40129846432481707092372958328991613e-45F32

define SIG_ATOMIC_WIDTH 32

define INT_LEAST64_TYPE long int

define __INT16_TYPE__ short int

define INT_LEAST8_TYPE signed char

define __FLT16_MAX__ 6.55040000000000000000000000000000000e+4F16

define __STDC_VERSION__ 201710L

define __SIZEOF_INT__ 4

define DEC32_MAX_EXP 97

define INT_FAST8_MAX 0x7f

define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128

define __INTPTR_MAX__ 0x7fffffffffffffffL

define linux 1

define __FLT64_HAS_QUIET_NAN__ 1

define __FLT32_MIN_10_EXP__ (-37)

define __FLT32X_DIG__ 15

define __PTRDIFF_WIDTH__ 64

define LDBL_MANT_DIG 64

define FLT64_HAS_INFINITY 1

define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x

define FLT16_HAS_INFINITY 1

define SIG_ATOMIC_MIN (-SIG_ATOMIC_MAX - 1)

define code_model_small 1

define __GCC_ATOMIC_LONG_LOCK_FREE 2

define DEC32_MANT_DIG 7

define FLT16_MANT_DIG 11

define k8 1

define __INTPTR_TYPE__ long int

define __UINT16_TYPE__ short unsigned int

define __WCHAR_TYPE__ int

define pic 2

define __UINTPTR_MAX__ 0xffffffffffffffffUL

define INT_FAST64_WIDTH 64

define INT_FAST64_MAX 0x7fffffffffffffffL

define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1

define FLT_NORM_MAX 3.40282346638528859811704183484516925e+38F

define FLT32_HAS_INFINITY 1

define FLT64X_MAX_EXP 16384

define UINT_FAST64_TYPE long unsigned int

define __INT_MAX__ 0x7fffffff

define linux 1

define __INT64_TYPE__ long int

define FLT_MAX_EXP 128

define ORDER_BIG_ENDIAN 4321

define DBL_MANT_DIG 53

define __SIZEOF_FLOAT128__ 16

define INT_LEAST64_MAX 0x7fffffffffffffffL

define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2

define __DEC64_MIN__ 1E-383DD

define __WINT_TYPE__ unsigned int

define UINT_LEAST32_TYPE unsigned int

define __SIZEOF_SHORT__ 2

define FLT32_NORM_MAX 3.40282346638528859811704183484516925e+38F32

define SSE 1

define LDBL_MIN_EXP (-16381)

define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64

define amd64 1

define __WINT_WIDTH__ 32

define INT_LEAST8_MAX 0x7f

define INT_LEAST64_WIDTH 64

define LDBL_MAX_EXP 16384

define __FLT32X_MAX_10_EXP__ 308

define __SIZEOF_INT128__ 16

define __FLT16_MIN__ 6.10351562500000000000000000000000000e-5F16

define __FLT64X_IS_IEC_60559__ 2

define __LDBL_MAX_10_EXP__ 4932

define __ATOMIC_RELAXED 0

define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L)

define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128

define _LP64 1

define __UINT8_C(c) c

define FLT64_MAX_EXP 1024

define INT_LEAST32_TYPE int

define SIZEOF_WCHAR_T 4

define __UINT64_TYPE__ long unsigned int

define __GNUC_PATCHLEVEL__ 0

define FLT128_NORM_MAX 1.18973149535723176508575932662800702e+4932F128

define FLT64_NORM_MAX 1.79769313486231570814527423731704357e+308F64

define __FLT128_HAS_QUIET_NAN__ 1

define __INTMAX_MAX__ 0x7fffffffffffffffL

define INT_FAST8_TYPE signed char

define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x

define GNUC_STDC_INLINE 1

define FLT64_HAS_DENORM 1

define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32

define FLT16_HAS_DENORM 1

define DBL_DECIMAL_DIG 17

define STDC_UTF_32 1

define INT_FAST8_WIDTH 8

define FXSR 1

define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x

define DBL_NORM_MAX ((double)1.79769313486231570814527423731704357e+308L)

define __BYTE_ORDER ORDER_LITTLE_ENDIAN__

define __GCC_DESTRUCTIVE_SIZE 64

define __INTMAX_WIDTH__ 64

define __UINT32_C(c) c ## U

define FLT_DENORM_MIN 1.40129846432481707092372958328991613e-45F

define __INT8_MAX__ 0x7f

define __LONG_WIDTH__ 64

define PIC 2

define UINT_FAST32_TYPE long unsigned int

define FLT32X_NORM_MAX 1.79769313486231570814527423731704357e+308F32x

define __CHAR32_TYPE__ unsigned int

define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F

define SSE2 1

define __INT32_TYPE__ int

define __SIZEOF_DOUBLE__ 8

define __FLT_MIN_10_EXP__ (-37)

define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64

define INT_LEAST32_WIDTH 32

define __INTMAX_TYPE__ long int

define DEC128_MAX_EXP 6145

define __FLT32X_HAS_QUIET_NAN__ 1

define __ATOMIC_CONSUME 1

define __GNUC_MINOR__ 2

define INT_FAST16_WIDTH 64

define __UINTMAX_MAX__ 0xffffffffffffffffUL

define PIE 2

define FLT32X_DENORM_MIN 4.94065645841246544176568792868221372e-324F32x

define __DBL_MAX_10_EXP__ 308

define LDBL_DENORM_MIN 3.64519953188247460252840593361941982e-4951L

define __INT16_C(c) c

define STDC 1

define __PTRDIFF_TYPE__ long int

define __ATOMIC_SEQ_CST 5

define __FLT32X_MIN_10_EXP__ (-307)

define __UINTPTR_TYPE__ long unsigned int

define DEC64_SUBNORMAL_MIN 0.000000000000001E-383DD

define DEC128_MANT_DIG 34

define __LDBL_MIN_10_EXP__ (-4931)

define SIZEOF_LONG_LONG 8

define FLT128_DECIMAL_DIG 36

define __GCC_ATOMIC_LLONG_LOCK_FREE 2

define __FLT32_HAS_QUIET_NAN__ 1

define FLT_DECIMAL_DIG 9

define UINT_FAST16_MAX 0xffffffffffffffffUL

define LDBL_NORM_MAX 1.18973149535723176502126385303097021e+4932L

define __GCC_ATOMIC_SHORT_LOCK_FREE 2

define UINT_FAST8_TYPE unsigned char

define __ATOMIC_ACQ_REL 4

define __ATOMIC_RELEASE 3

find program=['ar'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='AR' -> ['/usr/bin/ar'] /usr/bin/g++

Target OS linux

Target CPU x86_64

Target binfmt elf

Checking for program 'git' /usr/bin/git find program=['git'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='GIT' -> ['/usr/bin/git']

Checking git hash ['/usr/bin/git', 'describe', '--dirty', '--always'] out: b7bd94c-dirty

b7bd94c-dirty

Checking for program 'strip' /usr/bin/strip find program=['strip'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='STRIP' -> ['/usr/bin/strip']

Checking for program 'objcopy' /usr/bin/objcopy find program=['objcopy'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='OBJCOPY' -> ['/usr/bin/objcopy']

Checking if 'gcc' can target 32-bit ==> int main(void){int check[sizeof(void*)==4?1:-1];return 0;} <== [1/2] Compiling build/.conf_check_bf59d657e8fc51d65830e854e69d04de/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_bf59d657e8fc51d65830e854e69d04de/testbuild/test.c.1.o'] err: ../test.c: In function ‘main’: ../test.c:1:20: error: size of array ‘check’ is negative 1 | int main(void){int check[sizeof(void*)==4?1:-1];return 0;} | ^~~~~

from /home/deck/Downloads/source-engine: Test does not build: Traceback (most recent call last): File "/home/deck/Downloads/source-engine/.waf3-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Configure.py", line 606, in run_build bld.compile() File "/home/deck/Downloads/source-engine/.waf3-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Build.py", line 359, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no from /home/deck/Downloads/source-engine: The configuration failed

...trying with additional flags ==> int main(void){int check[sizeof(void*)==4?1:-1];return 0;} <== [1/2] Compiling build/.conf_check_25569815ea503674fd917043faeef92e/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_25569815ea503674fd917043faeef92e/testbuild/test.c.1.o'] [2/2] Linking build/.conf_check_25569815ea503674fd917043faeef92e/testbuild/testprog

['/usr/bin/gcc', '-m32', 'test.c.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_25569815ea503674fd917043faeef92e/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes

Checking for required C flags ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/2] Compiling build/.conf_check_6748dba4d2db1bd9059f64be088ee1fe/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_6748dba4d2db1bd9059f64be088ee1fe/testbuild/test.c.1.o'] [2/2] Linking build/.conf_check_6748dba4d2db1bd9059f64be088ee1fe/testbuild/testprog

['/usr/bin/gcc', '-m32', '-Wl,--no-undefined', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', 'test.c.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_6748dba4d2db1bd9059f64be088ee1fe/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes

Checking for required C++ flags ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/2] Compiling build/.conf_check_fc3b79c6a5c021279338f59feac0a49f/test.cpp

['/usr/bin/g++', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.cpp', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_fc3b79c6a5c021279338f59feac0a49f/testbuild/test.cpp.1.o'] [2/2] Linking build/.conf_check_fc3b79c6a5c021279338f59feac0a49f/testbuild/testprog

['/usr/bin/g++', '-m32', '-Wl,--no-undefined', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', 'test.cpp.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_fc3b79c6a5c021279338f59feac0a49f/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic'] yes

Checking supported flags for g++ in parallel started

... -w yes ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/1] Compiling build/.conf_check_6cb136108ef7d1e2c56903478f51902f/test.cpp

['/usr/bin/g++', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-w', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-Werror', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.cpp', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_6cb136108ef7d1e2c56903478f51902f/testbuild/test.cpp.1.o']

-> processing test results all ok

Checking supported flags for gcc in parallel started ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/1] Compiling build/.conf_check_dac1e305968be1e60dc91537a75857a8/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-fnonconst-initializers', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-Werror', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_dac1e305968be1e60dc91537a75857a8/testbuild/test.c.1.o'] err: gcc: error: unrecognized command-line option ‘-fnonconst-initializers’


... -fnonconst-initializers no

... -w yes ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/1] Compiling build/.conf_check_b3c21209a81bc084b155bdf74de8a1b5/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-w', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-Werror', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_b3c21209a81bc084b155bdf74de8a1b5/testbuild/test.c.1.o'] from /home/deck/Downloads/source-engine: Test does not build: Traceback (most recent call last): File "/home/deck/Downloads/source-engine/.waf3-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Configure.py", line 606, in run_build bld.compile() File "/home/deck/Downloads/source-engine/.waf3-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Build.py", line 359, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /home/deck/Downloads/source-engine: The configuration failed

-> processing test results 1 test failed from /home/deck/Downloads/source-engine: One of the tests has failed, read config.log for more information

Checking for library dl ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/2] Compiling build/.conf_check_6c8b7b9fc3fa2f4dff2e276a3164420b/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-w', '-I../../../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_6c8b7b9fc3fa2f4dff2e276a3164420b/testbuild/test.c.1.o'] [2/2] Linking build/.conf_check_6c8b7b9fc3fa2f4dff2e276a3164420b/testbuild/testprog

['/usr/bin/gcc', '-m32', '-Wl,--no-undefined', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', 'test.c.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_6c8b7b9fc3fa2f4dff2e276a3164420b/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-ldl'] yes

Checking for library bz2 ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/2] Compiling build/.conf_check_4e3fe813488acc8a788be8148fd35bed/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-w', '-I../../../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_4e3fe813488acc8a788be8148fd35bed/testbuild/test.c.1.o'] [2/2] Linking build/.conf_check_4e3fe813488acc8a788be8148fd35bed/testbuild/testprog

['/usr/bin/gcc', '-m32', '-Wl,--no-undefined', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', 'test.c.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_4e3fe813488acc8a788be8148fd35bed/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lbz2'] yes

Checking for library rt ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/2] Compiling build/.conf_check_b73995a7a9fdd02e13be241eb425cd8f/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-w', '-I../../../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_b73995a7a9fdd02e13be241eb425cd8f/testbuild/test.c.1.o'] [2/2] Linking build/.conf_check_b73995a7a9fdd02e13be241eb425cd8f/testbuild/testprog

['/usr/bin/gcc', '-m32', '-Wl,--no-undefined', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', 'test.c.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_b73995a7a9fdd02e13be241eb425cd8f/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt'] yes

Checking for library m ==>

int main(int argc, char **argv) { (void)argc; (void)argv; return 0; }

<== [1/2] Compiling build/.conf_check_9523fe052bbc82fde8fa0f46c9110de7/test.c

['/usr/bin/gcc', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-w', '-I../../../common', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '../test.c', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_9523fe052bbc82fde8fa0f46c9110de7/testbuild/test.c.1.o'] [2/2] Linking build/.conf_check_9523fe052bbc82fde8fa0f46c9110de7/testbuild/testprog

['/usr/bin/gcc', '-m32', '-Wl,--no-undefined', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', 'test.c.1.o', '-o/home/deck/Downloads/source-engine/build/.conf_check_9523fe052bbc82fde8fa0f46c9110de7/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lm'] yes

Checking for program 'pkg-config' /usr/bin/pkg-config find program=['pkg-config'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/bin', '/home/deck/.local/share/flatpak/exports/bin', '/var/lib/flatpak/exports/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl'] var='PKGCONFIG' -> ['/usr/bin/pkg-config']

Checking for 'sdl2' ['/usr/bin/pkg-config', '--cflags', '--libs', 'sdl2'] out: -I/usr/include/SDL2 -D_REENTRANT -lSDL2

yes

Checking for 'freetype2' ['/usr/bin/pkg-config', '--cflags', '--libs', 'freetype2'] out: -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -lfreetype

yes

Checking for 'freetype2' sanity ==> extern "C" {

include

include FT_FREETYPE_H

}

int main() { return FT_Init_FreeType( NULL ); }

<== [1/2] Compiling build/.conf_check_6cdf1aefbd7e61f050ffabfaad8f7d56/test.cpp

['/usr/bin/g++', '-U_FORTIFY_SOURCE', '-m32', '-fno-strict-aliasing', '-fvisibility=hidden', '-O2', '-funsafe-math-optimizations', '-ftree-vectorize', '-ffast-math', '-pipe', '-fPIC', '-L/home/deck/Downloads/source-engine/lib/linux/x86_64/', '-pthread', '-march=core2', '-mfpmath=sse', '-std=c++11', '-fpermissive', '-w', '-pthread', '-I../../../common', '-I/usr/include/freetype2', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib/glib-2.0/include', '-I/usr/include/sysprof-4', '-DDX_TO_GL_ABSTRACTION', '-DGL_GLEXT_PROTOTYPES', '-DBINK_VIDEO', '-DUSE_SDL=1', '-D_GLIBCXX_USE_CXX11_ABI=0', '-DLINUX=1', '-D_LINUX=1', '-DPOSIX=1', '-D_POSIX=1', '-DPLATFORM_POSIX=1', '-DGNUC', '-DNO_HOOK_MALLOC', '-D_DLL_EXT=.so', '-DNDEBUG', '-DGIT_COMMIT_HASH="b7bd94c-dirty"', '-DCOMPILER_GCC=1', '-DHAVE_SDL2=1', '-DHAVE_FT2=1', '../test.cpp', '-c', '-o/home/deck/Downloads/source-engine/build/.conf_check_6cdf1aefbd7e61f050ffabfaad8f7d56/testbuild/test.cpp.1.o'] err: In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h:34, from /usr/include/freetype2/freetype/config/ftstdlib.h:60, from /usr/include/freetype2/freetype/config/ftconfig.h:42, from /usr/include/freetype2/freetype/freetype.h:24, from ../test.cpp:3: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/include-fixed/limits.h:203:15: fatal error: limits.h: No such file or directory 203 | #include_next / recurse down to the real one / | ^~~~~~ compilation terminated.

from /home/deck/Downloads/source-engine: Test does not build: Traceback (most recent call last): File "/home/deck/Downloads/source-engine/.waf3-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Configure.py", line 606, in run_build bld.compile() File "/home/deck/Downloads/source-engine/.waf3-2.0.22-a21fa92a45548e4c642deabae50eb159/waflib/Build.py", line 359, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

no from /home/deck/Downloads/source-engine: The configuration failed from /home/deck/Downloads/source-engine: freetype2 isn't installed correctly. Make sure you installed proper development package for target architecture

nillerusr commented 6 months ago

Your compiler sucks

Resident-Fortress commented 6 months ago

Probably. I'm not screwing around with it anymore. Arch has a sucky special case.