[Bug 555682] New: emacs-22.2-24.2 contains all the executables (emacs-nox, emacs-x11, emacs-gtk), it should not
http://bugzilla.novell.com/show_bug.cgi?id=555682 Summary: emacs-22.2-24.2 contains all the executables (emacs-nox, emacs-x11, emacs-gtk), it should not Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: mail@staffan.tjernstrom.name QAContact: qa@suse.de Found By: --- Blocker: --- --- Comment #0 from Staffan Tjernstrom <mail@staffan.tjernstrom.name> 2009-11-15 23:13:17 UTC --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 Under openSuSE 11.1 (and earlier): staffan@duallane:~> rpm -q --fileprovide emacs | grep /usr/bin /usr/bin/b2m /usr/bin/ebrowse /usr/bin/emacsclient /usr/bin/grep-changelog /usr/bin/rcs-checkin staffan@duallane:~> rpm -q --fileprovide emacs-nox | grep /usr/bin /usr/bin/emacs-nox But under openSuSE 11.2, instead there is: lxstjernstrom:/home/staffan # rpm -q --fileprovide emacs | grep /usr/bin /usr/bin/b2m /usr/bin/ebrowse /usr/bin/emacs /usr/bin/emacs-gtk /usr/bin/emacs-nox /usr/bin/emacs-x11 /usr/bin/emacsclient /usr/bin/grep-changelog /usr/bin/rcs-checkin lxstjernstrom:/home/staffan # rpm -q --fileprovide emacs-nox | grep /usr/bin /usr/bin/emacs-nox lxstjernstrom:/home/staffan # That is to say, that when trying to just install emacs-nox (which requires emacsclient from the emacs package), you get all the other emacs flavours (emacs-x11, emacs-gtk) as well. The net effect of that is that you end up with an X11 emacs as a default, even if you don't want it. There's too many exe's in the base rpm - those additional executables belong in the individual emacs-nox, emacs-gtk, emacs-x11 rpms. Reproducible: Always Steps to Reproduce: 1.zypper rm emacs* 2.zypper in emacs-nox 3.ls -l /usr/bin/emacs* Actual Results: lxstjernstrom:/home/staffan # ls -l /usr/bin/emacs* -rwxr-xr-x 1 root root 120 2009-10-24 07:57 /usr/bin/emacs -rwxr-xr-x 1 root root 23728 2009-10-24 07:57 /usr/bin/emacsclient -rwxr-xr-x 1 root root 11007968 2009-10-24 07:57 /usr/bin/emacs-gtk -rwxr-xr-x 1 root root 10213344 2009-10-24 07:57 /usr/bin/emacs-nox -rwxr-xr-x 1 root root 10975272 2009-10-24 07:57 /usr/bin/emacs-x11 Expected Results: staffan@duallane:~> ls -l /usr/bin/emacs* lrwxrwxrwx 1 root root 9 2008-12-16 12:25 /usr/bin/emacs -> emacs-nox -rwxr-xr-x 1 root root 19872 2008-09-11 21:18 /usr/bin/emacsclient -rwxr-xr-x 1 root root 8449240 2008-09-11 21:18 /usr/bin/emacs-nox My work around for now is to create a sym-link in /usr/local/bin/emacs pointing to /usr/bin/emacs-nox. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com Component|Development |Basesystem AssignedTo|pth@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682#c shuang qiu <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sqiu@novell.com AssignedTo|bnc-team-screening@forge.pr |werner@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c1 --- Comment #1 from Dr. Werner Fink <werner@novell.com> 2009-11-19 08:29:38 UTC --- The file /usr/bin/emacs is a *script* simply read it to understand *why* this is a script: #!/bin/bash # Possible values are nox, gtk, or x11 : ${EMACS_TOOLKIT:=gtk} exec -a ${0} ${0}-${EMACS_TOOLKIT} ${1+"$@"} in other words you're able to use the environment variable EMACS_TOOLKIT to be able to switch on the fly the preferred GUI. This script was written due the bug #345669 and the bug #342385. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c2 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Dr. Werner Fink <werner@novell.com> 2009-11-19 10:25:43 UTC --- Removed the binaries from main package and submitted to the change to the openSUSE factory tree, thank you for your report. For a workaround I suggest to use export EMACS_TOOLKIT=nox if you prefere the nox GUI. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c3 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xmm.dev@gmail.com --- Comment #3 from Dr. Werner Fink <werner@novell.com> 2009-12-03 10:55:15 UTC --- *** Bug 558771 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=558771 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c4 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.2:29205 --- Comment #4 from Swamp Workflow Management <swamp@suse.com> 2009-12-10 12:27:57 UTC --- Update released for: emacs, emacs-debuginfo, emacs-debugsource, emacs-el, emacs-info, emacs-nox, emacs-x11 Products: openSUSE 11.2 (debug, i586, x86_64) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c5 Dr. Werner Fink <werner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla_opensuse@ojkastl.d | |e --- Comment #5 from Dr. Werner Fink <werner@novell.com> 2010-06-17 06:55:06 UTC --- *** Bug 614464 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=614464 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c6 --- Comment #6 from Johannes Kastl <bugzilla_opensuse@ojkastl.de> 2010-06-17 18:58:32 UTC --- (In reply to comment #5)
*** Bug 614464 has been marked as a duplicate of this bug. ***
Funny, that this bug has "resolved" and "fixed", as it is neither. In openSUSE 11.1 and before, one could just install emacs-nox on machines running headless, i.e. without X installed. No just to get emacs I would have to install a lot of GTK-packages. Sorry, that's not fixed. Maybe this cant get fixed in 11.2 because it is too big a change for a fix within a release. But it s*cks. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c7 --- Comment #7 from Dr. Werner Fink <werner@novell.com> 2010-06-18 07:57:24 UTC --- AFAICS from the RPM it should be fixed: suse/i586> rpm -qRp emacs.rpm emacs-info = 23.1 emacs_program = 23.1-3.8.8 ctags rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 /bin/bash /bin/sh /usr/bin/perl libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libcom_err.so.2 libkrb5.so.3 libkrb5.so.3(krb5_3_MIT) rpmlib(PayloadIsLzma) <= 4.4.6-1 suse/i586> rpm -qRp emacs-nox.rpm fileutils emacs = 23.1-3.8.8 rpmlib(VersionedDependencies) <= 3.0.3-1 /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libgpm.so.1 libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libncurses.so.5 rpmlib(PayloadIsLzma) <= 4.4.6-1 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=555682 http://bugzilla.novell.com/show_bug.cgi?id=555682#c8 --- Comment #8 from Johannes Kastl <bugzilla_opensuse@ojkastl.de> 2010-06-18 15:02:25 UTC --- I did try yesterday, and I did try today, and it did not work. BUT... When using "zypper install emacs-nox" I get the "64 MB of dependencies"-question from zypper. When using "zypper install emacs-nox=23.1-3.8.3 everything is fine, and I only need to install "emacs emacs-info emacs-nox". Same is true for the 23.1-3.7.1 version. So it looks like zypper is trying to install the wrong package. Nevertheless, it seems like the bug is really almost fixed: I now got emacs, emacs-info and emacs-nox installed, all in version 23.1-3.8.3.i586. When using "zypper dup" it seems like emacs-x11 is somehow going to be installed, and then wants to install the whole lot of dependencies. So it looks like there is still something wrong. Thanks for your help and patience. -- Configure bugmail: http://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