Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1keYsa-0005fU-HO for pgsql-general@arkaria.postgresql.org; Mon, 16 Nov 2020 07:24:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1keYjz-0005sL-4I for pgsql-general@arkaria.postgresql.org; Mon, 16 Nov 2020 07:15:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1keYjy-0005sD-QK for pgsql-general@lists.postgresql.org; Mon, 16 Nov 2020 07:15:54 +0000 Received: from stz-bg.com ([46.40.123.212] helo=mail.stzbg.com) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1keYjs-0003wW-Tl for pgsql-general@lists.postgresql.org; Mon, 16 Nov 2020 07:15:54 +0000 Received: from www.stz-bg.com (stz-bg.com [IPv6:2a02:6800:0:99::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: condor@stz-bg.com) by mail.stzbg.com (Postfix) with ESMTPSA id 94D712E049C for ; Mon, 16 Nov 2020 09:15:47 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stz-bg.com; s=mail; t=1605510947; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NtM9m6GAQrosFKg5JfhZdXxfog+ae8vGw+2jz9DehXE=; b=i8jwoPzhzgPeMqw6a3N1cI4FOEZbDMu2FHsCitCOTGD9tfsFRR+WAzp9YlU0NxoQdLsFOr axPnDdUK7dybinu4ev3anu04NgHgfqMT614CctbIedw7EzPw4oRPwlL0a2ZCezAIK2nCFM hjg+tkGVDVSTJ/R+rCRjTOJQg9K2aMA= MIME-Version: 1.0 Date: Mon, 16 Nov 2020 09:15:47 +0200 From: Condor To: pgsql-general@lists.postgresql.org Subject: Unable to compile postgres 13.1 on Slackware current x64 User-Agent: Roundcube Webmail/1.4.9 Message-ID: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com> X-Sender: condor@stz-bg.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, unable to compile Postgresql 13.0 and 13.1 on Slackware current x64.=20 Here is gcc -v: Reading specs from /usr/lib64/gcc/x86_64-slackware-linux/9.3.0/specs COLLECT_GCC=3Dgcc COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-slackware-linux/9.3.0/lto-wra= pper Target: x86_64-slackware-linux Configured with: ../configure --prefix=3D/usr --libdir=3D/usr/lib64=20 --mandir=3D/usr/man --infodir=3D/usr/info --enable-shared --enable-bootstra= p=20 --enable-languages=3Dada,brig,c,c++,d,fortran,go,lto,objc,obj-c++=20 --enable-threads=3Dposix --enable-checking=3Drelease --enable-objc-gc=20 --with-system-zlib --enable-libstdcxx-dual-abi=20 --with-default-libstdcxx-abi=3Dnew --disable-libstdcxx-pch=20 --disable-libunwind-exceptions --enable-__cxa_atexit --disable-libssp=20 --enable-gnu-unique-object --enable-plugin --enable-lto=20 --disable-install-libiberty --disable-werror --with-gnu-ld --with-isl=20 --verbose --with-arch-directory=3Damd64 --disable-gtktest=20 --enable-clocale=3Dgnu --disable-multilib --target=3Dx86_64-slackware-linux= =20 --build=3Dx86_64-slackware-linux --host=3Dx86_64-slackware-linux Thread model: posix gcc version 9.3.0 (GCC) ICU version - 68.1, LLVM version - 11.0.0 Here is configure params: =2E/configure \ --prefix=3D/usr/lib$LIBDIRSUFFIX/postgresql/$VER \ --libdir=3D/usr/lib$LIBDIRSUFFIX/postgresql/$VER/lib \ --includedir=3D/usr/include \ --sysconfdir=3D/etc/postgresql \ --localstatedir=3D/var/lib/postgresql \ --with-tcl \ --with-tclconfig=3D/usr/lib$LIBDIRSUFFIX \ --with-perl \ --with-python \ --with-openssl \ --with-libxml \ --with-libxslt \ --with-icu \ --with-llvm \ --enable-thread-safety \ --with-system-tzdata=3D/usr/share/zoneinfo \ $ARCH-slackware-linux The error is: make[2]: Leaving directory '/tmp/postgresql-13.1/src/backend/utils' make[1]: Leaving directory '/tmp/postgresql-13.1/src/backend' x86_64-slackware-linux-gcc -Wall -Wmissing-prototypes -Wpointer-arith=20 -Wdeclaration-after-statement -Werror=3Dvla -Wendif-labels=20 -Wmissing-format-attribute -Wimplicit-fallthrough=3D3 -Wformat-security=20 -fno-strict-aliasing -fwrapv -fexcess-precision=3Dstandard=20 -Wno-format-truncation -Wno-stringop-truncation -O2=20 -I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -c -o=20 collationcmds.o collationcmds.c collationcmds.c: In function =E2=80=98get_icu_language_tag=E2=80=99: collationcmds.c:467:51: error: =E2=80=98TRUE=E2=80=99 undeclared (first use= in this=20 function); did you mean =E2=80=98IS_TRUE=E2=80=99? 467 | uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE,=20 &status); | ^~~~ | IS_TRUE collationcmds.c:467:51: note: each undeclared identifier is reported=20 only once for each function it appears in make: *** [: collationcmds.o] Error 1 Changing TRUE to IS_TRUE solve the problem and code is compiled but no=20 idea is this a real fix. Best Regards, Hristo S.