You are not logged in.

#1 2023-05-13 15:56:08

cdwijs
Member
Registered: 2010-04-24
Posts: 289

[SOLVED] pulseview-git fatal error: glib.h: No such file or directory

I'm trying to build pulseview-git from the AUR, but I get this error message:
fatal error: glib.h: No such file or directory

Building libsigrok-git goes fine:

[cedric@cedric Downloads]$ tar -xf libsigrok-git.tar.gz 
[cedric@cedric Downloads]$ cd libsigrok-git/
[cedric@cedric libsigrok-git]$ makepkg
==> Making package: libsigrok-git 0.2.1.r3652.g025bd56f-1 (Sat 13 May 2023 05:45:12 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning libsigrok git repo...
Cloning into bare repository '/home/cedric/Downloads/libsigrok-git/libsigrok'...
remote: Enumerating objects: 46245, done.
remote: Counting objects: 100% (46245/46245), done.
remote: Compressing objects: 100% (14915/14915), done.
remote: Total 46245 (delta 32160), reused 44456 (delta 30598), pack-reused 0
Receiving objects: 100% (46245/46245), 9.29 MiB | 3.48 MiB/s, done.
Resolving deltas: 100% (32160/32160), done.
==> Validating source files with sha512sums...
    libsigrok ... Skipped
==> Extracting sources...
  -> Creating working copy of libsigrok git repo...
Cloning into 'libsigrok'...
done.
==> Starting pkgver()...
==> Updated version: libsigrok-git 0.2.1.r4216.ga5800e90-1
==> Starting build()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
<snip>
==> Creating package "libsigrok-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libsigrok-git 0.2.1.r4216.ga5800e90-1 (Sat 13 May 2023 05:45:37 PM CEST)

I've installed it:

[cedric@cedric libsigrok-git]$ su
Password: 
[root@cedric libsigrok-git]# pacman -U libsigrok-git-0.2.1.r4216.ga5800e90-1-x86_64.pkg.tar 
loading packages...
warning: libsigrok-git-0.2.1.r4216.ga5800e90-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libsigrok-git-0.2.1.r4216.ga5800e90-1

Total Installed Size:  4.43 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                     [################################################################################] 100%
(1/1) checking package integrity                                                                                                   [################################################################################] 100%
(1/1) loading package files                                                                                                        [################################################################################] 100%
(1/1) checking for file conflicts                                                                                                  [################################################################################] 100%
(1/1) checking available disk space                                                                                                [################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libsigrok-git                                                                                                   [################################################################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading device manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating the MIME type database...
(4/4) Updating icon theme caches...

Next I try to build pulseview-git:

[cedric@cedric Downloads]$ tar -xf pulseview-git.tar.gz 
[cedric@cedric Downloads]$ cd pulseview-git/
[cedric@cedric pulseview-git]$ makepkg
==> Making package: pulseview-git 0.3.0.r744.g0adee2d-1 (Sat 13 May 2023 05:47:18 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning pulseview git repo...
Cloning into bare repository '/home/cedric/Downloads/pulseview-git/pulseview'...
remote: Enumerating objects: 18844, done.
remote: Counting objects: 100% (18844/18844), done.
remote: Compressing objects: 100% (7312/7312), done.
remote: Total 18844 (delta 14841), reused 14829 (delta 11457), pack-reused 0
Receiving objects: 100% (18844/18844), 4.56 MiB | 3.68 MiB/s, done.
Resolving deltas: 100% (14841/14841), done.
==> Validating source files with md5sums...
    pulseview ... Skipped
==> Extracting sources...
  -> Creating working copy of pulseview git repo...
Cloning into 'pulseview'...
done.
==> Starting pkgver()...
==> Updated version: pulseview-git 0.3.0.r1149.g3903edbd-1
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Performing Test HAVE_STD_CXX_17
-- Performing Test HAVE_STD_CXX_17 - Success
-- Performing Test HAVE_STD_CXX_14
-- Performing Test HAVE_STD_CXX_14 - Success
-- Performing Test HAVE_STD_CXX_11
-- Performing Test HAVE_STD_CXX_11 - Success
-- Using C++17 for the application build
-- Checking for module 'glibmm-2.4>2.28.0'
--   Found glibmm-2.4, version 2.66.6
-- Checking for module 'libsigrokcxx>=0.5.2'
--   Found libsigrokcxx, version 0.6.0-git
-- Checking for modules 'glib-2.0>=2.28.0;glibmm-2.4>=2.28.0;libsigrokcxx>=0.5.2;libsigrokdecode>=0.5.2'
--   Found glib-2.0, version 2.76.2
--   Found glibmm-2.4, version 2.66.6
--   Found libsigrokcxx, version 0.6.0-git
--   Found libsigrokdecode, version 0.6.0-git-d7da8b9
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
Package python-3.10-embed was not found in the pkg-config search path.
Perhaps you should add the directory containing `python-3.10-embed.pc'
to the PKG_CONFIG_PATH environment variable
Package 'python-3.10-embed', required by 'libsigrokdecode', not found
-- Qt version: 5.15.9
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.55") found components: filesystem serialization system 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Atomics provided by the C-library - yes
-- Performing Test HAVE_SRD_SESSION_SEND_EOF
-- Performing Test HAVE_SRD_SESSION_SEND_EOF - Failed
-- Performing Test HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS
-- Performing Test HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS - Success
-- PulseView version: 0.5.0-git-3903edb
-- Configuring done (0.8s)
-- Generating done (0.0s)
-- Build files have been written to: /home/cedric/Downloads/pulseview-git/src/pulseview
[  1%] Automatic MOC for target pulseview
[  1%] Built target pulseview_autogen
[  5%] Generating l10n/de.qm
[  5%] Generating l10n/ja_jp.qm
[  5%] Generating qrc_pulseview.cpp
[  5%] Generating l10n/es_MX.qm
Updating '/home/cedric/Downloads/pulseview-git/src/pulseview/l10n/es_MX.qm'...
Updating '/home/cedric/Downloads/pulseview-git/src/pulseview/l10n/de.qm'...
    Generated 289 translation(s) (289 finished and 0 unfinished)
Updating '/home/cedric/Downloads/pulseview-git/src/pulseview/l10n/ja_jp.qm'...
    Generated 288 translation(s) (288 finished and 0 unfinished)
    Generated 320 translation(s) (320 finished and 0 unfinished)
    Ignored 79 untranslated source text(s)
[  6%] Generating qrc_translations.cpp
[  7%] Building CXX object CMakeFiles/pulseview.dir/pv/logging.cpp.o
[  8%] Building CXX object CMakeFiles/pulseview.dir/pulseview_autogen/mocs_compilation.cpp.o
[  9%] Building CXX object CMakeFiles/pulseview.dir/main.cpp.o
[ 11%] Building CXX object CMakeFiles/pulseview.dir/pv/application.cpp.o
[ 11%] Building CXX object CMakeFiles/pulseview.dir/pv/devicemanager.cpp.o
[ 12%] Building CXX object CMakeFiles/pulseview.dir/pv/globalsettings.cpp.o
[ 13%] Building CXX object CMakeFiles/pulseview.dir/pv/metadata_obj.cpp.o
[ 14%] Building CXX object CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o
[ 15%] Building CXX object CMakeFiles/pulseview.dir/pv/session.cpp.o
[ 16%] Building CXX object CMakeFiles/pulseview.dir/pv/storesession.cpp.o
[ 17%] Building CXX object CMakeFiles/pulseview.dir/pv/util.cpp.o
[ 18%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/binding.cpp.o
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/mainwindow.cpp:21:
/usr/include/libsigrokdecode/libsigrokdecode.h:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:294: CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/main.cpp:21:
/usr/include/libsigrokdecode/libsigrokdecode.h:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:224: CMakeFiles/pulseview.dir/main.cpp.o] Error 1
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/logging.hpp:23,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/logging.cpp:20:
/home/cedric/Downloads/pulseview-git/src/pulseview/pv/globalsettings.hpp:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:280: CMakeFiles/pulseview.dir/pv/logging.cpp.o] Error 1
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/storesession.cpp:22:
/home/cedric/Downloads/pulseview-git/src/pulseview/pv/storesession.hpp:32:10: fatal error: glibmm/variant.h: No such file or directory
   32 | #include <glibmm/variant.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:336: CMakeFiles/pulseview.dir/pv/storesession.cpp.o] Error 1
In file included from /usr/include/libsigrokcxx/libsigrokcxx.hpp:73,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pulseview_autogen/PLNN4COFE5/../../pv/application.hpp:29,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pulseview_autogen/PLNN4COFE5/moc_application.cpp:10,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pulseview_autogen/mocs_compilation.cpp:2:
/usr/include/libsigrok/libsigrok.h:27:10: fatal error: glib.h: No such file or directory
   27 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:210: CMakeFiles/pulseview.dir/pulseview_autogen/mocs_compilation.cpp.o] Error 1
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/binding/binding.cpp:28:
/home/cedric/Downloads/pulseview-git/src/pulseview/pv/prop/property.hpp:23:10: fatal error: glib.h: No such file or directory
   23 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:364: CMakeFiles/pulseview.dir/pv/binding/binding.cpp.o] Error 1
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/application.cpp:36:
/usr/include/libsigrokdecode/libsigrokdecode.h:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:238: CMakeFiles/pulseview.dir/pv/application.cpp.o] Error 1
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/globalsettings.cpp:34:
/home/cedric/Downloads/pulseview-git/src/pulseview/pv/globalsettings.hpp:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:266: CMakeFiles/pulseview.dir/pv/globalsettings.cpp.o] Error 1
In file included from /usr/include/libsigrokcxx/libsigrokcxx.hpp:73,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/data/signalbase.hpp:37,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/views/viewbase.hpp:33,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/session.hpp:50,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/devicemanager.cpp:21:
/usr/include/libsigrok/libsigrok.h:27:10: fatal error: glib.h: No such file or directory
   27 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:252: CMakeFiles/pulseview.dir/pv/devicemanager.cpp.o] Error 1
In file included from /usr/include/libsigrokcxx/libsigrokcxx.hpp:73,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/data/signalbase.hpp:37,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/views/viewbase.hpp:33,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/session.hpp:50,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/mainwindow.hpp:32,
                 from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/session.cpp:32:
/usr/include/libsigrok/libsigrok.h:27:10: fatal error: glib.h: No such file or directory
   27 | #include <glib.h>
      |          ^~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/pulseview.dir/build.make:322: CMakeFiles/pulseview.dir/pv/session.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:103: CMakeFiles/pulseview.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
[cedric@cedric pulseview-git]$

Last edited by cdwijs (2023-05-13 16:37:07)

Offline

#2 2023-05-13 16:10:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] pulseview-git fatal error: glib.h: No such file or directory

First thing I see is that your libsigrokdecode is out of date, you never rebuilt it for the python update. Start there. I'm thinking the flags might be screwed up because of that error, even though it doesn't seem to be directly related.

Offline

#3 2023-05-13 16:17:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [SOLVED] pulseview-git fatal error: glib.h: No such file or directory

It seems it's not getting the proper CFLAGS for glib2.  I know next to nothing about cmake (or perhaps not just "next to"), but I suspect the following might suffice as a workaround putting this right before the make command in the PKGBUILD:

export CFLAGS="$CFLAGS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread"

EDIT: cross posted with the above - start there as if that works it's be a proper fix not a hackish workaround like this CFLAGS suggestion.

Last edited by Trilby (2023-05-13 16:18:23)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2023-05-13 16:26:07

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [SOLVED] pulseview-git fatal error: glib.h: No such file or directory

The package builds for me in a clean chroot after adding qt5-tools to makedepends.  libsigrok-git needed swig and python adding to makedepends.

Offline

#5 2023-05-13 16:26:58

cdwijs
Member
Registered: 2010-04-24
Posts: 289

Re: [SOLVED] pulseview-git fatal error: glib.h: No such file or directory

I've now first rebuild and installed libsigrokdecode

[cedric@cedric Downloads]$ tar -xf libsigrokdecode-git.tar.gz 
[cedric@cedric Downloads]$ cd libsigrokdecode-git/
[cedric@cedric libsigrokdecode-git]$ makepkg
==> Making package: libsigrokdecode-git 0.2.0.r1038.g30d27bd-1 (Sat 13 May 2023 06:14:06 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning libsigrokdecode git repo...
Cloning into bare repository '/home/cedric/Downloads/libsigrokdecode-git/libsigrokdecode'...
remote: Enumerating objects: 13636, done.
remote: Counting objects: 100% (13636/13636), done.
remote: Compressing objects: 100% (6192/6192), done.
remote: Total 13636 (delta 8807), reused 11804 (delta 7381), pack-reused 0
Receiving objects: 100% (13636/13636), 3.97 MiB | 3.74 MiB/s, done.
Resolving deltas: 100% (8807/8807), done.
==> Validating source files with sha512sums...
    libsigrokdecode ... Skipped
==> Extracting sources...
  -> Creating working copy of libsigrokdecode git repo...
Cloning into 'libsigrokdecode'...
done.
==> Starting pkgver()...
==> Updated version: libsigrokdecode-git 0.2.0.r1481.gd7da8b9-1
==> Starting build()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory autostuff
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autostuff'.
libtoolize: copying file 'autostuff/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
configure.ac:49: warning: The macro `AC_LIBTOOL_WIN32_DLL' is obsolete.
configure.ac:49: You should run autoupdate.
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:49: the top level
configure.ac:49: warning: AC_LIBTOOL_WIN32_DLL: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:49: put the 'win32-dll' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
m4/ltoptions.m4:148: AC_LIBTOOL_WIN32_DLL is expanded from...
configure.ac:49: the top level
configure.ac:50: warning: 'AM_PROG_CC_STDC': this macro is obsolete.
configure.ac:50: You should simply use the 'AC_PROG_CC' macro instead.
configure.ac:50: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
configure.ac:50: but upon 'ac_cv_prog_cc_stdc'.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:1155: AM_PROG_CC_STDC is expanded from...
configure.ac:50: the top level
configure.ac:51: warning: The macro `AM_PROG_LIBTOOL' is obsolete.
configure.ac:51: You should run autoupdate.
m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from...
configure.ac:51: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:34: installing 'autostuff/ar-lib'
configure.ac:34: installing 'autostuff/compile'
configure.ac:36: installing 'autostuff/config.guess'
configure.ac:36: installing 'autostuff/config.sub'
configure.ac:32: installing 'autostuff/install-sh'
configure.ac:32: installing 'autostuff/missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing 'autostuff/depcomp'
parallel-tests: installing 'autostuff/test-driver'
autoreconf: Leaving directory '.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking for an ANSI C-conforming const... yes
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for python3.8... no
checking for python3.7... no
checking for python3.6... no
checking for python3.5... no
checking for python3.4... no
checking for python3.3... no
checking for python3.2... no
checking for python3... python3
checking compiler flag for C99... -std=c99
checking compiler flag for visibility... -fvisibility=hidden
checking which C compiler warning flags to use... -Wall -Wextra -Wmissing-prototypes -Wshadow -Wformat=2 -Wno-format-nonliteral -Wfloat-equal
checking for library containing pow... -lm
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for LIBSIGROKDECODE... yes
checking for LIBIRMP... yes
checking for TESTS... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsigrokdecode.pc
config.status: creating config.h
config.status: creating version.h
config.status: executing depfiles commands
config.status: executing libtool commands

libsigrokdecode configuration summary:
 - Package version................. 0.6.0-git-d7da8b9
 - Library ABI version............. 4:0:0
 - Prefix.......................... /usr
 - Building on..................... x86_64-pc-linux-gnu
 - Building for.................... x86_64-pc-linux-gnu
 - Building shared / static........ yes / yes

Compile configuration:
 - C compiler...................... gcc
 - C compiler version.............. gcc (GCC) 13.1.1 20230429
 - C compiler flags................ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection
 - Additional C compiler flags..... -std=c99 -fvisibility=hidden
 - C compiler warnings............. -Wall -Wextra -Wmissing-prototypes -Wshadow -Wformat=2 -Wno-format-nonliteral -Wfloat-equal
 - Linker flags.................... -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Detected libraries (required):
 - glib-2.0 >= 2.34................ 2.76.2
 - python-3.12-embed............... no
 - python-3.11-embed............... 3.11

Detected libraries (optional):
 - check >= 0.9.4.................. no

Optional features:
  - IRMP support library .......... yes
make  all-am
  CC       srd.lo
  CC       session.lo
  CC       decoder.lo
  CC       instance.lo
  CC       log.lo
  CC       util.lo
  CC       exception.lo
  CC       module_sigrokdecode.lo
  CC       type_decoder.lo
<snip>
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libsigrokdecode-git 0.2.0.r1481.gd7da8b9-1 (Sat 13 May 2023 06:14:18 PM CEST)
[cedric@cedric libsigrokdecode-git]$ su
Password: 
[root@cedric libsigrokdecode-git]# pacman -U libsigrokdecode-git-0.2.0.r1481.gd7da8b9-1-x86_64.pkg.tar 
loading packages...
warning: libsigrokdecode-git-0.2.0.r1481.gd7da8b9-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libsigrokdecode-git-0.2.0.r1481.gd7da8b9-1

Total Installed Size:  1.82 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                             [################################################################################################] 100%
(1/1) checking package integrity                                                                                                                           [################################################################################################] 100%
(1/1) loading package files                                                                                                                                [################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                          [################################################################################################] 100%
(1/1) checking available disk space                                                                                                                        [################################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libsigrokdecode-git                                                                                                                     [################################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

Next I tried rebuilding pulseview (still fails)

$ cd ../pulseview-git/
[cedric@cedric pulseview-git]$ makepkg
==> Making package: pulseview-git 0.3.0.r1149.g3903edbd-1 (Sat 13 May 2023 06:14:40 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating pulseview git repo...
==> Validating source files with md5sums...
    pulseview ... Skipped
==> Extracting sources...
  -> Creating working copy of pulseview git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Using C++17 for the application build
-- Qt version: 5.15.9
-- Atomics provided by the C-library - yes
-- PulseView version: 0.5.0-git-3903edb
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /home/cedric/Downloads/pulseview-git/src/pulseview
[  1%] Automatic MOC for target pulseview
[  1%] Built target pulseview_autogen
[  2%] Building CXX object CMakeFiles/pulseview.dir/pv/logging.cpp.o
[  4%] Building CXX object CMakeFiles/pulseview.dir/pv/devicemanager.cpp.o
[  4%] Building CXX object CMakeFiles/pulseview.dir/pv/globalsettings.cpp.o
[  5%] Building CXX object CMakeFiles/pulseview.dir/main.cpp.o
[  6%] Building CXX object CMakeFiles/pulseview.dir/pulseview_autogen/mocs_compilation.cpp.o
[  7%] Building CXX object CMakeFiles/pulseview.dir/pv/application.cpp.o
[  8%] Building CXX object CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o
[ 10%] Building CXX object CMakeFiles/pulseview.dir/pv/storesession.cpp.o
[ 10%] Building CXX object CMakeFiles/pulseview.dir/pv/session.cpp.o
[ 11%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/inputoutput.cpp.o
[ 12%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/binding.cpp.o
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/main.cpp:21:
/usr/include/libsigrokdecode/libsigrokdecode.h:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/pv/mainwindow.cpp:21:
/usr/include/libsigrokdecode/libsigrokdecode.h:25:10: fatal error: glib.h: No such file or directory
   25 | #include <glib.h>
      |          ^~~~~~~~

Next I rebuild libsigrok-git

[cedric@cedric libsigrok-git]$ cd ..
[cedric@cedric Downloads]$ rm -rf libsigrok-git
[cedric@cedric Downloads]$ tar -xf libsigrok-git.tar.gz 
[cedric@cedric Downloads]$ cd libsigrok-git/
[cedric@cedric libsigrok-git]$ makepkg
==> Making package: libsigrok-git 0.2.1.r3652.g025bd56f-1 (Sat 13 May 2023 06:20:06 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning libsigrok git repo...
Cloning into bare repository '/home/cedric/Downloads/libsigrok-git/libsigrok'...
remote: Enumerating objects: 46245, done.
remote: Counting objects: 100% (46245/46245), done.
remote: Compressing objects: 100% (14915/14915), done.
remote: Total 46245 (delta 32158), reused 44458 (delta 30598), pack-reused 0
Receiving objects: 100% (46245/46245), 9.29 MiB | 3.51 MiB/s, done.
Resolving deltas: 100% (32158/32158), done.
==> Validating source files with sha512sums...
    libsigrok ... Skipped
==> Extracting sources...
  -> Creating working copy of libsigrok git repo...
Cloning into 'libsigrok'...
done.
==> Starting pkgver()...
==> Updated version: libsigrok-git 0.2.1.r4216.ga5800e90-1
==> Starting build()...
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory autostuff
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autostuff'.
libtoolize: copying file 'autostuff/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force -I m4
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:34: installing 'autostuff/ar-lib'
configure.ac:34: installing 'autostuff/compile'
configure.ac:36: installing 'autostuff/config.guess'
configure.ac:36: installing 'autostuff/config.sub'
configure.ac:32: installing 'autostuff/install-sh'
configure.ac:32: installing 'autostuff/missing'
Makefile.am: installing './INSTALL'
Makefile.am: installing 'autostuff/depcomp'
parallel-tests: installing 'autostuff/test-driver'
autoreconf: Leaving directory '.'
CONFIGURE
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether the compiler supports GNU C++... yes
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking whether make supports order-only prerequisites... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.22... yes
checking for zlib... yes
../libsigrok/configure: line 19142: zlib: command not found
checking for libserialport... yes
checking for libftdi... yes
checking for libhidapi... yes
checking for libbluez... yes
checking for libnettle... yes
checking for libusb... yes
checking for librevisa... no
checking for libgpib... no
checking for libieee1284... yes
checking for libgio... yes
checking compiler flag for C99... -std=c99
checking compiler flag for visibility... -fvisibility=hidden
checking which C compiler warning flags to use... -Wall -Wextra -Wmissing-prototypes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for sys/mman.h... yes
checking for sys/ioctl.h... yes
checking for sys/timerfd.h... yes
checking for library containing pow... -lm
checking for SunRPC support... no
checking for TIRPC... yes
checking for __int128_t... yes
checking for __uint128_t... yes
checking for ptrdiff_t... yes
checking for size_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of void *... 8
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking for an ANSI C-conforming const... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking which C++ compiler warning flags to use... -Wall -Wextra
checking whether g++ supports C++17 features with -std=c++17... yes
checking for doxygen... yes
checking for library containing __cxa_throw... none required
checking for a Python interpreter with version >= 2.7... python
checking for python... /usr/bin/python
checking for python version... 3.11
checking for python platform... linux
checking for GNU default python prefix... ${prefix}
checking for GNU default python exec_prefix... ${exec_prefix}
checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages
checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib/python3.11/site-packages
checking for stoi and stod... yes
checking for stoul... yes
checking python module: setuptools... yes
checking python module: numpy... yes
checking for swig... swig
checking for swig version... 4.1.1
checking for ruby... /usr/bin/ruby
checking for Ruby version... 3.0.5
checking for javac... yes
checking for jni.h... no
checking for LIBSIGROK... yes
checking for TESTS... yes
checking for LIBSIGROKCXX... yes
checking for PYSIGROK... yes
checking for RBSIGROK... yes
checking for libusb_os_handle... no
checking for zip_discard... yes
checking for ftdi_tciflush... yes
checking for ftdi_tcoflush... yes
checking for ftdi_tcioflush... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsigrok.pc
config.status: creating bindings/cxx/libsigrokcxx.pc
config.status: creating config.h
config.status: creating include/libsigrok/version.h
config.status: executing depfiles commands
config.status: executing libtool commands

libsigrok configuration summary:
 - Package version................. 0.6.0-git
 - Version string suffix .......... -a5800e90
 - Library ABI version............. 4:0:0
 - Prefix.......................... /usr
 - Building on..................... x86_64-pc-linux-gnu
 - Building for.................... x86_64-pc-linux-gnu
 - Building shared / static........ yes / yes

Compile configuration:
 - C compiler...................... gcc
 - C compiler version.............. gcc (GCC) 13.1.1 20230429
 - C compiler flags................ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection
 - Additional C compiler flags..... -std=c99 -fvisibility=hidden
 - C compiler warnings............. -Wall -Wextra -Wmissing-prototypes
 - C++ compiler.................... g++ -std=c++17
 - C++ compiler version............ g++ (GCC) 13.1.1 20230429
 - C++ compiler flags.............. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS
 - C++ compiler warnings........... -Wall -Wextra
 - Linker flags.................... -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now

Detected libraries (required):
 - glib-2.0 >= 2.32.0.............. 2.76.2
 - libzip >= 0.10.................. 1.9.2

Detected libraries (optional):
 - zlib............................ 1.2.13
 - libserialport >= 0.1.1.......... 0.1.1
 - libftdi1 >= 1.0................. 1.5
 - hidapi >= 0.8.0................. no
 - hidapi-hidraw >= 0.8.0.......... 0.13.1
 - bluez >= 4.0.................... 5.66
 - nettle.......................... 3.8.1
 - libusb-1.0 >= 1.0.16............ 1.0.26
 - librevisa >= 0.0.20130412....... no
 - libgpib......................... no
 - libieee1284..................... yes
 - gio-2.0 >= 2.24.0............... 2.76.2
 - check >= 0.9.4.................. no
 - glibmm-2.4 >= 2.32.0............ 2.66.6
 - python = 3.11................... no
 - python3 = 3.11.................. 3.11
 - pygobject-3.0 >= 3.0.0.......... 3.44.1
 - ruby >= 2.5.0................... no
 - ruby-3.0 >= 2.5.0............... 3.0.0

Enabled hardware drivers:
 - agilent-dmm..................... yes
 - appa-55ii....................... yes
 - arachnid-labs-re-load-pro....... yes
 - asix-sigma...................... yes
 - asix-omega-rtm-cli.............. yes
 - atorch.......................... yes
 - atten-pps3xxx................... yes
 - baylibre-acme................... yes
 - beaglelogic..................... yes
 - cem-dt-885x..................... yes
 - center-3xx...................... yes
 - chronovu-la..................... yes
 - colead-slm...................... yes
 - conrad-digi-35-cpu.............. yes
 - dcttech-usbrelay................ yes
 - demo............................ yes
 - dreamsourcelab-dslogic.......... yes
 - fluke-45........................ yes
 - fluke-dmm....................... yes
 - ftdi-la......................... yes
 - fx2lafw......................... yes
 - gmc-mh-1x-2x.................... yes
 - gwinstek-gds-800................ yes
 - gwinstek-gpd.................... yes
 - hameg-hmo....................... yes
 - hantek-4032l.................... yes
 - hantek-6xxx..................... yes
 - hantek-dso...................... yes
 - hp-3457a........................ yes
 - hp-3478a........................ no (missing: libgpib)
 - hp-59306a....................... yes
 - hung-chang-dso-2100............. yes
 - icstation-usbrelay.............. yes
 - ikalogic-scanalogic2............ yes
 - ikalogic-scanaplus.............. yes
 - ipdbg-la........................ yes
 - itech-it8500.................... yes
 - kecheng-kc-330b................. yes
 - kern-scale...................... yes
 - kingst-la2016................... yes
 - korad-kaxxxxp................... yes
 - lascar-el-usb................... yes
 - lecroy-logicstudio.............. yes
 - lecroy-xstream.................. yes
 - manson-hcs-3xxx................. yes
 - mastech-ms6514.................. yes
 - maynuo-m97...................... yes
 - mic-985xx....................... yes
 - microchip-pickit2............... yes
 - mooshimeter-dmm................. yes
 - motech-lps-30x.................. yes
 - norma-dmm....................... yes
 - openbench-logic-sniffer......... yes
 - pce-322a........................ yes
 - pipistrello-ols................. yes
 - rdtech-dps...................... yes
 - rdtech-um....................... yes
 - rdtech-tc....................... yes
 - rigol-ds........................ yes
 - rigol-dg........................ yes
 - rohde-schwarz-sme-0x............ yes
 - saleae-logic16.................. yes
 - saleae-logic-pro................ yes
 - scpi-dmm........................ yes
 - scpi-pps........................ yes
 - serial-dmm...................... yes
 - serial-lcr...................... yes
 - siglent-sds..................... yes
 - sysclk-lwla..................... yes
 - sysclk-sla5032.................. yes
 - teleinfo........................ yes
 - testo........................... yes
 - tondaj-sl-814................... yes
 - uni-t-dmm....................... yes
 - uni-t-ut181a.................... yes
 - uni-t-ut32x..................... yes
 - yokogawa-dlm.................... yes
 - zeroplus-logic-cube............. yes
 - zketech-ebd-usb................. yes

Enabled serial communication transports:
  - serial comm ................... yes
  - libserialport ................. yes
  - hidapi ........................ yes
  - bluetooth ..................... yes
  - bluez ......................... yes

Enabled SCPI backends:
 - TCP............................. yes
 - SunRPC ......................... no
 - TI-RPC ......................... yes
 - RPC............................. yes
 - serial.......................... yes
 - VISA............................ no
 - GPIB............................ no
 - USBTMC.......................... yes

Enabled language bindings:
 - C++............................. yes
 - Python.......................... yes
 - Ruby............................ no (disabled)
 - Java............................ no (disabled)

make  all-am
  GEN      include/libsigrok/git-version.h
  CC       src/serial.lo
<snip>
  self._add_data_files(self._safe_data_files(build_py))
libtool: warning: remember to run 'libtool --finish /usr/lib'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "libsigrok-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: libsigrok-git 0.2.1.r4216.ga5800e90-1 (Sat 13 May 2023 06:20:30 PM CEST)
cedric@cedric libsigrok-git]$ su
Password: 
[root@cedric libsigrok-git]# pacman -U libsigrok-git-0.2.1.r4216.ga5800e90-1-x86_64.pkg.tar 
loading packages...
warning: libsigrok-git-0.2.1.r4216.ga5800e90-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libsigrok-git-0.2.1.r4216.ga5800e90-1

Total Installed Size:  4.43 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                             [################################################################################################] 100%
(1/1) checking package integrity                                                                                                                           [################################################################################################] 100%
(1/1) loading package files                                                                                                                                [################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                          [################################################################################################] 100%
(1/1) checking available disk space                                                                                                                        [################################################################################################] 100%
:: Processing package changes...
(1/1) reinstalling libsigrok-git                                                                                                                           [################################################################################################] 100%
:: Running post-transaction hooks...
(1/4) Reloading device manager configuration...
(2/4) Arming ConditionNeedsUpdate...
(3/4) Updating the MIME type database...
(4/4) Updating icon theme caches...

Pulseview now works. Thank you:

[cedric@cedric libsigrok-git]$ cd ..
[cedric@cedric Downloads]$ rm -rf pulseview-git
[cedric@cedric Downloads]$ tar -xf pulseview-git.tar.gz 
[cedric@cedric Downloads]$ cd pulseview-git/
[cedric@cedric pulseview-git]$ makepkg
==> Making package: pulseview-git 0.3.0.r744.g0adee2d-1 (Sat 13 May 2023 06:24:39 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning pulseview git repo...
Cloning into bare repository '/home/cedric/Downloads/pulseview-git/pulseview'...
remote: Enumerating objects: 18844, done.
remote: Counting objects: 100% (18844/18844), done.
remote: Compressing objects: 100% (7312/7312), done.
remote: Total 18844 (delta 14841), reused 14829 (delta 11457), pack-reused 0
Receiving objects: 100% (18844/18844), 4.56 MiB | 3.67 MiB/s, done.
Resolving deltas: 100% (14841/14841), done.
==> Validating source files with md5sums...
    pulseview ... Skipped
==> Extracting sources...
  -> Creating working copy of pulseview git repo...
Cloning into 'pulseview'...
done.
==> Starting pkgver()...
==> Updated version: pulseview-git 0.3.0.r1149.g3903edbd-1
==> Starting build()...
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- Performing Test HAVE_STD_CXX_17
-- Performing Test HAVE_STD_CXX_17 - Success
-- Performing Test HAVE_STD_CXX_14
-- Performing Test HAVE_STD_CXX_14 - Success
-- Performing Test HAVE_STD_CXX_11
-- Performing Test HAVE_STD_CXX_11 - Success
-- Using C++17 for the application build
-- Checking for module 'glibmm-2.4>2.28.0'
--   Found glibmm-2.4, version 2.66.6
-- Checking for module 'libsigrokcxx>=0.5.2'
--   Found libsigrokcxx, version 0.6.0-git
-- Checking for modules 'glib-2.0>=2.28.0;glibmm-2.4>=2.28.0;libsigrokcxx>=0.5.2;libsigrokdecode>=0.5.2'
--   Found glib-2.0, version 2.76.2
--   Found glibmm-2.4, version 2.66.6
--   Found libsigrokcxx, version 0.6.0-git
--   Found libsigrokdecode, version 0.6.0-git-d7da8b9
-- Qt version: 5.15.9
-- Found Boost: /usr/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.55") found components: filesystem serialization system 
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Atomics provided by the C-library - yes
-- Performing Test HAVE_SRD_SESSION_SEND_EOF
-- Performing Test HAVE_SRD_SESSION_SEND_EOF - Success
-- Performing Test HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS
-- Performing Test HAVE_UNALIGNED_LITTLE_ENDIAN_ACCESS - Success
-- PulseView version: 0.5.0-git-3903edb
-- Configuring done (0.7s)
-- Generating done (0.0s)
-- Build files have been written to: /home/cedric/Downloads/pulseview-git/src/pulseview
[  1%] Automatic MOC for target pulseview
[  1%] Built target pulseview_autogen
[  4%] Generating l10n/de.qm
[  4%] Generating l10n/es_MX.qm
[  4%] Generating l10n/ja_jp.qm
[  5%] Generating qrc_pulseview.cpp
Updating '/home/cedric/Downloads/pulseview-git/src/pulseview/l10n/es_MX.qm'...
Updating '/home/cedric/Downloads/pulseview-git/src/pulseview/l10n/de.qm'...
    Generated 288 translation(s) (288 finished and 0 unfinished)
    Generated 289 translation(s) (289 finished and 0 unfinished)
Updating '/home/cedric/Downloads/pulseview-git/src/pulseview/l10n/ja_jp.qm'...
    Generated 320 translation(s) (320 finished and 0 unfinished)
    Ignored 79 untranslated source text(s)
[  6%] Generating qrc_translations.cpp
[  7%] Building CXX object CMakeFiles/pulseview.dir/pv/globalsettings.cpp.o
[  8%] Building CXX object CMakeFiles/pulseview.dir/pulseview_autogen/mocs_compilation.cpp.o
[ 10%] Building CXX object CMakeFiles/pulseview.dir/main.cpp.o
[ 10%] Building CXX object CMakeFiles/pulseview.dir/pv/application.cpp.o
[ 11%] Building CXX object CMakeFiles/pulseview.dir/pv/devicemanager.cpp.o
[ 12%] Building CXX object CMakeFiles/pulseview.dir/pv/logging.cpp.o
[ 13%] Building CXX object CMakeFiles/pulseview.dir/pv/mainwindow.cpp.o
[ 14%] Building CXX object CMakeFiles/pulseview.dir/pv/metadata_obj.cpp.o
[ 15%] Building CXX object CMakeFiles/pulseview.dir/pv/session.cpp.o
[ 16%] Building CXX object CMakeFiles/pulseview.dir/pv/storesession.cpp.o
[ 17%] Building CXX object CMakeFiles/pulseview.dir/pv/util.cpp.o
[ 18%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/binding.cpp.o
[ 19%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/inputoutput.cpp.o
[ 20%] Building CXX object CMakeFiles/pulseview.dir/pv/binding/device.cpp.o
[ 21%] Building CXX object CMakeFiles/pulseview.dir/pv/data/analog.cpp.o
[ 21%] Building CXX object CMakeFiles/pulseview.dir/pv/data/analogsegment.cpp.o
/home/cedric/Downloads/pulseview-git/src/pulseview/main.cpp: In function ‘int main(int, char**)’:
/home/cedric/Downloads/pulseview-git/src/pulseview/main.cpp:235:47: warning: ‘this’ pointer is null [-Wnonnull]
  235 |                         context->set_log_level(sigrok::LogLevel::get(loglevel));
      |                         ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/cedric/Downloads/pulseview-git/src/pulseview/main.cpp:34:
/usr/include/libsigrokcxx/libsigrokcxx.hpp:262:14: note: in a call to non-static member function ‘void sigrok::Context::set_log_level(const sigrok::LogLevel*)’
  262 |         void set_log_level(const LogLevel *level);
      |              ^~~~~~~~~~~~~
[ 22%] Building CXX object CMakeFiles/pulseview.dir/pv/data/logic.cpp.o
[ 23%] Building CXX object CMakeFiles/pulseview.dir/pv/data/logicsegment.cpp.o
[ 24%] Building CXX object CMakeFiles/pulseview.dir/pv/data/mathsignal.cpp.o
[ 25%] Building CXX object CMakeFiles/pulseview.dir/pv/data/signalbase.cpp.o
[ 26%] Building CXX object CMakeFiles/pulseview.dir/pv/data/signaldata.cpp.o
[ 27%] Building CXX object CMakeFiles/pulseview.dir/pv/data/segment.cpp.o
[ 28%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/device.cpp.o
[ 29%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/file.cpp.o
[ 30%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/hardwaredevice.cpp.o
[ 31%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/inputfile.cpp.o
[ 32%] Building CXX object CMakeFiles/pulseview.dir/pv/devices/sessionfile.cpp.o
[ 33%] Building CXX object CMakeFiles/pulseview.dir/pv/dialogs/connect.cpp.o
[ 34%] Building CXX object CMakeFiles/pulseview.dir/pv/dialogs/inputoutputoptions.cpp.o
[ 35%] Building CXX object CMakeFiles/pulseview.dir/pv/dialogs/settings.cpp.o
[ 36%] Building CXX object CMakeFiles/pulseview.dir/pv/dialogs/storeprogress.cpp.o
[ 37%] Building CXX object CMakeFiles/pulseview.dir/pv/popups/deviceoptions.cpp.o
<snip>
[ 98%] Building CXX object CMakeFiles/pulseview.dir/qrc_pulseview.cpp.o
[ 99%] Building CXX object CMakeFiles/pulseview.dir/qrc_translations.cpp.o
[100%] Linking CXX executable pulseview
[100%] Built target pulseview
==> Entering fakeroot environment...
==> Starting package()...
[  1%] Automatic MOC for target pulseview
[  1%] Built target pulseview_autogen
[100%] Built target pulseview
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/cedric/Downloads/pulseview-git/pkg/pulseview-git/usr/bin/pulseview
-- Installing: /home/cedric/Downloads/pulseview-git/pkg/pulseview-git/usr/share/man/man1/pulseview.1
-- Installing: /home/cedric/Downloads/pulseview-git/pkg/pulseview-git/usr/share/applications/org.sigrok.PulseView.desktop
-- Installing: /home/cedric/Downloads/pulseview-git/pkg/pulseview-git/usr/share/metainfo/org.sigrok.PulseView.appdata.xml
-- Installing: /home/cedric/Downloads/pulseview-git/pkg/pulseview-git/usr/share/icons/hicolor/48x48/apps/pulseview.png
-- Installing: /home/cedric/Downloads/pulseview-git/pkg/pulseview-git/usr/share/icons/hicolor/scalable/apps/pulseview.svg
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "pulseview-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: pulseview-git 0.3.0.r1149.g3903edbd-1 (Sat 13 May 2023 06:26:08 PM CEST)
[cedric@cedric pulseview-git]$ su
Password: 
[root@cedric pulseview-git]# pacman -U pulseview-git-0.3.0.r1149.g3903edbd-1-x86_64.pkg.tar 
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) pulseview-git-0.3.0.r1149.g3903edbd-1

Total Installed Size:  8.83 MiB
Net Upgrade Size:      0.10 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                                             [################################################################################################] 100%
(1/1) checking package integrity                                                                                                                           [################################################################################################] 100%
(1/1) loading package files                                                                                                                                [################################################################################################] 100%
(1/1) checking for file conflicts                                                                                                                          [################################################################################################] 100%
(1/1) checking available disk space                                                                                                                        [################################################################################################] 100%
:: Processing package changes...
(1/1) upgrading pulseview-git                                                                                                                              [################################################################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating icon theme caches...
(3/3) Updating the desktop file MIME type cache...

Offline

#6 2023-05-13 16:35:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] pulseview-git fatal error: glib.h: No such file or directory

On that first attempt (in the last post), you can see it doesn't regenerate the build files because they're already there. It wasn't rebuilding libsigrok-git that helped, it was doing a clean build of pulseview-git.

Anyway, please remember to mark your thread as solved.

Offline

Board footer

Powered by FluxBB