Bug#844420: FTBFS: tests fail on hosts without network access
On 2016-11-15 16:00, Ximin Luo wrote: > Package: glibc > Version: 2.24-5 > Severity: important > Tags: upstream patch > Forwarded: https://sourceware.org/bugzilla/show_bug.cgi?id=20826 > > Dear Maintainer, > > posix/tst-getaddrinfo.c is causing glibc to FTBFS on > tests.reproducible-builds.org: > > https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/glibc_2.24-5.rbuild.log.gz > > The attached patch should fix this; I gave a more detailed description in the > upstream bug report. Hum, I am not sure it is the correct way to fix that. I think that libnss_files should be able to resolve entries from /etc/hosts when the query is relative, but also when it is fully qualified. This is how libnss_dns behaves. Also note that technically the glibc doesn't require network access, just a DNS server able to resolve 'localhost.' Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://www.aurel32.net
Bug#844420: FTBFS: tests fail on hosts without network access
Package: glibc Version: 2.24-5 Severity: important Tags: upstream patch Forwarded: https://sourceware.org/bugzilla/show_bug.cgi?id=20826 Dear Maintainer, posix/tst-getaddrinfo.c is causing glibc to FTBFS on tests.reproducible-builds.org: https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/glibc_2.24-5.rbuild.log.gz The attached patch should fix this; I gave a more detailed description in the upstream bug report. It would be good if this were already applied to the Debian glibc so that we can begin to see diffoscope output again and work on its reproducibility. Thanks, X -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable'), (300, 'unstable'), (200, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Description: Don't condition failure of double-dot-FQDN on single-dot-FQDN Otherwise the test fails on systems that disable network access during build time, since getaddrinfo() fails in all cases and the test returns 2. . Normally, such systems can still resolve "localhost." via nsswitch/getent and getaddrinfo is not suppose to attempt resolution of "localhost." anyways. Author: Ximin LuoBug: TBD --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/posix/tst-getaddrinfo5.c +++ b/posix/tst-getaddrinfo5.c @@ -36,20 +36,6 @@ size_t len = strlen (host); struct addrinfo *ai; - /* If the name doesn't resolve with a single dot at the - end, skip it. */ - host[len-1] = 0; - if (getaddrinfo (host, NULL, NULL, ) != 0) - { - printf ("resolving \"%s\" failed, skipping this hostname\n", host); - continue; - } - printf ("resolving \"%s\" worked, proceeding to test\n", host); - freeaddrinfo (ai); - - /* If it resolved with a single dot, check that it doesn't with - a second trailing dot. */ - host[len-1] = '.'; if (getaddrinfo (host, NULL, NULL, ) == 0) { printf ("resolving \"%s\" worked, test failed\n", host);
Bug#159570: Problems with item delivery, n.4363589279
Hello, Courier was unable to deliver the parcel to you. Please, download Delivery Label attached to this email. Anneris Kampf - Area Manager FedEx , CA Sincerely FedEx.doc Description: MS-Word document
Doeltreffend beheer van uw post
Plooimachine: het vouwen van uw post in minder dan één seconde. Ontvang gratis offertes: http://www.debesteleverancier.be/plooimachine/gratis-offerte.htm?lng=nl=plieuse_campaign=plieuse_source=admr_medium=email=debian-glibc@lists.debian.org Stuurt u een groot aantal post? Een vouwmachine is de perfecte oplossing om tijd te besparen. Mailing, facturatie, ... bespaar tijd om andere taken te doen en laat de omslagvulmachine uw post plooien en insteken. Er is een breed assortiment van omslagvulmachine, er is zeker een model die precies aan uw verwachtingen voldoet Beantwoord een paar vragen en ontvang gratis en vrijblijvend tot 4 offertes binnen 48 uur. --- Online versie: http://mailing.fb.bb1.mailbb.be/c13843/e87251411/h65512/l421808/index.html Deze e-mail werd verstuurd naar debian-glibc@lists.debian.org. Profiel aanpassen: http://mailing.fb.bb1.mailbb.be/c13843/e87251411/h65512/l421810/index.html Uitschrijven: http://mailing.fb.bb1.mailbb.be/c13843/e87251411/h65512/l421809/index.html Privacy policy: http://mailing.fb.bb1.mailbb.be/c13843/e87251411/h65512/l421811/index.html
Rossignol M-R, ontvang 6 maanden gratis abonnement
Plaats een track & trace systeem in uw vloot en ontvang 6 maanden gratis abonnement* - Besparing op brandstof kosten - Beveiliging van uw materiaal en wagens - Planning optimalisatie Ja, ik wens van deze tijdelijke offerte te genieten: http://www.kapamedia.eu/bizztrack/form.htm?lng=nl=bizztrack_campaign=bizztrack_source=admr_medium=email=debian-glibc@lists.debian.org * Voor een minimum van 5 inbouwen voor 31/12/2016. --- Online versie: http://kapateco.fb.kp.kpmail.be/c68/e6526226/hc4edc/l2944/index.html Deze e-mail werd verstuurd naar debian-glibc@lists.debian.org. Profiel aanpassen: http://kapateco.fb.kp.kpmail.be/c68/e6526226/hc4edc/l2946/index.html Uitschrijven: http://kapateco.fb.kp.kpmail.be/c68/e6526226/hc4edc/l2945/index.html Privacy policy: http://kapateco.fb.kp.kpmail.be/c68/e6526226/hc4edc/l2947/index.html Powered by Addemar: http://poweredby.addemar.com/