GNU bug report logs - #30841
Building Zend PHP (php): tests fail, and "Name or service not known"

Previous Next

Package: guix;

Reported by: Adonay Felipe Nogueira <adfeno <at> hyperbola.info>

Date: Sat, 17 Mar 2018 17:30:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30841 in the body.
You can then email your comments to 30841 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#30841; Package guix. (Sat, 17 Mar 2018 17:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Adonay Felipe Nogueira <adfeno <at> hyperbola.info>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 17 Mar 2018 17:30:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
To: bug-guix <at> gnu.org
Subject: Building Zend PHP (php): tests fail, and "Name or service not known"
Date: Sat, 17 Mar 2018 14:28:59 -0300
This is known to started happening from a `guix pull' done in
2018-03-10T11:00:56-0300. I did another pull yesterday
(2018-03-16T16:30:42-0300) and the problem continued.

I didn't bisect this problem yet. That is: I don't know if it started
happening in a commit from dates before.

Here is perhaps the most interesting part of the log:

--8<---------------cut here---------------start------------->8---
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Test unixtojd() function : error conditions
[ext/calendar/tests/unixtojd_error1.phpt]
=====================================================================

=====================================================================
WARNED TEST SUMMARY
---------------------------------------------------------------------
FPM: Test status page [sapi/fpm/tests/010.phpt] (warn: XFAIL section but
test passes)
FPM: Test various messages on start, from master and childs
[sapi/fpm/tests/015.phpt] (warn: XFAIL section but test passes)
=====================================================================

You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it.  You can then email it to
qa-reports <at> lists.php.net later.
Do you want to send this report now? [Yns]:
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): sh: autoconf: command not found

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name
or service not known in
/tmp/guix-build-php-7.2.3.drv-0/php-7.2.3/run-tests.php on line 1049

Warning: fsockopen(): unable to connect to qa.php.net:80
(php_network_getaddresses: getaddrinfo failed: Name or service not
known) in /tmp/guix-build-php-7.2.3.drv-0/php-7.2.3/run-tests.php on
line 1049

The test script was unable to automatically send the report to PHP's QA
Team
Please send
/tmp/guix-build-php-7.2.3.drv-0/php-7.2.3/php_test_results_20180316_2137.txt
to qa-reports <at> lists.php.net manually, thank you.
make: *** [Makefile:237: test] Error 1
phase `check' failed after 1163.6 seconds
builder for `/gnu/store/wmhdapi16fkwmnqvafgqqrr1qsci8177-php-7.2.3.drv'
failed with exit code 1
guix package: error: build failed: build of
`/gnu/store/wmhdapi16fkwmnqvafgqqrr1qsci8177-php-7.2.3.drv' failed
--8<---------------cut here---------------end--------------->8---

Particularly, notice that in...

--8<---------------cut here---------------start------------->8---
Do you want to send this report now? [Yns]:
Please enter your email address.
--8<---------------cut here---------------end--------------->8---

... I don't do anything, so I assume the build process is responsible
for "advancing".

-- 
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
  gratis).
- "WhatsApp"? Ele não é livre. Por favor, veja formas de se comunicar
  instantaneamente comigo no endereço abaixo.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.




Information forwarded to bug-guix <at> gnu.org:
bug#30841; Package guix. (Sat, 17 Mar 2018 18:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 30841 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
Cc: 30841 <at> debbugs.gnu.org
Subject: Re: bug#30841: Building Zend PHP (php): tests fail, and "Name or
 service not known"
Date: Sat, 17 Mar 2018 18:59:01 +0100
Hello,

On Sat, Mar 17, 2018 at 02:28:59PM -0300, Adonay Felipe Nogueira wrote:
> Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name
> or service not known in

this looks like the problem that has been reported several times for different
situations, due to a change in glibc. The solution was to install "nscd"
(possibly in your host distribution if you are not on GuixSD).

Could you give it a try?

Andreas





Information forwarded to bug-guix <at> gnu.org:
bug#30841; Package guix. (Sun, 18 Mar 2018 02:15:02 GMT) Full text and rfc822 format available.

Message #11 received at 30841 <at> debbugs.gnu.org (full text, mbox):

From: Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
To: 30841 <at> debbugs.gnu.org
Subject: Re: bug#30841: Building Zend PHP (php): tests fail,
 and "Name or service not known"
Date: Sat, 17 Mar 2018 23:14:28 -0300
[Message part 1 (text/plain, inline)]
> situations, due to a change in glibc. The solution was to install "nscd"
> (possibly in your host distribution if you are not on GuixSD).
>
> Could you give it a try?

I already have host/foreign distro's "nscd" package installed, and the
daemon was/is already running.

- Distro: Trisquel 7

- nscd version: (Ubuntu EGLIBC 2.19-0ubuntu6.14) 2.19

--8<---------------cut here---------------start------------->8---
$ sudo service nscd status
[sudo] password for adfeno:
 * Status of Name Service Cache Daemon service:
 * running.
$ LANG=C sudo netstat -lanp | grep nscd
unix  2      [ ACC ]     STREAM     LISTENING     18682    1349/nscd           /var/run/nscd/socket
--8<---------------cut here---------------end--------------->8---

I also made my own "/etc/nsswitch.conf" file, which is attached. The
"nscd.conf" --- also attached --- comes from the "nscd" package, and
wasn't changed by me. If I recall correctly, the only think that I made
myself was the nsswitch.conf file, in which the "hosts" entry was based
on GuixSD's related GNU Shepherd service.

I also took care to restart the Guix daemon after changing the
nsswitch.conf file, but got the same result.

[nsswitch.conf (application/octet-stream, attachment)]
[nscd.conf (application/octet-stream, attachment)]

Information forwarded to bug-guix <at> gnu.org:
bug#30841; Package guix. (Tue, 20 Mar 2018 14:17:01 GMT) Full text and rfc822 format available.

Message #14 received at 30841 <at> debbugs.gnu.org (full text, mbox):

From: Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
To: 30841 <at> debbugs.gnu.org
Subject: Re: bug#30841: Building Zend PHP (php): tests fail,
 and "Name or service not known"
Date: Tue, 20 Mar 2018 11:16:31 -0300
> I also made my own "/etc/nsswitch.conf" file, which is attached. The

By the way I *did* notice the typo in "ndns" --- it should be "mdns"
---, and I corrected it, restarted nscd, restarted guix-daemon, and
tried again, with no good results.

I also tried "hosts: files dns", restarted nscd and guix-daemon,
respectively in this order, but also got no good results.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Tue, 22 Sep 2020 12:29:02 GMT) Full text and rfc822 format available.

Notification sent to Adonay Felipe Nogueira <adfeno <at> hyperbola.info>:
bug acknowledged by developer. (Tue, 22 Sep 2020 12:29:02 GMT) Full text and rfc822 format available.

Message #19 received at 30841-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 30841-done <at> debbugs.gnu.org, Adonay Felipe Nogueira <adfeno <at> hyperbola.info>
Subject: Re: bug#30841: Building Zend PHP (php): tests fail, and "Name or
 service not known"
Date: Tue, 22 Sep 2020 08:29:57 -0400
Hello,

Andreas Enge <andreas <at> enge.fr> writes:

> Hello,
>
> On Sat, Mar 17, 2018 at 02:28:59PM -0300, Adonay Felipe Nogueira wrote:
>> Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name
>> or service not known in
>
> this looks like the problem that has been reported several times for different
> situations, due to a change in glibc. The solution was to install "nscd"
> (possibly in your host distribution if you are not on GuixSD).
>
> Could you give it a try?
>
> Andreas

Closing this stale bug report.  If you find any test failures in the
current version of PHP, please create a new bug report.

Thanks,

Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 21 Oct 2020 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.