Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] docbook-sgml-utils-0.6.14-r6 fails to build
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ajgringo619
n00b
n00b


Joined: 01 Nov 2022
Posts: 30

PostPosted: Sat Oct 26, 2024 1:29 am    Post subject: [SOLVED] docbook-sgml-utils-0.6.14-r6 fails to build Reply with quote

I'm right at the very end of finishing my Cinnamon build, but this package just refuses to build.

emerge --info '=app-text/docbook-sgml-utils-0.6.14-r6::gentoo'
Code:
Portage 3.0.65 (python 3.12.6-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-13, glibc-2.39-r6, 6.6.57-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.57-gentoo-dist-x86_64-13th_Gen_Intel-R-_Core-TM-_i5-13400F-with-glibc2.39
KiB Mem:     8106036 total,   1888412 free
KiB Swap:    7812092 total,   7811824 free
Timestamp of repository gentoo: Wed, 23 Oct 2024 16:30:00 +0000
Head commit of repository gentoo: e4d0169ef0a079cb0b89504790652e5374c834c7
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.6_p4::gentoo
dev-lang/rust-bin:         1.81.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-apps/systemd:          255.11::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://gen-con-srv/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average=5.4"
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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted 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://mirror.reenigne.net/gentoo/     http://mirrors.mit.edu/gentoo-distfiles/     rsync://mirrors.mit.edu/gentoo-distfiles/"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j3"
PKGDIR="/media/host/shared-files/gentoo/binaries"
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 alsa amd64 branding bzip2 cairo cdda cdr cet colord crypt cups dbus dist-kernel dri dts dvd dvdr eds encode evo exif flac gdbm gif gnome gnome-keyring gnome-shell gpm gstreamer gtk gui iconv icu introspection jpeg keyring kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python3_12 qml qt5 qt6 readline sdl seccomp sound spell ssh ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks uefi unicode upower usb vorbis vulkan wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, 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, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r6::gentoo'
Code:
[ebuild  N    ] app-text/docbook-sgml-utils-0.6.14-r6  USE="jadetex"


I've tried building with jadetex, but it didn't make any difference. In my web searches, I can't find anything pertinent, with most of the SOLVED threads dating back 20 years. I haven't been using Gentoo much over the last year, so I'm sure I'm missing something here. However, I did successfully build (2) KDE and Xfce systems, one with stable packages and one with unstable.


Last edited by ajgringo619 on Tue Oct 29, 2024 6:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22746

PostPosted: Sat Oct 26, 2024 1:48 am    Post subject: Reply with quote

You are missing the other things Portage's output told you to post. In particular, you omitted the build.log, without which we can only guess at the cause of the problem. If you need help, please follow the instructions that Portage prints when a build fails.
Back to top
View user's profile Send private message
ajgringo619
n00b
n00b


Joined: 01 Nov 2022
Posts: 30

PostPosted: Sat Oct 26, 2024 1:56 am    Post subject: Reply with quote

Sorry about that, I read the help message wrong. Hope it's OK to post the log here, or should I be using a service like termbin?

Hmmm..I got a general error when trying to post the log, so here's the link: https://0x0.st/XUfB.txt
And the environment: https://0x0.st/XUfu.txt
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 473
Location: Naarm/Melbourne, Australia

PostPosted: Sat Oct 26, 2024 4:53 am    Post subject: Reply with quote

i just tried installing docbook-sgml-utils, and it completed without issues.

The log looks bizarre: for some reason, there's a stuff in there like the text of the FDL (or significant amounts of it) and the documentation. The call stack near the end suggests something might have gone wrong running docbook2man?
_________________
https://wiki.gentoo.org/wiki/User:Flexibeast
Back to top
View user's profile Send private message
ajgringo619
n00b
n00b


Joined: 01 Nov 2022
Posts: 30

PostPosted: Sat Oct 26, 2024 5:37 am    Post subject: Reply with quote

I have no idea where to go from here, either. I can't run a package cleanup, because the Cinnamon build never finished and it wants to install basically the entire system. I tried building it on my working Xfce system - same results, even after rebuilding all of the docbook-related packages. It really sucks because this package only has one version available, so upgrading or downgrading is not an option.

One that I found peculiar: the install required (5) different versions of app-text/docbook-sgml-dtd, although the latest version was not included. If you know of a way to blacklist this package so I can finish my Cinnamon install, I'd be most grateful.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 473
Location: Naarm/Melbourne, Australia

PostPosted: Sat Oct 26, 2024 5:56 am    Post subject: Reply with quote

The installation of different versions of -dtd doesn't particularly surprise me, as i can easily imagine different documentation using different versions of the dtd.

To 'blacklist' the package, you can add `app-text/docbook-sgml-dtd` to /etc/portage/package.mask.

If no-one else active here knows how to properly address this, you could try opening a bug on bugs.gentoo.org about it, to get more eyes on it; it would be useful to know whether what's involved is some kind of misconfiguration of your system, or whether the ebuild itself is doing something wrong (or isn't doing something it should).
_________________
https://wiki.gentoo.org/wiki/User:Flexibeast
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4671
Location: Germany

PostPosted: Sat Oct 26, 2024 6:43 am    Post subject: Reply with quote

Not sure, but i remember this can happen with broken perl install.
Try if
Code:
perl-cleaner --all
helps.
Back to top
View user's profile Send private message
ajgringo619
n00b
n00b


Joined: 01 Nov 2022
Posts: 30

PostPosted: Sat Oct 26, 2024 7:42 am    Post subject: Reply with quote

Josef.95 wrote:
Not sure, but i remember this can happen with broken perl install.
Try if
Code:
perl-cleaner --all
helps.


Thanks, but it didn't help; no perl packages were altered, emerge fails as before.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3940
Location: Hamburg

PostPosted: Sat Oct 26, 2024 9:03 am    Post subject: Reply with quote

open bugs: https://bugs.gentoo.org/buglist.cgi?quicksearch=docbook-sgml-utils&list_id=7283921
Back to top
View user's profile Send private message
ajgringo619
n00b
n00b


Joined: 01 Nov 2022
Posts: 30

PostPosted: Sat Oct 26, 2024 4:16 pm    Post subject: Reply with quote

Those are some really old bugs, some started back in 2015. I tried looking at some of the pre-built binaries, but their USE flags were so generic that nothing stood out to me. I'll give this another try in the coming weeks.

Thanks for everyone's help.
Back to top
View user's profile Send private message
ajgringo619
n00b
n00b


Joined: 01 Nov 2022
Posts: 30

PostPosted: Tue Oct 29, 2024 6:43 pm    Post subject: Reply with quote

OK, I finally got past this, although I really don't know why. I decided to completely rebuild my Gentoo environment, this time with only KDE and Xfce systems alongside my server. I tried building this package with Xfce and it worked! I'm sure I did something wrong with my setup - a typo somewhere in the USE files, maybe? A bad repo sync?

Oh, well - on to the next build.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum