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 1kei50-0000iz-Af for pgsql-general@arkaria.postgresql.org; Mon, 16 Nov 2020 17:14:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kei4x-0005WS-IK for pgsql-general@arkaria.postgresql.org; Mon, 16 Nov 2020 17:14:11 +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 1kei4x-0005V0-5k for pgsql-general@lists.postgresql.org; Mon, 16 Nov 2020 17:14:11 +0000 Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kei4u-0000Tu-LP for pgsql-general@lists.postgresql.org; Mon, 16 Nov 2020 17:14:10 +0000 Received: by mail-ej1-x644.google.com with SMTP id y17so19826726ejh.11 for ; Mon, 16 Nov 2020 09:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=PcVtzKGgTtn2+54QYS2RCrmVNisTJ0ufVXG5h5Bcfyk=; b=SV7prm9SitwcnzpyctYZA3VMoobZvrmexl7T0mEP6eZ+q3vPZTahyK2LBrErhJQnqa cFjoGSZQ0ppkmZebHX8H+SA44GGSNYhGK3N2pttGlylhSbGB+MFw0aL/lqtJnIbf9Tc6 8IobrzKwFlCxvQdls3d984lasBnPrA6vwJT5nyWgbid1XVrcPqZLsy2qJ2zzmKVnh76h 7thaoxh3ztJ9e1KYurmADwkmWGOHUoLgkLp3COk3FhT4dADTSN/1s0JnXYJ1RuoQi721 80ymuBAIg4aXFseAdP9FX8fH3bpT2lUyZdEn68blRuwgYirOOHwJ7Q8BYuFkWc8k00Sm RSYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=PcVtzKGgTtn2+54QYS2RCrmVNisTJ0ufVXG5h5Bcfyk=; b=EH64g7omQyRE/cVkh14JHJPItRc9NiLuFsn4C8LZdIlDaYJmyDCw9viB/qjP7zANR+ 97h/OqmlhQ+0kjfrK7e1K4y0dObAmaPF/srDSyU7tcOrGFF7AV0PB9DvIfeasHfzUolH lCsFj2kiGAic9mdmrSoQMSutKUvI2CiD7wB53uUB+o1u+Vv5Dp2szguL0N5xE5qoEVOK +PjwHRNzRO6mGt77mxXoqq9BQfqqrd6T5BAC78SPHKipgDYdM74KPw3+D+qE04Z9L+Lp tgIMXqGvd4wwqzC4FVyaHbfzALfSM5vAjaTYCApXpRRouq0SDpekuE/VPd8xjCR1OFHp 5rMw== X-Gm-Message-State: AOAM531R0ATzfx3+Vu7n7x0AcgUhH+CtZVnUl4vOi5ljlD961xqB3Crb BxZVaB9+xOkMC15kYdM+qRICPg== X-Google-Smtp-Source: ABdhPJz9L11uib/QWJPScrlJBFN8ZXaOLzAut6jwVBBYGKPbg8fzf9lipb4UaywYYEe4NB3GDDqwMQ== X-Received: by 2002:a17:906:961a:: with SMTP id s26mr14195525ejx.211.1605546847621; Mon, 16 Nov 2020 09:14:07 -0800 (PST) Received: from localhost.localdomain (217-149-169-223.nat.highway.telekom.at. [217.149.169.223]) by smtp.gmail.com with ESMTPSA id z2sm11048847edr.47.2020.11.16.09.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:14:07 -0800 (PST) Message-ID: Subject: Re: Unable to compile postgres 13.1 on Slackware current x64 From: Laurenz Albe To: Thomas Munro Cc: Condor , "pgsql-generallists.postgresql.org" Date: Mon, 16 Nov 2020 18:14:06 +0100 In-Reply-To: References: <7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com> <72da0c8a1303691faed52afc641713a65b5eb80f.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 2020-11-16 at 22:17 +1300, Thomas Munro wrote: > On Mon, Nov 16, 2020 at 10:10 PM Laurenz Albe wrote: > > > On Mon, 2020-11-16 at 09:15 +0200, Condor wrote: > > > collationcmds.c: In function ‘get_icu_language_tag’: > > > collationcmds.c:467:51: error: ‘TRUE’ undeclared (first use in this > > > function); did you mean ‘IS_TRUE’? > > > 467 | uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status); > > > | ^~~~ > > > | IS_TRUE > > > > "UBool" and "TRUE" are defined in "umachine.h", which is a header file for the > > "libicu" library. > > PostgreSQL includes "unicode/ucol.h", which will include "umachine.h" > > (via "utypes.h"), so that should be fine. > > Are your libicu headers installed under /usr/include/unicode? > > Do you get any messages about missing include files earlier? > > It looks like something happened to ICU's boolean macros . See this > commit in FreeBSD ports: > > https://github.com/freebsd/freebsd-ports/commit/81a88b4506ec06d07be10d199170ef4003eb0e30 > > ... which references: > > https://github.com/unicode-org/icu/commit/c3fe7e09d844 Ugh, you are right. Joy. This will be annoying to work around. Yours, Laurenz Albe