[Bug 742935] New: devel:gcc/libgcj45: Bug - Subpackage needed to prevent GUI deps on non-GUI installs
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c0 Summary: devel:gcc/libgcj45: Bug - Subpackage needed to prevent GUI deps on non-GUI installs Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: 3rd party software AssignedTo: rguenther@suse.com ReportedBy: drankinatty@suddenlinkmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- Devs, The gcc-gcj package should be split into sub-packages to avoid dependency problems that require the installation of GUI components (gtk/x11) on systems where no desktop is installed and none is wanted. This affects 11.4 (presumable 12.1 also) Currently gcj includes, among others, /usr/lib64/gcj-4.5-11/libjawt.so that requires various gtk components to be installed, even on minimal systems where no desktop is installed or wanted. These gcj components that required GUI support should be moved to a subpackage to eliminate GUI components installed as dependencies where they are not needed or wanted. A prime example of the problem can be seen when attempting to install 'pdftk' on minimal system installs. pdftk relies on gcj, but pdftk is a command line utility. Attempting to install pdftk on a minimal system results in the following: # zypper in pdftk Loading repository data... Reading installed packages... Resolving package dependencies... The following NEW packages are going to be installed: PackageKit-gstreamer-plugin aspell aspell-en bundle-lang-gnome-en bundle-lang-gnome-extras-en fuse gconf-polkit gconf2 gd gdk-pixbuf-query-loaders gnome-icon-theme gnome-icon-theme-extras gnome-icon-theme-symbolic gnome-keyring gnome-keyring-pam gstreamer-0_10 gstreamer-0_10-plugins-base gtk2-branding-openSUSE gtk2-data gtk2-engine-murrine gtk2-immodule-amharic gtk2-immodule-inuktitut gtk2-immodule-thai gtk2-immodule-vietnamese gtk2-metatheme-sonar gtk2-tools gvfs gvfs-backend-afc gvfs-backends gvfs-fuse hunspell hunspell-tools libIDL-2-0 libXi6 libasound2 libatasmart4 libatk-1_0-0 libavahi-client3 libavahi-common3 libavahi-glib1 libbluetooth3 libcairo2 libcdda_interface0 libcdda_paranoia0 libcdio12 libcdio_cdda0 libcdio_paranoia0 libenca0 libenchant1 libexif12 libfuse2 libgcj45 libgcj45-jar libgcr0 libgdk_pixbuf-2_0-0 libgdu0 libgeoclue0 libgnome-keyring0 libgp11-0 libgp11-modules libgphoto2 libgstapp-0_10-0 libgstinterfaces-0_10-0 libgstreamer-0_10-0 libgtk-2_0-0 libgvfscommon0 libjasper1 liblockdev1 libogg0 libopenobex1 liborc-0_4-0 libpackagekit-glib2-14 libpango-1_0-0 libpixman-1-0 libproxy1-config-gnome libproxy1-pacrunner-webkit librcc0 librcd0 libsmbclient0 libsoup-2_4-1 libsqlite3-0 libtheora0 libvisual libvorbis0 libvorbisenc2 libwbclient0 libwebkitgtk-1_0-0 libxslt lockdev metatheme-sonar-common obex-data-server orbit2 pango-tools pdftk rcc-runtime sg3_utils sonar-icon-theme udisks xorg-x11-libXfixes xorg-x11-libXp xorg-x11-libXprintUtil xorg-x11-libXrender xorg-x11-libXv xorg-x11-libfontenc xorg-x11-libs xorg-x11-libxkbfile The following recommended packages were automatically selected: bundle-lang-gnome-en gnome-keyring gnome-keyring-pam gtk2-branding-openSUSE gtk2-data gtk2-immodule-amharic gtk2-immodule-inuktitut gtk2-immodule-thai gtk2-immodule-vietnamese gvfs gvfs-backend-afc gvfs-backends gvfs-fuse libgcj45-jar libgp11-modules obex-data-server sonar-icon-theme 106 new packages to install. Overall download size: 55.2 MiB. After the operation, additional 187.5 MiB will be used. Continue? [y/n/?] (y): That shouldn't be required on a minimal system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c1 --- Comment #1 from David Rankin <drankinatty@suddenlinkmail.com> 2012-01-23 19:25:00 UTC --- Suggestions on the list have been made that libjawt.so and libgtkpeer.so should be packaged seperately to prevent dependency on the GTK+ stack. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c2 David Haller <david@dhaller.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@dhaller.de --- Comment #2 from David Haller <david@dhaller.de> 2012-01-23 21:11:40 CET --- To clarify: pdftk only needs libgcj: $ rpm -q --requires pdftk libgcj.so.11()(64bit) [only usual gcc/C/C++ libs pruned] But, as libgcj is packaged together with libjawt and libgtkpeer in one rpm, that, and only that "packaged together" of libgcj and libjawt/libgtkpeer, pulls in the whole gtk stack when installing pdftk (or any other "console-only" compiled with gcj app) or even a "hello_world.java"... It's as if you'd package e.g. QT together with libstdc++ ... A simple "hello_world.cpp" would pull in QT ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c3 Richard Guenther <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |coolo@suse.com InfoProvider| |mvyskocil@suse.com --- Comment #3 from Richard Guenther <rguenther@suse.com> 2012-01-24 10:01:42 UTC --- Another question is whether anyone really needs anything besides the core libgcj now that openJDK is the prefered Java stack. I can split libjawt and libgtkpeer to a different sub-package, but as they are loaded dynamically at runtime no rpm dependencies will be ever autogenerated, so all packages requiring them will have to explicitly add a requirement. I doubt that is what we want (silently breaking apps using AWT). What's the state of Java in openSUSE? Can we simply drop AWT support from GCC libgcj (and thus also reduce the build dependencies of it?). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c4 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvyskocil@suse.com InfoProvider|mvyskocil@suse.com |rguenther@suse.com --- Comment #4 from Michal Vyskocil <mvyskocil@suse.com> 2012-01-24 14:09:38 UTC --- (In reply to comment #3)
Another question is whether anyone really needs anything besides the core libgcj now that openJDK is the prefered Java stack. I can split libjawt and libgtkpeer to a different sub-package, but as they are loaded dynamically at runtime no rpm dependencies will be ever autogenerated, so all packages requiring them will have to explicitly add a requirement. I doubt that is what we want (silently breaking apps using AWT).
What's the state of Java in openSUSE? Can we simply drop AWT support from GCC libgcj (and thus also reduce the build dependencies of it?).
I would say yes - however this has to be checked first. Would you be so kind and prepare stripped down libcj package without awt and gtkpeer and I will try to build Java stack using it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c5 --- Comment #5 from Richard Guenther <rguenther@suse.com> 2012-01-24 14:49:25 UTC --- I'm trying that for GCC 4.7 now, so the changed Java stack should appear in devel:gcc:gcc47 which you can build against. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c6 Richard Guenther <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|rguenther@suse.com |mvyskocil@suse.com --- Comment #6 from Richard Guenther <rguenther@suse.com> 2012-01-25 15:27:46 UTC --- devel:gcc:gcc47 i586 with the change is ready. Can you re-build the java stack against that repo/arch? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c7 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mvyskocil@suse.com | --- Comment #7 from Michal Vyskocil <mvyskocil@suse.com> 2012-02-03 14:17:58 UTC --- I have now home:mvyskocil:gcc47 where I try to bootstrap the java stack. I will tell you how it worked. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c8 --- Comment #8 from Michal Vyskocil <mvyskocil@suse.com> 2012-02-06 10:29:16 UTC --- Seems work fine, there was only one error on i586, but it seems it's not related. Please push it to Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c9 Richard Guenther <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Richard Guenther <rguenther@suse.com> 2012-02-15 12:48:05 UTC --- Done. SR105213. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c10 Michael Matz <matz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Enhancement |Major --- Comment #10 from Michael Matz <matz@suse.com> 2012-02-15 12:53:11 UTC --- Testcomment for richi. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c Michael Matz <matz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Major |Enhancement -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c11 --- Comment #11 from Michael Matz <matz@suse.com> 2012-02-15 12:54:42 UTC --- Another testcomment without status change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=742935 https://bugzilla.novell.com/show_bug.cgi?id=742935#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-02-15 14:00:11 CET --- This is an autogenerated message for OBS integration: This bug (742935) was mentioned in https://build.opensuse.org/request/show/105213 Factory / gcc46 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com