[Bug 749128] New: games: Bug in openttd-data 1.2.rc1-1.1
https://bugzilla.novell.com/show_bug.cgi?id=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c0 Summary: games: Bug in openttd-data 1.2.rc1-1.1 Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Critical Priority: P5 - None Component: 3rd party software AssignedTo: cmorve69@yahoo.es ReportedBy: erwin.vandevelde@gmail.com QAContact: opensuse-communityscreening@forge.provo.novell.com CC: prusnak@suse.com Found By: --- Blocker: Yes The lang/ directory contains invalid language files, making it impossible to run openttd: openttd -d 9 dbg: [misc] /home/evdvelde/.openttd/ added as search path dbg: [misc] /usr/share/openttd/ added as search path dbg: [misc] /home/evdvelde/.openttd/ found as personal directory dbg: [misc] Scanning for tars dbg: [misc] Found dir in tar: opensfx-0.2.3/ dbg: [misc] Found file in tar: opensfx-0.2.3/readme.txt (11760 bytes, 1024 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/license.txt (12491 bytes, 13312 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/changelog.txt (1152 bytes, 26624 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/opensfx.cat (13128144 bytes, 28672 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/opensfx.obs (9356 bytes, 13157376 offset) dbg: [misc] Found tar '/usr/share/openttd/data/opensfx-0.2.3.tar' with 5 new files dbg: [misc] Scan complete, found 1 files dbg: [grf] Checking opensfx-0.2.3/opensfx.obs for base sounds set dbg: [grf] Adding OpenSFX (87) as base sounds set dbg: [grf] Checking /usr/share/openttd/gm/openmsx-0.3.1/openmsx.obm for base music set dbg: [grf] Adding OpenMSX (96) as base music set dbg: [misc] Scanning for tars dbg: [misc] Found dir in tar: opensfx-0.2.3/ dbg: [misc] Found file in tar: opensfx-0.2.3/readme.txt (11760 bytes, 1024 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/license.txt (12491 bytes, 13312 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/changelog.txt (1152 bytes, 26624 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/opensfx.cat (13128144 bytes, 28672 offset) dbg: [misc] Found file in tar: opensfx-0.2.3/opensfx.obs (9356 bytes, 13157376 offset) dbg: [misc] Found tar '/usr/share/openttd/data/opensfx-0.2.3.tar' with 5 new files dbg: [misc] Scan complete, found 1 files dbg: [misc] /usr/share/openttd/lang/serbian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/traditional_chinese.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/welsh.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/turkish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/afrikaans.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/esperanto.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/english_AU.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/czech.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/catalan.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/brazilian_portuguese.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/romanian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/lithuanian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/slovak.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/irish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/italian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/french.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/norwegian_nynorsk.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/arabic_egypt.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/swedish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/norwegian_bokmal.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/vietnamese.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/russian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/dutch.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/simplified_chinese.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/icelandic.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/latvian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/slovenian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/belarusian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/danish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/estonian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/hebrew.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/malay.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/ukrainian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/croatian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/english_US.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/spanish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/greek.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/indonesian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/english.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/japanese.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/finnish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/galician.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/portuguese.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/polish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/hungarian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/bulgarian.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/german.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/luxembourgish.lng is not a valid language file dbg: [misc] /usr/share/openttd/lang/korean.lng is not a valid language file Error: No available language packs (invalid versions?) -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c1 Marcel Gmür <suse@ammler.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse@ammler.ch --- Comment #1 from Marcel Gmür <suse@ammler.ch> 2012-02-28 12:26:25 UTC --- I am the packager of openttd and not able to reproduce it, please post output of following commands: which openttd zypper se -s openttd Greets Ammler -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c2 Erwin Van de Velde <erwin.vandevelde@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Erwin Van de Velde <erwin.vandevelde@gmail.com> 2012-02-28 13:48:34 UTC --- :~> which openttd /usr/bin/openttd :~> zypper se -s openttd Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository --+-----------------------------+------------+-------------+--------+------------------ v | openttd | package | 1.2.rc1-1.1 | x86_64 | games v | openttd | package | 1.2.rc1-1.1 | i586 | games i | openttd | package | 1.2.rc1-1.1 | x86_64 | (System Packages) | openttd | srcpackage | 1.2.rc1-1.1 | noarch | games i | openttd-data | package | 1.2.rc1-1.1 | noarch | games | openttd-debuginfo | package | 1.2.rc1-1.1 | x86_64 | games | openttd-debuginfo | package | 1.2.rc1-1.1 | i586 | games | openttd-dedicated | package | 1.2.rc1-1.1 | x86_64 | games | openttd-dedicated | package | 1.2.rc1-1.1 | i586 | games | openttd-dedicated-debuginfo | package | 1.2.rc1-1.1 | x86_64 | games | openttd-dedicated-debuginfo | package | 1.2.rc1-1.1 | i586 | games i | openttd-opengfx | package | 0.4.3-1.1 | noarch | games | openttd-opengfx | srcpackage | 0.4.3-1.1 | noarch | games i | openttd-openmsx | package | 0.3.1-1.1 | noarch | games | openttd-openmsx | srcpackage | 0.3.1-1.1 | noarch | games i | openttd-opensfx | package | 0.2.3-1.1 | noarch | games | openttd-opensfx | srcpackage | 0.2.3-1.1 | noarch | games Rebuilding openttd 1.2.rc1 from source rpm solved the issue for me. zypper rm openttd and zypper in openttd (reinstall from repo) did not change this. I had some issues building it the first time (down to udev packages!) i guess there was a dependency issue since I used to run Tumbleweed but came back to 12.1. Don't know what the connection is, but it is very odd that this is the first application to have issues. Now it seems to be fixed, so thanks for the help, but no other action required I think. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c3 Mikhail Krasilnikov <mihalych@vsepofigu.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |mihalych@vsepofigu.ru Resolution|INVALID | --- Comment #3 from Mikhail Krasilnikov <mihalych@vsepofigu.ru> 2012-04-01 19:49:34 MSD --- I have exactly the same problem.
which openttd /usr/bin/openttd
zypper se -s openttd
С | Имя | Тип | Версия | Архитектура | Репозиторий --+-----------------------------+------------------------+-------------+-------------+----------------------------- i | openttd | пакет | 1.2.rc2-1.1 | i586 | openSUSE BuildService - Игры | openttd | пакет с исходным кодом | 1.2.rc2-1.1 | noarch | openSUSE BuildService - Игры i | openttd-data | пакет | 1.2.rc2-1.1 | noarch | openSUSE BuildService - Игры | openttd-debuginfo | пакет | 1.2.rc2-1.1 | i586 | openSUSE BuildService - Игры | openttd-dedicated | пакет | 1.2.rc2-1.1 | i586 | openSUSE BuildService - Игры | openttd-dedicated-debuginfo | пакет | 1.2.rc2-1.1 | i586 | openSUSE BuildService - Игры i | openttd-opengfx | пакет | 0.4.3-1.1 | noarch | openSUSE BuildService - Игры | openttd-opengfx | пакет с исходным кодом | 0.4.3-1.1 | noarch | openSUSE BuildService - Игры i | openttd-openmsx | пакет | 0.3.1-4.1 | noarch | openSUSE BuildService - Игры | openttd-openmsx | пакет с исходным кодом | 0.3.1-4.1 | noarch | openSUSE BuildService - Игры i | openttd-opensfx | пакет | 0.2.3-2.1 | noarch | openSUSE BuildService - Игры | openttd-opensfx | пакет с исходным кодом | 0.2.3-2.1 | noarch | openSUSE BuildService - Игры -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c Cristian Morales Vega <christian.morales.vega@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|christian.morales.vega@gmai |suse@ammler.ch |l.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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c4 --- Comment #4 from Marcel Gmür <suse@ammler.ch> 2012-04-02 08:41:41 UTC --- I test this on a both arch boxes and can't reproduce it, also what is very confusing that version -1.1 is not on any repo: http://download.opensuse.org/repositories/games/openSUSE_12.1/i586/openttd-1... just updated openttd in games to RC4, can you try to reproduce it with it or at least check, where you got -1.1 from? -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c5 --- Comment #5 from Erwin Van de Velde <erwin.vandevelde@gmail.com> 2012-04-02 08:56:44 UTC --- @Mikhail, please read my comment, it is probably a version incompatibility issue deep deep down in your system. Do you or did you any time in the past run Tumbleweed? -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c6 --- Comment #6 from Marcel Gmür <suse@ammler.ch> 2012-04-02 09:44:44 UTC --- well in case of Tumbleweed or other distro mixes, it might be interesting, which lib this causes, how do we find 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c7 --- Comment #7 from Mikhail Krasilnikov <mihalych@vsepofigu.ru> 2012-04-02 14:19:42 MSD --- (In reply to comment #5)
Do you or did you any time in the past run Tumbleweed?
Yes, I'm running Thumbleweed. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c8 --- Comment #8 from Marcel Gmür <suse@ammler.ch> 2012-04-02 11:20:43 UTC --- we disabled the Tumblweed repos this weekend on games, could you test with 12.1 rpms? -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c9 --- Comment #9 from Mikhail Krasilnikov <mihalych@vsepofigu.ru> 2012-04-02 15:53:38 MSD --- I reinstalled OpenTTD packages from 12.1 but problem still here. Now I have:
zypper se -si openttd
С | Имя | Тип | Версия | Архитектура | Репозиторий --+-----------------+-------+-------------+-------------+------------------------------------ i | openttd | пакет | 1.2.rc2-5.3 | i586 | openSUSE BuildService - Игры (12.1) i | openttd-data | пакет | 1.2.rc2-5.3 | noarch | openSUSE BuildService - Игры (12.1) i | openttd-opengfx | пакет | 0.4.3-3.1 | noarch | openSUSE BuildService - Игры (12.1) i | openttd-openmsx | пакет | 0.3.1-6.1 | noarch | openSUSE BuildService - Игры (12.1) i | openttd-opensfx | пакет | 0.2.3-2.1 | noarch | openSUSE BuildService - Игры (12.1)
-- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c10 --- Comment #10 from Erwin Van de Velde <erwin.vandevelde@gmail.com> 2012-04-02 12:02:34 UTC --- I had conflicts down to udev packages, it was really dirty... mixing up repos is always dirty anyways... please try installing from source, it was by doing that that I noticed the failing dependencies (then I got errors when installing devel packages etc.) -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c11 --- Comment #11 from Marcel Gmür <suse@ammler.ch> 2012-04-02 16:15:32 UTC --- Created an attachment (id=484487) --> (http://bugzilla.novell.com/attachment.cgi?id=484487) openttd on tumbleweed works here -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c12 Marcel Gmür <suse@ammler.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@medozas.de --- Comment #12 from Marcel Gmür <suse@ammler.ch> 2012-04-05 08:19:38 UTC --- *** Bug 755721 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=755721 -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c13 --- Comment #13 from Jan Engelhardt <jengelh@medozas.de> 2012-04-05 11:10:18 UTC --- As indicated by the bug's metadata, this occurs on openSUSE 12.1 x86_64 with openttd-opensfx-0.2.3-2.1.noarch openttd-data-1.2.rc4-6.1.noarch openttd-opengfx-0.4.3-3.1.noarch openttd-1.2.rc4-6.1.x86_64 -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c14 --- Comment #14 from Marcel Gmür <suse@ammler.ch> 2012-04-05 11:19:39 UTC --- can we compare libraries: marcel@xps:/> ldd /usr/bin/openttd linux-vdso.so.1 => (0x00007ffffb5ff000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007fc1b1c78000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fc1b1a5b000) libSDL-1.2.so.0 => /usr/lib64/libSDL-1.2.so.0 (0x00007fc1b17bc000) libz.so.1 => /lib64/libz.so.1 (0x00007fc1b15a4000) liblzma.so.5 => /lib64/liblzma.so.5 (0x00007fc1b137e000) liblzo2.so.2 => /lib64/liblzo2.so.2 (0x00007fc1b115d000) libpng14.so.14 => /usr/lib64/libpng14.so.14 (0x00007fc1b0f34000) libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fc1b0cfe000) libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fc1b0a72000) libicui18n.so.46 => /usr/lib64/libicui18n.so.46 (0x00007fc1b06af000) libicuuc.so.46 => /usr/lib64/libicuuc.so.46 (0x00007fc1b0360000) libm.so.6 => /lib64/libm.so.6 (0x00007fc1b0109000) libc.so.6 => /lib64/libc.so.6 (0x00007fc1afd79000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fc1afb63000) /lib64/ld-linux-x86-64.so.2 (0x00007fc1b1f82000) libasound.so.2 => /usr/lib64/libasound.so.2 (0x00007fc1af886000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fc1af682000) libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fc1af457000) libicudata.so.46 => /usr/lib64/libicudata.so.46 (0x00007fc1ae3d9000) librt.so.1 => /lib64/librt.so.1 (0x00007fc1ae1d1000) I run this openttd on 12.1 64, Tumbleweed 32 (vbox), Factory 32 (vbox) and not able to reproduce your issue. Also upstream can't help me to help you debug it further why it fails, so I need more help from you guys. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c15 --- Comment #15 from Jan Engelhardt <jengelh@medozas.de> 2012-04-05 11:32:16 UTC --- You could make sure that -debugsource packages are generated, then I would not have to recompile 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c16 --- Comment #16 from Jan Engelhardt <jengelh@medozas.de> 2012-04-05 16:15:42 UTC --- RPM does not support changing the file type, which is a well-known issue. Running strings on /usr/bin/openttd revealed that my copy of the executable is from openttd-1.1.4. Using update-alternatives really seems unnecessary. I don't see why the dedicated server can't just be a differently-named executable. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c17 --- Comment #17 from Jan Engelhardt <jengelh@medozas.de> 2012-04-05 16:24:00 UTC --- # rpm -Uhv openttd-1.2.rc4-6.3.x86_64.rpm Preparing... ########################################### [100%] 1:openttd ########################################### [100%] update-alternatives: warning: forcing reinstallation of alternative /usr/bin/openttd-gui because link group openttd is broken. update-alternatives: warning: not replacing /usr/bin/openttd with a link. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c18 --- Comment #18 from Jan Engelhardt <jengelh@medozas.de> 2012-04-05 16:25:16 UTC --- (Correcting myself: RPM does support changing file type; but there still was some sort of limitation that currently stands in the way of e.g. usrmerge.) -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c19 --- Comment #19 from Marcel Gmür <suse@ammler.ch> 2012-04-07 02:48:42 UTC --- this error is not shown with zypper? Would obsolete older version fix it? Obsoletes: openttd < %{version} Else ok, we remove the update-alternatives again, I liked 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c20 --- Comment #20 from Marcel Gmür <suse@ammler.ch> 2012-04-07 09:13:48 UTC --- As the gui and dedicated versions conflict each other, I could make the gui version /usr/bin/openttd and the dedicated version /usr/bin/openttd-dedicated, then create a symlink to openttd-dedicated in the dedicated package only. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c21 --- Comment #21 from Marcel Gmür <suse@ammler.ch> 2012-04-07 09:18:34 UTC --- (In reply to comment #15)
You could make sure that -debugsource packages are generated, then I would not have to recompile it :)
debug buils is enabled --without-strip and there is also a debuginfo package What is the -debugsource package and how do I enable 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c22 Marcel Gmür <suse@ammler.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #22 from Marcel Gmür <suse@ammler.ch> 2012-04-07 10:59:35 UTC --- with sr #112923, I removed update-alternatives and made the gui binary again /usr/bin/openttd Sadly rpm does not allow me to make a post script to make a symlink for the dedicated version, someone here has an idea how to make it optimal for dedicated version too? Anyway, that would be another topic... Factory will get this "fix" with openttd 1.2.0, which should come in the next days... -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c23 --- Comment #23 from Jan Engelhardt <jengelh@medozas.de> 2012-04-07 13:29:41 UTC --- When /usr/bin/openttd was %ghosted, it was nevermore touched by rpm - in accordance with %ghost semantics AFAIU. And update-alternatives does not forcibly replace non-symlinks. So while a-u works in general, there is always that special attention one has to pay when switching things. The reason the update did not work is because /usr/bin/openttd changed from being a normal file (in rpm terms) to a %ghost file. AFAIUThat way, it was not touched, according to %ghost semantics.
As the gui and dedicated versions conflict each other
They don't have, do they? The server can simply be /usr/bin/openttd-dedicated. Or, my suggestion to relay to upstream, to move the gui component into a dlopen-able .so file if feasible. I see no reason why they should conflict (now), after all, they have no overlapping files. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c24 --- Comment #24 from Marcel Gmür <suse@ammler.ch> 2012-04-08 03:11:16 UTC --- That's the point, overlapping seems not possible so we can't make the dedicated version also /usr/bin/openttd, which sucks a lot. The conflicts tag could be removed but does also not hurt and useful to cleanup... I tried to make the symlink for the dedicated version myself on %post, but sadly, for the file check, it does go cross package, maybe it could be ignored by some setting? -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c25 --- Comment #25 from Jan Engelhardt <jengelh@medozas.de> 2012-04-09 14:51:29 UTC --- Well you could use %post if [ "$1" = value_for_new_install ]; then rm -f /usr/bin/openttd; fi /usr/sbin/update-alternatives --install ... To kill the openttd dentry (if %files has it as %ghost) to make sure u-a has free room. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c26 --- Comment #26 from Marcel Gmür <suse@ammler.ch> 2012-04-09 16:49:33 UTC --- rm was a good hint, I simply "delete" the non-existing file :-) %post dedicated rm -f %{_bindir}/%{name} ln -s %{name}-dedicated %{_bindir}/%{name} %preun dedicated rm -f %{_bindir}/%{name} I wanted to do it that way since start, but as the rpm check didn't allow me to make a file, which exist in another subpackage, I took the hard way with update-alternatives. This is not needed here, as we have never installed both packages at once. -- 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=749128 https://bugzilla.novell.com/show_bug.cgi?id=749128#c27 --- Comment #27 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-04-16 11:00:09 CEST --- This is an autogenerated message for OBS integration: This bug (749128) was mentioned in https://build.opensuse.org/request/show/113812 Factory / openttd -- 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