unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53238: [PATCH] gnu: tree: Remove stddata feature.
       [not found]     ` <87a6fzchid.fsf@nckx>
@ 2022-01-15 14:37       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 0 replies; 4+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2022-01-15 14:37 UTC (permalink / raw)
  To: Olivier Dion; +Cc: 53238, guix-patches

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

Olivier, Maxim(no -e, sorry! :-),

Going by the number of bug reports, password-store is more popular 
than I thought.

Tobias Geerinckx-Rice 写道:
> I was going to apply the patch below to fix the password-store
> package, but Maxime just submitted another version which I 
> prefer. I'd
> rather not provide two trees in Guix.

I haven't changed my mind, but I did push the tree-1 solution as a 
‘temporary fix’ since it's the least invasive.

If Maxim's patch LGTeveryone, please go ahead and replace.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#53238: [PATCH] gnu: tree: Remove stddata feature.
       [not found]     ` <87r19bxofo.fsf_-_@gmail.com>
@ 2022-01-16 17:04       ` Marius Bakke
  2022-01-16 18:06         ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2022-01-16 17:04 UTC (permalink / raw)
  To: Maxim Cournoyer, Olivier Dion; +Cc: 53238

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

Hello!

Apologies for missing this discussion earlier...

Maxim Cournoyer <maxim.cournoyer@gmail.com> skriver:

> Hi,
>
> Olivier Dion <olivier.dion@polymtl.ca> writes:
>
>> On Thu, 13 Jan 2022, Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>>> Olivier,
>>>
>>> Thanks again for tracking down this weird bug!
>>>
>>> Olivier Dion via Guix-patches via 写道:
>>>> This feature breaks some UNIX utilities.  Fix it by disabling 
>>>> the feature.
>>>
>>> Hm…  How long would we have to carry this fork?  My fear is we'd 
>>> do so indefinitely.
>>
>> I've contacted the maintainer asking for removal of the feature in its
>> next release.  I'm not sure if this will have some impact.  Feel free to
>> do the same at <ice+tree@mama.indstate.edu>, maybe adding more weight
>> in the balance would help.
>>
>>> How about creating a (possibly hidden) tree-without-stddata 
>>> package variant, to use as input to packages who currently break 
>>> with this feature enabled?  That lets us refcount the need for it.
>>
>> It's more than just packages, it's also user scripts that can be broken
>> and believe me when I say that this is not an easy bug to track down ;-).
>
> I'm on the fence about this, it does indeed seem an undesirable change,
> especially since there's a --json option, but I am not the author of the
> 'tree' software.

After some consideration (and emails with tree author), I think the best
solution is to patch 'password-store' so that it DTRT even in the
presence of fd 3.

I sent a patch to that effect upstream:

  https://lists.zx2c4.com/pipermail/password-store/2022-January/004563.html

...and have local patches to apply that in Guix and revert
bd4f314bbacaaa56751be3a4769f2082be747d24 and
a40ac6271578ea061a8a07b2adbd6032a690ca70.

WDYT?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

* bug#53238: [PATCH] gnu: tree: Remove stddata feature.
  2022-01-16 17:04       ` Marius Bakke
@ 2022-01-16 18:06         ` Leo Famulari
  2022-01-17 17:37           ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2022-01-16 18:06 UTC (permalink / raw)
  To: Marius Bakke; +Cc: Olivier Dion, 53238, Maxim Cournoyer

On Sun, Jan 16, 2022 at 06:04:22PM +0100, Marius Bakke wrote:
> After some consideration (and emails with tree author), I think the best
> solution is to patch 'password-store' so that it DTRT even in the
> presence of fd 3.
> 
> I sent a patch to that effect upstream:
> 
>   https://lists.zx2c4.com/pipermail/password-store/2022-January/004563.html
> 
> ...and have local patches to apply that in Guix and revert
> bd4f314bbacaaa56751be3a4769f2082be747d24 and
> a40ac6271578ea061a8a07b2adbd6032a690ca70.
> 
> WDYT?

Definitely, this is the right approach. I didn't participate in this
bugfix but I think that removing or adding features to packages is not
something we should be doing at the level of the distro, except with
upstream coordination. Reporting this issue to password-store should
have been one of the first steps we took.




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

* bug#53238: [PATCH] gnu: tree: Remove stddata feature.
  2022-01-16 18:06         ` Leo Famulari
@ 2022-01-17 17:37           ` Marius Bakke
  0 siblings, 0 replies; 4+ messages in thread
From: Marius Bakke @ 2022-01-17 17:37 UTC (permalink / raw)
  To: Leo Famulari; +Cc: Olivier Dion, 53238-done, Maxim Cournoyer

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

Upstream fix pushed in 5da4cbfbd94163f87f188355e5490f04dd6864c2.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

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

end of thread, other threads:[~2022-01-17 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <fee834af05b189e4efdf06977a2ccb8935aa1277.1642105304.git.olivier.dion@polymtl.ca>
     [not found] ` <87ee5bcqhy.fsf@nckx>
     [not found]   ` <87ee5bwdzw.fsf@laura>
     [not found]     ` <87a6fzchid.fsf@nckx>
2022-01-15 14:37       ` bug#53238: [PATCH] gnu: tree: Remove stddata feature Tobias Geerinckx-Rice via Bug reports for GNU Guix
     [not found]     ` <87r19bxofo.fsf_-_@gmail.com>
2022-01-16 17:04       ` Marius Bakke
2022-01-16 18:06         ` Leo Famulari
2022-01-17 17:37           ` Marius Bakke

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