Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885075 - app-arch/libarchive: installed .pc file references iconv in Requires.private, but iconv lacks a pkgconfig file
Summary: app-arch/libarchive: installed .pc file references iconv in Requires.private,...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: PMASKED
: 885091 885093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-12-09 20:48 UTC by Toralf Förster
Modified: 2022-12-09 22:27 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.84 KB, text/plain)
2022-12-09 20:48 UTC, Toralf Förster
Details
dev-libs:appstream-glib-0.8.2:20221209-202618.log (dev-libs:appstream-glib-0.8.2:20221209-202618.log,3.67 KB, text/plain)
2022-12-09 20:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,57.95 KB, text/plain)
2022-12-09 20:48 UTC, Toralf Förster
Details
environment (environment,100.40 KB, text/plain)
2022-12-09 20:48 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,701 bytes, application/x-bzip)
2022-12-09 20:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.71 KB, application/x-bzip)
2022-12-09 20:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.11 KB, application/x-bzip)
2022-12-09 20:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.75 KB, application/x-bzip)
2022-12-09 20:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-12-09 20:48:35 UTC
Run-time dependency gmodule-2.0 found: YES 2.74.3
Run-time dependency gio-unix-2.0 found: YES 2.74.3
Run-time dependency uuid found: YES 2.38.1
Found CMake: /usr/bin/cmake (3.25.1)
Run-time dependency libarchive found: NO (tried cmake)

meson.build:76:0: ERROR: Dependency lookup for libarchive with method 'pkgconfig' failed: 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'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221209-050006

  -------------------------------------------------------------------

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.9
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.6
php cli (if any):

  HEAD of ::gentoo
commit 28a2460b7562ae0ccaaada7f15966fbf68478e94
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 9 20:02:05 2022 +0000

    2022-12-09 20:02:05 UTC

emerge -qpvO dev-libs/appstream-glib
[ebuild  N    ] dev-libs/appstream-glib-0.8.2  USE="introspection -fonts -gtk-doc -stemmer"
Comment 1 Toralf Förster gentoo-dev 2022-12-09 20:48:36 UTC
Created attachment 841129 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-09 20:48:37 UTC
Created attachment 841131 [details]
dev-libs:appstream-glib-0.8.2:20221209-202618.log
Comment 3 Toralf Förster gentoo-dev 2022-12-09 20:48:38 UTC
Created attachment 841133 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-12-09 20:48:40 UTC
Created attachment 841135 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-09 20:48:41 UTC
Created attachment 841137 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-09 20:48:42 UTC
Created attachment 841139 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-09 20:48:42 UTC
Created attachment 841141 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-09 20:48:43 UTC
Created attachment 841143 [details]
temp.tar.bz2
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-09 21:14:54 UTC
This is a libarchive bug: https://github.com/libarchive/libarchive/issues/1766.
Comment 10 Eli Schwartz 2022-12-09 21:17:50 UTC
Is libarchive itself, for some reason, listing iconv as a  pkg-config dependency? Odd, because it's either built into glibc and doesn't have a pkg-config file, or a standalone library useful for another libc (musl?) whose developer... steadfastly refuses to support pkg-config files on the grounds that the act of adding this simple text file would change the project status to no longer be libre software, and instead be proprietary software.

(Do not ask how that works. :P)

So I wonder how this is ever supposed to work. If a pkg-config file needs to specify to use iconv, this should be listed in `Libs: -liconv` rather than `Requires: iconv` (or their `*.private` equivalent fields).
Comment 11 Eli Schwartz 2022-12-09 21:23:34 UTC
Regressed in https://github.com/libarchive/libarchive/pull/1723 due to msys2 reasons? Very confused. ISTR they randomly patch in a pkg-config file though.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-09 22:25:24 UTC
*** Bug 885093 has been marked as a duplicate of this bug. ***
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-09 22:25:29 UTC
*** Bug 885091 has been marked as a duplicate of this bug. ***
Comment 14 Larry the Git Cow gentoo-dev 2022-12-09 22:27:04 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041441adfdd016ca5fca97fc65d1b49363a63b70

commit 041441adfdd016ca5fca97fc65d1b49363a63b70
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-12-09 22:26:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-12-09 22:26:56 +0000

    profiles: mask =app-arch/libarchive-3.6.2
    
    Bug: https://bugs.gentoo.org/885075
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)