[..] jade:../../doc/refentry/jw.sgml:79:20:E: element "REPLACEABLE" undefined jade:../../doc/refentry/jw.sgml:79:57:E: element "REPLACEABLE" undefined jade:../../doc/refentry/jw.sgml:79:88:E: element "SBR" undefined jade:../../doc/refentry/jw.sgml:81:25:E: element "GROUP" undefined jade:../../doc/refentry/jw.sgml:82:12:E: element "ARG" undefined jade:../../doc/refentry/jw.sgml:82:20:E: element "OPTION" undefined jade:I: maximum number of errors (200) reached; change with -E option jade:../../docbook-utils.dsl:5:73:W: cannot generate system identifier for public text "-//James Clark//DTD DSSSL Style Sheet//EN" jade:../../docbook-utils.dsl:9:96:W: cannot generate system identifier for public text "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" jade:../../docbook-utils.dsl:15:0:E: reference to entity "STYLE-SHEET" for which no system identifier could be generated jade:../../docbook-utils.dsl:5:0: entity was defined here jade:../../docbook-utils.dsl:15:0:E: DTD did not contain element declaration for document type name jade:../../docbook-utils.dsl:9:1:E: notation "DSSSL" for entity "docbook.dsl" undefined [..] make[2]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc/HTML' make[1]: *** [Makefile:157: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14/doc' make: *** [Makefile:200: all-recursive] Error 1 * ERROR: app-text/docbook-sgml-utils-0.6.14-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14' * S: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14' >>> Failed to emerge app-text/docbook-sgml-utils-0.6.14-r3, Log file: >>> '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/build.log' * Messages for package app-text/docbook-sgml-utils-0.6.14-r3: * ERROR: app-text/docbook-sgml-utils-0.6.14-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/docbook-sgml-utils-0.6.14-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14' * S: '/var/tmp/portage/app-text/docbook-sgml-utils-0.6.14-r3/work/docbook-utils-0.6.14'
Created attachment 589962 [details] build.log
Portage 2.3.76 (python 3.7.4-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r5, 5.2.13-gentoo x86_64) ================================================================= System uname: Linux-5.2.13-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_C2758_@_2.40GHz-with-gentoo-2.6 KiB Mem: 32911356 total, 6373004 free KiB Swap: 34078716 total, 34078716 free Timestamp of repository gentoo: Sun, 15 Sep 2019 20:15:01 +0000 Head commit of repository gentoo: d142b465d609034ed9d3a942dea0819321171569 sh bash 5.0_p11 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] ccache version 3.7.4 [enabled] app-shells/bash: 5.0_p11::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.0::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo dev-util/ccache: 3.7.4::gentoo dev-util/cmake: 3.15.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.2.0::gentoo sys-devel/gcc-config: 2.1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: --exclude-from=/etc/portage/rsync_excludes crossdev location: /usr/local/crossdev masters: gentoo galactica location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/fhem /usr/share/gnupg/qualified.txt /var/lib/fhem /var/lib/unifi" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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="-frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox protect-owned sandbox sfperms sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/etc/systemd/* /etc/xinetd.d/* /usr/lib/systemd/*" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-z,now" LINGUAS="de de_DE" MAKEOPTS="-j9 -l8" PKGDIR="/var/cache/binpkgs" PORTAGE_BUNZIP2_COMMAND="pbunzip2" PORTAGE_BZIP2_COMMAND="pbzip2" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9e" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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" USE="X aalib acl alsa amd64 berkdb bluetooth bzip2 cairo calendar caps cddb cgi cjk colord cracklib crypt cups curl cvs cxx dbus dga djvu dri encode exif fbcon fbcpm ffmpeg fftw flac fontconfig fortran ftp gd gdbm geolocation gif git gmp gnutls gphoto2 gpm graphviz gsm gstreamer iconv icu idn ieee1394 imap imlib inotify introspection ipv6 java javascript jbig jemalloc jit joystick jpeg jpeg2k lcms ldap libass libcaca libnotify libsamplerate lm-sensors lua luajit lzma lzo mad maildir mbox mhash mikmod milter mmap modplug mono mp3 mysql mysqli ncurses networkmanager nls nntp nptl nsplugin offensive ogg openal openexr opengl openmp opus orc oss pam pcre pdf perl pie png policykit posix postgres postscript pulseaudio python raw readline rtmp samba sasl scanner sdl session slang slp smartcard sndfile snmp soap sockets sound sox speex spell split-usr sqlite ssl startup-notification subversion suid svg symlink syslog tcpd theora threads tiff truetype udev unicode usb v4l vaapi vcd vdpau vhosts vim-syntax vnc vorbis wavpack wayland webkit webp wifi wmf x264 xattr xcb xface xft xinetd xml xmp xpm xscreensaver xv xvid zeroconf zlib zsh-completion zstd" ABI_X86="32 64" COLLECTD_PLUGINS="apcups battery cgroups conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec fhcount filecount gps hddtemp hugepages interface ipc ipmi iptables irq load lvm java mcelog md memory mysql netlink nfs nginx ntpd openldap openvpn ping postgresql processes protocols rrdcached sensors serial smart snmp swap syslog tcpconns thermal turbostat unixsock uptime users wireless" CPU_FLAGS_X86="aes mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt nmea0183" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="cfontzpacket crystalfontz glcd2usb hd44780 lcd2usb" NGINX_MODULES_HTTP="access auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip gzip_static headers_more image_filter javascript limit_conn limit_req map metrics proxy realip referer rewrite secure_link sticky stub_status upload_progress upstream_keepalive vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip geoip2 javascript limit_conn map realip return ssl_preread" PHP_TARGETS="php7-3" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="ast fbdev" Unset: CC, CPPFLAGS, CTARGET, CXX, PORTAGE_BINHOST
Paste your /etc/sgml/catalog, please.
root@Galactica / $ cat /etc/sgml/catalog CATALOG "/etc/sgml/dsssl-docbook-stylesheets.cat" CATALOG "/etc/sgml/openjade-1.3.2.cat" CATALOG "/etc/sgml/sgml-docbook-3.0.cat" CATALOG "/etc/sgml/sgml-docbook-3.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.0.cat" CATALOG "/etc/sgml/sgml-docbook-4.1.cat" CATALOG "/etc/sgml/sgml-docbook-4.2.cat" CATALOG "/etc/sgml/sgml-docbook-4.4.cat" CATALOG "/etc/sgml/sgml-docbook.cat" CATALOG "/etc/sgml/sgml-ent.cat" CATALOG "/etc/sgml/xml-docbook-4.1.2.cat" CATALOG "/etc/sgml/xml-docbook-4.2.cat" CATALOG "/etc/sgml/xml-docbook-4.3.cat" CATALOG "/etc/sgml/xml-docbook-4.4.cat" CATALOG "/etc/sgml/xml-docbook-4.5.cat" CATALOG "/etc/sgml/xml-simple-docbook-1.0.cat" CATALOG "/etc/sgml/xml-simple-docbook-4.1.2.4.cat"
Do you have app-text/html401 or app-text/xhtml1 installed? If not, could you check if none of the files in /etc/sgml reference them?
(In reply to Michał Górny from comment #5) > Do you have app-text/html401 or app-text/xhtml1 installed? If not, could > you check if none of the files in /etc/sgml reference them? Both packages are not installed. >>> /etc/sgml/html401.cat >>> /etc/sgml/xhtml1.cat Both *.cat files from that packages are not referenced there.
I think, I see the problem. All *.cat files are just empty. Nothing in there?!
Yep, after I reemergeed all packages for *.cat files, there are not empty anymore and compilation works now. Close for INVALID?
The old eclass causes the old files to be removed in postrm but the ebuilds have a hack to restore them. I'm wondering if the former misfired and made them empty instead of removing, or the latter misfired and didn't restore them properly.
(In reply to Michał Górny from comment #9) > The old eclass causes the old files to be removed in postrm but the ebuilds > have a hack to restore them. I'm wondering if the former misfired and made > them empty instead of removing, or the latter misfired and didn't restore > them properly. At least, it is not a single case, as two gentoo machines showed the same problem with empty files.
Do you have build logs from the sgml package upgrades still? Could you check for some postrm error messages (should appear below removing old files). Also, were the /etc/sgml files 0-bytes-empty or did they maybe contain empty lines or sth?
(In reply to Michał Górny from comment #11) > Do you have build logs from the sgml package upgrades still? Could you > check for some postrm error messages (should appear below removing old > files). Sorry, not saved anymore :/ > Also, were the /etc/sgml files 0-bytes-empty or did they maybe contain empty > lines or sth? Not 0-bytes, but just one empty line.
(In reply to Conrad Kostecki from comment #12) > (In reply to Michał Górny from comment #11) > > Also, were the /etc/sgml files 0-bytes-empty or did they maybe contain empty > > lines or sth? > > Not 0-bytes, but just one empty line. Yeah, I suppose that might have caused the old eclass not to remove them, therefore not to trigger the replacement. I suppose I should try cmping them instead.
I've pushed a potential fix just now. Please let me know if you hit it on any other systems.
(In reply to Michał Górny from comment #14) > I've pushed a potential fix just now. Please let me know if you hit it on > any other systems. At least I can say, a third gentoo system was unaffacted. Since I only have three systems, I can't tell more. I will close now :-)