Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make uninstall-nodist_pkgpythonPYTHON fails with spourious extra pipe in shell-command. #249

Open
dreirund opened this issue Nov 28, 2018 · 1 comment

Comments

@dreirund
Copy link

make uninstall-nodist_pkgpythonPYTHON fails with

/bin/sh: -c: line 11: syntax error near unexpected token `|'
/bin/sh: -c: line 11: `echo "$py_files" |  | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \'

I am trying to build the Arch Linux AUR package, and the error occurs when packaging libmega-git.

The failing make command is:

make -j1 -C build DESTDIR="${pkgdir}" uninstall-nodist_pkgpythonPYTHON

The terminal output of that command:

make: Entering directory '/tmp/fuse-megasync-git/src/build'
/bin/sh: -c: line 11: syntax error near unexpected token `|'
/bin/sh: -c: line 11: `echo "$py_files" |  | sed '$!N;$!N;$!N;$!N;$!N;$!N;$!N;s/\n/ /g' | sed '$!N;$!N;$!N;$!N;s/\n/ /g' | \'
make: *** [Makefile:2734: uninstall-nodist_pkgpythonPYTHON] Error 1
make: Leaving directory '/tmp/fuse-megasync-git/src/build'

Obviously, there seems to be one | too much or a command missing between the two |s.

All the commands invoked to build can be seen here (see the prepare(), then the build(), and then the packahe_*()-functions).

@sl1pkn07
Copy link

sl1pkn07 commented Mar 17, 2019

Hi

i'm the libmega-git/megacync-git package maintainer

I've reworking the pkgbuild. now the error is gone because now that rure is not used

i'm not sure if the error is still persist if uninstall-nodist_pkgpythonPYTHON is launched

greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants