Package Details: lib32-mcpelauncher-linux 1.3.0-1

Git Clone URL: https://aur.archlinux.org/mcpelauncher-linux.git (read-only, click to copy)
Package Base: mcpelauncher-linux
Description: Minecraft: Pocket Edition launcher for Linux (32bit client support)
Upstream URL: https://github.com/minecraft-linux/mcpelauncher-manifest
Licenses: GPL-3.0-only
Submitter: HurricanePootis
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 7
Popularity: 0.50
First Submitted: 2024-06-12 01:51 (UTC)
Last Updated: 2025-05-07 16:26 (UTC)

Required by (1)

Sources (32)

Latest Comments

1 2 3 Next › Last »

HurricanePootis commented on 2025-05-14 01:31 (UTC)

@m4rn

Sounds like you have something abnormal with your setup. This package builds normally for many people and especially in the chroot. Also, changing from the += to ="$CFLAGS will have a meaningful change. TL;DR, you have an issue with your setup.

m4rn commented on 2025-05-14 00:17 (UTC) (edited on 2025-05-14 00:23 (UTC) by m4rn)

The clang check keeps failing on me, no matter what I do with the PKGBUILD: ==> Starting build()... -- The C compiler identification is Clang 19.1.7 -- The CXX compiler identification is Clang 19.1.7 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler

    "/usr/bin/clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/marneusc/mcpelauncher-linux/src/build/CMakeFiles/CMakeScratch/TryCompile-acPIkC'

    Run Build Command(s): /usr/bin/ninja -v cmTC_9c2d3
    [1/2] /usr/bin/clang   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=thin -MD -MT CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o -c /home/marneusc/mcpelauncher-linux/src/build/CMakeFiles/CMakeScratch/TryCompile-acPIkC/testCCompiler.c
    FAILED: CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o 
    /usr/bin/clang   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=thin -MD -MT CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_9c2d3.dir/testCCompiler.c.o -c /home/marneusc/mcpelauncher-linux/src/build/CMakeFiles/CMakeScratch/TryCompile-acPIkC/testCCompiler.c
    clang: error: unknown argument: '-mno-omit-leaf-frame-pointer-march=x86-64'
    ninja: build stopped: subcommand failed.





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

But in my /etc/makepkg.conf file, I don't have the goofy "-mno-omit-leaf-frame-pointer-march=x86-64" in my c/cxx flags. EDIT: syntax and formatting

HurricanePootis commented on 2025-05-13 06:16 (UTC)

@Wunder_Wungiel, the package compiles for me in a clean chroot. Can you show me the problem?

Wunder_Wungiel commented on 2025-05-08 10:09 (UTC) (edited on 2025-05-08 10:10 (UTC) by Wunder_Wungiel)

Change: CFLAGS="$CFLAGS -flto=thin" LDFLAGS="$LDFLAGS -fuse-ld=lld" to: CFLAGS="$CFLAGS -flto=thin" LDFLAGS="$LDFLAGS -fuse-ld=lld"

+= causes the arguments list to corrupt and it fails when trying to compile.

HurricanePootis commented on 2025-03-30 06:22 (UTC)

@ArchVibesWGnoem I have to go through due ot the cmake update. Give me a day or two

ArchVibesWGnome commented on 2025-03-30 06:00 (UTC) (edited on 2025-03-30 06:01 (UTC) by ArchVibesWGnome)

How do i Fix this? CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from 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. Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

HurricanePootis commented on 2025-02-23 01:36 (UTC)

Fixed the bug.

HurricanePootis commented on 2025-02-23 01:04 (UTC)

@docquantum, also your SDL3 build issue is something I do not experience, not on my desktop, laptop, or in a clean chroot environment. If you're using Manjaro, this is the arch user repository, not the manjaro user repository.

HurricanePootis commented on 2025-02-23 00:59 (UTC)

@docquantum Whenever you typed -DCMAKE_CXX_FLAGS="-DNDEBUG", you basically made Cmake only use that as the user-provided CXXFLAG and ignored everything in /etc/makepkg.conf. If this is fixing the bug for you, then the problem is most likely within the standard arch build flags. I will look into it.

docquantum commented on 2025-02-09 06:31 (UTC)

Also, not sure if the package needs to be changed to facilitate the fix for this bug: https://github.com/minecraft-linux/mcpelauncher-manifest/issues/1079

Or if I'm doing something wrong, but the suggestion is to add -DNDEBUG as a build arg to prevent the "Please check your Keyboard Layout. No Fallback Implemented" window from popping up whenever clicking on non-game keys (e.g. super)

index f3299ac..14b7c3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -138,6 +138,7 @@ build() {
        -DCMAKE_CXX_COMPILER=clang++
        -DCMAKE_BUILD_TYPE=None
        -DENABLE_DEV_PATHS=OFF
+       -DCMAKE_CXX_FLAGS="-DNDEBUG"
        -Wno-dev
        )
        cmake -B build "${_args[@]}"

I'm not sure if this is the right place for it since there is a "debug" binary that is created that would ideally not be built with this flag.