Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642562 - sci-visualization/gle optionally depends on deprecated Qt4
Summary: sci-visualization/gle optionally depends on deprecated Qt4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt4-removal
  Show dependency tree
 
Reported: 2017-12-28 19:44 UTC by Andreas Sturmlechner
Modified: 2018-01-13 08:17 UTC (History)
2 users (show)

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


Attachments
=sci-visualization/gle-4.2.5-r1 still needs =dev-qt/qtopengl-4.* (sci-visualization:gle-4.2.5-r1:20180103-111514.log,73.29 KB, text/plain)
2018-01-04 09:06 UTC, Volkmar Glauche
Details
=sci-visualization/gle-4.2.5-r1 still needs =dev-qt/qtopengl-4.* (sci-visualization:gle-4.2.5-r1:20180104-081444.log,131.94 KB, text/x-log)
2018-01-04 09:08 UTC, Volkmar Glauche
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2017-12-28 19:44:47 UTC
Qt4 is dead and going away. Are there any signs of upstream porting to Qt5? If not, maybe it is time to drop the option.
Comment 1 Andrey Grozin gentoo-dev 2017-12-31 03:22:40 UTC
commit 318f6b2af9bde35c8bb573c6535e53ffc1c9fc5c
Author: Andrey Grozin <grozin@gentoo.org>
Date:   Sun Dec 31 10:19:00 2017 +0700

    sci-visualization/gle: drop an optional Qt4 gui
    
    Package-Manager: Portage-2.3.19, Repoman-2.3.6
Comment 2 Volkmar Glauche 2018-01-04 09:06:46 UTC
Created attachment 513146 [details]
=sci-visualization/gle-4.2.5-r1 still needs =dev-qt/qtopengl-4.*

Build of =sci-visualization/gle-4.2.5-r1 fails when =dev-qt/qtopengl-4.* is not installed.
Comment 3 Volkmar Glauche 2018-01-04 09:08:43 UTC
Created attachment 513148 [details]
=sci-visualization/gle-4.2.5-r1 still needs =dev-qt/qtopengl-4.*

Successful build with manually installed =dev-qt/qtopengl-4.8.7.
Comment 4 Volkmar Glauche 2018-01-04 09:11:25 UTC
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop/gnome, gcc-6.4.0, glibc-2.25-r9, 4.4.30-aufs-2016-11-11 x86_64)
=================================================================
System uname: Linux-4.4.30-aufs-2016-11-11-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    16405788 total,   1887576 free
KiB Swap:    3999996 total,   3890748 free
Head commit of repository gentoo: 5b9825596b526810c15805828cfbc1548669c585

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::<unknown repository>, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            4.4.7::gentoo, 5.4.0-r4::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /adm/swinstall/gentoo/portage
    sync-type: git
    sync-uri: http://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000

FBI-software
    location: /adm/swinstall/gentoo/overlay
    masters: gentoo
    priority: 0

imaging
    location: /adm/swinstall/gentoo/imaging
    masters: gentoo
    priority: 50

science
    location: /adm/swinstall/gentoo/science
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /usr/share/polkit-1/rules.d /var/spool/maui /var/spool/torque"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -mtune=native"
DISTDIR="/adm/swinstall/gentoo/portage/../distfiles"
EMERGE_DEFAULT_OPTS="-j 3 --keep-going y"
FCFLAGS="-O2 -pipe -mtune=native"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -mtune=native"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://ftp.heanet.ie/pub/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ rsync://gentoo.bloodhost.ru/gentoo-distfiles"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/adm/swinstall/gentoo/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="3dnow 3dnowext R X a52 aac aalib accessibility acl acpi adns afp afs alisp alsa amd64 ao archive audiofile autoipd automount avahi avx avx2 base bash-completion bcmath berkdb blas bluetooth branding bzip2 cairo caja calendar caps cdda cdparanoia cdr clamav clang cli colord consolekit crypt cscope ctype cuda cups curl curlwrappers cvs cxx dbm dbus dga dri dri3 drm dts dv dvb dvd dvdr dvi egl emacs emboss encode evo exif expat fam fat fbcon ffmpeg fftw firefox flac flatfile fontconfig fortran freerdp ftp fuse gbm gcj gd gdbm gif gimp git glamor gles glut gmp gnome gnome-keyring gnuplot gnutls gphoto2 gpm graphviz gstreamer gtk gtk3 gui gzip hardened hddtemp hdf hdf5 hdri hfs http iconv icu idn ieee1394 image-converter imagemagick imap imlib inifile inotify introspection ipc ipod ipv6 jack java javafx javascript jbig jpeg jpeg2k kerberos ladspa lame lapack lash lcms ldap libnotify libwww lightning lm_sensors logrotate lua lzma lzo m17n-lib mad mate matroska memlimit mhash mikmod mime mmap mms mmxext mng modules mono mozilla mp3 mp4 mpeg mpi mplayer mtp multilib musepack nas ncurses netboot netcdf nfs nls nntp nptl nscd nsplugin ntfs octave ogg openal opencl openexr opengl openmp openrc-force pam pango pcntl pcre pda pdf perl plotutils png policykit posix postscript ppds pulseaudio python qt3support qt5 quicktime quvi r600-llvm-compiler rar raw rdesktop readline recode sasl scanner sdl seamonkey seccomp session share sharedmem shorten simplexml slang slp smp sndfile soap sockets sound sox speex spell sqlite sse3 sse4 sse4_1 ssh ssl ssse3 startup-notification subversion svg syslog sysvipc szip taglib tcl tcpd theora threads tiff tk tokenizer tracker truetype twolame udev udisks unicode upnp upower usb usbredir uxa vaapi vba vcd vdpau vim-syntax vorbis vpx vte wavpack webdav webm webp webstart wmf wxwidgets x264 xattr xcb xcomposite xetex xft xinerama xkb xml xorg xpm xscreensaver xv xvid xvmc zeroconf 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4 sse4_1 ssse3" 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="libinput keyboard mouse" KERNEL="linux" L10N="en de it fr ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de it fr ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="dummy fbdev modesetting nv nvidia nouveau mga qxl radeon vesa vga 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Andreas Sturmlechner gentoo-dev 2018-01-04 09:17:46 UTC
Instead of disabling, the following hunk (diff over pre-removal) made it rely on whatever default the gle buildsystem chooses:

@@ -43,7 +42,6 @@
        econf \
                --without-rpath \
                --with-manip \
-               $(use_with qt4 qt "${EPREFIX}"/usr) \
                $(use_with X x) \
                $(use_with jpeg) \
                $(use_with png) \
Comment 6 Volkmar Glauche 2018-01-04 14:31:18 UTC
(In reply to Andreas Sturmlechner from comment #5)
> Instead of disabling, the following hunk (diff over pre-removal) made it
> rely on whatever default the gle buildsystem chooses:
> 
> @@ -43,7 +42,6 @@
>         econf \
>                 --without-rpath \
>                 --with-manip \
> -               $(use_with qt4 qt "${EPREFIX}"/usr) \
>                 $(use_with X x) \
>                 $(use_with jpeg) \
>                 $(use_with png) \

Adding 

--without-qt

instead fixes the build for me. This explicitly disables Qt and does not try to build the qgle GUI executable at all. Since I do not require the GUI, this is ok for me. For people interested in the GUI, this will be a regression.
Comment 7 Larry the Git Cow gentoo-dev 2018-01-04 15:59:15 UTC
The bug has been closed via the following commit(s):

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

commit c1bba173d7f558705b38481c79d95a7ab8e81ccc
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2018-01-04 15:58:52 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2018-01-04 15:58:52 +0000

    sci-visualization/gle: fix removing Qt4 gui
    
    Closes: https://bugs.gentoo.org/642562
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-visualization/gle/gle-4.2.5-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 8 Andreas Sturmlechner gentoo-dev 2018-01-13 02:19:54 UTC
Not fixed until old version was cleaned up.
Comment 9 Larry the Git Cow gentoo-dev 2018-01-13 08:17:58 UTC
The bug has been closed via the following commit(s):

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

commit 6a6f1f244057cdbbd13db6f2d68fdcec64baad9a
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2018-01-13 08:17:36 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2018-01-13 08:17:36 +0000

    sci-visualization/gle: clean old
    
    Closes: https://bugs.gentoo.org/642562
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../gle/files/gle-4.2.4b-parallel.patch            |  21 -----
 sci-visualization/gle/gle-4.2.5.ebuild             | 102 ---------------------
 2 files changed, 123 deletions(-)