From: Efraim Flashner <efraim@flashner.co.il>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 21767@debbugs.gnu.org, Benno Evers <benno@bmevers.de>
Subject: bug#21767: Matching debug symbol and package versions
Date: Tue, 27 Oct 2015 18:40:54 +0200 [thread overview]
Message-ID: <20151027184054.72c492f9@debian-netbook> (raw)
In-Reply-To: <87bnbktie0.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1764 bytes --]
On Tue, 27 Oct 2015 16:56:23 +0100
ludo@gnu.org (Ludovic Courtès) wrote:
> Benno Evers <benno@bmevers.de> skribis:
>
> > assume I have installed some package
> >
> > /gnu/store/xxx-daemon-1.0
> >
> > After a while I notice that it's inexplicably hanging, so I do 'guix
> > package -i daemon-1.0:debug', attach to the daemon with gdb, and...no
> > debug symbols can be loaded! Turns out, in the meantime the hash has
> > changed so i installed
> >
> > /gnu/store/yyy-daemon-1.0:debug
>
> One thing that could be done, maybe, is for ‘guix package -i’ to try to
> infer the right item to install.
>
> That is, when running “guix package -i foo:bar”:
>
> 1. If no ‘foo’ is present in the profile, install the latest
> ‘foo:bar’, as is already the case.
>
> 2. If another output of ‘foo’ is already installed, do:
>
> 2a. Retrieve the .drv for that item using ‘query-path-info’.
>
> i. If the .drv is present, parse it, and use the outputs
> specified therein–i.e., the one that match.
>
> ii. If the .drv is missing, well, install the latest ‘foo:bar’.
>
> The obvious problem is that this all sounds a bit complex, and it’s
> unclear whether case (i) would sufficiently frequent to justify this
> complexity.
>
> Thoughts?
Less complex would be `guix package -i foo:bar` to effectively be `guix
package -i foo foo:bar`. But then if you really only wanted foo:bar you'd
have to follow up with `guix package -r foo`.
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-10-27 16:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-26 23:15 bug#21767: Matching debug symbol and package versions Benno Evers
2015-10-27 15:56 ` Ludovic Courtès
2015-10-27 16:40 ` Efraim Flashner [this message]
2015-10-27 17:23 ` Ludovic Courtès
2015-11-21 16:56 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151027184054.72c492f9@debian-netbook \
--to=efraim@flashner.co.il \
--cc=21767@debbugs.gnu.org \
--cc=benno@bmevers.de \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.