Wine packages overly large

Bug #185513 reported by Chris Halse Rogers
6
Affects Status Importance Assigned to Milestone
wine (Baltix)
Fix Released
Undecided
Unassigned
wine (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: wine

The Ubuntu built wine packages are approximately 3 times the size of the winehq.org packages: wine_0.9.53-0ubuntu1_i386.deb (33.8 MiB) vs 11MiB wine_0.9.53~winehq0~ubuntu~7.10-1_i386.deb

This seems to be due to the failure to strip the debug symbols from the binaries, as attested to by the changelog entry:
wine (0.9.41-0ubuntu2) gutsy; urgency=low

  * debian/rules: ignore dh_strip errors to fix FTBFS in buildds

and the relevant build log output (from «http://launchpadlibrarian.net/11310862/buildlog_ubuntu-hardy-i386.wine_0.9.53-0ubuntu1_FULLYBUILT.txt.gz»:
# Fix FTBFS in buildds...
dh_strip
dh_strip debug symbol extraction: all non-arch-all packages for this build platform i386: wine wine-dev
dh_strip debug symbol extraction: packages to act on: wine wine-dev
dh_strip debug symbol extraction: ignored packages:
BFD: /build/buildd/wine-0.9.53/debian/wine-dbgsym/usr/lib/debug/./usr/bin/wine-kthread: section `.note.ABI-tag' can't be allocated in segment 2
objcopy: /build/buildd/wine-0.9.53/debian/wine-dbgsym/usr/lib/debug/./usr/bin/wine-kthread: Bad value
BFD: /build/buildd/wine-0.9.53/debian/wine-dbgsym/usr/lib/debug/./usr/bin/wine-kthread: section `.note.ABI-tag' can't be allocated in segment 2
objcopy: /build/buildd/wine-0.9.53/debian/wine-dbgsym/usr/lib/debug/./usr/bin/wine-kthread: Bad value
objcopy --only-keep-debug failed on /build/buildd/wine-0.9.53/debian/wine/usr/bin/wine-kthread
make: [binary-arch] Error 1 (ignored)

This may well be a bug in pkg-create-dbgsym. Building the Ubuntu source package in an environment without pkg-create-dbgsym results in a binary package of comparable size to the winehq packages.

Changed in wine:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Cleber Santz (clebersantz) wrote :

same here

$ winecfg
Segmentation fault (core dumped)

$ uname -a
Linux clbr 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux

$ dpkg -l wine
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii wine 0.9.55-0ubuntu Microsoft Windows Compatibility Layer (Binar

Revision history for this message
Cleber Santz (clebersantz) wrote :
Revision history for this message
Cleber Santz (clebersantz) wrote :

Sorry, i posted in wrong but !

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Invoking "dh_strip -Xusr/bin/wine-kthread -Xusr/bin/wine-pthread" solves this issue.

Changed in wine:
status: Confirmed → Triaged
Revision history for this message
Stephan Rügamer (sruegamer) wrote :

It's a bug in the dh_strip wrapper on our buildd...

i386 is not the fault, but amd64 is

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

This bug was fixed in the package wine - 0.9.56-0ubuntu1

---------------
wine (0.9.56-0ubuntu1) hardy; urgency=low

  * New upstream release (LP: #197588)
    - Proper handling of OpenGL/Direct3D windows with menu bars.
    - Stubs for all the d3dx9_xx dlls.
    - Several graphics optimizations.
    - Many installer fixes.
    - Improved MIME message support.
    - Lots of bug fixes.
  * debian/rules:
    - reset LDFLAGS to let wine not crash anymore, (LP: #191575)
      thx to Albert Damen <email address hidden> who came up with this solution.
      (http://www.winehq.org/pipermail/wine-bugs/2007-July/062505.html)
    - adjust dh_strip call (LP: #185513)
  * debian/control:
    - remove gcc-3.4 build-dep
    - get rid of quilt
  * cleaned debian/patches
  * Add finnish translation to desktop files (LP: #196916)
  * dlls/winealsa.drv/waveinit.c: (LP: #195507)
    - let wine use the default alsa device
      (http://bugs.winehq.org/show_bug.cgi?id=10942)
  * Preloader warning (preloader: Warning: failed to reserve range
    00000000-60000000) does not occure anymore (LP: #114025)

 -- Stephan Hermann <email address hidden> Fri, 22 Feb 2008 20:10:36 +0100

Changed in wine:
status: Triaged → Fix Released
Przemek K. (azrael)
Changed in wine (Baltix):
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

Bug attachments

Remote bug watches

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