bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23045: mysql_config missing references to sed and gawk


From: zimoun
Subject: bug#23045: mysql_config missing references to sed and gawk
Date: Tue, 14 Sep 2021 16:09:46 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]