all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known"
@ 2018-03-17 17:28 Adonay Felipe Nogueira
  2018-03-17 17:59 ` Andreas Enge
  0 siblings, 1 reply; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-17 17:28 UTC (permalink / raw)
  To: 30841

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@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@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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known"
  2018-03-17 17:28 bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known" Adonay Felipe Nogueira
@ 2018-03-17 17:59 ` Andreas Enge
  2018-03-18  2:14   ` Adonay Felipe Nogueira
  2020-09-22 12:29   ` Maxim Cournoyer
  0 siblings, 2 replies; 5+ messages in thread
From: Andreas Enge @ 2018-03-17 17:59 UTC (permalink / raw)
  To: Adonay Felipe Nogueira; +Cc: 30841

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known"
  2018-03-17 17:59 ` Andreas Enge
@ 2018-03-18  2:14   ` Adonay Felipe Nogueira
  2018-03-20 14:16     ` Adonay Felipe Nogueira
  2020-09-22 12:29   ` Maxim Cournoyer
  1 sibling, 1 reply; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-18  2:14 UTC (permalink / raw)
  To: 30841

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

> 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.


[-- Attachment #2: nsswitch.conf --]
[-- Type: application/octet-stream, Size: 511 bytes --]

# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns_minimal [NOTFOUND=return] dns ndns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis

[-- Attachment #3: nscd.conf --]
[-- Type: application/octet-stream, Size: 2528 bytes --]

#
# /etc/nscd.conf
#
# An example Name Service Cache config file.  This file is needed by nscd.
#
# Legal entries are:
#
#	logfile			<file>
#	debug-level		<level>
#	threads			<initial #threads to use>
#	max-threads		<maximum #threads to use>
#	server-user             <user to run server as instead of root>
#		server-user is ignored if nscd is started with -S parameters
#       stat-user               <user who is allowed to request statistics>
#	reload-count		unlimited|<number>
#	paranoia		<yes|no>
#	restart-interval	<time in seconds>
#
#       enable-cache		<service> <yes|no>
#	positive-time-to-live	<service> <time in seconds>
#	negative-time-to-live   <service> <time in seconds>
#       suggested-size		<service> <prime number>
#	check-files		<service> <yes|no>
#	persistent		<service> <yes|no>
#	shared			<service> <yes|no>
#	max-db-size		<service> <number bytes>
#	auto-propagate		<service> <yes|no>
#
# Currently supported cache names (services): passwd, group, hosts, services
#


#	logfile			/var/log/nscd.log
#	threads			4
#	max-threads		32
#	server-user		nobody
#	stat-user		somebody
	debug-level		0
#	reload-count		5
	paranoia		no
#	restart-interval	3600

	enable-cache		passwd		yes
	positive-time-to-live	passwd		600
	negative-time-to-live	passwd		20
	suggested-size		passwd		211
	check-files		passwd		yes
	persistent		passwd		yes
	shared			passwd		yes
	max-db-size		passwd		33554432
	auto-propagate		passwd		yes

	enable-cache		group		yes
	positive-time-to-live	group		3600
	negative-time-to-live	group		60
	suggested-size		group		211
	check-files		group		yes
	persistent		group		yes
	shared			group		yes
	max-db-size		group		33554432
	auto-propagate		group		yes

	enable-cache		hosts		yes
	positive-time-to-live	hosts		3600
	negative-time-to-live	hosts		20
	suggested-size		hosts		211
	check-files		hosts		yes
	persistent		hosts		yes
	shared			hosts		yes
	max-db-size		hosts		33554432

	enable-cache		services	yes
	positive-time-to-live	services	28800
	negative-time-to-live	services	20
	suggested-size		services	211
	check-files		services	yes
	persistent		services	yes
	shared			services	yes
	max-db-size		services	33554432

# netgroup caching is known-broken, so disable it in the default config,
# see: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1068889
	enable-cache		netgroup	no
	positive-time-to-live	netgroup	28800
	negative-time-to-live	netgroup	20
	suggested-size		netgroup	211
	check-files		netgroup	yes
	persistent		netgroup	yes
	shared			netgroup	yes
	max-db-size		netgroup	33554432

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known"
  2018-03-18  2:14   ` Adonay Felipe Nogueira
@ 2018-03-20 14:16     ` Adonay Felipe Nogueira
  0 siblings, 0 replies; 5+ messages in thread
From: Adonay Felipe Nogueira @ 2018-03-20 14:16 UTC (permalink / raw)
  To: 30841

> 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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known"
  2018-03-17 17:59 ` Andreas Enge
  2018-03-18  2:14   ` Adonay Felipe Nogueira
@ 2020-09-22 12:29   ` Maxim Cournoyer
  1 sibling, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2020-09-22 12:29 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 30841-done, Adonay Felipe Nogueira

Hello,

Andreas Enge <andreas@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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-22 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-17 17:28 bug#30841: Building Zend PHP (php): tests fail, and "Name or service not known" Adonay Felipe Nogueira
2018-03-17 17:59 ` Andreas Enge
2018-03-18  2:14   ` Adonay Felipe Nogueira
2018-03-20 14:16     ` Adonay Felipe Nogueira
2020-09-22 12:29   ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.