[Bug 843331] New: package bash: installation error
https://bugzilla.novell.com/show_bug.cgi?id=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c0 Summary: package bash: installation error Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: comes@naic.edu QAContact: jsrain@suse.com Found By: --- Blocker: --- After a default installation I found this error in /var/log/zypp/history: # 2013-09-19 14:13:27 libgcc43-4.3.4_20091019-18.3.x86_64.rpm installed ok # Additional rpm output: # /bin/sh: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory # warning: %post(libgcc43-4.3.4_20091019-18.3.x86_64) scriptlet failed, exit status 127 # 2013-09-19 14:13:27|install|libgcc43|4.3.4_20091019-18.3|x86_64||openSUSE-13.1-1.19|4231fbd596877ff9929071840941a850f5e6a6c39c147140950fd699cc2393fa| ------------------------------------------------------------------------------------------ # 2013-09-19 14:14:00 libstdc++6-4.8.1_20130909-2.1.x86_64.rpm installed ok # Additional rpm output: # /bin/sh: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory # warning: %post(libstdc++6-4.8.1_20130909-2.1.x86_64) scriptlet failed, exit status 127 # 2013-09-19 14:14:00|install|libstdc++6|4.8.1_20130909-2.1|x86_64||openSUSE-13.1-1.19|6e94dd2821ece8580004b9c6c8c2eab25c4a0bce0cc35e60b10bbd0d318e6424| The problem is that when libstdc++6 and libgcc43 are installed bash is already installed but libreadline6 it is not yet. A possible fix is to add two lines in bash.spec: BuildRequires: ncurses-devel BuildRequires: patchutils BuildRequires: screen +PreReq: libreadline6 +PreReq: libncurses5 %define bash_vers 4.2 %define rl_vers 6.2 %define extend "" It is necessary to add not only libreadline6 but also libncurses5. If only libreadline6 is added then after an installation that uses the modifyed bash rpm this error message appears in in /var/log/zypp/history: # 2013-09-19 19:33:16 libgcc43-4.3.4_20091019-18.3.x86_64.rpm installed ok # Additional rpm output: # /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory # warning: %post(libgcc43-4.3.4_20091019-18.3.x86_64) scriptlet failed, exit status 127 # 2013-09-19 19:33:16|install|libgcc43|4.3.4_20091019-18.3|x86_64||openSUSE-13.1-1.19|4231fbd596877ff9929071840941a850f5e6a6c39c147140950fd699cc2393fa| ------------------------------------------------------------------------------------------ # 2013-09-19 19:33:16 libstdc++6-4.8.1_20130909-2.1.x86_64.rpm installed ok # Additional rpm output: # /bin/sh: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory # warning: %post(libstdc++6-4.8.1_20130909-2.1.x86_64) scriptlet failed, exit status 127 # 2013-09-19 19:33:16|install|libstdc++6|4.8.1_20130909-2.1|x86_64||openSUSE-13.1-1.19|6e94dd2821ece8580004b9c6c8c2eab25c4a0bce0cc35e60b10bbd0d318e6424| meaning that libncurses5 is needed as well. -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |werner@suse.com |ovo.novell.com | -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c1 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |ma@suse.com InfoProvider| |comes@naic.edu --- Comment #1 from Dr. Werner Fink <werner@suse.com> 2013-10-01 12:32:55 UTC --- Hmmm ... /suse/werner> rpm -q -R bash | grep -E 'lib(readline|ncurses|tinfo)' libreadline.so.6()(64bit) libtinfo.so.5()(64bit) /suse/werner> rpm -q -R libreadline6 | grep -E 'lib(readline|ncurses|tinfo)' libtinfo.so.5()(64bit) that is that if bash will be installed for e.g. libstdc++6-4.8.1_20130909-2.1.x86_64 then those requirements should be installed as well. I do not think that PreRequire within the bash will help. Or do you have tested this out? -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c2 --- Comment #2 from Michael Andres <ma@suse.com> 2013-10-01 15:55:04 CEST --- 1) AFAIK the metadata generator in obs for susetags repos is/was broken and wrongly injected prerequires as normal requires. This could verry well be the case here. 2) of course a dependency cycle could cause the same problem, as the resolver needs to break the cycle at some point. Anyway a prereq in bash should not be necessary, because libstdc++6 should prereq /bin/sh as interpreter for it's scripts. Thus bash and all it's dependencies (req and prereq) must be installed before libstdc++6. -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c3 Dr. Werner Fink <werner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |werner@suse.com AssignedTo|werner@suse.com |rguenther@suse.com --- Comment #3 from Dr. Werner Fink <werner@suse.com> 2013-10-01 14:10:27 UTC --- Nevertheless the error had occured found in gcc43.spec %post -n libgcc43 /sbin/ldconfig using %post -n libgcc43 -p /sbin/ldconfig would solve the problem -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c4 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|comes@naic.edu | --- Comment #4 from Giacomo Comes <comes@naic.edu> 2013-10-01 14:44:15 UTC --- to Comment 1:
I do not think that PreRequire within the bash will help. Or do you have tested this out?
I have tested my fix. I rebuild bash with the fix and I used the new rpm for a standard installation: no more error. to Comment 2:
AFAIK the metadata generator in obs for susetags repos is/was broken and wrongly injected prerequires as normal requires. This could verry well be the case here.
It could be that something like that is the main cause. This bug is not the only one of this kind. For 13.1 I have submitted already 839477, 839520, 839736 and 839750. The same problem existed also for 12.3 (other packages). -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c5 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ma@suse.com --- Comment #5 from Richard Biener <rguenther@suse.com> 2013-10-02 07:42:30 UTC --- (In reply to comment #3)
Nevertheless the error had occured
found in gcc43.spec
%post -n libgcc43 /sbin/ldconfig
using
%post -n libgcc43 -p /sbin/ldconfig
would solve the problem
libgcc43 shouldn't even be on any 13.1 ISO nor should it end up being required by anything. So, why does it get picked up for installation in the first place? -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c6 --- Comment #6 from Richard Biener <rguenther@suse.com> 2013-10-02 07:53:54 UTC --- SR#201668 to fix the same issue for libgcc48. I failed to quickly lookup docs for %post[un] but guessed that using -p avoids the implicit /bin/sh dependency by directly executing a single command instead of launching a script. -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c7 --- Comment #7 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-02 10:00:26 CEST --- This is an autogenerated message for OBS integration: This bug (843331) was mentioned in https://build.opensuse.org/request/show/201668 Factory / gcc48 -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c8 --- Comment #8 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-02 14:00:32 CEST --- This is an autogenerated message for OBS integration: This bug (843331) was mentioned in https://build.opensuse.org/request/show/201873 Factory / gcc48 -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c9 Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ma@suse.com | --- Comment #9 from Michael Andres <ma@suse.com> 2013-10-04 09:24:26 CEST --- (In reply to comment #5)
libgcc43 shouldn't even be on any 13.1 ISO nor should it end up being required by anything. So, why does it get picked up for installation in the first place?
According to the history it has been on the media: 2013-09-1914:13:27|install|\ libgcc43|4.3.4_20091019-18.3|x86_64||openSUSE-13.1-1.19| Maybe a (meanwhile fixed) missprint or a wrong media. Anyway I can't find it on /dist/.../openSUSE-13.1-Beta1. Last seen on openSUSE-13.1-Milestone2 (4.3.4_20091019-17.12). Maybe Coolo knows something about 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |coolo@suse.com -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c10 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|coolo@suse.com | --- Comment #10 from Giacomo Comes <comes@naic.edu> 2013-10-14 17:34:44 UTC --- in RC1 the bug is still there. After performing a default installation this error appears in /var/log/zypp/history: # 2013-10-12 12:01:05 libgcc43-4.3.4_20091019-19.1.3.x86_64.rpm installed ok # Additional rpm output: # /bin/sh: error while loading shared libraries: libreadline.so.6: cannot open shared object file: No such file or directory # warning: %post(libgcc43-4.3.4_20091019-19.1.3.x86_64) scriptlet failed, exit status 127 # 2013-10-12 12:01:05|install|libgcc43|4.3.4_20091019-19.1.3|x86_64||openSUSE-13.1-1.3|8102ba4c5c0498f9ba441ff20c7e641b584e22f343b70c2357beccbd654dafdf| -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c11 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rguenther@suse.com |coolo@suse.com --- Comment #11 from Richard Biener <rguenther@suse.com> 2013-10-15 07:36:47 UTC --- As said elsewhere, libgcc43 should not be on the media. -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c12 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |f_koch@gmx.de --- Comment #12 from Stephan Kulow <coolo@suse.com> 2013-10-21 09:35:27 CEST --- *** Bug 845833 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=845833 -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c13 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #13 from Stephan Kulow <coolo@suse.com> 2013-10-21 12:34:30 CEST --- the new drop list and the repo exclusion list is up - once we republish the repo -- 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=843331 https://bugzilla.novell.com/show_bug.cgi?id=843331#c14 --- Comment #14 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-12-02 14:00:13 CET --- This is an autogenerated message for OBS integration: This bug (843331) was mentioned in https://build.opensuse.org/request/show/209146 Factory / gcc47 -- 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