FTBFS with gcc 4.4

Bug #554444 reported by Fabrice Coutadeur
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sdlmame (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sdlmame

Hi,

gcc-4.2 will be removed from lucid, and sdlmame needs to be built with gcc-4.4.
I've tried to build it, but it FTBFS with the following messages:
...
Compiling src/osd/sdl/sdldir.c...
gcc: error trying to exec 'x86_64-linux-gnu-gcc-4.2': execvp: No such file or directory
...
You can see the full log at http://launchpadlibrarian.net/42721224/buildlog_ubuntu-lucid-amd64.sdlmame_0.136-0ubuntu2~ppa_FAILEDTOBUILD.txt.gz

It has to be fixed, as otherwise, sdlmame won't be installable in Lucid.

Thanks,
Fabrice

Related branches

Revision history for this message
Cesare Falco (c.falco) wrote :

I've just succeeded in building sdlmame 0.136 on the PPA:
https://edge.launchpad.net/~c.falco/+archive/mame/+packages

I also had to fix a deprecated macro reference to make it build with GTK 2.20, see debian/changelog:

sdlmame (0.136-0ubuntu9) lucid; urgency=low

  * debian/rules: got rid of gcc 4.2, default lucid compiler (gcc 4.4) is good
    for sdlmame - Closes (LP: #554444)
  * added dependency on quilt patch system:
    - removed deprecated gtk2 macro in src/osd/sdl/dview.c
    - now build-depends on debhelper >= 7.0.8
  * fixed release in all manpages, also a typo in ldverify.1
 -- Cesare Falco <email address hidden> Sat, 03 Apr 2010 09:51:27 +0200

Just in case, I also would suggest to refresh source orig tarball, as it currently expands to sdlmame0136 instead of sdlmame-0.136. You can both download the original .zip and repack it manually or use the get-orig-source target unpacking the attached .diff files.

Cesare.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sdlmame - 0.136-0ubuntu2

---------------
sdlmame (0.136-0ubuntu2) lucid; urgency=low

  * debian/rules:
    - Got rid of gcc 4.2 as default lucid compiler (4.4) is good for sdlmame.
      This is done by using DISTRO=gcc44-generic (LP: #554444)
    - Added dh_quilt call to apply new patch
  * debian/control:
    - Bumped version of debhelper to 7.0.8 to have dh_quilt macro
    - Added build dependency on quilt
    - Deleted dependency on gcc-4.2
  * debian/patches/deprecated_gtk_macros: Remove deprecated gtk2 macro in
    src/osd/sdl/dview.c
  * debian/contrib/manpages/*.1: fixed release in all manpages, also a typo in
    ldverify.1
 -- Cesare Falco <email address hidden> Sat, 03 Apr 2010 09:51:27 +0200

Changed in sdlmame (Ubuntu):
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.