GNU bug report logs - #46255
Undeclared xbindkeys dependency on Tk

Previous Next

Package: guix;

Reported by: mandraker <at> inventati.org

Date: Tue, 2 Feb 2021 11:02:02 UTC

Severity: normal

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 46255 in the body.
You can then email your comments to 46255 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#46255; Package guix. (Tue, 02 Feb 2021 11:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to mandraker <at> inventati.org:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 02 Feb 2021 11:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: mandraker <at> inventati.org
To: bug-guix <at> gnu.org
Subject: Undeclared xbindkeys dependency on Tk
Date: Tue, 02 Feb 2021 09:53:19 +0000
Dear Guix Dev.

$ xbindkeys_show
/home/eric/.guix-profile/bin/xbindkeys_show: line 3: exec: wish: not 
found

$ cat /home/eric/.guix-profile/bin/xbindkeys_show
#!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
# \
exec wish "$0" "$@"
^
|   ...
|
|
xbindkeys_show use the package Tk that is not declared

SeeYAAA!




Information forwarded to bug-guix <at> gnu.org:
bug#46255; Package guix. (Tue, 02 Feb 2021 17:02:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: mandraker <at> inventati.org
Cc: 46255-done <at> debbugs.gnu.org, bug-guix <at> gnu.org
Subject: Re: bug#46255: Undeclared xbindkeys dependency on Tk
Date: Tue, 02 Feb 2021 18:01:23 +0100
[Message part 1 (text/plain, inline)]
Mandraker,

mandraker <at> inventati.org 写道:
> $ xbindkeys_show
> /home/eric/.guix-profile/bin/xbindkeys_show: line 3: exec: wish: 
> not
> found

Thanks.

This was due to ...unconventional shebang usage upstream:

 #!/bin/sh 
 # \
 exec wish "$0" "$@"

I don't pretend to comprehend why.  I don't see any polyglottal 
cleverness going on below it.

Our built-in ‘patch-shebang’ has no problem patching first one 
(creating a bogus dependency on bash, now gone) but can't see the 
obfuscated wish one.

Fixed[0] by turning it into a proper shebang first.

Please test and report your results; it complains about a missing 
configuration file here.

> xbindkeys_show use the package Tk that is not declared

They do declare it, kind of, in xbindkeys.spec and ./configure 
etc.  And (incidentally) halfway down the ChangeLog file.  Hardly 
obvious, indeed.

Kind regards,

T G-R

[0]: 
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=72fabd8d6ef7fbfd19c1f1ef294b26e3c5a16bbf
[signature.asc (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Tue, 02 Feb 2021 17:02:02 GMT) Full text and rfc822 format available.

Notification sent to mandraker <at> inventati.org:
bug acknowledged by developer. (Tue, 02 Feb 2021 17:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Mar 2021 12:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 166 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.