Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725884 - dev-python/gmpy-2.0.8-r1 fails to emerge
Summary: dev-python/gmpy-2.0.8-r1 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-28 13:07 UTC by Richard Cox
Modified: 2020-06-06 08:38 UTC (History)
1 user (show)

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


Attachments
build log (build.log,7.01 KB, text/plain)
2020-05-28 13:19 UTC, Richard Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Cox 2020-05-28 13:07:26 UTC
dev-python/gmpy fails to emerge with the following error:

x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -march=native -O2 -pipe /var/tmp/portage/dev-python/gmpy-2.0.8-r1/work/gmpy2-2.0.8-python3_8/temp.linux-x86_64-3.8/src/gmpy2.o -L/usr/lib64 -lgmp -lmpfr -lmpc -o /var/tmp/portage/dev-python/gmpy-2.0.8-r1/work/gmpy2-2.0.8-python3_8/lib/gmpy2.cpython-38-x86_64-linux-gnu.so
 * Using python3.8 in global scope
 * python3_8: running distutils-r1_run_phase python_compile_all
Running Sphinx v3.0.4

Extension error:
Could not import extension sphinx.ext.pngmath (exception: No module named 'sphinx.ext.pngmath')
 * ERROR: dev-python/gmpy-2.0.8-r1::gentoo failed (compile phase):
 *   (no error message)


Reproducible: Always

Steps to Reproduce:
1.emerge -uDN
2.
3.
Actual Results:  
Emerge fails with error in description.

Expected Results:  
Emerge should succeed.
Comment 1 Richard Cox 2020-05-28 13:08:37 UTC
Emerge info:

Portage 2.3.100 (python 3.8.3-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.31-r3, 5.6.14-gentoo x86_64)
=================================================================
System uname: Linux-5.6.14-gentoo-x86_64-Intel-R-_Core-TM-_i9-9900K_CPU_@_3.60GHz-with-glibc2.2.5
KiB Mem:    32823880 total,   6218192 free
KiB Swap:   16777212 total,  16776944 free
Timestamp of repository gentoo: Thu, 28 May 2020 03:45:01 +0000
Head commit of repository gentoo: 2450abc1e7a2242f648eb9e16e75037ba63e7de5
Head commit of repository java: dac8661f4399716e1e0fd409a7d9ebb352828b6a

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2-r2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo
dev-util/cmake:           3.17.2::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.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            9.3.0::gentoo, 10.1.0::gentoo
sys-devel/gcc-config:     2.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://zbox/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

java
    location: /usr/local/portage/layman/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
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-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n --with-bdeps=y --autounmask=n"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg 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 splitdebug 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.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l4"
PKGDIR="/usr/portage/packages"
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="X a52 aac aacplus acl acpi activities aes alsa amd64 aspell avx berkdb branding bzip2 cairo cdda cdr cli crypt css cups curl dbus declarative doc dri dts dvd dvdnav dvdr elogind emboss encode eselect exif ffmpeg flac fortran gdbm gif gpm gstreamer gtk hunspell iconv icu ipv6 jack java jpeg kde kipi kwallet lcms ldap libnotify libtirpc libwww lm_sensors mad matroska mmx mmxext mng mp3 mp4 mpeg multilib multislot mysql ncurses nls nptl nsplugin ogg openexr opengl openmp openrc oss pam pango pcre pdf perl phonon plasma png policykit popcnt ppds python qml qt5 rdesktop readline samba sdl seccomp semantic-desktop session spell spl split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff tools truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vlc vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="32 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 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7 python3_8" RUBY_TARGETS="ruby24 ruby25 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Richard Cox 2020-05-28 13:19:52 UTC
Created attachment 642368 [details]
build log
Comment 3 Richard Cox 2020-06-05 22:39:03 UTC
I was able to work around this issue by emerge with the -doc use flag.
Comment 4 Larry the Git Cow gentoo-dev 2020-06-06 08:38:13 UTC
The bug has been closed via the following commit(s):

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

commit b8f9e9df7166e65d3df838ac0ecca3948fd7447b
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-06-06 06:25:11 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-06-06 08:38:04 +0000

    dev-python/gmpy: Backport doc build fix
    
    Closes: https://bugs.gentoo.org/725884
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/gmpy/gmpy-2.0.8-r1.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)