When I install the roundcubemail rpm in mga9 I get errors such as: Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess- >_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2- >__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader- >getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader- >analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader- >download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install- >doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Auth_SASL-1.1.0-3.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Auth_SASL-1.1.0-3.mga9.noarch here is a fuller copy: https://pastebin.com/XXEwmpZ5 Steps to reproduce: # urpmi roundcubemail to see the errors again it is necessary to remove roundcubemail rpm and also orphans before trying to install again. I do not know if these script errors are important or not, so I'm not going to use roundcubemail, which seems to be the only webmail I can install in mga9. bascule
Can you please attach to this bug your pastebin 'fuller copy'. Well, without having Apache installed, I test installed roundcubemail. It twice offered a choice: I fodloni 'webserver' dibyniaeth, bydd angen un o'r pecynnau canlynol: 1- apache-2.4.58-1.mga9.x86_64: The most widely used Web server on the Internet (gosod) 2- sthttpd-2.27.0-5.mga9.x86_64: Throttleable lightweight httpd server (gosod) 3- nginx-1.24.0-2.mga9.x86_64: Robust, small and high performance http and reverse proxy server (gosod) 4- lighttpd-1.4.69-2.mga9.x86_64: A fast webserver with minimal memory-footprint (gosod) & I fodloni 'php-webinterface' dibyniaeth, bydd angen un o'r pecynnau canlynol: 1- apache-mod_php-8.2.10-1.mga9.x86_64: The PHP HTML-embedded scripting language for use with Apache (gosod) 2- php-cgi-8.2.10-1.mga9.x86_64: PHP CGI interface (gosod) 3- php-fpm-apache-8.2.10-1.mga9.x86_64: PHP FastCGI Process Manager config for apache (gosod) 4- php-fpm-nginx-8.2.10-1.mga9.x86_64: PHP FastCGI Process Manager config for nginx (gosod) I chose '1' both times. It proposed installing: php-pear 1.10.13 9.mga9 noarch php-pear-Auth_SASL 1.1.0 3.mga9 noarch php-pear-Console_CommandLine 1.2.2 6.mga9 noarch php-pear-Crypt_GPG 1.6.7 2.mga9 noarch php-pear-Mail_Mime 1.10.9 2.mga9 noarch php-pear-Net_LDAP2 2.2.0 5.mga9 noarch php-pear-Net_SMTP 1.10.1 2.mga9 noarch php-pear-Net_Sieve 1.4.6 1.mga9 noarch php-pear-Net_Socket 1.2.2 4.mga9 noarch roundcubemail 1.6.1 1.mga9 noarch webserver-base 2.0 16.mga9 noarch (cyfrwng "Core Updates") apache 2.4.58 1.mga9 x86_64 apache-mod_php 8.2.10 1.mga9 x86_64 php-cli 8.2.10 1.mga9 x86_64 php-curl 8.2.10 1.mga9 x86_64 php-dom 8.2.10 1.mga9 x86_64 php-exif 8.2.10 1.mga9 x86_64 php-fileinfo 8.2.10 1.mga9 x86_64 php-filter 8.2.10 1.mga9 x86_64 php-gd 8.2.10 1.mga9 x86_64 php-iconv 8.2.10 1.mga9 x86_64 php-ini 8.2.10 1.mga9 x86_64 php-intl 8.2.10 1.mga9 x86_64 php-ldap 8.2.10 1.mga9 x86_64 php-mbstring 8.2.10 1.mga9 x86_64 php-openssl 8.2.10 1.mga9 x86_64 php-pdo 8.2.10 1.mga9 x86_64 php-session 8.2.10 1.mga9 x86_64 php-sockets 8.2.10 1.mga9 x86_64 php-sysvsem 8.2.10 1.mga9 x86_64 php-sysvshm 8.2.10 1.mga9 x86_64 php-zlib 8.2.10 1.mga9 x86_64 downloaded the lot, and said that it was OK to install. You got errors for: 2/13: php-pear-Net_Socket 3/13: php-pear-Console_CommandLine 4/13: php-pear-Crypt_GPG 5/13: php-pear-Net_SMTP 6/13: php-pear-Net_Sieve 7/13: php-pear-Net_LDAP2 8/13: php-pear-Mail_Mime 9/13: php-pear-Auth_SASL Actually installing it, it offered only the second choice again. The installation went to end without error, but I tried nothing (& uninstalled the lot). Other people need to try this.
Status: NEW => UNCONFIRMEDCC: (none) => davidwhodgins, lewyssmithEver confirmed: 1 => 0
I already had apache installed and working, as well as phpmyadmin and mariadb. roundcubemail installed cleanly. Trying to follow https://wiki.mageia.org/en/QA_procedure:Roundcubemail failed due to errors running /usr/share/doc/roundcubemail/SQL/sqlite.initial.sql in phpmyadmin. It appears roundcubemail-1.6.1-1.mga9 requires support for field names in quotes, such as "reply to". mariadb-10.11.5-1.mga9 does not allow quoted field names. I don't know if that's available in a newer version of mariadb, or if it requires the oracle version of mysql. Assigning to the roundcubemail/mariadb maintainer.
Ever confirmed: 0 => 1Status: UNCONFIRMED => NEWAssignee: bugsquad => mageia
@Bascule: thanks for the report. I'll push a fix for php-pear. @Dave: you should not try to import sql scripts written for sqlite into mariadb. Use the scripts for mysql instead.
(In reply to Lewis Smith from comment #1) > Can you please attach to this bug your pastebin 'fuller copy'. I have just updated mga9, there were a couple of php and apache related updates. Upon installing roundcubemail I still have errors, here is the full copy (is there a spoiler tag in these bug reports?): [bascule@watson ~]$ sudo urpmi roundcubemail To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (mageia9_1)") php-pear 1.10.13 9.mga9 noarch php-pear-Auth_SASL 1.1.0 3.mga9 noarch php-pear-Console_CommandLine 1.2.2 6.mga9 noarch php-pear-Crypt_GPG 1.6.7 2.mga9 noarch php-pear-Mail_Mime 1.10.9 2.mga9 noarch php-pear-Net_LDAP2 2.2.0 5.mga9 noarch php-pear-Net_SMTP 1.10.1 2.mga9 noarch php-pear-Net_Sieve 1.4.6 1.mga9 noarch php-pear-Net_Socket 1.2.2 4.mga9 noarch roundcubemail 1.6.1 1.mga9 noarch (medium "Core Updates (mageia9_3)") php-ldap 8.2.12 1.mga9 x86_64 php-pdo 8.2.12 1.mga9 x86_64 php-sockets 8.2.12 1.mga9 x86_64 26MB of additional disk space will be used. 5.4MB of packages will be retrieved. Proceed with the installation of the 13 packages? (Y/n) y installing /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_Socket-1.2.2-4.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Console_CommandLine-1.2.2-6.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-1.10.13-9.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/updates/php-sockets-8.2.12-1.mga9.x86_64.rpm /data/mageia/mageia9/x86_64/media/core/release/roundcubemail-1.6.1-1.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_Sieve-1.4.6-1.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Crypt_GPG-1.6.7-2.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/updates/php-ldap-8.2.12-1.mga9.x86_64.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_SMTP-1.10.1-2.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/updates/php-pdo-8.2.12-1.mga9.x86_64.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Mail_Mime-1.10.9-2.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Auth_SASL-1.1.0-3.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_LDAP2-2.2.0-5.mga9.noarch.rpm Preparing... ######################################################################################################################################################################################################### 1/13: php-pear ######################################################################################################################################################################################################### 2/13: php-pear-Net_Socket ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Net_Socket-1.2.2-4.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Net_Socket-1.2.2-4.mga9.noarch 3/13: php-pear-Console_CommandLine ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Console_CommandLine-1.2.2-6.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Console_CommandLine-1.2.2-6.mga9.noarch 4/13: php-pear-Crypt_GPG ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Crypt_GPG-1.6.7-2.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Crypt_GPG-1.6.7-2.mga9.noarch 5/13: php-pear-Net_Sieve ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Net_Sieve-1.4.6-1.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Net_Sieve-1.4.6-1.mga9.noarch 6/13: php-pear-Net_SMTP ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Net_SMTP-1.10.1-2.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Net_SMTP-1.10.1-2.mga9.noarch 7/13: php-pear-Mail_Mime ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Mail_Mime-1.10.9-2.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Mail_Mime-1.10.9-2.mga9.noarch 8/13: php-pear-Auth_SASL ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Auth_SASL-1.1.0-3.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Auth_SASL-1.1.0-3.mga9.noarch 9/13: php-pear-Net_LDAP2 ######################################################################################################################################################################################################### Fatal error: Uncaught Error: Call to undefined function _parseFeaturesHeaderFile() in /usr/share/pear/OS/Guess.php:248 Stack trace: #0 /usr/share/pear/OS/Guess.php(214): OS_Guess->_readGlibCVersionFromFeaturesHeaderFile() #1 /usr/share/pear/OS/Guess.php(148): OS_Guess->_detectGlibcVersion() #2 /usr/share/pear/OS/Guess.php(107): OS_Guess->parseSignature('Linux watson.ex...') #3 /usr/share/pear/PEAR/Dependency2.php(109): OS_Guess->__construct() #4 /usr/share/pear/PEAR/Downloader.php(277): PEAR_Dependency2->__construct(Object(PEAR_Config), Array, Array, 4) #5 /usr/share/pear/PEAR/Downloader.php(555): PEAR_Downloader->getDependency2Object(Object(PEAR_Config), Array, Array, 4) #6 /usr/share/pear/PEAR/Downloader.php(458): PEAR_Downloader->analyzeDependencies(Array) #7 /usr/share/pear/PEAR/Command/Install.php(671): PEAR_Downloader->download(Array) #8 /usr/share/pear/PEAR/Command/Common.php(270): PEAR_Command_Install->doInstall('install', Array, Array) #9 /usr/share/pear/pearcmd.php(310): PEAR_Command_Common->run('install', Array, Array) #10 {main} thrown in /usr/share/pear/OS/Guess.php on line 248 warning: %post(php-pear-Net_LDAP2-2.2.0-5.mga9.noarch) scriptlet failed, exit status 255 ERROR: 'script' failed for php-pear-Net_LDAP2-2.2.0-5.mga9.noarch 10/13: php-pdo ######################################################################################################################################################################################################### 11/13: php-ldap ######################################################################################################################################################################################################### 12/13: php-sockets ######################################################################################################################################################################################################### 13/13: roundcubemail ######################################################################################################################################################################################################### [bascule@watson ~]$ bascule
Fixed an error in php-pear package, which emmitted some errors ======================== Updated packages in core/updates_testing: ======================== php-pear-1.10.13-9.1.mga9.noarch.rpm SRPM: php-pear-1.10.13-9.1.mga9.src.rpm
Assignee: mageia => qa-bugs
Thanks for all tests and actions.
CC: lewyssmith => (none)
Advisory from comment 5 added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"
Summary: Script errors on roundcubemail install => Typo in php-pear sources causes script errors on roundcubemail installKeywords: (none) => advisorySource RPM: roundcubemail-1.6.1-1.mga9.src.rpm => php-pear-1.10.13-9.mga9CC: (none) => marja11
Using mysql.initial.sql I got as far as restarting httpd.service and loading http://localhost/roundcubemail/installer/?_step=1 ok in firefox though it's detecting errors such as ... Ctype: NOT OK(See https://www.php.net/manual/en/book.ctype.php) What doesn't make sense to me, is that I'm not seeing any php-pear errors during install, but bascule is seeing them. # urpmq --list-media active QA Testing (64-bit) Core Release (distrib1) Core Updates (distrib3) Nonfree Release (distrib11) Nonfree Updates (distrib13) Tainted Release (distrib21) Tainted Updates (distrib23) I have no packages from testing installed yet. The "QA Testing" repo from qarepo is currently empty. "urpmq --not-available" shows nothing. There are no packages that are not from the release and/or updates repos. # urpmq --list-url|grep ^"Core Release" Core Release (distrib1) http://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release bascule, what mirror are you using?
I'm rsyncing from: rsync.mirrorservice.org bascule
I should have added, is there additional info I can give? bascule
(In reply to Dave Hodgins from comment #8) > > What doesn't make sense to me, is that I'm not seeing any php-pear errors > during install, but bascule is seeing them. > I decided to give this a try in a MGA9 Vbox Plasma guest that had been upgraded from a MGA8 guest. Apache is already installed, whether from the MGA8 upgrade or since, I don't know. I too installed roundcubemail with no errors. This guest had been used for other testing, and had/has some leftovers still installed. (Yes, I know better. Bad TJ, bad.) Specifically, I had tested installing Waydroid some time ago, which had installed a now unused dkms-anbox, which installed dkms and the kernel-devel package. When I went to remove orphans, I saw that the kernel-devel packages were listed, despite being required for dkms, and urpme --auto-orpans refused to remove anything as a result. So, I went through the process of removing dkms-anbox, dkms, and the now unneeded kernel-devel packages, then urpme removed a now much longer list of orphans. Then I tried installing roundcubemail again, and I now saw some php-pear errors, though not as many as bascule sees. The point of all this, Dave, is that some dependency of dkms was apparently allowing php-pear to install without errors. It could be that whatever that is, is installed on your machine, but not bascule's.
CC: (none) => andrewsfarm
Hmmm, I just did: [bascule@watson ~]$ rpm -qa|grep -i dkms [bascule@watson ~]$ and as you can see it came up empty! I installed dkms-anbox with all it dependencies and although I had these errors: Error! Your kernel devel files for kernel 6.4.16-desktop-5.mga9 cannot be found at /lib/modules/6.4.16-desktop-5.mga9/build or /lib/modules/6.4.16-desktop-5.mga9/source. You can use the --kernelsourcedir option to tell DKMS where it's located. Error! Could not locate binder_linux.ko.xz for module anbox-binder in the DKMS tree. You must run a dkms build for kernel 6.4.16-desktop-5.mga9 (x86_64) first. warning: %post(dkms-anbox-0.0.3-1.1.mga9.noarch) scriptlet failed, exit status 4 ERROR: 'script' failed for dkms-anbox-0.0.3-1.1.mga9.noarch I then installed roundcubemail and it installed without the previous errors: [bascule@watson ~]$ sudo urpmi roundcubemail To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (mageia9_1)") php-pear 1.10.13 9.mga9 noarch php-pear-Auth_SASL 1.1.0 3.mga9 noarch php-pear-Console_CommandLine 1.2.2 6.mga9 noarch php-pear-Crypt_GPG 1.6.7 2.mga9 noarch php-pear-Mail_Mime 1.10.9 2.mga9 noarch php-pear-Net_LDAP2 2.2.0 5.mga9 noarch php-pear-Net_SMTP 1.10.1 2.mga9 noarch php-pear-Net_Sieve 1.4.6 1.mga9 noarch php-pear-Net_Socket 1.2.2 4.mga9 noarch roundcubemail 1.6.1 1.mga9 noarch (medium "Core Updates (mageia9_3)") php-ldap 8.2.12 1.mga9 x86_64 php-pdo 8.2.12 1.mga9 x86_64 php-sockets 8.2.12 1.mga9 x86_64 26MB of additional disk space will be used. 5.4MB of packages will be retrieved. Proceed with the installation of the 13 packages? (Y/n) y installing /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_SMTP-1.10.1-2.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/roundcubemail-1.6.1-1.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_LDAP2-2.2.0-5.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Mail_Mime-1.10.9-2.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Auth_SASL-1.1.0-3.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_Sieve-1.4.6-1.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/updates/php-sockets-8.2.12-1.mga9.x86_64.rpm /data/mageia/mageia9/x86_64/media/core/updates/php-pdo-8.2.12-1.mga9.x86_64.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Console_CommandLine-1.2.2-6.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Net_Socket-1.2.2-4.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-Crypt_GPG-1.6.7-2.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/release/php-pear-1.10.13-9.mga9.noarch.rpm /data/mageia/mageia9/x86_64/media/core/updates/php-ldap-8.2.12-1.mga9.x86_64.rpm Preparing... ######################################################################################################################################################################################################### 1/13: php-pear ######################################################################################################################################################################################################### 2/13: php-pear-Net_Socket ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Net_Socket-1.2.2 3/13: php-pear-Console_CommandLine ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Console_CommandLine-1.2.2 4/13: php-pear-Crypt_GPG ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Crypt_GPG-1.6.7 5/13: php-pear-Net_SMTP ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Net_SMTP-1.10.1 6/13: php-pear-Net_Sieve ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Net_Sieve-1.4.6 7/13: php-pear-Net_LDAP2 ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Net_LDAP2-2.2.0 8/13: php-pear-Mail_Mime ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Mail_Mime-1.10.9 9/13: php-pear-Auth_SASL ######################################################################################################################################################################################################### install ok: channel://pear.php.net/Auth_SASL-1.1.0 10/13: php-ldap ######################################################################################################################################################################################################### 11/13: php-pdo ######################################################################################################################################################################################################### 12/13: php-sockets ######################################################################################################################################################################################################### 13/13: roundcubemail ######################################################################################################################################################################################################### [bascule@watson ~]$ It seems that the previous poster is on to something:) bascule
The error happens when gcc-cpp is not installed. It happens when /usr/share/pear/OS/Guess.php tries to parse the features in /usr/bin/cpp. $ ls -l /usr/bin/cpp lrwxrwxrwx 1 root root 21 Jul 13 2021 /usr/bin/cpp -> /etc/alternatives/cpp* $ ls -l /etc/alternatives/cpp lrwxrwxrwx 1 root root 15 Oct 28 18:18 /etc/alternatives/cpp -> /usr/bin/cpp-12* $ urpmf /usr/bin/cpp-12|sort -u gcc-cpp:/usr/bin/cpp-12 I think php-pear should have a requires on cpp (which requires gcc-cpp).
Yup, install gcc-cpp plus its dependencies (three of them in my case) and then a successful install of roundcubemail. Now I have to see if it works! Never used it before:) Thankyou. bascule
@Marc: comment 13 and comment 14 confirmed. Using qarepo, I updated php-pear in my VirtualBox guest, then attempted to install roundcubemail, receiving error messages as detailed in comment 4. After removing roundcubemail and the resulting orphans, I installed gcc-cpp and dependencies, and then tried installing roundcubemail again, this time without incident. So it would seem that php-pear needs gcc-cpp, just as Dave said. @marja: removing the advisory keyword as requested, since at the very least this one will have to be revised.
Keywords: advisory => (none)
Changing the Summary field to better reflect what has been discovered in comment 13 and comment 14.
Summary: Typo in php-pear sources causes script errors on roundcubemail install => php-pear requires gcc-cpp on systems where it isn't already installed
(In reply to Thomas Andrews from comment #15) > @Marc: comment 13 and comment 14 confirmed. > > Using qarepo, I updated php-pear in my VirtualBox guest, then attempted to > install roundcubemail, receiving error messages as detailed in comment 4. > > After removing roundcubemail and the resulting orphans, I installed gcc-cpp > and dependencies, and then tried installing roundcubemail again, this time > without incident. > > So it would seem that php-pear needs gcc-cpp, just as Dave said. > > @marja: removing the advisory keyword as requested, since at the very least > this one will have to be revised. Marc wasn't in the CC of this report, nor was he the author. Sorry, Marc, that we didn't notice that before.
Keywords: (none) => feedbackCC: (none) => mageia
No!!! The fix is already in updates_testing (comment 3) But as a new version was released a few days ago, with some more pear fixes - I push the new version Updated php-pear packages fixes some old bugs: - Put glue and pieces parameters to implode in correct order for PHP 7.4+ - Fix PHP bug 81653: Typo in install-pear-nozlib.phar - add %S EXPECTF capability - Fix: Creation of dynamic property PEAR_Error::$callback is deprecated - Fixed extension loaded check for pecl binaries - fix Using ${var} in strings is deprecated - fix lingering license references to PHP license - fix private lastError name References: https://pear.php.net/package/PEAR/download/1.10.14 Updated packages in core/updates_testing: ======================== php-pear-1.10.14-1.mga9.noarch.rpm SRPM: php-pear-1.10.14-1.mga9.src.rpm
Thanks, Marc, Advisory updated to match comment 18
Keywords: feedback => advisory
(In reply to Marc Krämer from comment #18) > No!!! > The fix is already in updates_testing (comment 3) > Except that that version did not fix the original issue, generation of errors when installing roundcubemail. The errors didn't go away until gcc-cpp was installed. See comment 15. > But as a new version was released a few days ago, with some more pear fixes > - I push the new version > > > Updated php-pear packages fixes some old bugs: > - Put glue and pieces parameters to implode in correct order for PHP 7.4+ > - Fix PHP bug 81653: Typo in install-pear-nozlib.phar > - add %S EXPECTF capability > - Fix: Creation of dynamic property PEAR_Error::$callback is deprecated > - Fixed extension loaded check for pecl binaries > - fix Using ${var} in strings is deprecated > - fix lingering license references to PHP license > - fix private lastError name > > References: > https://pear.php.net/package/PEAR/download/1.10.14 > > Updated packages in core/updates_testing: > ======================== > php-pear-1.10.14-1.mga9.noarch.rpm > > SRPM: > php-pear-1.10.14-1.mga9.src.rpm I will restore my Vbox guest to its condition before the test of comment 15, and try with this newer php-pear, without gcc-cpp installed.
OK, it worked this time. Roundcubemail installed without any issues. Two things other than the php-pear update were different, though they shouldn't have had an effect: The guest received a kernel update, and I rebooted after the php-pear update before installing roundcubemail. Reverting the summary, eliminating my change. Giving this an OK, and validating.
Summary: php-pear requires gcc-cpp on systems where it isn't already installed => Typo in php-pear sources causes script errors on roundcubemail installKeywords: (none) => validated_updateCC: (none) => sysadmin-bugsWhiteboard: (none) => MGA9-64-OK
@Thomas: you must have received the old version of pear. There was a simple syntax error for years, in case gcc is not installed, which I patched out - but anyway, good to hear this one fixes the issues
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2023-0127.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED