GNU bug report logs - #23045
mysql_config missing references to sed and gawk

Previous Next

Package: guix;

Reported by: "Thompson, David" <dthompson2 <at> worcester.edu>

Date: Thu, 17 Mar 2016 19:53:01 UTC

Severity: normal

Done: Sarah Morgensen <iskarian <at> mgsn.dev>

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 23045 in the body.
You can then email your comments to 23045 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#23045; Package guix. (Thu, 17 Mar 2016 19:53:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 17 Mar 2016 19:53:01 GMT) Full text and rfc822 format available.

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

From: "Thompson, David" <dthompson2 <at> worcester.edu>
To: bug-guix <at> gnu.org
Subject: mysql_config missing references to sed and gawk
Date: Thu, 17 Mar 2016 15:52:21 -0400
The mysql_config binary in the mysql package needs sed and gawk to be
on $PATH in order to run.  Instead, it should be patched to hardcode
the store paths to sed and gawk.




Information forwarded to bug-guix <at> gnu.org:
bug#23045; Package guix. (Tue, 14 Sep 2021 16:22:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: "Thompson, David" <dthompson2 <at> worcester.edu>
Cc: 23045 <at> debbugs.gnu.org
Subject: Re: bug#23045: mysql_config missing references to sed and gawk
Date: Tue, 14 Sep 2021 16:09:46 +0200
Hi,

On Thu, 17 Mar 2016 at 15:52, "Thompson, David" <dthompson2 <at> worcester.edu> wrote:
> The mysql_config binary in the mysql package needs sed and gawk to be
> on $PATH in order to run.  Instead, it should be patched to hardcode
> the store paths to sed and gawk.

Indeed, it is still the case with Guix 53f54d4:

--8<---------------cut here---------------start------------->8---
$ guix environment --ad-hoc mysql -C
[env]$ mysql_config
/gnu/store/babgwy3cvv851ddx7npvh9ick3fs0fgc-profile/bin/mysql_config: line 87: sed: command not found
/gnu/store/babgwy3cvv851ddx7npvh9ick3fs0fgc-profile/bin/mysql_config: line 95: sed: command not found
/gnu/store/babgwy3cvv851ddx7npvh9ick3fs0fgc-profile/bin/mysql_config: line 99: sed: command not found
/gnu/store/babgwy3cvv851ddx7npvh9ick3fs0fgc-profile/bin/mysql_config: line 131: cat: command not found
--8<---------------cut here---------------end--------------->8---

or another example:

--8<---------------cut here---------------start------------->8---
$ cat $GUIX_ENVIRONMENT/bin/mysql_config | grep awk
file=`ls -l $file | awk '{ print $NF }'`
--8<---------------cut here---------------end--------------->8---

and the package definition of ’mysql’ reads:

--8<---------------cut here---------------start------------->8---
    (native-inputs
     `(("bison" ,bison)
       ("perl" ,perl)
       ("pkg-config" ,pkg-config)))
    (inputs
     `(("boost" ,boost-for-mysql)
       ("libaio" ,libaio)
       ("libtirpc" ,libtirpc)
       ("ncurses" ,ncurses)
       ("openssl" ,openssl)
       ("rpcsvc-proto" ,rpcsvc-proto) ; rpcgen
       ("zlib" ,zlib)))
--8<---------------cut here---------------end--------------->8---

To make it works, the packages ’coreutils’, ’sed’ and ’gawk’ should be
propagated.  Right?

Could you comment on patch#50586 [1]?  It should fix the issue.

1: <http://issues.guix.gnu.org/issue/50586>

All the best,
simon




Reply sent to Sarah Morgensen <iskarian <at> mgsn.dev>:
You have taken responsibility. (Sat, 25 Sep 2021 21:51:02 GMT) Full text and rfc822 format available.

Notification sent to "Thompson, David" <dthompson2 <at> worcester.edu>:
bug acknowledged by developer. (Sat, 25 Sep 2021 21:51:02 GMT) Full text and rfc822 format available.

Message #13 received at 23045-done <at> debbugs.gnu.org (full text, mbox):

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: 23045-done <at> debbugs.gnu.org
Subject: Re: bug#23045: mysql_config missing references to sed and gawk
Date: Sat, 25 Sep 2021 14:50:23 -0700
Fixed by <https://issues.guix.gnu.org/50586>.

--
Sarah




Information forwarded to bug-guix <at> gnu.org:
bug#23045; Package guix. (Mon, 27 Sep 2021 12:13:02 GMT) Full text and rfc822 format available.

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

From: zimoun <zimon.toutoune <at> gmail.com>
To: 23045 <at> debbugs.gnu.org, Sarah Morgensen <iskarian <at> mgsn.dev>, 
 "Thompson, David" <dthompson2 <at> worcester.edu>
Cc: 23045-done <at> debbugs.gnu.org
Subject: Re: bug#23045: mysql_config missing references to sed and gawk
Date: Mon, 27 Sep 2021 14:12:02 +0200
Hi Sarah,

On Sat, 25 Sept 2021 at 23:51, Sarah Morgensen <iskarian <at> mgsn.dev> wrote:

> Fixed by <https://issues.guix.gnu.org/50586>.

Thanks for closing! :-)

Cheers,
simon




Information forwarded to bug-guix <at> gnu.org:
bug#23045; Package guix. (Mon, 27 Sep 2021 12:13: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. (Tue, 26 Oct 2021 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 183 days ago.

Previous Next


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