Created attachment 651814 [details] build.log /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:80: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_malloc(size_t size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:80: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_calloc(size_t count, size_t size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:80: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_realloc(void \*ptr, size_t old_size, size_t new_size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:80: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] type \*cork_new(TYPE type) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:117: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_xmalloc(size_t size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:117: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_xcalloc(size_t count, size_t size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:117: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_xrealloc(void \*ptr, size_t old_size, size_t new_size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:117: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_xreallocf(void \*ptr, size_t old_size, size_t new_size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:117: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] type \*cork_xnew(TYPE type) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:167: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_free(void \*ptr, size_t size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:167: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] void \*cork_cfree(void \*ptr, size_t count, size_t size) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:167: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 5] type \*cork_delete(void \*ptr, TYPE type) -----^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:190: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 11] const char \*cork_strdup(const char \*str) -----------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:190: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 11] const char \*cork_strndup(const char \*str, size_t size) -----------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:190: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 11] const char \*cork_xstrdup(const char \*str) -----------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:190: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 11] const char \*cork_xstrndup(const char \*str, size_t size) -----------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:212: WARNING: Error in declarator or parameters Invalid C declaration: Expecting "," or ")" in parameters, got "\". [error at 29] void cork_strfree(const char \*str) -----------------------------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:227: WARNING: Error in declarator or parameters Invalid C declaration: Expecting "," or ")" in parameters, got "\". [error at 48] void cork_set_allocator(const struct cork_alloc \*alloc) ------------------------------------------------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:240: WARNING: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 24] const struct cork_alloc \*cork_allocator ------------------------^ /var/tmp/portage/net-libs/libcork-0.15.0-r1/work/libcork-0.15.0/docs/old/allocation.rst:251: WARNING: Type must be either just a name or a typedef-like declaration. If just a name: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name, got keyword: struct [error at 6] struct cork_alloc ------^ If typedef-like declaration: Error in declarator or parameters Invalid C declaration: Expected identifier in nested name. [error at 17] struct cork_alloc -----------------^ and so on (see the attached full build log) emerge --info output: Portage 3.0.1 (python 3.6.11-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-6.4.0, glibc-2.31-r6, 3.3.2-hardened x86_64) ================================================================= System uname: Linux-3.3.2-hardened-x86_64-Intel-R-_Core-TM-_i7_CPU_930_@_2.80GHz-with-gentoo-2.7 KiB Mem: 8167824 total, 1605700 free KiB Swap: 16016792 total, 15699388 free Timestamp of repository gentoo: Fri, 31 Jul 2020 04:15:01 +0000 Head commit of repository gentoo: b56d72b1a33034be14e23854374fd236f31f8136 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_beta5::gentoo dev-util/cmake: 3.18.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 6.4.0-r2::gentoo, 7.3.0-r3::gentoo, 8.1.0-r3::gentoo, 8.2.0-r6::gentoo, 10.2.0::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.us.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 x-portage location: /usr/local/portage masters: gentoo priority: 0 gentoo-xvilka location: /var/lib/layman/gentoo-xvilka masters: gentoo priority: 1 godin location: /var/lib/layman/godin masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE dlj-1.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/qmail/alias /var/qmail/control /var/spool/munin-async/.ssh /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="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 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="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" 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" USE="acl amd64 bzip2 crypt cvs git gnutls hardened iconv ipv6 libtirpc lighttpd mercurial mmx ncurses nls nptl openmp pam pcre perl php pie postgresql python readline sbcl seccomp split-usr sse sse2 sse4 ssl ssp ssse3 subversion unicode xattr xml xmlrpc xsl xtpax zlib" ABI_X86="64" ADA_TARGET="gnat_2018" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby27" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I guess sphinx knows best what C style comment identifiers should look like. :-)
fixed at 0.15.0-r2 commit c919d3125b271c8827f27aa81a1b9dce9dd7ff24 Author: Yixun Lan <dlan@gentoo.org> Date: Tue Feb 16 18:02:25 2021 +0800 net-libs/libcork: drop building docs/old drop building the doc due to sphinx error for now