* bug#48214: inetutils-1.9.4 build fails
@ 2021-05-04 2:16 Bone Baboon via Bug reports for GNU Guix
2021-05-04 9:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-04 2:16 UTC (permalink / raw)
To: 48214
On a x86_64 computer when I run `guix build --no-substitutes --keep-failed inetutils` the build fails because of one failed test.
`guix describe` outputs:
```
Generation 18 May 03 2021 13:15:55 (current)
guix 065d2cd
repository URL: https://git.savannah.gnu.org/git/guix.git
commit: 065d2cd6ced96ddb38c15a46f798488f61660a33
```
Error message:
```
command "make" "check" failed with status 2
note: keeping build directory `/tmp/guix-build-inetutils-1.9.4.drv-0'
builder for `/gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv' failed with exit code 1
build of /gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv failed
View build log at '/var/log/guix/drvs/im/mphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv.bz2'.
guix build: error: build of `/gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv' failed
```
Test suite contents:
```
===============================================
GNU inetutils 1.9.4: tests/test-suite.log
===============================================
# TOTAL: 15
# PASS: 8
# SKIP: 6
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
SKIP: ping-localhost.sh
=======================
ping needs to run as root
SKIP ping-localhost.sh (exit status: 77)
SKIP: traceroute-localhost.sh
=============================
traceroute needs to run as root
SKIP traceroute-localhost.sh (exit status: 77)
SKIP: tftp.sh
=============
The use of the superserver Inetd in this script requires
the availability of "/etc/nsswitch.conf", "/etc/passwd", and
"/etc/protocols". At least one of these is now missing.
Therefore skipping test.
SKIP tftp.sh (exit status: 77)
FAIL: syslogd.sh
================
../src/logger: ::1:7041: Cannot assign requested address
Registered 24 successes out of 25.
NOTICE: Standard port test was not run.
Failing some tests.
FAIL syslogd.sh (exit status: 1)
SKIP: ftp-localhost.sh
======================
The use of the superserver Inetd in this script requires
the availability of "/etc/nsswitch.conf", "/etc/passwd", and
"/etc/protocols". At least one of these is now missing.
Therefore skipping test.
SKIP ftp-localhost.sh (exit status: 77)
SKIP: inetd.sh
==============
This test requires the availability of "/etc/protocols",
a file which can not be found in the current system.
Therefore skipping this test.
SKIP inetd.sh (exit status: 77)
SKIP: telnet-localhost.sh
=========================
No TTY assigned to this process. Skipping test.
SKIP telnet-localhost.sh (exit status: 77)
```
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-04 2:16 bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
@ 2021-05-04 9:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-06 1:52 ` Bone Baboon via Bug reports for GNU Guix
2021-05-12 21:53 ` Bone Baboon via Bug reports for GNU Guix
` (3 subsequent siblings)
4 siblings, 1 reply; 16+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2021-05-04 9:09 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214
[-- Attachment #1: Type: text/plain, Size: 302 bytes --]
Babs,
Bone Baboon via Bug reports for GNU Guix 写道:
> FAIL: syslogd.sh
> ================
>
> ../src/logger: ::1:7041: Cannot assign requested address
Looks like the same cause as <https://issues.guix.gnu.org/48213>:
missing IPv6 support on the host kernel.
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-04 9:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-05-06 1:52 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 14:55 ` Bone Baboon via Bug reports for GNU Guix
0 siblings, 1 reply; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-06 1:52 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: 48214
Tobias Geerinckx-Rice writes:
> Bone Baboon via Bug reports for GNU Guix 写道:
>> FAIL: syslogd.sh
>> ================
>>
>> ../src/logger: ::1:7041: Cannot assign requested address
>
> Looks like the same cause as <https://issues.guix.gnu.org/48213>:
> missing IPv6 support on the host kernel.
Thank you for pointing this out.
I have reported this to the inetutils bug mailing list and asked if the
inetutils test suite could be modified so that syslogd.sh does not fail
if IPv6 is disabled.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-06 1:52 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-05-06 14:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 17:14 ` Bone Baboon via Bug reports for GNU Guix
0 siblings, 1 reply; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-06 14:55 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214, me
[-- Attachment #1: Type: text/plain, Size: 3589 bytes --]
Bone Baboon via Bug reports for GNU Guix writes:
> I have reported this to the inetutils bug mailing list and asked if the
> inetutils test suite could be modified so that syslogd.sh does not fail
> if IPv6 is disabled.
I received this response on the inetutils mailing list:
> Hi. Thanks for the report. Could you investigate if the
> tests/runtime-ipv6.c program return appropriately? It is supposed to
> check wether the runtime system supports IPv6 or not, and should detect
> this properly on your system (or there is a bug in the self-test code
> elsewhere).
>
> Looking at the code, I don't think a getaddrinfo-lookup is sufficient,
> the code probably need to attempt to listen to a socket too, in order to
> fully test wether IPv6 is disabled globally or not.
I looked for tests/runtime-ipv6.c in the inetutils's build tree. I
could not find it. I looked up the current version of inetutils which
is 2.0. Guix has 1.9.4 of inetutils packaged.
Based on the response I received on the inetutils mailing list it sounds
like updating the inetutils package to 2.0 may resolve this failing
test.
I tried to build inetutils from the file inetutils-2-0.scm attached.
It's only changes are the version number and hash for inetutils 2.0. It
failed with this error:
```
patching file ifconfig/system.c
Hunk #1 FAILED at 25.
1 out of 1 hunk FAILED -- saving rejects to file ifconfig/system.c.rej
patching file ifconfig/system.h
Hunk #1 FAILED at 97.
1 out of 1 hunk FAILED -- saving rejects to file ifconfig/system.h.rej
patching file ifconfig/system/Makefile.am
Hunk #1 FAILED at 26.
1 out of 1 hunk FAILED -- saving rejects to file ifconfig/system/Makefile.am.rej
patching file ifconfig/system/generic.c
Hunk #1 FAILED at 22.
Hunk #2 FAILED at 36.
2 out of 2 hunks FAILED -- saving rejects to file ifconfig/system/generic.c.rej
The next patch would create the file ifconfig/system/hurd.c,
which already exists! Applying it anyway.
patching file ifconfig/system/hurd.c
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ifconfig/system/hurd.c.rej
The next patch would create the file ifconfig/system/hurd.h,
which already exists! Applying it anyway.
patching file ifconfig/system/hurd.h
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ifconfig/system/hurd.h.rej
patching file ifconfig/system/hurd.c
Hunk #1 succeeded at 186 with fuzz 2 (offset 11 lines).
Hunk #2 FAILED at 194.
1 out of 2 hunks FAILED -- saving rejects to file ifconfig/system/hurd.c.rej
patching file telnet/sys_bsd.c
Hunk #1 succeeded at 64 (offset 1 line).
Hunk #2 succeeded at 159 (offset 1 line).
Hunk #3 succeeded at 262 (offset 1 line).
Hunk #4 succeeded at 759 (offset 1 line).
source is under 'inetutils-2.0'
applying '/gnu/store/pyjlhc8r3xzm169l6symkm2l9wrab6hl-inetutils-hurd.patch'...
Backtrace:
3 (primitive-load "/gnu/store/401x9biqviwi2xa2sjs9p7c0xsf…")
In ice-9/eval.scm:
619:8 2 (_ #(#<directory (guile-user) 10d7d0> "inetutils-2.0"))
In srfi/srfi-1.scm:
634:9 1 (for-each #<procedure apply-patch (a)> ("/gnu/store/py…"))
In guix/build/utils.scm:
654:6 0 (invoke _ . _)
guix/build/utils.scm:654:6: In procedure invoke:
ERROR:
1. &invoke-error:
program: "/gnu/store/qw20chpgkgbcqmzhs60c8hjl1hmblyc8-patch-2.7.6/bin/patch"
arguments: ("--force" "--no-backup-if-mismatch" "-p1" "--input" "/gnu/store/pyjlhc8r3xzm169l6symkm2l9wrab6hl-inetutils-hurd.patch")
exit-status: 1
term-signal: #f
stop-signal: #f
```
[-- Attachment #2: inetutils-2-0.scm --]
[-- Type: application/octet-stream, Size: 4151 bytes --]
(use-modules
(gnu packages admin)
(guix build-system cmake)
(guix build-system emacs)
(guix build-system glib-or-gtk)
(guix build-system gnu)
(guix build-system go)
(guix build-system meson)
(guix build-system perl)
(guix build-system python)
(guix build-system ruby)
(guix build-system trivial)
(guix download)
(guix git-download)
((guix licenses) #:prefix license:)
(guix packages)
(guix utils)
(gnu packages)
(gnu packages algebra)
(gnu packages autogen)
(gnu packages autotools)
(gnu packages base)
(gnu packages bash)
(gnu packages bison)
(gnu packages boost)
(gnu packages c)
(gnu packages check)
(gnu packages compression)
(gnu packages cross-base)
(gnu packages crypto)
(gnu packages cryptsetup)
(gnu packages cyrus-sasl)
(gnu packages dns)
(gnu packages elf)
(gnu packages file)
(gnu packages flex)
(gnu packages gawk)
(gnu packages gettext)
(gnu packages gl)
(gnu packages glib)
(gnu packages gnome)
(gnu packages gnupg)
(gnu packages golang)
(gnu packages groff)
(gnu packages gtk)
(gnu packages guile)
(gnu packages hurd)
(gnu packages image)
(gnu packages imagemagick)
(gnu packages inkscape)
(gnu packages kerberos)
(gnu packages libbsd)
(gnu packages libftdi)
(gnu packages libunwind)
(gnu packages libusb)
(gnu packages linux)
(gnu packages lua)
(gnu packages mail)
(gnu packages man)
(gnu packages mcrypt)
(gnu packages mpi)
(gnu packages ncurses)
(gnu packages openldap)
(gnu packages patchutils)
(gnu packages pciutils)
(gnu packages pcre)
(gnu packages perl)
(gnu packages perl-check)
(gnu packages pkg-config)
(gnu packages popt)
(gnu packages python)
(gnu packages python-crypto)
(gnu packages python-web)
(gnu packages python-xyz)
(gnu packages qt)
(gnu packages readline)
(gnu packages ruby)
(gnu packages serialization)
(gnu packages sphinx)
(gnu packages tcl)
(gnu packages terminals)
(gnu packages texinfo)
(gnu packages tls)
(gnu packages version-control)
(gnu packages web)
(gnu packages xdisorg)
(gnu packages xml)
(gnu packages xorg))
(package
(name "inetutils")
(version "2.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/inetutils/inetutils-"
version ".tar.gz"))
(patches (search-patches "inetutils-hurd.patch"))
(sha256
(base32
"0j1nb69bhg29cm4xkqqjh2ln1zqcj2lnpm92v638lpwrs11dypxl"))))
; "05n65k4ixl85dc6rxc51b1b732gnmm8xnqi424dy9f1nz7ppb3xy"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--localstatedir=/var"
;; Make sure 'PATH_PROCNET_DEV' gets defined when
;; cross-compiling (by default it does not.)
,@(if (%current-target-system)
'("--with-path-procnet-dev=/proc/net/dev")
'())
,@(if (hurd-target?)
'("--disable-rcp"
"--disable-rexec"
"--disable-rexecd"
"--disable-rlogin"
"--disable-rlogind"
"--disable-rsh"
"--disable-rshd"
"--disable-uucpd"
"--disable-whois")
'()))
;; On some systems, 'libls.sh' may fail with an error such as:
;; "Failed to tell switch -a apart from -A".
#:parallel-tests? #f))
(inputs `(("ncurses" ,ncurses)
("readline" ,readline))) ;for 'ftp'
(native-inputs (if (member (%current-system)
(package-supported-systems net-tools))
`(("netstat" ,net-tools)) ;for tests
'()))
(home-page "https://www.gnu.org/software/inetutils/")
(synopsis "Basic networking utilities")
(description
"Inetutils is a collection of common network programs, such as an ftp
client and server, a telnet client and server, an rsh client and server, and
hostname.")
(license license:gpl3+))
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-06 14:55 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-05-06 17:14 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 20:55 ` Ludovic Courtès
2021-05-08 6:30 ` Simon Josefsson via Bug reports for GNU Guix
0 siblings, 2 replies; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-06 17:14 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214, me
> Bone Baboon via Bug reports for GNU Guix writes:
>> I have reported this to the inetutils bug mailing list and asked if the
>> inetutils test suite could be modified so that syslogd.sh does not fail
>> if IPv6 is disabled.
>
> I received this response on the inetutils mailing list:
>
>> Hi. Thanks for the report. Could you investigate if the
>> tests/runtime-ipv6.c program return appropriately? It is supposed to
>> check wether the runtime system supports IPv6 or not, and should detect
>> this properly on your system (or there is a bug in the self-test code
>> elsewhere).
>>
>> Looking at the code, I don't think a getaddrinfo-lookup is sufficient,
>> the code probably need to attempt to listen to a socket too, in order to
>> fully test wether IPv6 is disabled globally or not.
>
> I looked for tests/runtime-ipv6.c in the inetutils's build tree. I
> could not find it. I looked up the current version of inetutils which
> is 2.0. Guix has 1.9.4 of inetutils packaged.
>
> Based on the response I received on the inetutils mailing list it sounds
> like updating the inetutils package to 2.0 may resolve this failing
> test.
On the inetutils mailing list it was suggested that I try inetutils 2.0
on the core-updates branch. I can successfully build inetutils 2.0 from
the core-updates branch even with IPv6 disabled.
What is the purpose of the core-updates branch?
If inetutils follows semantic version numbering then that would suggest
a breaking change to the inetutils API moving from 1.9.4 to 2.0. Can
the Guix master branch provide inetutils 2.0 instead of 1.9.4?
How can I use a package definition from core-updates with guix build or
in a system configuration if it is not available on Guix's master
branch?
What are the reasons I might not want to use a package from the
core-updates branch?
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-06 17:14 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-05-06 20:55 ` Ludovic Courtès
2021-05-07 0:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-08 6:30 ` Simon Josefsson via Bug reports for GNU Guix
1 sibling, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2021-05-06 20:55 UTC (permalink / raw)
To: Bone Baboon, 48214, me
Hi,
Bone Baboon via Bug reports for GNU Guix <bug-guix@gnu.org> skribis:
> On the inetutils mailing list it was suggested that I try inetutils 2.0
> on the core-updates branch. I can successfully build inetutils 2.0 from
> the core-updates branch even with IPv6 disabled.
>
> What is the purpose of the core-updates branch?
The ‘core-updates’ branch contains updates to core packages and core
Guix functionality that entails a rebuild of all the packages. In that
branch we put package upgrades that would otherwise lead to too many
rebuilds (info "(guix) Submitting Patches").
> If inetutils follows semantic version numbering then that would suggest
> a breaking change to the inetutils API moving from 1.9.4 to 2.0. Can
> the Guix master branch provide inetutils 2.0 instead of 1.9.4?
No: ‘guix refresh -l inetutils’ shows that almost 2,000 packages depend
on inetutils.
That said, if needed, ‘master’ could provide 2.0 in addition to 1.9, as
is done for GDB for instance.
> How can I use a package definition from core-updates with guix build or
> in a system configuration if it is not available on Guix's master
> branch?
You can do better :-), you can install 2.0 from master like so:
guix install inetutils --with-latest=inetutils
> What are the reasons I might not want to use a package from the
> core-updates branch?
‘core-updates’ is where we put core changes as I wrote, including
experimental changes. That branch also does not receive security
updates in a timely fashion. So it’s really a branch for developers
working on core improvements.
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-06 20:55 ` Ludovic Courtès
@ 2021-05-07 0:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 1:36 ` Bone Baboon via Bug reports for GNU Guix
` (2 more replies)
0 siblings, 3 replies; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-07 0:55 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 48214, me
Ludovic Courtès writes:
>> How can I use a package definition from core-updates with guix build or
>> in a system configuration if it is not available on Guix's master
>> branch?
>
> You can do better :-), you can install 2.0 from master like so:
>
> guix install inetutils --with-latest=inetutils
Thank you for sharing that command.
I prefer to build locally over using substitutes. When I try to run
`guix build inetutils --no-substitutes --with-latest=inetutils` it does
not complete because there is an interactive prompt. The prompt says
"Would you like to add this key to your keyring
'<path/to/trustedkeys.kbx>'?". I have a substitute server that is
sequentially building packages unattended and this would cause it to
become stuck and make no further progress.
>> On the inetutils mailing list it was suggested that I try inetutils 2.0
>> on the core-updates branch. I can successfully build inetutils 2.0 from
>> the core-updates branch even with IPv6 disabled.
>>
>> What is the purpose of the core-updates branch?
>
> The ‘core-updates’ branch contains updates to core packages and core
> Guix functionality that entails a rebuild of all the packages. In that
> branch we put package upgrades that would otherwise lead to too many
> rebuilds (info "(guix) Submitting Patches").
Thank you for explaining this.
---
What is the process for a package to be brought into master from core-updates?
---
I would rebuild all the packages on my system if I could use inetutils
2.0. Is there a way that I can rebuild all the packages I am using that
depend on inetutils to use inetutils 2.0 (or more generally any newer
version of package from core-updates)?
>> Can the Guix master branch provide inetutils 2.0 instead of 1.9.4?
>
> No: ‘guix refresh -l inetutils’ shows that almost 2,000 packages depend
> on inetutils.
>
> That said, if needed, ‘master’ could provide 2.0 in addition to 1.9, as
> is done for GDB for instance.
Would having multiple versions of inetutils in master also create
multiple versions of packages that depend on inetutils for example a
version of isc-dhcp that depends on inetutils 1.9 and another that
depends on inetutils 2.0?
---
Not having inetutils 2.0 in master appears to break how I connect to the
internet using Guix if I do both of these:
* Disable IPv6
** See my previous email in this thread that explains the rationale on
why I am disabling IPv6.
* Build from source
isc-dhcp fails to build because it depends on inetutils 1.9 which is
failing. I am using isc-dhcp when I connecting to the internet.
>> What are the reasons I might not want to use a package from the
>> core-updates branch?
>
> ‘core-updates’ is where we put core changes as I wrote, including
> experimental changes. That branch also does not receive security
> updates in a timely fashion. So it’s really a branch for developers
> working on core improvements.
Thank you for explaining this.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-07 0:55 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-05-07 1:36 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 17:53 ` Mark H Weaver
2021-05-08 12:53 ` Ludovic Courtès
2 siblings, 0 replies; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-07 1:36 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 48214, me
Bone Baboon writes:
> ** See my previous email in this thread that explains the rationale on
> why I am disabling IPv6.
Correction see https://issues.guix.gnu.org/48213#3 for my rationale for disabling IPv6.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-07 0:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 1:36 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-05-07 17:53 ` Mark H Weaver
2021-05-08 12:53 ` Ludovic Courtès
2 siblings, 0 replies; 16+ messages in thread
From: Mark H Weaver @ 2021-05-07 17:53 UTC (permalink / raw)
To: Bone Baboon, Ludovic Courtès; +Cc: 48214
Hi,
Bone Baboon via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
> Ludovic Courtès writes:
>>> How can I use a package definition from core-updates with guix build or
>>> in a system configuration if it is not available on Guix's master
>>> branch?
>>
>> You can do better :-), you can install 2.0 from master like so:
>>
>> guix install inetutils --with-latest=inetutils
>
> Thank you for sharing that command.
>
> I prefer to build locally over using substitutes.
[...]
> I would rebuild all the packages on my system if I could use inetutils
> 2.0. Is there a way that I can rebuild all the packages I am using that
> depend on inetutils to use inetutils 2.0 (or more generally any newer
> version of package from core-updates)?
Right, the problem is that since you're avoiding substitutes, you need
to fix the core 'inetutils' package in order to build your system at
all.
Moreover, you're also having problems with overly aggressive test
timeouts in 'glib' (see <https://bugs.gnu.org/48024#20>), you'll need to
fix that package as well.
I've outlined one possible way forward here:
https://bugs.gnu.org/48024#80
However, Ludovic might know of other alternatives.
Regards,
Mark
--
Disinformation flourishes because many people care deeply about injustice
but very few check the facts. Ask me about <https://stallmansupport.org>.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-06 17:14 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 20:55 ` Ludovic Courtès
@ 2021-05-08 6:30 ` Simon Josefsson via Bug reports for GNU Guix
1 sibling, 0 replies; 16+ messages in thread
From: Simon Josefsson via Bug reports for GNU Guix @ 2021-05-08 6:30 UTC (permalink / raw)
To: Bone Baboon, 48214, me
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
Bone Baboon via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
> If inetutils follows semantic version numbering then that would suggest
> a breaking change to the inetutils API moving from 1.9.4 to 2.0.
FWIW, inetutils is not following semantic versioning, and 2.0 is
expected to be a simple drop-in for 1.9.4.
/Simon
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-07 0:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 1:36 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 17:53 ` Mark H Weaver
@ 2021-05-08 12:53 ` Ludovic Courtès
2 siblings, 0 replies; 16+ messages in thread
From: Ludovic Courtès @ 2021-05-08 12:53 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214
Hi,
Bone Baboon <bone.baboon@disroot.org> skribis:
> Ludovic Courtès writes:
>>> How can I use a package definition from core-updates with guix build or
>>> in a system configuration if it is not available on Guix's master
>>> branch?
>>
>> You can do better :-), you can install 2.0 from master like so:
>>
>> guix install inetutils --with-latest=inetutils
>
> Thank you for sharing that command.
>
> I prefer to build locally over using substitutes. When I try to run
> `guix build inetutils --no-substitutes --with-latest=inetutils` it does
> not complete because there is an interactive prompt. The prompt says
> "Would you like to add this key to your keyring
> '<path/to/trustedkeys.kbx>'?". I have a substitute server that is
> sequentially building packages unattended and this would cause it to
> become stuck and make no further progress.
The interactive prompt is about authenticate the source code tarball,
inetutils-2.0.tar.gz. It does not relate to substitutes.
>>> On the inetutils mailing list it was suggested that I try inetutils 2.0
>>> on the core-updates branch. I can successfully build inetutils 2.0 from
>>> the core-updates branch even with IPv6 disabled.
>>>
>>> What is the purpose of the core-updates branch?
>>
>> The ‘core-updates’ branch contains updates to core packages and core
>> Guix functionality that entails a rebuild of all the packages. In that
>> branch we put package upgrades that would otherwise lead to too many
>> rebuilds (info "(guix) Submitting Patches").
>
> Thank you for explaining this.
>
> ---
>
> What is the process for a package to be brought into master from core-updates?
Submitting a patch the usual way, but making it clear in the subject
line that it targets ‘core-updates’.
> I would rebuild all the packages on my system if I could use inetutils
> 2.0. Is there a way that I can rebuild all the packages I am using that
> depend on inetutils to use inetutils 2.0 (or more generally any newer
> version of package from core-updates)?
You could maintain your own branch where the default inetutils is 2.0.
>>> Can the Guix master branch provide inetutils 2.0 instead of 1.9.4?
>>
>> No: ‘guix refresh -l inetutils’ shows that almost 2,000 packages depend
>> on inetutils.
>>
>> That said, if needed, ‘master’ could provide 2.0 in addition to 1.9, as
>> is done for GDB for instance.
>
> Would having multiple versions of inetutils in master also create
> multiple versions of packages that depend on inetutils for example a
> version of isc-dhcp that depends on inetutils 1.9 and another that
> depends on inetutils 2.0?
No; what I suggest above would just address the case where people run
‘guix install inetutils’ or it could change the one in
/run/current-system/profile.
> Not having inetutils 2.0 in master appears to break how I connect to the
> internet using Guix if I do both of these:
> * Disable IPv6
> ** See my previous email in this thread that explains the rationale on
> why I am disabling IPv6.
> * Build from source
>
> isc-dhcp fails to build because it depends on inetutils 1.9 which is
> failing. I am using isc-dhcp when I connecting to the internet.
Unfortunately I don’t have a good solution for you. :-/
We could change isc-dhcp in ‘master’ so that it depends on inetutils
2.0, but that looks like a band-aid.
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-04 2:16 bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
2021-05-04 9:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
@ 2021-05-12 21:53 ` Bone Baboon via Bug reports for GNU Guix
2021-05-12 21:59 ` bug#48214: inetutils 1.9.4 builds successfully Bone Baboon via Bug reports for GNU Guix
` (2 subsequent siblings)
4 siblings, 0 replies; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-12 21:53 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214
I have done several pulls since reporting that inetutils failed to
build. I can now build inetutils-1.9.4 successfully. I still have IPv6
disabled. I do not know what the cause of the build failure was. I do
not know why it can now build (likely a recent commit).
Bone Baboon via Bug reports for GNU Guix writes:
> On a x86_64 computer when I run `guix build --no-substitutes --keep-failed inetutils` the build fails because of one failed test.
>
> `guix describe` outputs:
>
> ```
> Generation 18 May 03 2021 13:15:55 (current)
> guix 065d2cd
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: 065d2cd6ced96ddb38c15a46f798488f61660a33
> ```
>
> Error message:
>
> ```
> command "make" "check" failed with status 2
> note: keeping build directory `/tmp/guix-build-inetutils-1.9.4.drv-0'
> builder for `/gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv' failed with exit code 1
> build of /gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv failed
> View build log at '/var/log/guix/drvs/im/mphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv.bz2'.
> guix build: error: build of `/gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv' failed
> ```
>
> Test suite contents:
>
> ```
> ===============================================
> GNU inetutils 1.9.4: tests/test-suite.log
> ===============================================
>
> # TOTAL: 15
> # PASS: 8
> # SKIP: 6
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> SKIP: ping-localhost.sh
> =======================
>
> ping needs to run as root
> SKIP ping-localhost.sh (exit status: 77)
>
> SKIP: traceroute-localhost.sh
> =============================
>
> traceroute needs to run as root
> SKIP traceroute-localhost.sh (exit status: 77)
>
> SKIP: tftp.sh
> =============
>
> The use of the superserver Inetd in this script requires
> the availability of "/etc/nsswitch.conf", "/etc/passwd", and
> "/etc/protocols". At least one of these is now missing.
> Therefore skipping test.
> SKIP tftp.sh (exit status: 77)
>
> FAIL: syslogd.sh
> ================
>
> ../src/logger: ::1:7041: Cannot assign requested address
> Registered 24 successes out of 25.
> NOTICE: Standard port test was not run.
> Failing some tests.
> FAIL syslogd.sh (exit status: 1)
>
> SKIP: ftp-localhost.sh
> ======================
>
> The use of the superserver Inetd in this script requires
> the availability of "/etc/nsswitch.conf", "/etc/passwd", and
> "/etc/protocols". At least one of these is now missing.
> Therefore skipping test.
> SKIP ftp-localhost.sh (exit status: 77)
>
> SKIP: inetd.sh
> ==============
>
> This test requires the availability of "/etc/protocols",
> a file which can not be found in the current system.
> Therefore skipping this test.
> SKIP inetd.sh (exit status: 77)
>
> SKIP: telnet-localhost.sh
> =========================
>
> No TTY assigned to this process. Skipping test.
> SKIP telnet-localhost.sh (exit status: 77)
> ```
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils 1.9.4 builds successfully
2021-05-04 2:16 bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
2021-05-04 9:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-12 21:53 ` Bone Baboon via Bug reports for GNU Guix
@ 2021-05-12 21:59 ` Bone Baboon via Bug reports for GNU Guix
2021-05-13 13:45 ` bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
2023-04-15 11:03 ` bug#48214: Close Andreas Enge
4 siblings, 0 replies; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-12 21:59 UTC (permalink / raw)
To: 48214-done
Closing bug#48214 because inetutils 1.9.4 now builds successfully even
with IPv6 disabled.
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-04 2:16 bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
` (2 preceding siblings ...)
2021-05-12 21:59 ` bug#48214: inetutils 1.9.4 builds successfully Bone Baboon via Bug reports for GNU Guix
@ 2021-05-13 13:45 ` Bone Baboon via Bug reports for GNU Guix
2023-02-22 2:00 ` 宋文武 via Bug reports for GNU Guix
2023-04-15 11:03 ` bug#48214: Close Andreas Enge
4 siblings, 1 reply; 16+ messages in thread
From: Bone Baboon via Bug reports for GNU Guix @ 2021-05-13 13:45 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
I have reopened bug#48214 because while inetutils-1.9.4 can be built on
x86_64 with IPv6 disabled this command fails on x86_64 with IPv6
disabled `guix build --no-substitutes --system=i686-linux` inetutils`.
This command has the same failing test. Attached is the failing i686
build log.
[-- Attachment #2: mphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv.bz2 --]
[-- Type: application/octet-stream, Size: 15601 bytes --]
[-- Attachment #3: Type: text/plain, Size: 2733 bytes --]
Bone Baboon via Bug reports for GNU Guix writes:
> On a x86_64 computer when I run `guix build --no-substitutes --keep-failed inetutils` the build fails because of one failed test.
>
> `guix describe` outputs:
>
> ```
> Generation 18 May 03 2021 13:15:55 (current)
> guix 065d2cd
> repository URL: https://git.savannah.gnu.org/git/guix.git
> commit: 065d2cd6ced96ddb38c15a46f798488f61660a33
> ```
>
> Error message:
>
> ```
> command "make" "check" failed with status 2
> note: keeping build directory `/tmp/guix-build-inetutils-1.9.4.drv-0'
> builder for `/gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv' failed with exit code 1
> build of /gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv failed
> View build log at '/var/log/guix/drvs/im/mphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv.bz2'.
> guix build: error: build of `/gnu/store/immphxs1iknnz5rfdhcs4i62j22yshqx-inetutils-1.9.4.drv' failed
> ```
>
> Test suite contents:
>
> ```
> ===============================================
> GNU inetutils 1.9.4: tests/test-suite.log
> ===============================================
>
> # TOTAL: 15
> # PASS: 8
> # SKIP: 6
> # XFAIL: 0
> # FAIL: 1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> SKIP: ping-localhost.sh
> =======================
>
> ping needs to run as root
> SKIP ping-localhost.sh (exit status: 77)
>
> SKIP: traceroute-localhost.sh
> =============================
>
> traceroute needs to run as root
> SKIP traceroute-localhost.sh (exit status: 77)
>
> SKIP: tftp.sh
> =============
>
> The use of the superserver Inetd in this script requires
> the availability of "/etc/nsswitch.conf", "/etc/passwd", and
> "/etc/protocols". At least one of these is now missing.
> Therefore skipping test.
> SKIP tftp.sh (exit status: 77)
>
> FAIL: syslogd.sh
> ================
>
> ../src/logger: ::1:7041: Cannot assign requested address
> Registered 24 successes out of 25.
> NOTICE: Standard port test was not run.
> Failing some tests.
> FAIL syslogd.sh (exit status: 1)
>
> SKIP: ftp-localhost.sh
> ======================
>
> The use of the superserver Inetd in this script requires
> the availability of "/etc/nsswitch.conf", "/etc/passwd", and
> "/etc/protocols". At least one of these is now missing.
> Therefore skipping test.
> SKIP ftp-localhost.sh (exit status: 77)
>
> SKIP: inetd.sh
> ==============
>
> This test requires the availability of "/etc/protocols",
> a file which can not be found in the current system.
> Therefore skipping this test.
> SKIP inetd.sh (exit status: 77)
>
> SKIP: telnet-localhost.sh
> =========================
>
> No TTY assigned to this process. Skipping test.
> SKIP telnet-localhost.sh (exit status: 77)
> ```
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: inetutils-1.9.4 build fails
2021-05-13 13:45 ` bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
@ 2023-02-22 2:00 ` 宋文武 via Bug reports for GNU Guix
0 siblings, 0 replies; 16+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-02-22 2:00 UTC (permalink / raw)
To: Bone Baboon; +Cc: 48214
Bone Baboon <bone.baboon@disroot.org> writes:
> I have reopened bug#48214 because while inetutils-1.9.4 can be built on
> x86_64 with IPv6 disabled this command fails on x86_64 with IPv6
> disabled `guix build --no-substitutes --system=i686-linux` inetutils`.
> This command has the same failing test. Attached is the failing i686
> build log.
>
Does this issue still exist? Now we have inetutils-2.0 in master, and will
have 2.3 soon after core-updates merged...
^ permalink raw reply [flat|nested] 16+ messages in thread
* bug#48214: Close
2021-05-04 2:16 bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
` (3 preceding siblings ...)
2021-05-13 13:45 ` bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
@ 2023-04-15 11:03 ` Andreas Enge
4 siblings, 0 replies; 16+ messages in thread
From: Andreas Enge @ 2023-04-15 11:03 UTC (permalink / raw)
To: 48214-done
Closing the bug, feel free to open a new one if the problem persists with
newer versions.
Andreas
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2023-04-15 11:04 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-04 2:16 bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
2021-05-04 9:09 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2021-05-06 1:52 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 14:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 17:14 ` Bone Baboon via Bug reports for GNU Guix
2021-05-06 20:55 ` Ludovic Courtès
2021-05-07 0:55 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 1:36 ` Bone Baboon via Bug reports for GNU Guix
2021-05-07 17:53 ` Mark H Weaver
2021-05-08 12:53 ` Ludovic Courtès
2021-05-08 6:30 ` Simon Josefsson via Bug reports for GNU Guix
2021-05-12 21:53 ` Bone Baboon via Bug reports for GNU Guix
2021-05-12 21:59 ` bug#48214: inetutils 1.9.4 builds successfully Bone Baboon via Bug reports for GNU Guix
2021-05-13 13:45 ` bug#48214: inetutils-1.9.4 build fails Bone Baboon via Bug reports for GNU Guix
2023-02-22 2:00 ` 宋文武 via Bug reports for GNU Guix
2023-04-15 11:03 ` bug#48214: Close Andreas Enge
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).