unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: 23045@debbugs.gnu.org
Subject: bug#23045: mysql_config missing references to sed and gawk
Date: Tue, 14 Sep 2021 16:09:46 +0200	[thread overview]
Message-ID: <86bl4vtfit.fsf@gmail.com> (raw)
In-Reply-To: <CAJ=RwfbaL5zWqX3wsjQsBg4-iiG6QFTmic_hXYtbMjQF7xQ27w@mail.gmail.com> (David Thompson's message of "Thu, 17 Mar 2016 15:52:21 -0400")

Hi,

On Thu, 17 Mar 2016 at 15:52, "Thompson, David" <dthompson2@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	other threads:[~2021-09-14 16:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17 19:52 bug#23045: mysql_config missing references to sed and gawk Thompson, David
2021-09-14 14:09 ` zimoun [this message]
2021-09-25 21:50 ` Sarah Morgensen
2021-09-27 12:12   ` zimoun

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bl4vtfit.fsf@gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=23045@debbugs.gnu.org \
    --cc=dthompson2@worcester.edu \
    /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 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).