From nobody Wed Jan 10 18:57:29 2024 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T9H9X5rY3z55dqP for ; Wed, 10 Jan 2024 18:57:36 +0000 (UTC) (envelope-from vdemart@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T9H9W54Snz4Q6y for ; Wed, 10 Jan 2024 18:57:35 +0000 (UTC) (envelope-from vdemart@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=nESPcjqX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of vdemart@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=vdemart@gmail.com Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ccbc328744so54149601fa.3 for ; Wed, 10 Jan 2024 10:57:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704913051; x=1705517851; darn=freebsd.org; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=BSu2p5q8Mm912IjD+LIz/4e118jBmeHCwUAetJT7CCM=; b=nESPcjqXFIkcdYVT8DWOEL+7zMFIeegMvB2RrQGQCh60ZyTmv4JfrvoC6yByRW5pgP zuCvtpuQIJK5ehIBImv2JgDRz7prFsSPPxTlhjDC2tK5Npk2y2IiQTeaFVJCZlRDjJLq PrwwEd7BFXW9aTcnwbXTHA03Ta0+mj70wgFrrZtGw4+RIAluIw0vpRm9zezp8aGP5+zY LKyZRQki0TY7fqmUgqJDUMJinA8kdRT4tV34VTA3VSsQ9w8ZCg9EQm6oWE4K/woU7yQn RxIc1L85C6CDkI9Jg9PAh7Y9TURwH03ZquIYxOZPYM+AHA1XV8gh1i9OCT5JhXKh7eIy j+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704913051; x=1705517851; h=subject:from:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BSu2p5q8Mm912IjD+LIz/4e118jBmeHCwUAetJT7CCM=; b=LiiliRVS2Uagg3WrNZ3AriBLg8XrNQ+vTgkrIvFZWUXM+M2SlGaOul4oXgPkaK7OEo hX6PomxjVjm7Qx1Sew110FgMY8Q83ioP8QitErdbWFGJIelzshO5T0/a2JdqNtq/R05n DmWxDRCkA44aM+avXTZ2WDuZ66UkbguA61cHEfPTjhmxscY7kASCHNMLyNN70JDnwLqE nElkqw8H9Qkld0LnXbS0yIQrJkd3rKkzUHhbO19hFurW9QX670owy66L38loFNrXareJ V0U2wfwmhH1Vjlutz9o8N4hivTIee+COEWZc6KMXp28SzvCVov0sNieY/870XGjkKrHD bAig== X-Gm-Message-State: AOJu0YyS44Erkde0gClV7WNxzeCjP0gZd97xeGd9IXWDIuH5Q+jY4gsA xFzCJxwgFpsA5LY/itB9mt1vlkrqJVg= X-Google-Smtp-Source: AGHT+IHAQqACvtFbk2Wq4iN2Qd5LA9rBLflKfqH8889Ssrj0ngS4GUpGpMjc1wJtPl9C89Hhyw4aEw== X-Received: by 2002:a2e:b74f:0:b0:2cd:13bf:78df with SMTP id k15-20020a2eb74f000000b002cd13bf78dfmr15876ljo.11.1704913051395; Wed, 10 Jan 2024 10:57:31 -0800 (PST) Received: from [192.168.1.110] (host-80-182-146-146.pool80182.interbusiness.it. [80.182.146.146]) by smtp.gmail.com with ESMTPSA id z17-20020aa7c651000000b0055510f6527dsm2253065edr.26.2024.01.10.10.57.30 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Jan 2024 10:57:30 -0800 (PST) Content-Type: multipart/alternative; boundary="------------zT7XFihGA3qvTnt9ZyvNCdxn" Message-ID: <4dec5468-8910-4ece-ab11-e1f63699123e@gmail.com> Date: Wed, 10 Jan 2024 19:57:29 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: it-IT To: questions@freebsd.org From: Victor Subject: Compilation of port php82-pgsql ends in error for undeclared identifiers X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from] X-Rspamd-Queue-Id: 4T9H9W54Snz4Q6y This is a multi-part message in MIME format. --------------zT7XFihGA3qvTnt9ZyvNCdxn Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Context: FreeBSD 13.2-RELEASE-p8 GENERIC amd64 I'm trying to install from the port phppgadmin that I know requires a php8x-pgsql dependency. Unfortunately /usr/ports/databases/php82-pgsql % sudo make install Password: ===>  Building for php82-pgsql-8.2.14 --- pgsql.lo --- /bin/sh /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/libtool --mode=compile cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c -o pgsql.lo  cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c -fPIC -DPIC -o .libs/pgsql.o In file included from /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:65: ./pgsql_arginfo.h:775:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'         class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE; ^ ./pgsql_arginfo.h:786:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'         class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE; ^ ./pgsql_arginfo.h:797:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'         class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE; ^ /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:4058:4: error: use of undeclared identifier 'ZEND_FALLTHROUGH'                         ZEND_FALLTHROUGH;                         ^ 4 errors generated. *** [pgsql.lo] Error code 1 make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql 1 error make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Where am I wrong? And what should I do to solve this compilation error? Thank you Vittorio --------------zT7XFihGA3qvTnt9ZyvNCdxn Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Context: FreeBSD 13.2-RELEASE-p8 GENERIC amd64

I'm trying to install from the port phppgadmin that I know requires a php8x-pgsql dependency. 

Unfortunately

/usr/ports/databases/php82-pgsql % sudo make install
Password:
===>  Building for php82-pgsql-8.2.14
--- pgsql.lo ---
/bin/sh /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/libtool --mode=compile cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include  -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H  -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c -o pgsql.lo
 cc -I. -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/include -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/main -I/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c  -fPIC -DPIC -o .libs/pgsql.o
In file included from /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:65:
./pgsql_arginfo.h:775:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'
        class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
                                                                               ^
./pgsql_arginfo.h:786:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'
        class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
                                                                               ^
./pgsql_arginfo.h:797:73: error: use of undeclared identifier 'ZEND_ACC_NOT_SERIALIZABLE'
        class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES|ZEND_ACC_NOT_SERIALIZABLE;
                                                                               ^
/usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql/pgsql.c:4058:4: error: use of undeclared identifier 'ZEND_FALLTHROUGH'
                        ZEND_FALLTHROUGH;
                        ^
4 errors generated.
*** [pgsql.lo] Error code 1

make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql
1 error

make[1]: stopped in /usr/ports/databases/php82-pgsql/work/php-8.2.14/ext/pgsql
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1


Where am I wrong? And what should I do to solve this compilation error?

Thank you

Vittorio

--------------zT7XFihGA3qvTnt9ZyvNCdxn--