Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808035 - media-sound/pulseaudio-15.0: needs dev-perl/XML-Parser on build
Summary: media-sound/pulseaudio-15.0: needs dev-perl/XML-Parser on build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-13 16:00 UTC by Alexander Kurakin
Modified: 2021-09-23 16:48 UTC (History)
4 users (show)

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


Attachments
Build log (build.log,36.89 KB, text/plain)
2021-08-14 11:19 UTC, Alexander Kurakin
Details
Build log from a Gentoo/Prefix installation. (build.log,25.26 KB, text/x-log)
2021-09-03 15:20 UTC, Christian Ludwig
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurakin 2021-08-13 16:00:58 UTC
Seems like pulseaudio/pulseaudio-15.0 needs dev-perl/XML-Parser on build.

[3/118] /usr/lib/python-exec/python3.9/meson --internal exe --capture man/pax11publish.1 -- /usr/bin/perl /var/calculate/tmp/portage/media-sound/pulseaudio-15.0/work/pulseaudio-15.0/man/xmltoman man/pax11publish.1.xml
FAILED: man/pax11publish.1 
/usr/lib/python-exec/python3.9/meson --internal exe --capture man/pax11publish.1 -- /usr/bin/perl /var/calculate/tmp/portage/media-sound/pulseaudio-15.0/work/pulseaudio-15.0/man/xmltoman man/pax11publish.1.xml
--- stderr ---
Can't locate XML/Parser.pm in @INC (you may need to install the XML::Parser module) (@INC contains: /etc/perl /usr/local/lib64/perl5/5.34/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.34 /usr/lib64/perl5/vendor_perl/5.34/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.34 /usr/lib64/perl5/5.34/x86_64-linux-thread-multi /usr/lib64/perl5/5.34 /usr/lib64/perl5/5.32 /usr/lib64/perl5/vendor_perl/5.32 /usr/lib64/perl5/vendor_perl/5.30.3 /usr/lib64/perl5/vendor_perl/5.30.1 /usr/lib64/perl5/vendor_perl/5.28.2 /usr/lib64/perl5/vendor_perl/5.26.2 /usr/lib64/perl5/vendor_perl/5.24.3 /usr/lib64/perl5/vendor_perl/5.24.1 /usr/lib64/perl5/5.12.4 /usr/lib64/perl5/5.12.3 /usr/lib64/perl5/5.12.2) at /var/calculate/tmp/portage/media-sound/pulseaudio-15.0/work/pulseaudio-15.0/man/xmltoman line 20.
BEGIN failed--compilation aborted at /var/calculate/tmp/portage/media-sound/pulseaudio-15.0/work/pulseaudio-15.0/man/xmltoman line 20.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-13 16:10:40 UTC
1. Please provide the full build.log.
2. Please provide emerge --info.
Comment 2 Alexander Kurakin 2021-08-13 16:39:44 UTC
/var/calculate/tmp/portage/media-sound/pulseaudio-15.0/temp/build.log: https://gist.github.com/kuraga/96ce5755627021539bdce3d3bd7009cb

emerge --info:

Portage 3.0.20 (python 3.9.6-final-0, default/amd64/20/desktop, gcc-10.3.0, glibc-2.33-r1, 5.10.53-calculate x86_64)
=================================================================
System uname: Linux-5.10.53-calculate-x86_64-Intel-R-_Core-TM-_i5-7200U_CPU_@_2.50GHz-with-glibc2.33
KiB Mem:     8047492 total,   2055004 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Thu, 12 Aug 2021 07:30:01 +0000
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash:          5.1_p8::gentoo
dev-lang/perl:            5.34.0::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.9.6_p1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1-r1::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

custom
    location: /var/calculate/custom-overlay
    masters: calculate gentoo

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

calculate
    location: /var/db/repos/calculate
    sync-type: calculate
    sync-uri: git://github.com/calculatelinux/calculate.git
    masters: gentoo
    priority: 50

distros
    location: /var/db/repos/distros
    sync-type: calculate
    sync-uri: git://github.com/calculatelinux/distros.git
    masters: calculate gentoo
    priority: 50

gentoo
    location: /usr/portage
    sync-type: calculate
    sync-uri: git://github.com/calculatelinux/gentoo.git
    priority: 50

Installed sets: @autodeps, @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/var/calculate/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask --binpkg-changed-deps=n --binpkg-respect-use=y --jobs=4 --quiet-build=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
INSTALL_MASK="/etc/systemd /lib*/systemd /usr/lib*/systemd /etc/shorewall*/* -/etc/shorewall*/shorewall*.conf"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/calculate/packages/x86_64"
PORTAGE_BINHOST="https://mirror.yandex.ru/calculate/grp/x86_64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/calculate/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx bittorrent bluetooth box bzip2 cairo caps cdda cddb cdparanoia cgroups chm cli cpudetection cracklib crypt css cue cups dav1d dbus dftk djvu dri dv dvd dvdr dvdread ebook elogind encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gphoto2 gpm gstreamer gtk heif hunspell iconv id3tag idn ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k lame libglvnd libnotify libtirpc libwww lm-sensors logrotate lz4 lzo mad matroska mikmod mimap mmx mmxext mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pam pcre pdf pgo png policykit popcnt postscript ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner sdl seccomp semantic-desktop smp smtp speex spell split-usr srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vnc vorbis vpx vulkan wavpack wayland webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xinerama xmp xop xv xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx sse sse2 * mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="libinput evdev mutouch synaptics" KERNEL="linux" L10N="en be bg bs cs da de de-1901 el es es-AR es-CL es-ES es-MX et fi fr fr-CA hr hu it kk lt lv nl pl pt pt-BR pt-PT ro ru sk sl sr sq sv uk" LCD_DEVICES="* bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python2_7" RUBY_TARGETS="ruby26" THEMES="CLDX" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev i915 i965 intel nouveau nv nvidia r100 r200 r300 r600 radeon qxl radeonsi vesa virtualbox via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 3 Mart Raudsepp gentoo-dev 2021-08-14 11:14:48 UTC
There is no build.log attached. But looking at the probably at some point disappearing link, it looks like pulseaudio is missing a needed xmltoman build dep
Comment 4 Alexander Kurakin 2021-08-14 11:19:24 UTC
Created attachment 732868 [details]
Build log
Comment 5 Alexander Kurakin 2021-08-14 11:21:31 UTC
Sorry, I've forgotten about attachments and added a Gist link.

Fixed.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-16 04:44:42 UTC
(In reply to Mart Raudsepp from comment #3)
> There is no build.log attached. But looking at the probably at some point
> disappearing link, it looks like pulseaudio is missing a needed xmltoman
> build dep

This was my first thought of course too, but not so sure: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/517727ebdcd9d6dbc7eacdc843f886ed2e0f38f6. xmltoman still seems part of their tree today.

I suppose we could be missing a XML::Parser dep.

Now, all of that said, some points:
- The OP is using Calculate Linux, not Gentoo. Ideally they would report it there.
- Can you run perl-cleaner --all just to verify your Perl installation is clean?
- It doesn't seem like perl-cleaner has been run recently (if ever?) given all the ancient Perls mentioned.
- What does emerge -pv1 dev-perl/XML-Parser say?
Comment 7 Christian Ludwig 2021-09-03 15:17:33 UTC
I have the same problem on a Gentoo/Prefix install in my $HOME directory on Debian Linux. My build log looks exactly the same (except for the paths, of course).
Comment 8 Christian Ludwig 2021-09-03 15:20:11 UTC
Created attachment 737224 [details]
Build log from a Gentoo/Prefix installation.
Comment 9 Larry the Git Cow gentoo-dev 2021-09-23 16:48:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669271896a5a2da3f378a1179cf43d90ee3f7151

commit 669271896a5a2da3f378a1179cf43d90ee3f7151
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2021-09-23 16:47:03 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2021-09-23 16:47:11 +0000

    media-sound/pulseaudio: adjust manpage build deps some more
    
    Pulseaudio uses a local copy of xmltoman, which uses XML::Parser,
    so we need those as deps, not full xmltoman
    
    Closes: https://bugs.gentoo.org/808035
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 media-sound/pulseaudio/pulseaudio-15.0-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)