[Pkg-blender-maintainers] Bug#417889: blender: FTBFS on mips and
sparc
Sam Hocevar
sam at zoy.org
Thu Apr 5 09:21:07 UTC 2007
Package: blender
Version: 2.42a-6
Severity: serious
Tags: patch
blender fails to build on mips[1] and sparc[2] because the Debian
build configuration uses -lstdc++ which is never guaranteed to work. The
correct way to link objects that use the standard C++ library is to use
g++ and let it set the proper link flags. Patch attached.
Note that this is not exactly the same patch that was sent to
-release. This one also removes the unnecessary -lc flag.
[1] http://buildd.debian.org/fetch.cgi?&pkg=blender&ver=2.42a-5etch1&arch=mips&stamp=1175116779&file=log
[2] http://buildd.debian.org/fetch.cgi?&pkg=blender&ver=2.42a-5etch1&arch=sparc&stamp=1175118867&file=log
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (500, 'unstable'), (50, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20.1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages blender depends on:
ii gettext [libgettextpo0] 0.16.1-1 GNU Internationalization utilities
ii liba52-0.7.4 0.7.4-10 Library for decoding ATSC A/52 str
ii libavcodec0d 0.cvs20060823-8 ffmpeg codec library
ii libavformat0d 0.cvs20060823-8 ffmpeg file format library
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii libdc1394-13 1.1.0-3+b1 high level programming interface f
ii libfreetype6 2.2.1-5 FreeType 2 font engine, shared lib
ii libgcc1 1:4.1.1-21 GCC support library
ii libgl1-mesa-glx [libgl1] 6.5.1-0.6 A free implementation of the OpenG
ii libglu1-mesa [libglu1] 6.5.1-0.6 The OpenGL utility library (GLU)
ii libgsm1 1.0.10-13 Shared libraries for GSM speech co
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libogg0 1.1.3-2 Ogg Bitstream Library
ii libopenexr2c2a 1.2.2-4.3 runtime files for the OpenEXR imag
ii libpng12-0 1.2.15~beta5-1 PNG library - runtime
ii libraw1394-8 1.2.1-2 library for direct access to IEEE
ii libsdl1.2debian 1.2.11-8 Simple DirectMedia Layer
ii libstdc++6 4.1.1-21 The GNU Standard C++ Library v3
ii libvorbis0a 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii libvorbisenc2 1.1.2.dfsg-1.2 The Vorbis General Audio Compressi
ii libx11-6 2:1.0.3-6 X11 client-side library
ii libxi6 1:1.0.1-4 X11 Input extension library
ii python-central 0.5.12 register and build utility for Pyt
ii python2.4 2.4.4-2 An interactive high-level object-o
ii zlib1g 1:1.2.3-13 compression library - runtime
blender recommends no packages.
-- no debconf information
-------------- next part --------------
diff -puriN blender-2.42a.orig/debian/misc/user-config.py blender-2.42a/debian/misc/user-config.py
--- blender-2.42a.orig/debian/misc/user-config.py 2007-04-05 02:03:20 +0200
+++ blender-2.42a/debian/misc/user-config.py 2007-04-05 02:05:44 +0200
@@ -136,7 +136,8 @@ CC_WARN = '-Wall'
##FIX_STUBS_WARNINGS = -Wno-unused
-LLIBS = 'util c m dl pthread stdc++'
+LINK = CXX
+LLIBS = 'util m dl pthread'
##LOPTS = --dynamic
##DYNLDFLAGS = -shared $(LDFLAGS)
More information about the Pkg-blender-maintainers
mailing list