guix avahi install fails

  • Done
  • quality assurance status badge
Details
2 participants
  • Bengt Richter
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Bengt Richter
Severity
normal

Debbugs page

Bengt Richter wrote 5 years ago
(name . New-Bug)(address . bug-guix@gnu.org)
20191025020125.GA25245@PhantoNv4ArchGx.localdomain
Hello Guix,

guix install avahi resulted in error log as follows:

------------------------------
avahi-0.7/man/avahi.service.5
avahi-0.7/man/xmltoman.dtd
avahi-0.7/man/avahi-resolve.1
avahi-0.7/bootstrap.sh
avahi-0.7/doxygen.cfg
avahi-0.7/configure
avahi-0.7/compile
patching file avahi-core/server.c
patching file avahi-core/server.c
Hunk #1 FAILED at 930.
Hunk #2 succeeded at 955 with fuzz 1 (offset 8 lines).
1 out of 2 hunks FAILED -- saving rejects to file avahi-core/server.c.rej
source is under 'avahi-0.7'
applying '/gnu/store/3q0fkcby74bm6in7gssmfjjf0d250a1a-avahi-CVE-2018-1000845.patch'...
applying '/gnu/store/3q0fkcby74bm6in7gssmfjjf0d250a1a-avahi-CVE-2018-1000845.patch'...
Backtrace:
3 (primitive-load "/gnu/store/66d0abh3pxqwpagq30rjv9qix3m?")
In ice-9/eval.scm:
619:8 2 (_ #(#<directory (guile-user) 7ffff3c6c140> "avahi-0.7"))
In srfi/srfi-1.scm:
640:9 1 (for-each #<procedure apply-patch (a)> _)
In guix/build/utils.scm:
652:6 0 (invoke _ . _)

guix/build/utils.scm:652:6: In procedure invoke:
Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "/gnu/store/v76scv4n63ip08g119rczh2mrw31zwpd-patch-2.7.6/bin/patch" arguments: ("--force"
"--no-backup-if-mismatch" "-p1" "--input" "/gnu/store/3q0fkcby74bm6in7gssmfjjf0d250a1a-avahi-CVE-2018-1000845.patch") exit-status: 1 term-signal: #f stop-signa
l: #f] 7ffff401ecc0>)'.
------------------------------
Sorry, no time to pursue right now, RL demands :)
HTH
--
Regards,
Bengt Richter
Tobias Geerinckx-Rice wrote 5 years ago
(name . Bengt Richter)(address . bokr@bokr.com)(address . 37914-done@debbugs.gnu.org)
87o8y5fu85.fsf@nckx
Bengt,

Bengt Richter 写道:
Toggle quote (4 lines)
> patching file avahi-core/server.c
> patching file avahi-core/server.c
> Hunk #1 FAILED at 930.

You should ‘guix pull’ and try again: this was fixed on master a
day or two ago.

I'm closing this bug for that reason. Let me know if you still
have problems with avahi.

Kind regards,

T G-R
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl2yWjoACgkQ2Imw8BjF
STwE8Q/9EVfSYPOmdgUGMT9PECtd9Ziz4yoXLJWC8OeSGsLegvpxTkY69zxx4Fph
oSGKkrwDl1Om3UYVDJy9FJOZ81NLoqXgmnzPNATtbZn8iV9Vlu/y35kQlqBHvuVs
A6z3S1corh4VOCovIH7Iin/oZQ6EV2J3HEOXcd3t4xo4gQ/8iGlfMl7K+GV2guzA
lwAnMXih0ZxKSXEmiReCShw931MTc9MQmsI61/z8u/v3s/wjbKMfZIvHRbzFAzV6
MurKUuuNHtZrZUbKUm0baZO7IXoIm+bWMWML9EmUqNtHG5OC2eFpVSt45QbwTHqJ
MloSi+xVJPAF8zT6Q00C5euyLeSXqYEYormfjSqvG0oSfF5dMPMCXQeX7hRtOTg2
fkPtPzvj+2fS/uEE6t+7Ka3JYL6DHulEgTygNeqSMFH7wwQTK/obkXN1g5bRLkQO
E2FWllJlPOjvrCJh5a3bSGMjrUoiA+uqAIReGA+NAKneXeoKvMn5u2T8ORbvT0uv
Vn1N4QDUUtJfyFPJYrtx3WIqqspofJcAj77vIrzogJ7cnKP+c+Z4wsGla7bZO1Al
EvOmsrn0oNx1hrSlX75VTRlNG0lwjKCLLZAVOu79VXj6OPMXNNPK/oPM9XP9cq/2
N76c10FA8IetTinnkqX39sQwQ8ptGebxiUiZXgugw2m2H9uQZ0Y=
=F8vx
-----END PGP SIGNATURE-----

Closed
Bengt Richter wrote 5 years ago
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 37914-done@debbugs.gnu.org)
20191025061750.GA43263@PhantoNv4ArchGx.localdomain
Hi Tobias,

On +2019-10-25 04:13:14 +0200, Tobias Geerinckx-Rice wrote:
Toggle quote (17 lines)
> Bengt,
>
> Bengt Richter 写道:
> > patching file avahi-core/server.c
> > patching file avahi-core/server.c
> > Hunk #1 FAILED at 930.
>
> You should ‘guix pull’ and try again: this was fixed on master a day or two
> ago.
>
> I'm closing this bug for that reason. Let me know if you still have
> problems with avahi.
>
> Kind regards,
>
> T G-R

Thanks, guix install avahi succeeded! :)
And thereafter so did guix upgrade glibc-utf8-locales
And that in turn fixed the guile locale complaint triggered by guix's
use of guile (which guile directly invoked did not complain about).

I'd still like to know why avahi was involved in
guix install glibc-utf8-locales failing as I tried to show
in #bug37900, but after installing avahi, everything fell into place,
as just mentioned.

---------------------------------------------
$ guix describe
Generation 19 Oct 24 2019 22:37:20 (current)
guix 6caa739
branch: master
commit: 6caa7392d8e51f5ef26e9efaa867ca5f9e1cac91
$ guix package -I 'avahi|locales'
glibc-locales 2.28 out /gnu/store/bb9alx1ap57pz0vmx7p1r8qk0lxxfg3x-glibc-locales-2.28
avahi 0.7 out /gnu/store/f7zmq1hffs9lrwkyyn88k5r399a7f8xh-avahi-0.7
glibc-utf8-locales 2.29 out /gnu/store/n79cf8bvy3k96gjk1rf18d36w40lkwlr-glibc-utf8-locales-2.29
$
---------------------------------------------
Thanks again. Ok with me to close bug#37900,
even if you choose not to explain the avahi/locales entanglement shown there ;-)

A thought: When developers are working on a fix for something, is there a list of
pending fixes that one could have grepped to see that, oh, they're working on
e.g. avahi, I'll hold off posting a bug report. An ETA for the fix's commit would be
nice to have in that active pending-fixes list too (I know the entire bug archive is
a kind of pending-fix list, but most of that is not under active fixing ;-)
--
Regards,
Bengt Richter
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 37914@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 37914
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help