Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666912 - dev-python/PyQt5 expects qtnetwork[ssl]
Summary: dev-python/PyQt5 expects qtnetwork[ssl]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-23 19:47 UTC by cJ
Modified: 2019-05-12 22:34 UTC (History)
2 users (show)

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


Attachments
dev-python/PyQt5-5.12_pre1812231618 build.log (build.log,473.99 KB, text/plain)
2018-12-29 08:31 UTC, Justin Keogh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cJ 2018-09-23 19:47:36 UTC
dev-python/PyQt5 won't build if qtnetwork has been built without ssl.

Not sure if the package can deal with the USE granularity of whether it should mandate qtnetwork with ssl.
Comment 1 Andreas Sturmlechner gentoo-dev 2018-09-24 17:17:46 UTC
Please paste emerge --info and attach build.log.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-09-29 08:03:34 UTC
PyQt5 does have a lot of PyQt_SSL ifdefs, but it may be not complete.
Comment 3 Justin Keogh 2018-12-29 08:31:24 UTC
Created attachment 558754 [details]
dev-python/PyQt5-5.12_pre1812231618 build.log
Comment 4 Justin Keogh 2018-12-29 08:32:31 UTC
$ /usr/bin/emerge qtnetwork -pv

These are the packages that would be merged, in reverse order:

Calculating dependencies  ... done!
[ebuild   R    ] dev-qt/qtnetwork-5.11.3:5/5.11::gentoo  USE="-bindist -connman -debug -libproxy -networkmanager -ssl -test" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 17 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

$ emerge --info
Portage 2.3.52 (python 3.6.6-final-0, default/linux/amd64/17.0/no-multilib/hardened, gcc-8.2.0, glibc-2.28-r2, 4.19.9-gentoo x86_64)
=================================================================
System uname: Linux-4.19.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-2620M_CPU_@_2.70GHz-with-gentoo-2.6
KiB Mem:    16335228 total,    286284 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 27 Dec 2018 23:05:36 +0000
Head commit of repository gentoo: 79183b5fb5c43cdbf2b1b41cdc6ecf0ab0871fd4

Head commit of repository perlovka: 7cddb1ea153f688939435e71bc29bc19d6dc34c0

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p4) 2.31.1
distcc 3.3.2 x86_64-pc-linux-gnu [disabled]
ccache version 3.5 [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.5-r1::gentoo
dev-util/cmake:           3.13.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.2::gentoo
sys-apps/sandbox:         2.14::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r2::gentoo
sys-devel/gcc:            8.2.0-r5::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

perlovka
    location: /var/db/repos/perlovka
    sync-type: git
    sync-uri: https://github.com/Perlovka/portage-overlay.git
    masters: gentoo

chaoslab
    location: /var/lib/layman/chaoslab
    masters: gentoo
    priority: 50

jakeogh
    location: /var/lib/layman/jakeogh
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y --tree --nospinner"
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 buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd/ /lib64/systemd/ /lib/systemd/ charset.alias"
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="aac alisp alsa amd64 amr apng aspell blas bzip2 cairo celt clang cpudetection crypt cryptsetup cxx device-mapper dga dirac directfb dmenu dri egl elogind eudev exif extra ffmpeg fftw fontconfig fortran ftdi geos gif glut gml gnuplot gps graphviz gsm hardened helpers hwdb iconv icu idn imagemagick ipython irqbalance jpeg jpeg2k keymap lapack lcms levenshtein libcaca libkms libressl libtirpc lvm lzma mad man matplotlib mmxext mng mp3 ncat ncurses ndiff netcdf nls nping nptl ntfs numpy ocr offensive ogg oog openal opengl openmp openvg opus osmesa pam pcre pdf pie png postscript pylint python qemu raw readline rtlsdr schroedinger scipy script sdl seccomp smp smpeg sparse spell spice sqlite ssl ssp ssse3 tbb theora threads tiff tinfo tools truetype udev unicode usb usbredir v4l vaapi vdpau virt-network vorbis vpx wavelet webp wmf x264 x265 xa xattr xcb xetex xpm xtpax xv xvfb xvid zlib" ABI_X86="64" 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 plan sheets stage words" COLLECTD_PLUGINS="cpu cpufreq disk dns entropy ethstat exec hddtemp ipmi iptables mbmon postgresql processes python sensors thermal users vmem df interface irq load memory rrdtool swap syslog zfs_arc" CPU_FLAGS_X86="aes avx 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" GRUB_PLATFORMS="emu pc efi-64" INPUT_DEVICES="keyboard synaptics mouse 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-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23 ruby 24 ruby25" USERLAND="GNU" VIDEO_CARDS="nouveau intel qxl" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2018-12-29 23:22:39 UTC
Same root cause as bug 635502: feature detection is disabled when passing --enable=FOO to configure.py. Sadly, upstream doesn't consider it a bug and refuses to fix it.
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2019-05-12 22:34:51 UTC
I've added USE=ssl in 5.12.2 that should "fix" this.