Package Details: openrgb-git 0.9.r908.g2712837-1

Git Clone URL: https://aur.archlinux.org/openrgb-git.git (read-only, click to copy)
Package Base: openrgb-git
Description: Configuration utility for RGB lights supporting motherboards, RAM, & peripherals
Upstream URL: https://gitlab.com/CalcProgrammer1/OpenRGB
Keywords: led
Licenses: GPL-2.0-only
Conflicts: openrgb
Provides: openrgb
Submitter: Myrddin
Maintainer: CalcProgrammer1
Last Packager: CalcProgrammer1
Votes: 35
Popularity: 0.93
First Submitted: 2020-02-14 03:47 (UTC)
Last Updated: 2024-08-15 01:12 (UTC)

Dependencies (6)

Required by (9)

Sources (3)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

ericputney commented on 2021-08-09 05:04 (UTC)

I'm having similar issues as Neko-san, but their PKGBUILD edits didn't seem to work for me, nor did your suggested LDFLAG edit Myrddin.

This is what I'm seeing when I try to use Neko-san's PKGBUILD:

/usr/bin/ld: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libstdc++fs.a(ops.o): in function `std::_Deque_base<std::experimental::filesystem::v1::__cxx11::path, std::allocator<std::experimental::filesystem::v1::__cxx11::path> >::_M_initialize_map(unsigned long)':
(.text._ZNSt11_Deque_baseINSt12experimental10filesystem2v17__cxx114pathESaIS4_EE17_M_initialize_mapEm[_ZNSt11_Deque_baseINSt12experimental10filesystem2v17__cxx114pathESaIS4_EE17_M_initialize_mapEm]+0xf1): undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libstdc++fs.a(ops.o): in function `std::deque<std::experimental::filesystem::v1::__cxx11::path, std::allocator<std::experimental::filesystem::v1::__cxx11::path> >::_M_reallocate_map(unsigned long, bool)':
(.text._ZNSt5dequeINSt12experimental10filesystem2v17__cxx114pathESaIS4_EE17_M_reallocate_mapEmb[_ZNSt5dequeINSt12experimental10filesystem2v17__cxx114pathESaIS4_EE17_M_reallocate_mapEmb]+0x188): undefined reference to `std::__throw_bad_array_new_length()'
/usr/bin/ld: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../lib64/libstdc++fs.a(ops.o):(.text._ZNSt6vectorINSt12experimental10filesystem2v17__cxx114path5_CmptESaIS5_EEaSERKS7_.isra.0+0x2bf): more undefined references to `std::__throw_bad_array_new_length()' follow
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:1739: openrgb] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: openrgb-git

I see the same error that Neko-san originally reported if I just try the LDFLAG fix.

I'm new to this, how would I invoke the -v flag for clang to tell me what actually went wrong with that linker error?

Neko-san commented on 2021-08-06 06:36 (UTC) (edited on 2021-08-06 06:43 (UTC) by Neko-san)

I also managed to get it to compile with clang, so this works too

build() {
    cd "$srcdir/openrgb"
    ## Left here commented out as to not forget that GCC needs it for now:
    # LDFLAGS+=' -L/usr/lib'
    CXXFLAGS+=" -minline-all-stringops"
    CFLAGS+=" -minline-all-stringops"
    qmake OpenRGB.pro
    sed -i 's/= gcc/= clang/g' "$srcdir/openrgb/Makefile"
    sed -i 's/= g++/= clang++/g' "$srcdir/openrgb/Makefile"
    sed -i 's/-O1/-O3/g' "$srcdir/openrgb/Makefile"
    sed -i 's/-O2/-O3/g' "$srcdir/openrgb/Makefile"
    sed -i 's/-march=x86-64/-march=native/g' "$srcdir/openrgb/Makefile"
    sed -i 's/-mtune=generic/-mtune=native/g' "$srcdir/openrgb/Makefile"
    make -j$(($(nproc)+1))
}

Myrddin commented on 2021-08-02 08:16 (UTC) (edited on 2021-08-02 08:18 (UTC) by Myrddin)

Hello, Neko-san, my advice is to either edit the PKGBUILD to add LDFLAGS+=' -L/usr/lib' on the line before qmake or temporarily downgrade qt5-base. See more on this issue here.

This seems to be a compatibility issue with GCC 11. I suspect a proper fix will be needed from upstream, & I haven't seen an issue on the creator's gitlab. If anyone knows more, please share. Thank you!

Neko-san commented on 2021-08-02 02:21 (UTC) (edited on 2021-08-02 02:27 (UTC) by Neko-san)

The compilation fails! :v

/usr/bin/ld: /usr/lib/libQt5Core.so: undefined reference to `std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13'
/usr/bin/ld: /usr/lib/libQt5Widgets.so: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'
/usr/bin/ld: /usr/lib/libQt5Core.so: undefined reference to `std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13'
collect2: error: ld returned 1 exit status
make: *** [Makefile:1853: openrgb] Error 1
==> ERROR: A failure occurred in build().

Myrddin commented on 2021-07-25 19:55 (UTC)

Just fixed the dependencies. Apologies for the delay; I've added mbedtls & removed all base-devel from dependencies.

harre commented on 2021-06-07 22:42 (UTC)

Indeed, installing mbedtls solved build failure

The999eagle commented on 2021-06-07 22:34 (UTC)

Latest master has a new dependency, mbedtls is now required for building and running.

harre commented on 2021-05-25 22:06 (UTC)

Latest on master breaks build, I have added a MR to fix it.

Refer to this MR until it has been merged: https://gitlab.com/CalcProgrammer1/OpenRGB/-/merge_requests/520

CCF_100 commented on 2021-03-15 04:52 (UTC)

Hey, could you consider packaging a systemd service with this package?

shakeb4use commented on 2021-01-20 13:45 (UTC)

Sorry for bothering you all again. I've just booted from a liveusb with ubuntu 20.04, installed deps, loaded i2c_dev and i2c_i801 and openrgb 0.5 .deb package, and it works flawlessly. I'm still unable to view my RAM sticks while using Arch. Any clues on the differences between OSs? Ubuntu's kernel was 5.4. I'm thinking this may be a problem with the package. Thanks.