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

OpenBangla-Keyboard [branch=develop] fails to install from AUR on Arch Linux #376

Closed
Devbrat-Dev opened this issue Jan 20, 2024 · 3 comments

Comments

@Devbrat-Dev
Copy link

I tried to install OpenBangla-Keyboard [branch=develop] from AUR on Arch Linux, but the installation failed with the following error messages:

==Snip==
make: Entering directory '/tmp/openbangla-keyboard-git/src/build'
[  9%] Built target libShared
[ 12%] Built target riti_target
[ 18%] Built target ibus-engine-openbangla
[ 25%] Built target openbangla
[ 25%] Built target 3rdParty_autogen_timestamp_deps
[ 28%] Built target 3rdParty_autogen
[ 46%] Built target 3rdParty
[ 46%] Built target openbangla-gui_autogen_timestamp_deps
[ 50%] Built target openbangla-gui_autogen
[100%] Built target openbangla-gui
Install the project...
-- Install configuration: "None"
-- Installing: /tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/local/share/openbangla-keyboard/icons/OpenBangla-Keyboard.png
                                        .
                                        .
                                        .
                                        .
-- Installing: /tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/bin/openbangla-gui
make: Leaving directory '/tmp/openbangla-keyboard-git/src/build'
mv: cannot stat '/tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/share/ibus': No such file or directory
mv: cannot stat '/tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/share/fcitx5': No such file or directory
==Snip==
@Devbrat-Dev
Copy link
Author

The issue is due to the files being generated by CMake at

/tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/local/share/fcitx5/
/tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/local/share/ibus/

and the PKGBUILD script expecting file path /tmp/openbangla-keyboard-git/pkg/openbangla-keyboard-git/usr/share

PKGBUILD Line 60-65

==snip==
    mv -t "$pkgdir/../" \
            "$pkgdir/usr/lib" \
            "$pkgdir/usr/share/ibus" \
            "$pkgdir/usr/share/fcitx5"
==snip==

Adding -DCMAKE_INSTALL_PREFIX="/usr" to the PKGBUILD solves the issue. #371

@ahmubashshir Please update the PKGBUILD script with -DCMAKE_INSTALL_PREFIX="/usr" on AUR

@mominul
Copy link
Member

mominul commented Feb 2, 2024

@Devbrat-Dev Thanks for identifying and fixing the issue!
I'll close the issue as the problem has been fixed.

@mominul mominul closed this as completed Feb 2, 2024
@Devbrat-Dev
Copy link
Author

Welcome

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