Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920901 - net-misc/iputils-20231222: missing build dependency on dev-libs/libxslt
Summary: net-misc/iputils-20231222: missing build dependency on dev-libs/libxslt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-28 19:21 UTC by Andreas K. Hüttel
Modified: 2024-10-03 07:31 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas K. Hüttel archtester gentoo-dev 2023-12-28 19:21:17 UTC
net-misc/iputils-20231222 : missing build dependency on dev-libs/libxslt
(found during loong stage build)

Seems like something went wrong in bug 908817

[32m * [39;49;00mPackage:    net-misc/iputils-20231222:0
[32m * [39;49;00mRepository: gentoo
[32m * [39;49;00mMaintainer: base-system@gentoo.org
[32m * [39;49;00mUSE:        arping elibc_glibc kernel_linux loong nls
[32m * [39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/net-misc/iputils-20231222/temp/meson.loongarch64-unknown-linux-gnu.lp64d.ini -Db_pch=false -Dwerror=false --buildtype plain -DUSE_CAP=false -DUSE_IDN=false -DBUILD_ARPING=true -DBUILD_CLOCKDIFF=false -DBUILD_PING=true -DBUILD_TRACEPATH=false -DNO_SETCAP_OR_SUID=true -Dsystemdunitdir=/usr/lib/systemd/system -DUSE_GETTEXT=true -DSKIP_TESTS=true /var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222 /var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222-build
The Meson build system
Version: 1.3.0
Source dir: /var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222
Build dir: /var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222-build
Build type: native build
Project name: iputils
Project version: 20231222
C compiler for the host machine: loongarch64-unknown-linux-gnu-gcc (gcc 13.2.1 "loongarch64-unknown-linux-gnu-gcc (Gentoo 13.2.1_p20231216 p11) 13.2.1 20231216")
C linker for the host machine: loongarch64-unknown-linux-gnu-gcc ld.bfd 2.41
Host machine cpu family: loongarch64
Host machine cpu: loongarch64
Found pkg-config: YES (/usr/bin/loongarch64-unknown-linux-gnu-pkg-config) 2.1.0
Run-time dependency systemd found: YES 255
Checking for function "__fpending" : YES 
Checking for function "getrandom" : YES 
Checking for function "nanosleep" : YES 
Checking if "struct icmp6_nodeinfo" compiles: NO 
Checking if "struct tm time;" compiles: YES 
Library m found: YES
Library resolv found: YES
Checking for function "clock_gettime" : YES 
Library disabler-appears-to-disable-executable-build found: NO
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency disabler-appears-to-disable-executable-build found: NO (tried pkgconfig and cmake)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Library intl found: NO
Run-time dependency disabler-appears-to-disable-executable-build found: NO (tried pkgconfig and cmake)
Has header "error.h" : YES 
Configuring config.h using configuration
Program setcap found: YES (/usr/bin/setcap)
Program xsltproc found: NO

doc/meson.build:23:11: ERROR: Program 'xsltproc' not found or not executable

A full log can be found at /var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222-build/meson-logs/meson-log.txt
 [31;01m*[0m ERROR: net-misc/iputils-20231222::gentoo failed (configure phase):
 [31;01m*[0m   (no error message)
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line  136:  Called src_configure
 [31;01m*[0m   environment, line 2496:  Called meson_src_configure
 [31;01m*[0m   environment, line 1847:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "${mesonargs[@]}" ) || die
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=net-misc/iputils-20231222::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-misc/iputils-20231222::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/log/portage/net-misc:iputils-20231222:20231228-020130.log'.
 [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/iputils-20231222/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-misc/iputils-20231222/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222'
 [31;01m*[0m S: '/var/tmp/portage/net-misc/iputils-20231222/work/iputils-20231222'
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2023-12-30 16:28:27 UTC
Happened for riscv stage too.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-30 17:18:46 UTC
commit 8fd3bbe19eb695fb5ca88375e4d814070ab33639 (HEAD -> master, origin/master, origin/HEAD)
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Dec 30 12:13:19 2023 -0500

    net-misc/iputils: revert man page logic

    There are no pregenerated man pages to be found here.

    Signed-off-by: Mike Gilbert <floppym@gentoo.org>


Indeed, they are missing, let's see what went wrong with the upstream logic. It's my fault for not reviewing it when they asked - I did mean to and kept forgetting.
Comment 3 Larry the Git Cow gentoo-dev 2024-10-03 07:31:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91046f11889af3d05a54ba858e5b85506e121d96

commit 91046f11889af3d05a54ba858e5b85506e121d96
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-10-03 06:59:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-10-03 07:04:47 +0000

    net-misc/iputils: add 20240905
    
    This also essentially reverts commit 8fd3bbe19eb695fb5ca88375e4d814070ab33639
    (brings back the doc/man page logic as it's now in an upstream release).
    
    Includes a patch from Eli (https://github.com/iputils/iputils/pull/556).
    
    Bug: https://bugs.gentoo.org/908817
    Closes: https://bugs.gentoo.org/920901
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/iputils/Manifest                          |   1 +
 .../iputils/files/iputils-20240905-man-pages.patch |  30 +++++
 net-misc/iputils/iputils-20240905.ebuild           | 145 +++++++++++++++++++++
 net-misc/iputils/iputils-99999999.ebuild           |  26 ++--
 4 files changed, 194 insertions(+), 8 deletions(-)