Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763264 - dev-libs/msgpack-3.3.0 USE="doc" emake failed: make: *** No rule to make target 'doxygen'. Stop.
Summary: dev-libs/msgpack-3.3.0 USE="doc" emake failed: make: *** No rule to make targ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-01-03 13:03 UTC by yongxiang
Modified: 2021-01-04 09:32 UTC (History)
3 users (show)

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


Attachments
fix build with USE=doc and USE="doc -cxx" (0001-dev-libs-msgpack-fix-build-with-USE-doc-and-USE-doc-.patch,1.91 KB, patch)
2021-01-03 14:16 UTC, Ionen Wolkens
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description yongxiang 2021-01-03 13:03:15 UTC
faild in here:

multilib_src_compile() {
        cmake_src_compile

        if multilib_is_native_abi && use doc; then
                emake doxygen
        fi
}


Reproducible: Always




Portage 3.0.12 (python 3.8.7-final-0, default/linux/amd64/17.1/systemd, gcc-10.2.0, glibc-2.32-r6, 5.9.16 x86_64)
=================================================================
System uname: Linux-5.9.16-x86_64-AMD_Ryzen_9_3950X_16-Core_Processor-with-glibc2.2.5
KiB Mem:   131902324 total,  45668328 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 02 Jan 2021 07:35:16 +0000
Head commit of repository gentoo: 02b0821dcbf11fad5f6eddc7dde2d4f58b770085

Timestamp of repository benzene-overlay: Thu, 31 Dec 2020 10:35:08 +0000
Head commit of repository benzene-overlay: ef0b2a0b05e2f2626a18d648dc0997490523d6b3

Head commit of repository flatpak-overlay: 4bf9a7815ca9361f86459c8a8e9bc403e3721704

Head commit of repository gentoo-zh: ba1ef2e3a0813268d2990964e73e2476eaae567b

Timestamp of repository gig: Mon, 28 Dec 2020 23:05:22 +0000
Head commit of repository gig: 14b55c3dac13786d76aef80b139a586e8960a7c3

Timestamp of repository nix-guix: Mon, 28 Dec 2020 10:28:41 +0000
Head commit of repository nix-guix: 7c612b46427e020a4d31258a33a4e73418d512c0

Timestamp of repository steam-overlay: Mon, 28 Dec 2020 10:27:44 +0000
Head commit of repository steam-overlay: 9adf6273bedb2dd25d80b943c70e640dbacb48dc

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
ccache version 4.1 [enabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          2.7.18-r5::gentoo, 3.7.9-r1::gentoo, 3.8.7::gentoo, 3.9.1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

benzene-overlay
    location: /var/db/repos/benzene-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/benzene-overlay.git
    masters: gentoo

flatpak-overlay
    location: /var/db/repos/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo

gentoo-zh
    location: /var/db/repos/gentoo-zh
    sync-type: git
    sync-uri: https://github.com/microcai/gentoo-zh.git
    masters: gentoo

gig
    location: /var/db/repos/gig
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gig.git
    masters: gentoo

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

nix-guix
    location: /var/db/repos/nix-guix
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/nix-guix.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

Installed sets: @steam
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/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="-O3 -pipe -march=native -ggdb"
DISTDIR="/var/cache/distfiles"
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="-O3 -pipe -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ccache compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources 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 splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -march=native"
GENTOO_MIRRORS="https://mirrors.tuna.tsinghua.edu.cn/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j32"
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="/tmp"
USE="X acl alsa amd64 berkdb bluetooth bzip2 cli compiler-rt crypt doc dri fortran gdbm iconv ipv6 libcxx libcxxabi libglvnd libtirpc libunwind multilib ncurses nls nptl openmp pam pcre pulseaudio readline seccomp split-usr ssl systemd tcpd udev unicode xattr zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" 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" 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-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby27 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" 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
Comment 1 yongxiang 2021-01-03 13:05:02 UTC
[32;01m * [39;49;00mPackage:    dev-libs/msgpack-3.3.0
[32;01m * [39;49;00mRepository: gentoo
[32;01m * [39;49;00mMaintainer: vim@gentoo.org
[32;01m * [39;49;00mUSE:        abi_x86_64 amd64 cxx doc elibc_glibc kernel_linux userland_GNU
[32;01m * [39;49;00mFEATURES:   ccache compressdebug installsources network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking msgpack-3.3.0.tar.gz to /tmp/portage/dev-libs/msgpack-3.3.0/work
>>> Source unpacked in /tmp/portage/dev-libs/msgpack-3.3.0/work
>>> Preparing source in /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0 ...
 [32;01m*[0m Working in BUILD_DIR: "/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build"
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0 ...
 [32;01m*[0m abi_x86_64.amd64: running multilib-minimal_abi_src_configure
 [32;01m*[0m Working in BUILD_DIR: "/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64"
cmake -C /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DMSGPACK_BOOST=no -DMSGPACK_ENABLE_CXX=yes -DMSGPACK_ENABLE_STATIC=no -DMSGPACK_BUILD_TESTS=no -DMSGPACK_BUILD_EXAMPLES=OFF -DMSGPACK_CXX11=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64/gentoo_toolchain.cmake  /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0
loading initial cache file /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64/gentoo_common_config.cmake
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) 
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") 
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Performing Test MSGPACK_ENABLE_GCC_CXX_ATOMIC
-- Performing Test MSGPACK_ENABLE_GCC_CXX_ATOMIC - Failed
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.20") found components: doxygen dot 
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O3 -pipe -march=native -ggdb
C++             -DMSGPACK_DEFAULT_API_VERSION=3 -std=c++11 -O3 -pipe -march=native -ggdb
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed
Module          -Wl,-O1 -Wl,--as-needed
Shared          -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0 ...
 [32;01m*[0m abi_x86_64.amd64: running multilib-minimal_abi_src_compile
 [32;01m*[0m Working in BUILD_DIR: "/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64"
ninja -v -j32 -l0
[1/7] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dmsgpackc_EXPORTS -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/include -Iinclude -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0  -O3 -pipe -march=native -ggdb -fPIC  -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/objectc.c.o -MF CMakeFiles/msgpackc.dir/src/objectc.c.o.d -o CMakeFiles/msgpackc.dir/src/objectc.c.o -c /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/src/objectc.c
[2/7] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dmsgpackc_EXPORTS -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/include -Iinclude -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0  -O3 -pipe -march=native -ggdb -fPIC  -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/zone.c.o -MF CMakeFiles/msgpackc.dir/src/zone.c.o.d -o CMakeFiles/msgpackc.dir/src/zone.c.o -c /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/src/zone.c
[3/7] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dmsgpackc_EXPORTS -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/include -Iinclude -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0  -O3 -pipe -march=native -ggdb -fPIC  -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/unpack.c.o -MF CMakeFiles/msgpackc.dir/src/unpack.c.o.d -o CMakeFiles/msgpackc.dir/src/unpack.c.o -c /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/src/unpack.c
[4/7] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dmsgpackc_EXPORTS -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/include -Iinclude -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0  -O3 -pipe -march=native -ggdb -fPIC  -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o -MF CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o.d -o CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o -c /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/src/vrefbuffer.c
[5/7] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -Dmsgpackc_EXPORTS -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/include -Iinclude -I/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0  -O3 -pipe -march=native -ggdb -fPIC  -Wall -Wextra -DPIC -MD -MT CMakeFiles/msgpackc.dir/src/version.c.o -MF CMakeFiles/msgpackc.dir/src/version.c.o.d -o CMakeFiles/msgpackc.dir/src/version.c.o -c /tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0/src/version.c
[6/7] : && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -fPIC -O3 -pipe -march=native -ggdb  -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libmsgpackc.so.2 -o libmsgpackc.so.2.0.0 CMakeFiles/msgpackc.dir/src/objectc.c.o CMakeFiles/msgpackc.dir/src/unpack.c.o CMakeFiles/msgpackc.dir/src/version.c.o CMakeFiles/msgpackc.dir/src/vrefbuffer.c.o CMakeFiles/msgpackc.dir/src/zone.c.o   && :
[7/7] /usr/bin/cmake -E cmake_symlink_library libmsgpackc.so.2.0.0  libmsgpackc.so.2 libmsgpackc.so && :
make -j32 doxygen 
make: *** No rule to make target 'doxygen'.  Stop.
 [31;01m*[0m ERROR: dev-libs/msgpack-3.3.0::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/msgpack-3.3.0::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/msgpack-3.3.0::gentoo'`.
 [31;01m*[0m The complete build log is located at '/tmp/portage/dev-libs/msgpack-3.3.0/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/tmp/portage/dev-libs/msgpack-3.3.0/temp/environment'.
 [31;01m*[0m Working directory: '/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0_build-abi_x86_64.amd64'
 [31;01m*[0m S: '/tmp/portage/dev-libs/msgpack-3.3.0/work/msgpack-3.3.0'
Comment 2 Ionen Wolkens gentoo-dev 2021-01-03 13:47:49 UTC
Please use bugzilla attachments for build logs in the future.

That aside, seems like an oversight from cmake-utils conversion, CC'ing sam.
Comment 3 Ionen Wolkens gentoo-dev 2021-01-03 14:16:21 UTC
Created attachment 680866 [details, diff]
fix build with USE=doc and USE="doc -cxx"

Submitting patch myself because I noticed something else on my minimal test env.
Comment 4 yongxiang 2021-01-03 16:49:13 UTC
(In reply to Ionen Wolkens from comment #3)
> Created attachment 680866 [details, diff] [details, diff]
> fix build with USE=doc and USE="doc -cxx"
> 
> Submitting patch myself because I noticed something else on my minimal test
> env.

Great, after applying this patch, I can also install it normally.
Comment 5 Larry the Git Cow gentoo-dev 2021-01-04 09:32:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63a1814fab5b2461ebb75c6f6c65f2579d15c4df

commit 63a1814fab5b2461ebb75c6f6c65f2579d15c4df
Author:     Ionen Wolkens <sudinave@gmail.com>
AuthorDate: 2021-01-03 14:10:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-04 09:30:50 +0000

    dev-libs/msgpack: fix build with USE=doc and USE="doc -cxx"
    
    Closes: https://bugs.gentoo.org/763264
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/msgpack/msgpack-3.2.0.ebuild | 6 ++++--
 dev-libs/msgpack/msgpack-3.3.0.ebuild | 8 +++++---
 2 files changed, 9 insertions(+), 5 deletions(-)