SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Run-time dependency gmodule-2.0 found: YES 2.70.3
Run-time dependency gudev-1.0 found: YES 237
Run-time dependency xmlb found: YES 0.3.10
Run-time dependency gusb found: YES 0.4.2
Run-time dependency sqlite3 found: YES 3.37.2
Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency libarchive found: NO (tried cmake)
meson.build:226:2: ERROR: Could not generate cargs for libarchive:
Package iconv was not found in the pkg-config search path.
Perhaps you should add the directory containing `iconv.pc'
to the PKG_CONFIG_PATH environment variable
Package 'iconv', required by 'libarchive', not found
l/libarchive-3.6.2-x86_64-1.txz: Upgraded.
This is a bugfix and security release.
Relevant bugfixes:
rar5 reader: fix possible garbled output with bsdtar -O (#1745)
mtree reader: support reading mtree files with tabs (#1783)
Security fixes:
various small fixes for issues found by CodeQL
(* Security fix *)
I get the same error on Slackware64 15.0 + MultiLib
As rizitis noted, libarchive was updated Fri Dec 9 19:43:46 UTC 2022
So maybe there is an issue with the new libarchive related to iconv ?
Not sure, I havn't dug any deeper.
-- kjh
Code:
<<snip>>
The Meson build system
Version: 0.59.4
Source dir: /tmp/SBo/fwupd-1.7.10
Build dir: /tmp/SBo/fwupd-1.7.10/build
Build type: native build
Project name: fwupd
Project version: 1.7.10
C compiler for the host machine: ccache cc (gcc 11.2.0 "cc (GCC) 11.2.0")
C linker for the host machine: cc ld.bfd 2.37-slack15
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program git found: YES (/usr/bin/git)
<<snip>>
Program diff found: YES (/usr/bin/diff)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency gio-2.0 found: YES 2.70.3
Run-time dependency gio-unix-2.0 found: YES 2.70.3
Run-time dependency gmodule-2.0 found: YES 2.70.3
Run-time dependency gudev-1.0 found: YES 237
Run-time dependency xmlb found: YES 0.3.10
Run-time dependency gusb found: YES 0.4.2
Run-time dependency sqlite3 found: YES 3.37.2
Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency libarchive found: NO (tried cmake)
meson.build:226:2: ERROR: Could not generate cargs for libarchive:
Package iconv was not found in the pkg-config search path.
Perhaps you should add the directory containing `iconv.pc'
to the PKG_CONFIG_PATH environment variable
Package 'iconv', required by 'libarchive', not found
Me and @slackernetuk can also confirm this with recompiling of Flatpak 1.14.1 today.
Quote:
flatpak-1.14.1/app/flatpak-main.c
flatpak-1.14.1/app/parse-datetime.h
flatpak-1.14.1/app/flatpak-table-printer.h
flatpak-1.14.1/app/flatpak-table-printer.c
flatpak-1.14.1/app/flatpak-builtins-utils.c
flatpak-1.14.1/app/flatpak-builtins-utils.h
flatpak-1.14.1/app/Makefile.am.inc
<<<snip>>>>
checking for libarchive >= 2.8.0... no
configure: error: Package requirements (libarchive >= 2.8.0) were not met:
Package 'iconv', required by 'libarchive', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ARCHIVE_CFLAGS
and ARCHIVE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
bash-5.2#
Run-time dependency json-glib-1.0 found: YES 1.6.6
Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency libarchive found: NO (tried cmake)
../meson.build:63:0: ERROR: Could not generate cargs for libarchive:
Package iconv was not found in the pkg-config search path.
Perhaps you should add the directory containing `iconv.pc'
to the PKG_CONFIG_PATH environment variable
Package 'iconv', required by 'libarchive', not found
Run-time dependency json-glib-1.0 found: YES 1.6.6
Found CMake: /usr/bin/cmake (3.21.4)
Run-time dependency libarchive found: NO (tried cmake)
../meson.build:63:0: ERROR: Could not generate cargs for libarchive:
Package iconv was not found in the pkg-config search path.
Perhaps you should add the directory containing `iconv.pc'
to the PKG_CONFIG_PATH environment variable
Package 'iconv', required by 'libarchive', not found
I just tested on my VM (Slackware 15) not yet updated with libarchive 3.6.2
virt-manager builds fine
I applied the patches in the above link and recompiled libarchive. This fixed compiling appstream-glib for me. So based on my testing the above pull request does solve this problem.
on the last line "Requires.private:" remove "iconv", save file... move on.
Proper fix needs to be worked out upstream, but rather than re-building Slackware packages, that enables you to do whatever building you need. Nothing I've built has ended up broken locally afterwards, but take my uneducated advice with a grain of salt.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.