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

zsh: no matches found #579

Open
LargePrime opened this issue Jan 11, 2025 · 14 comments
Open

zsh: no matches found #579

LargePrime opened this issue Jan 11, 2025 · 14 comments

Comments

@LargePrime
Copy link

LargePrime commented Jan 11, 2025

octopi installing a random aur package

/usr/bin/zsh -c "yay --noconfirm  --editmenu=false  --overwrite="*"  -S --aur wine-wow64;echo 'PAKtC'"
zsh: no matches found: yay --noconfirm  --editmenu=false  --overwrite=*  -S --aur wine-wow64;echo 'PAKtC'

see

https://www.reddit.com/r/zsh/comments/1abe3pf/no_matches_using_octopi/

yay --noconfirm --overwrite="*" -S --aur wine-wow64
seems to work.

thank you

@aarnt
Copy link
Owner

aarnt commented Jan 19, 2025

Solved issue in upstream code. Now octopi prefers bash shell when executing commands.

@aarnt aarnt closed this as completed Jan 19, 2025
@LargePrime
Copy link
Author

/usr/bin/bash -c "yay --noconfirm --editmenu=false --overwrite="" -S freetube-git;echo 'PAKtC'"
zsh: no matches found: yay --noconfirm --editmenu=false --overwrite=
-S freetube-git;echo 'PAKtC'

Apparently the fix didn't work?

@aarnt
Copy link
Owner

aarnt commented Feb 22, 2025

@LargePrime
Print here the Aur tab of your Tools/Options please.

@aarnt aarnt reopened this Feb 22, 2025
@LargePrime
Copy link
Author

Image

@aarnt
Copy link
Owner

aarnt commented Feb 24, 2025

Hi @LargePrime
Can you test upstream code?

@LargePrime
Copy link
Author

yes. can you detail how?

@LargePrime
Copy link
Author

bump

@aarnt
Copy link
Owner

aarnt commented Apr 4, 2025

Assuming you have updated Qt6 libs installed in your system, all
you have to do is run:

makepkg -f

Wait for the compilation and then install the generated package (as
root), using:

    pacman -U <nameOfTheGeneratedOctopiPackage.tar.[xz|zst]>

Octopi is located on the system utilities menu of your Desktop
Environment.

@LargePrime
Copy link
Author

src/alpmbackend.cpp:26:10: fatal error: alpm_octopi_utils.h: No such file or directory
26 | #include <alpm_octopi_utils.h>
| ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:1636: build/alpmbackend.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...

@LargePrime
Copy link
Author

make and install this https://github.com/aarnt/alpm_octopi_utils ?

@LargePrime
Copy link
Author

LargePrime commented Apr 10, 2025

cmake -DCMAKE_INSTALL_PREFIX=/usr ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.


-- The C compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at cmake/FindVala.cmake:52 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  cmake/ValaPrecompile.cmake:32 (find_package)
  src/CMakeLists.txt:1 (include)


CMake Error at cmake/FindVala.cmake:53 (string):
  string sub-command STRIP requires two arguments.
Call Stack (most recent call first):
  cmake/ValaPrecompile.cmake:32 (find_package)
  src/CMakeLists.txt:1 (include)


CMake Deprecation Warning at cmake/GenerateFindModule.cmake:33 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  src/CMakeLists.txt:2 (include)


-- Generated find module containing the imported target "glib-2.0::glib-2.0"
-- Generated find module containing the imported target "gio-2.0::gio-2.0"
-- Generated find module containing the imported target "alpm::alpm"
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.4.3")
-- Found glib-2.0: /usr/lib/libglib-2.0.so
-- Found gio-2.0: /usr/lib/libgio-2.0.so
-- Found alpm: /usr/lib/libalpm.so
-- Configuring incomplete, errors occurred!

this ok?

alpm_octopi_utils conflicts with liboctopi, yes?

@aarnt
Copy link
Owner

aarnt commented Apr 10, 2025

@LargePrime If you are using Artix, they ship liboctopi instead octopi_alpm_utils. It's the same package.

@LargePrime
Copy link
Author

So how do i build?

@aarnt
Copy link
Owner

aarnt commented Apr 10, 2025

Well, you need to install vala compiler and remove octopi and liboctopi from your system.

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