Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908382 - net-dns/Avahi on AARCH64 (and others?) depends on dev-perl/XML-Parser
Summary: net-dns/Avahi on AARCH64 (and others?) depends on dev-perl/XML-Parser
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-11 16:32 UTC by Brian McKee
Modified: 2023-06-11 19:30 UTC (History)
1 user (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 Brian McKee 2023-06-11 16:32:08 UTC
While emerging world today I received errors from avahi indicating that dev-perl/XML-parser package was missing.

A quick grep showed that the dependency was missing from the avahi ebuild.

Here is the relevant portion of the build log:

xmltoman avahi-daemon.8.xml > avahi-daemon.8
xmltoman avahi-dnsconfd.8.xml > avahi-dnsconfd.8
xmltoman avahi-daemon.conf.5.xml > avahi-daemon.conf.5
xmltoman avahi-dnsconfd.action.8.xml > avahi-dnsconfd.action.8
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.36/aarch64-linux-thread-multi /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/5.36) at /usr/bin/xmltoman line 22.
BEGIN failed--compilation aborted at /usr/bin/xmltoman line 22.
make[2]: *** [Makefile:861: avahi-daemon.8] Error 2
make[2]: *** Waiting for unfinished jobs....
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.36/aarch64-linux-thread-multi /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/5.36) at /usr/bin/xmltoman line 22.
BEGIN failed--compilation aborted at /usr/bin/xmltoman line 22.
make[2]: *** [Makefile:861: avahi-dnsconfd.8] Error 2
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.36/aarch64-linux-thread-multi /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/5.36) at /usr/bin/xmltoman line 22.
BEGIN failed--compilation aborted at /usr/bin/xmltoman line 22.
make[2]: *** [Makefile:858: avahi-daemon.conf.5] Error 2
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.36/aarch64-linux-thread-multi /usr/local/lib64/perl5/5.36 /usr/lib64/perl5/vendor_perl/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.36 /usr/lib64/perl5/5.36/aarch64-linux-thread-multi /usr/lib64/perl5/5.36) at /usr/bin/xmltoman line 22.
BEGIN failed--compilation aborted at /usr/bin/xmltoman line 22.
make[2]: *** [Makefile:861: avahi-dnsconfd.action.8] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.8-r7/work/avahi-0.8-.arm64/man'
make[1]: *** [Makefile:826: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-dns/avahi-0.8-r7/work/avahi-0.8-.arm64'
make: *** [Makefile:736: all] Error 2
 * ERROR: net-dns/avahi-0.8-r7::gentoo failed (compile phase):
 *   emake failed
 * 

Fixed this issue with:
emerge -q dev-perl/XML-Parser

Avahi compiled and installed after that.

ultrazed ~ # emerge --info
Portage 3.0.45.3 (python 3.11.3-final-0, default/linux/arm64/17.0/desktop, gcc-12, glibc-2.36-r7, 5.15.36-xilinx-v2022.2 aarch64)
=================================================================
System uname: Linux-5.15.36-xilinx-v2022.2-aarch64-with-glibc2.36
KiB Mem:     4026648 total,   1834048 free
KiB Swap:   15993980 total,  15992444 free
Timestamp of repository gentoo: Sun, 11 Jun 2023 07:00:01 +0000
Head commit of repository gentoo: 68710c12bfad2954fe4ef80a56c035139ef783b5
sh bash 5.1_p16-r4
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r4::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.11.3::gentoo
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            15.0.7::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="@FREE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="aarch64-unknown-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 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j4"
PKGDIR="/var/cache/binpkgs"
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/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa arm64 audio autostart avi bash-completion bitmap-fonts bluetooth boost branding bzip2 bzlib cairo caps cdda cdr cec cleartype cli cmake connection-sharing corefonts crypt css csv cups curl curlwrappers cxx dbus declarative device-mapper dri dts dvdr egl elogind encode exif ffmpeg flac fontconfig fortran ftp fuse games gdbm gif gimp git glib gnome goom gphoto2 gpm gtk gtk2 gui hal hpcups hpijs html http httpd hwdb iconv icu inotify iproute2 ipv6 irda ithreads jack jpeg kipi lcms libass libnotify libtirpc logrotate logviewer mad maildir matroska mediacenter mikmod mim minizip mjpeg mng mod modplug mozilla mp3 mp3tunes mp4 mpd mpeg mplayer multimedia multislot mysql ncurses net network nfs nfsv3 nfsv4 nftables nls nptl nsplugin nxclient ogg ogg123 oggvorbis ogm openal opengl openmp oxygen pam pango pcre pdf perl phonon php pipewire png policykit posix postscript ppds profile pulseaudio pvr python qemu qml qt5 rar raw rdesktop readline rendering resolvconf rtmp rtsp sasl sdl seccomp server session sftp sms sound spell split-usr sql ssl startup-notification stream suid svg syslog tcl tcltk test-rust theora thesaurus threads tidy tiff tinfo tk truetype twolame udev udisks unicode unzip upnp upower usb v4l v4l2 vcd vhost-net vhosts video vnc vorbis vulkan wav wavpack webcam webserver widgets wma wxwidgets x264 x265 xattr xcb xcomposite xft xml xml2 xmltv xorgmodule xulrunner xv xvid yahoo zeroconf zip zlib" ADA_TARGET="gnat_2021" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" 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" INPUT_DEVICES="libinput" KERNEL="linux" 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-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30 ruby31" VIDEO_CARDS="fbdev" 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:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

This features a custom kernel and dtb file built by Avnet for a Xilinx based SOC development board.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-11 16:35:00 UTC
No, this is xmltoman which *does* depend on XML-Parser.

>aarch64-linux-thread-multi 

You likely forgot to run perl-cleaner --all after changing USE=ithreads on dev-lang/perl.
Comment 2 Brian McKee 2023-06-11 19:29:21 UTC
Thanks. I'll run perl-cleaner --all now.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-11 19:30:15 UTC
No problem - let us know if it doesn't sort you out.