smc - Secret Maryo Chronicles - unmet dependency

Bug #136435 reported by forrestcupp
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
smc (Debian)
Fix Released
Undecided
Unassigned
smc (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: smc

The smc package depends on libcegui-mk2-1. Even using the repo version with all dependencies, the game will not start - it cannot find some libcegui files. When I manually installed the libcegui-mk2-dev package from the repos, the game worked without problem. I suggest adding libcegui-mk2-dev to the list of dependencies in the smc package, since it must be required to run the game.

This problem was from the Gutsy repos.

Revision history for this message
xtknight (xt-knight) wrote :

This is also a solution to the problem.

$ cd /usr/lib
$ sudo ln -s libCEGUIDevILImageCodec.so.0 libCEGUIDevILImageCodec.so
$ sudo ln -s libCEGUIXercesParser.so.0 libCEGUIXercesParser.so
$ sudo ln -s libCEGUIFalagardWRBase.so.1 libCEGUIFalagardWRBase.so
$ smc

There are some other *.so that aren't linked like this too, but these are the three that I needed to run the game successfully.

Changed in smc:
status: New → Confirmed
Revision history for this message
forrestcupp (forrestcupp) wrote :

It's good that there are ways to get the game to work, but you shouldn't have to use workarounds to get something in the repos to work.

Revision history for this message
xtknight (xt-knight) wrote : Re: [Bug 136435] Re: smc - Secret Maryo Chronicles - unmet dependency in Gutsy

That's not the point here. We're just trying to find the best
solution to the problem so we can make a patch for it.

On 8/31/07, forrestcupp <email address hidden> wrote:
> It's good that there are ways to get the game to work, but you shouldn't
> have to use workarounds to get something in the repos to work.
>
> --
> smc - Secret Maryo Chronicles - unmet dependency in Gutsy
> https://bugs.launchpad.net/bugs/136435
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Javier Jardón (jjardon) wrote : Re: smc - Secret Maryo Chronicles - unmet dependency in Gutsy

I can confirm this bug in Ubuntu 7.10 beta (Updated at 11-October-2007)

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

This can be "fixed" very easily (although I agree with the comment that we shouldn't need fixes for repo packages... in an ideal world ;-):

Just use the package manager to install libcegui-mk2-dev

The -dev is the important part. The package manager already installs the non -dev version, but that's not enough.

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

PS, this package also needs a menu item. There's a nice icon that could be used inside the package in:

/data/icon/window_32.png

Revision history for this message
Shaved Wookie (shavedwookie) wrote :

... looking at it again, Xknights solution is much more elegant than mine... :-)

Revision history for this message
Leslie Viljoen (leslieviljoen) wrote :

Surely we need a regression testing system that can pick up bugs like this?

Perhaps a script could install from a collection of packages and run each associated executable, expecting the program to remain running for a certain amount of time. Programs which require interaction should not ordinarily exit immediately, so you could detect if something has gone wrong.

Another way would be to get a list of /usr/lib/* from apt-file for Breezy and compare that to /usr/lib/* for Gutsy.
That's potentially a quick list of libraries that might have fallen off the bus. Of course, apt-file itself fell off the bus in Gutsy since there's no Contents.i386 file on the CDROM.

Changed in smc:
importance: Undecided → Low
Revision history for this message
Leslie Viljoen (leslieviljoen) wrote :

I have almost completed the script to run basic regression tests. We'd just need a test machine with a big pipe to the full Ubuntu repository and it could at least verify that the packages with menu entries are startable in each new distribution release. ie. it would catch the above bug.

Revision history for this message
Leslie Viljoen (leslieviljoen) wrote :

Ok, I have written a script that should detect simple environmental regressions - as in this bug. I will upload, and hopefully someone will at least give it a try with the next Ubuntu release before it goes out. The script requires Ruby, wajig and apt-file to be installed. Apt-file must be updated, which may require removal of the Ubuntu CD-Rom apt source.

Unfortunately the script also requires a tiny fix in wajig, as mentioned here:
https://bugs.launchpad.net/wajig/+bug/174261

Changed in smc:
status: Unknown → New
Revision history for this message
Parthan SR (parth-technofreak) wrote :

Am reporting from Ubuntu 7.10. After following atknights fix, am able to run the game. But it still spews out this error when run from the terminal, though am not sure how it affects the game yet. It is also important to have it in menu because not all people would prefer manually adding it to the menu and setting the icon up.

"""
$ smc
Couldn't open preferences file : /home/technofreak/.smc/config.xml
No joysticks available
Last known Error : Failed loading DPMSDisable: /usr/lib/libX11.so.6: undefined symbol: DPMSDisable
"""

Revision history for this message
cnu (cnu) wrote :

I too have Ubuntu 7.10 and it worked without doing anything mentioned above. It works fine.

Revision history for this message
rrichter (rrichterzittau-deactivatedaccount) wrote :

Can't found the smc deb-package with the( ubuntu 8.04 LTS) gnome apps installer.
But it found gstreamer!?

Revision history for this message
Leslie Viljoen (leslieviljoen) wrote :

This problem does not seem to exist in Intrepid. Perhaps this bug should be closed?

Revision history for this message
Savvas Radevic (medigeek) wrote :

Setting as fix released by the last comments.
If it's not fixed, then please set it as "Invalid", there's no time for this to be fixed, end-of-life is on April 18th:
https://wiki.ubuntu.com/Releases

Changed in smc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Dylan Aïssi (daissi) wrote :

This bug is already in jaunty!

Changed in smc (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Dylan Aïssi (daissi) wrote :

Oups, the probleme now is binary package should not depend on *-dev packages

summary: - smc - Secret Maryo Chronicles - unmet dependency in Gutsy
+ smc - Secret Maryo Chronicles - unmet dependency
Changed in smc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Boogle (1-kuririn) wrote :

Sorry I'm a complete noob.
I've installed ubuntu 9.04 and tried to fixing my starting problem with smc by adding libcegui-mk2-dev
and trying xtknights first code, but still if I start smc via console I get the following error message:

Warning : Window icon /usr/share/games/smc/icon/window_32.png does not exist
CEGUI Scheme Exception occurred : DefaultResourceProvider::load - GUIScheme.xsd does not exist

Boogle (1-kuririn)
Changed in smc (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Savvas Radevic (medigeek) wrote :

According to: http://packages.ubuntu.com/jaunty/smc
..the package depends on: libcegui-mk2-dev

The file /usr/share/games/smc/icon/window_32.png exists in smc-data:
http://packages.ubuntu.com/jaunty/all/smc-data/filelist

You probably have a different version, execute this command (in gnome terminal):

apt-cache policy smc smc-data

It should print out something like:
smc:
  Installed: 1.7-1
  Candidate: 1.7-1
  Version table:
     1.7-1 0
        500 http://archive.ubuntu.com jaunty/universe Packages
smc-data:
  Installed: 1.7-1
  Candidate: 1.7-1
  Version table:
     1.7-1 0
        500 http://archive.ubuntu.com jaunty/universe Packages

If it doesn't say "Installed: 1.7-1", then you are using a PPA and a different version. Different versions outside of Ubuntu repositories are not to be reported here. :)

Changed in smc (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Boogle (1-kuririn) wrote :

thx for your fast help. I checked it: It's this version. It's pretty strange though, cause it won't work an the PC, but runs pretty well on the laptop.

Dylan Aïssi (daissi)
Changed in smc (Debian):
importance: Unknown → Undecided
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.