Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672626 - app-text/calibre-3.15.0 fails in install phase with: 'static assertion failed: sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount'
Summary: app-text/calibre-3.15.0 fails in install phase with: 'static assertion failed...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ian Stakenvicius
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-06 15:17 UTC by Progenyx
Modified: 2018-12-06 16:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,61.84 KB, text/plain)
2018-12-06 15:19 UTC, Progenyx
Details
environment (environment,152.37 KB, text/plain)
2018-12-06 15:20 UTC, Progenyx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Progenyx 2018-12-06 15:17:40 UTC
In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43:0,
                 from /usr/include/qt5/QtGui/5.11.1/QtGui/qpa/qplatformfontdatabase.h:52,
                 from /var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/src/calibre/headless/fontconfig_database.h:9,
                 from /var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/src/calibre/headless/fontconfig_database.cpp:40:
/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/src/calibre/headless/fontconfig_database.cpp:296:1: error: static assertion failed: sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount
 Q_STATIC_ASSERT(sizeof specialLanguages / sizeof *specialLanguages == QChar::ScriptCount);
 ^
make: *** [Makefile:755: fontconfig_database.o] Error 1
Error while executing: make -j4

Traceback (most recent call last):
  File "setup.py", line 119, in <module>
    sys.exit(main())
  File "setup.py", line 104, in main
    command.run_all(opts)
  File "/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/setup/__init__.py", line 236, in run_all
    self.run_cmd(self, opts)
  File "/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/setup/__init__.py", line 228, in run_cmd
    self.run_cmd(scmd, opts)
  File "/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/setup/__init__.py", line 232, in run_cmd
    cmd.run(opts)
  File "/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/setup/build.py", line 270, in run
    self.build_headless()
  File "/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/setup/build.py", line 416, in build_headless
    self.check_call([self.env.make] + ['-j%d'%(cpu_count or 1)])
  File "/var/tmp/portage/app-text/calibre-3.15.0/work/calibre-3.15.0/setup/build.py", line 342, in check_call
    subprocess.check_call(*args, **kwargs)
  File "/usr/lib64/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2
 * ERROR: app-text/calibre-3.15.0::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 3569:  Called die
 * The specific snippet of code:
 *       PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} "${PYTHON}" setup.py install --root="${D}" --prefix="${EPREFIX}/usr" --libdir="${EPREFIX}/usr/${libdir}" --staging-root="${ED}usr" --staging-libdir="${ED}usr/${libdir}" || die;

Reproducible: Always




Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/no-multilib/hardened/selinux, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo-gnu x86_64)
=================================================================
System uname: Linux-4.14.83-gentoo-gnu-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.6
KiB Mem:    16295656 total,    781384 free
KiB Swap:    2097148 total,   2096884 free
Timestamp of repository gentoo: Wed, 05 Dec 2018 15:30:01 +0000
Head commit of repository gentoo: f0d15dd00ea4af8629675be6522e1f4203a75b67
Head commit of repository libressl: 11ab4cff0afe2308bd9f0714e132eb76f2761545

Head commit of repository matrix: 6b30395686809d4a6345bc69d640c255bc30dcc1

sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.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

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

libressl
    location: /var/lib/overlays/libressl
    sync-type: git
    sync-uri: https://github.com/gentoo/libressl.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind"
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.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/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"
CXX="g++"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.iawnet.sandia.gov/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://cosmos.illinois.edu/pub/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 aalib acl acpi alsa amd64 audiofile audit avahi bash-completion blas branding bzip2 cairo cdda cddb cdparanoia cdr clamav consolekit crypt css cups curl cxx dbus deblob djvu dts dv dvd dvdr emboss encode exif fam fbcon ffmpeg fftw flac fontconfig geoip geolocation gif git gnuplot gnutls gphoto2 gpm graphviz gsl gstreamer hardened hddtemp hdf5 iconv icu idn imlib inotify ipv6 jack jbig jemalloc jpeg jpeg2k kde ladspa lapack lash latex lcms ldap libnotify libressl libsamplerate libtirpc lm_sensors lzma mad matroska memcached memlimit mime mms mng mozilla mp3 mp4 mpeg mplayer musepack musicbrainz mysql mysqli ncurses netcdf networkmanager nls nntp nptl offensive ofx ogg openexr opengl openmp opus pam pcre pdf php pie plasma plotutils png policykit posix postgres postscript ppds python qml qt5 quicktime raw readline rss sasl scanner sctp seccomp selinux semantic-desktop slp smp sndfile snmp sockets socks5 sound sox speex spell sqlite ssl ssp startup-notification svg sybase syslog szip taglib theora threads tiff truetype udev udisks unicode upower usb utils v4l vaapi vcd vdpau vhosts vim-syntax vnc vorbis wavpack wayland webp wmf wxwidgets x264 xattr xcb xcomposite xface xft xml xmlrpc xmp xmpp xpm xtpax xv xvid yaz zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 plan sheets stage words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access auth_basic auth_ldap auth_pam autoindex browser cache_purge charset dav dav_ext echo empty_gif fancyindex fastcgi geo gzip limit_conn limit_req map memc memcached metrics proxy realip referer rewrite scgi secure_link split_clients ssi stub_status upload_progress upstream_check upstream_ip_hash userid uwsgi vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="aarch64 ppc64 riscv64 x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby23 ruby24" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Progenyx 2018-12-06 15:19:53 UTC
Created attachment 557154 [details]
build.log
Comment 2 Progenyx 2018-12-06 15:20:49 UTC
Created attachment 557156 [details]
environment