[Gambas-user] [Gambas Bug Tracker] Bug #901: Problem with Gambas upgrade when systems upgrades from qt4 to qt5 (on Debian)
bugtracker at ...3416...
bugtracker at ...3416...
Sun Mar 6 02:43:29 CET 2016
http://gambaswiki.org/bugtracker/edit?object=BUG.901&from=L21haW4-
Comment #4 by gbWilly GAMBOS:
Nope, I'm saying that the upgrade failed, I never said I used it.
This is what the logs says when upgrading jessie with gambas3.5.4 to stretch with gambas3.8.4:
--------------------------------------------
The following packages were automatically installed and are no longer required:
gambas3-gb-form-editor gambas3-gb-gui-qt-webkit gambas3-gb-gui-trayicon
gambas3-gb-inotify gambas3-gb-markdown gambas3-gb-qt5-webkit
gambas3-gb-report2 gambas3-gb-scanner gambas3-gb-sdl2 gambas3-gb-sdl2-audio
gambas3-gb-util gambas3-gb-util-web gambas3-templates libasprintf0c2
libdouble-conversion1 libgif4 libglew1.10 libgnutls-deb0-28 libjasper1
libpoppler46 libqt5opengl5 libqt5qml5 libqt5quick5 libqt5sql5 libqt5webkit5
libqt5xml5 libsdl2-2.0-0 libsdl2-image-2.0-0 libsdl2-mixer-2.0-0
libsdl2-ttf-2.0-0 libsndio6.0 libssl1.0.0 libwayland-cursor0
libwayland-egl1-mesa libwebp5 libxss1
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
libgsl0ldbl libhogweed2 libllvm3.5 libnettle4 perl-modules
The following NEW packages will be installed:
autotools-dev dh-strip-nondeterminism gambas3-gb-desktop-gnome-keyring
gambas3-gb-desktop-x11 gambas3-gb-gui-qt gambas3-gb-qt5 gcc-5-base
libapparmor1 libapt-pkg5.0 libarchive-zip-perl libegl1-mesa libevdev2
libfdisk1 libfile-stripnondeterminism-perl libgbm1 libgif7 libglew1.13
libgnutls30 libgsl2 libhogweed4 libicu55 libinput10 libllvm3.5v5 liblz4-1
libmodplug1 libmtdev1 libnettle6 libnghttp2-14 libpcre16-3 libperl5.22
libpoppler57 libprocps5 libproxy1v5 libqt5core5a libqt5dbus5 libqt5gui5
libqt5network5 libqt5printsupport5 libqt5svg5 libqt5widgets5
libqt5x11extras5 libseccomp2 libsecret-1-0 libsecret-common libssl1.0.2
libwayland-client0 libwayland-server0 libxcb-icccm4 libxcb-image0
libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-util0
libxcb-xfixes0 libxcb-xkb1 libxkbcommon-x11-0 libxkbcommon0
perl-modules-5.22 xkb-data
The following packages have been kept back:
gambas3 gambas3-ide
The following packages will be upgraded:
acl apt base-files base-passwd bash binutils bsdmainutils bsdutils bzip2
coreutils dash debconf debconf-i18n debhelper debianutils diffutils dmsetup
dpkg dpkg-dev e2fslibs e2fsprogs file findutils fonts-dejavu-core
gambas3-dev gambas3-gb-args gambas3-gb-cairo gambas3-gb-chart
gambas3-gb-clipper gambas3-gb-complex gambas3-gb-compress
gambas3-gb-compress-bzlib2 gambas3-gb-compress-zlib gambas3-gb-crypt
gambas3-gb-data gambas3-gb-db gambas3-gb-db-form gambas3-gb-db-mysql
gambas3-gb-db-odbc gambas3-gb-db-postgresql gambas3-gb-db-sqlite3
gambas3-gb-dbus gambas3-gb-desktop gambas3-gb-desktop-gnome
gambas3-gb-eval-highlight gambas3-gb-form gambas3-gb-form-dialog
gambas3-gb-form-mdi gambas3-gb-form-stock gambas3-gb-gmp gambas3-gb-gsl
gambas3-gb-gtk gambas3-gb-gtk-opengl gambas3-gb-gui gambas3-gb-gui-opengl
gambas3-gb-httpd gambas3-gb-image gambas3-gb-image-effect
gambas3-gb-image-imlib gambas3-gb-image-io gambas3-gb-jit gambas3-gb-libxml
gambas3-gb-logging gambas3-gb-map gambas3-gb-media gambas3-gb-memcached
gambas3-gb-mime gambas3-gb-mysql gambas3-gb-ncurses gambas3-gb-net
gambas3-gb-net-curl gambas3-gb-net-pop3 gambas3-gb-net-smtp
gambas3-gb-openal gambas3-gb-opengl gambas3-gb-opengl-glsl
gambas3-gb-opengl-glu gambas3-gb-opengl-sge gambas3-gb-openssl
gambas3-gb-option gambas3-gb-pcre gambas3-gb-pdf gambas3-gb-qt4
gambas3-gb-qt4-ext gambas3-gb-qt4-opengl gambas3-gb-report gambas3-gb-sdl
gambas3-gb-sdl-sound gambas3-gb-settings gambas3-gb-v4l gambas3-gb-vb
gambas3-gb-web gambas3-gb-xml gambas3-gb-xml-html gambas3-gb-xml-rpc
gambas3-gb-xml-xslt gambas3-runtime gcc-4.8-base gcc-4.9-base gettext
gettext-base gnupg gnupg-agent gnupg2 gpgv grep groff-base hostname init
initscripts insserv intltool-debian iso-codes libacl1 libasound2
libasound2-data libassuan0 libatk1.0-0 libatk1.0-data libaudio2
libaudit-common libaudit1 libavahi-client3 libavahi-common-data
libavahi-common3 libblkid1 libbsd0 libbz2-1.0 libc-bin libc6 libcaca0
libcairo2 libcap2 libcap2-bin libcomerr2 libcroco3 libcryptsetup4 libcups2
libcurl3 libcurl3-gnutls libdatrie1 libdb5.3 libdbus-1-3 libdebconfclient0
libdevmapper1.02.1 libdpkg-perl libdrm2 libedit2 libexpat1 libffi6 libflac8
libfluidsynth1 libfreetype6 libgcc1 libgcrypt20 libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-common libgl1-mesa-glx libglapi-mesa libglib2.0-0
libglu1-mesa libgmp10 libgnutls-deb0-28 libgomp1 libgpg-error0 libgpgme11
libgraphite2-3 libgssapi-krb5-2 libgstreamer-plugins-base1.0-0
libgstreamer1.0-0 libgtk2.0-0 libgtk2.0-common libharfbuzz0b libidn11
libimlib2 libjack-jackd2-0 libjpeg62-turbo libk5crypto3 libkeyutils1
libkmod2 libkrb5-3 libkrb5support0 libksba8 libldap-2.4-2
liblocale-gettext-perl libltdl7 liblzma5 libmagic1 libmikmod3 libmount1
libmysqlclient18 libncurses5 libncursesw5 libodbc1 libopenal-data libopenal1
libopenjpeg5 libopus0 liborc-0.4-0 libp11-kit0 libpam-modules
libpam-modules-bin libpam-runtime libpam0g libpango-1.0-0
libpangocairo-1.0-0 libpangoft2-1.0-0 libpcre3 libpipeline1 libpixman-1-0
libpng12-0 libpq5 libpulse0 libqt4-dbus libqt4-designer libqt4-network
libqt4-opengl libqt4-qt3support libqt4-script libqt4-sql libqt4-svg
libqt4-xml libqt4-xmlpatterns libqtcore4 libqtdbus4 libqtgui4 libqtwebkit4
libreadline6 librsvg2-2 librtmp1 libsasl2-2 libsasl2-modules-db
libsdl1.2debian libselinux1 libsemanage-common libsemanage1 libsepol1
libslang2 libsmartcols1 libsndfile1 libsqlite3-0 libss2 libssh2-1 libstdc++6
libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libthai-data libthai0 libtiff5 libtinfo5 libudev1
libusb-0.1-4 libustr-1.0-1 libuuid1 libv4lconvert0 libvorbis0a libvorbisenc2
libvorbisfile3 libx11-6 libx11-data libx11-xcb1 libxcb-dri2-0 libxcb-dri3-0
libxcb-glx0 libxcb-present0 libxcb-render0 libxcb-shm0 libxcb-sync1 libxcb1
libxdmcp6 libxi6 libxml2 libxmu6 libxrandr2 libxrender1 libxshmfence1
libxslt1.1 libxt6 libxxf86vm1 login lsb-base make man-db mount
multiarch-support mysql-common ncurses-base ncurses-bin passwd perl
perl-base pinentry-gtk2 po-debconf procps qdbus qtchooser qtcore4-l10n sed
shared-mime-info systemd systemd-sysv sysv-rc sysvinit-utils tar tzdata ucf
udev util-linux x11-common xdg-utils xz-utils
314 upgraded, 60 newly installed, 5 to remove and 2 not upgraded.
Need to get 146 MB of archives.
--------------------------------------------
So, in short all but gambas3 and gambas3-ide where upgraded.
Why did gambas3 and gambas3-ide not upgrade.
The answer is in the Debian control file for making the packages.
If I look in the control file for Gambas3 (3.8.4) both gambas3 and gambas3-ide are packaged to require qt5 instead of qt4 (see below).
gambas3-ide even conflicts with gambas3-gb-qt4.
--------------------------------------------
Package: gambas3
Architecture: all
Depends: gambas3-gb-args (>= ${binary:Version}),
gambas3-gb-cairo (>= ${binary:Version}),
gambas3-gb-chart (>= ${binary:Version}),
gambas3-gb-clipper (>= ${binary:Version}),
gambas3-gb-complex (>= ${binary:Version}),
gambas3-gb-compress-bzlib2 (>= ${binary:Version}),
gambas3-gb-compress-zlib (>= ${binary:Version}),
gambas3-gb-crypt (>= ${binary:Version}),
gambas3-gb-data (>= ${binary:Version}),
gambas3-gb-db-form (>= ${binary:Version}),
gambas3-gb-db-mysql (>= ${binary:Version}),
gambas3-gb-db-odbc (>= ${binary:Version}),
gambas3-gb-db-postgresql (>= ${binary:Version}),
gambas3-gb-db-sqlite3 (>= ${binary:Version}) | gambas3-gb-db-sqlite2 (>= ${binary:Version}),
gambas3-gb-dbus (>= ${binary:Version}),
gambas3-gb-desktop (>= ${binary:Version}),
gambas3-gb-desktop-gnome (>= ${binary:Version}),
gambas3-gb-desktop-x11 (>= ${binary:Version}),
gambas3-gb-form-dialog (>= ${binary:Version}),
gambas3-gb-form-mdi (>= ${binary:Version}),
gambas3-gb-form-stock (>= ${binary:Version}),
gambas3-gb-gmp (>= ${binary:Version}),
gambas3-gb-gsl (>= ${binary:Version}),
gambas3-gb-gui-opengl (>= ${binary:Version}),
gambas3-gb-gui-qt (>= ${binary:Version}),
gambas3-gb-gui-qt-webkit (>= ${binary:Version}),
gambas3-gb-httpd (>= ${binary:Version}),
gambas3-gb-image-effect (>= ${binary:Version}),
gambas3-gb-image-imlib (>= ${binary:Version}),
gambas3-gb-image-io (>= ${binary:Version}),
gambas3-gb-inotify (>= ${binary:Version}),
gambas3-gb-jit (>= ${binary:Version}),
gambas3-gb-libxml (>= ${binary:Version}),
gambas3-gb-logging (>= ${binary:Version}),
gambas3-gb-map (>= ${binary:Version}),
gambas3-gb-markdown (>= ${binary:Version}),
gambas3-gb-media (>= ${binary:Version}),
gambas3-gb-memcached (>= ${binary:Version}),
gambas3-gb-mime (>= ${binary:Version}),
gambas3-gb-mysql (>= ${binary:Version}),
gambas3-gb-ncurses (>= ${binary:Version}),
gambas3-gb-net-curl (>= ${binary:Version}),
gambas3-gb-net-pop3 (>= ${binary:Version}),
gambas3-gb-net-smtp (>= ${binary:Version}),
gambas3-gb-openal (>= ${binary:Version}),
gambas3-gb-opengl-glsl (>= ${binary:Version}),
gambas3-gb-opengl-glu (>= ${binary:Version}),
gambas3-gb-opengl-sge (>= ${binary:Version}),
gambas3-gb-openssl (>= ${binary:Version}),
gambas3-gb-option (>= ${binary:Version}),
gambas3-gb-pcre (>= ${binary:Version}),
gambas3-gb-pdf (>= ${binary:Version}),
# gambas3-gb-qt4-ext (>= ${binary:Version}),
# gambas3-gb-qt4-webkit (>= ${binary:Version}),
gambas3-gb-qt5 (>= ${binary:Version}),
gambas3-gb-qt5-webkit (>= ${binary:Version}),
gambas3-gb-report (>= ${binary:Version}),
gambas3-gb-report2 (>= ${binary:Version}),
gambas3-gb-scanner (>= ${binary:Version}),
gambas3-gb-sdl-sound (>= ${binary:Version}),
gambas3-gb-sdl2 (>= ${binary:Version}),
gambas3-gb-sdl2-audio (>= ${binary:Version}),
gambas3-gb-settings (>= ${binary:Version}),
gambas3-gb-util (>= ${binary:Version}),
gambas3-gb-util-web (>= ${binary:Version}),
gambas3-gb-v4l (>= ${binary:Version}),
gambas3-gb-vb,
gambas3-gb-web,
gambas3-gb-xml-html (>= ${binary:Version}),
gambas3-gb-xml-rpc (>= ${binary:Version}),
gambas3-gb-xml-xslt (>= ${binary:Version}),
gambas3-ide (>= ${binary:Version}),
gambas3-templates,
${misc:Depends}
Description: Complete visual development environment for Gambas
Gambas is a free development environment based on a Basic interpreter
with object extensions, like Visual Basic(tm) (but it is NOT a clone!).
With Gambas, you can quickly design your program GUI, access MySQL or
PostgreSQL databases, pilot KDE applications with DCOP, translate your
program into many languages, and so on...
.
This package doesn't include anything: it is a metapackage to install the
IDE and all the available Gambas components...
Package: gambas3-ide
Architecture: all
Recommends: rpm
Depends: debhelper,
fakeroot,
gambas3-dev (>= ${binary:Version}),
gambas3-gb-clipper (>= ${binary:Version}),
gambas3-gb-db (>= ${binary:Version}),
gambas3-gb-db-form (>= ${binary:Version}),
gambas3-gb-desktop (>= ${binary:Version}),
gambas3-gb-desktop-x11 (>= ${binary:Version}),
gambas3-gb-eval-highlight (>= ${binary:Version}),
gambas3-gb-form (>= ${binary:Version}),
gambas3-gb-form-dialog (>= ${binary:Version}),
gambas3-gb-form-editor (>= ${binary:Version}),
gambas3-gb-form-mdi (>= ${binary:Version}),
gambas3-gb-form-stock (>= ${binary:Version}),
gambas3-gb-gui-trayicon (>= ${binary:Version}),
gambas3-gb-image-effect (>= ${binary:Version}),
# gambas3-gb-qt4 (>= ${binary:Version}),
# gambas3-gb-qt4-ext (>= ${binary:Version}),
# gambas3-gb-qt4-webkit (>= ${binary:Version}),
gambas3-gb-qt5 (>= ${binary:Version}),
gambas3-gb-gui-qt (>= ${binary:Version}),
gambas3-gb-gui-qt-webkit (>= ${binary:Version}),
gambas3-gb-qt5-webkit (>= ${binary:Version}),
gambas3-gb-settings (>= ${binary:Version}),
gambas3-runtime (>= ${binary:Version}),
gambas3-gb-util (>= ${binary:Version}),
${misc:Depends}
Conflicts: gambas3-gb-qt4
Description: Visual development environment for the Gambas programming language
Gambas is a free development environment based on a Basic interpreter
with object extensions, like Visual Basic(tm) (but it is NOT a clone!).
.
This package includes the Gambas Development Environment.
--------------------------------------------
This is done because qt4 will no longer be used in stretch (so to make sure the qt5 packages are used instead)
Gambas3 (3.5.4) is packaged to use qt4. This seems to cause the problem with upgrading 3.5.4 to 3.8.4
So, what is a possible solution here?
1. Does the packager have to change something in his/her control file and repackage? If so, what needs to change?
AND/OR
2. Is there maybe something that can be done from within Gambas to solve the problem?
More information about the User
mailing list