Package: libopenscenegraph-dev
Version: 2.8.0-4
Severity: serious
Justification: Unable to build anything on !i386

Hi.

It's no longer possible to build anything on amd64 with the new
libopenscenegraph-dev:
| $ gcc $(pkg-config --libs openscenegraph) *.cpp
| /usr/bin/ld: cannot find -losgIntrospection
| collect2: ld returned 1 exit status

Indeed, it references -losgIntrospection, which I guess only exists on
i386. It is at least missing on amd64, comparing [1,2].

 1. http://packages.debian.org/sid/i386/libopenscenegraph-dev/filelist
 2. http://packages.debian.org/sid/amd64/libopenscenegraph-dev/filelist

I guess it's due to the following in debian/rules:
| ifeq (i386,$(DEB_BUILD_ARCH))
| define INTROSPECTION
| …
| endif

Solutions I can think of: make libopenscenegraph-dev arch: any, so that
its contents can differ among architectures. Not sure it's a really
great idea (also, why does that introspection thingy only work on
i386?). A better option would be to drop it altogether from the .pc, and
leave people really needing this feature add it by themselves.

Cheers,
-- 
Cyril Brulebois

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libopenscenegraph-dev depends on:
ii  libgl1-mesa-dev [libgl-dev]   7.4.1-1    A free implementation of the OpenG
ii  libglu1-mesa-dev [libglu-dev] 7.4.1-1    The OpenGL utility library -- deve
ii  libopenscenegraph55           2.8.0-4    low level graphics library for ope
ii  libopenthreads-dev            2.8.0-4    Object-Oriented (OO) thread interf

libopenscenegraph-dev recommends no packages.

libopenscenegraph-dev suggests no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to