MX-Linux Fails to Build Bitcoin QT5 GUI #328

issue Gapcoin1 opened this issue on May 14, 2021
  1. Gapcoin1 commented at 8:11 PM on May 14, 2021: none

    <!-- Describe the issue -->

    MX-Linux Fails to Compile the Bitcoin GUI

    Expected behavior

    I expected Bitcoin GUI to build without issue

    Actual behavior

    ./autogen.sh ./configure Produces QT5 Core Missing Error

    https://imgur.com/uHFuSIM.png

    uHFuSIM

    To reproduce

    Use MX-Linux

    https://distrowatch.com

    System information

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? -->

    Self-Compiled

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    MX-Linux 16 Core AMD Ryzen

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    Graphical Shell is XFCE by default

    <!-- Any extra information that might be useful in the debugging process. -->

    Qt 5 core module is installed but it goes under a different Package Code

    https://imgur.com/0zk6hZm.png

    0zk6hZm

  2. Gapcoin1 added the label Bug on May 14, 2021
  3. hebasto commented at 5:53 PM on May 19, 2021: member

    @Gapcoin1

    My steps to reproduce the issue:

    $ cat /etc/antix-version 
    MX-19.4_x64 patito feo March 31, 2021
    $ sudo apt install automake autotools-dev libtool pkg-config
    $ sudo apt install libevent-dev libboost-dev libboost-system-dev libboost-filesystem-dev libboost-test-dev
    $ sudo apt install qttools5-dev qttools5-dev-tools
    $ git clone https://github.com/bitcoin/bitcoin.git
    $ cd bitcoin
    $ ./autogen.sh
    $ ./configure --disable-wallet
    ...
    checking for QT_CORE... yes
    checking for QT_GUI... yes
    checking for QT_WIDGETS... yes
    checking for QT_NETWORK... yes
    checking for QT_TEST... yes
    checking for QT_DBUS... yes
    checking for static Qt... no
    checking whether -fPIE can be used with this Qt config... no
    checking for moc-qt5... no
    checking for moc5... no
    checking for moc... /usr/lib/x86_64-linux-gnu/qt5/bin/moc
    checking for uic-qt5... no
    checking for uic5... no
    checking for uic... /usr/lib/x86_64-linux-gnu/qt5/bin/uic
    checking for rcc-qt5... no
    checking for rcc5... no
    checking for rcc... /usr/lib/x86_64-linux-gnu/qt5/bin/rcc
    checking for lrelease-qt5... no
    checking for lrelease5... no
    checking for lrelease... /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease
    checking for lupdate-qt5... no
    checking for lupdate5... no
    checking for lupdate... /usr/lib/x86_64-linux-gnu/qt5/bin/lupdate
    checking for lconvert-qt5... no
    checking for lconvert5... no
    checking for lconvert... /usr/lib/x86_64-linux-gnu/qt5/bin/lconvert
    checking whether to build Bitcoin Core GUI... yes (Qt5)
    ...
    Options used to compile and link:
      external signer = no
      multiprocess    = no
      with libs       = yes
      with wallet     = no
      with gui / qt   = yes
        with qr       = no
      with zmq        = no
      with test       = yes
      with bench      = yes
      with upnp       = no
      with natpmp     = no
      use asm         = yes
      ebpf tracing    = no
      sanitizers      = 
      debug enabled   = no
      gprof enabled   = no
      werror          = no
    
      target os       = linux
      build os        = linux-gnu
    
      CC              = gcc
      CFLAGS          = -pthread -g -O2
      CPPFLAGS        =   -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2  -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS -DPROVIDE_FUZZ_MAIN_FUNCTION
      CXX             = g++ -std=c++17
      CXXFLAGS        =   -fstack-reuse=none -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection  -Wall -Wextra -Wformat -Wformat-security -Wvla -Wswitch -Wredundant-decls -Wunused-variable -Wdate-time -Wsign-compare -Wduplicated-branches -Wduplicated-cond -Wlogical-op -Woverloaded-virtual  -Wno-unused-parameter -Wno-implicit-fallthrough   -g -O2 -fno-extended-identifiers
      LDFLAGS         = -lpthread  -Wl,-z,relro -Wl,-z,now -Wl,-z,separate-code -pie  
      ARFLAGS         = cr
    
    

    Everything works as expected for me. Could you have another try with strictly following https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md?

    Qt 5 core module is installed but it goes under a different Package Code

    Not sure what does it mean exactly, but please try first with Qt installed via apt.

  4. hebasto added the label Questions and Help on May 19, 2021
  5. hebasto removed the label Bug on May 19, 2021
  6. hebasto added the label Waiting for author on May 21, 2021
  7. hebasto commented at 5:39 PM on May 22, 2021: member

    @Gapcoin1

    Is your issue solved?

  8. hebasto closed this on May 29, 2021

  9. bitcoin-core locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/gui. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 18:20 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me