Debian Bug report logs - #775890
assimp: Unresolved symbols in the debian version

version graph

Package: assimp; Maintainer for assimp is IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>;

Reported by: Leopold Palomo-Avellaneda <leo@alaxarxa.net>

Date: Wed, 21 Jan 2015 07:48:02 UTC

Severity: important

Tags: confirmed

Found in version 3.0~dfsg-3

Fixed in version assimp/3.0~dfsg-4

Done: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>:
Bug#775890; Package assimp. (Wed, 21 Jan 2015 07:48:06 GMT) (full text, mbox, link).


Acknowledgement sent to Leopold Palomo-Avellaneda <leo@alaxarxa.net>:
New Bug report received and forwarded. Copy sent to IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>. (Wed, 21 Jan 2015 07:48:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Leopold Palomo-Avellaneda <leo@alaxarxa.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: assimp: Unresolved symbols in the debian version
Date: Wed, 21 Jan 2015 08:38:52 +0100
[Message part 1 (text/plain, inline)]
Package: assimp
Version: 3.0~dfsg-3
Severity: important

Dear Maintainer,

* What exactly did you do (or not do) that was effective (or ineffective)?

The debian version of the package shipped in sid or jessie has some symbols
dropped.

* What was the outcome of this action?

A simple program cannot be linked with the library.

* What outcome did you expect instead?

A linkeable lib.

I have attached a simple file to show the result. It could be compiled
using:

g++ assimp.cpp -o assimp-ex `pkg-config --libs assimp`

if you do it with the debian version, you obtain an error:

/tmp/ccnjCEiB.o: In function `main':
assimp.cpp:(.text+0x1c): undefined reference to `aiMaterial::aiMaterial()'
/tmp/ccnjCEiB.o: In function `aiReturn aiMaterial::AddProperty<float>(float
/const*, unsigned int, char const*, unsigned int, unsigned int)':
assimp.cpp:(.text._ZN10aiMaterial11AddPropertyIfEE8aiReturnPKT_jPKcjj[_ZN10aiMaterial11AddPropertyIfEE8aiReturnPKT_jPKcjj]+0x4d):
/undefined reference to `aiMaterial::AddBinaryProperty(void const*, unsigned
/int, char const*, unsigned int, unsigned int, aiPropertyTypeInfo)'
/tmp/ccnjCEiB.o: In function `aiReturn
/aiMaterial::AddProperty<aiColor3D>(aiColor3D const*, unsigned int, char
/const*, unsigned int, unsigned int)':
assimp.cpp:(.text._ZN10aiMaterial11AddPropertyI9aiColor3DEE8aiReturnPKT_jPKcjj[_ZN10aiMaterial11AddPropertyI9aiColor3DEE8aiReturnPKT_jPKcjj]+0x4d):
/undefined reference to `aiMaterial::AddBinaryProperty(void const*, unsigned
/int, char const*, unsigned int, unsigned int, aiPropertyTypeInfo)'
/tmp/ccnjCEiB.o: In function `aiReturn aiMaterial::AddProperty<char>(char
/const*, unsigned int, char const*, unsigned int, unsigned int)':
assimp.cpp:(.text._ZN10aiMaterial11AddPropertyIcEE8aiReturnPKT_jPKcjj[_ZN10aiMaterial11AddPropertyIcEE8aiReturnPKT_jPKcjj]+0x4d):
/undefined reference to `aiMaterial::AddBinaryProperty(void const*, unsigned
/int, char const*, unsigned int, unsigned int, aiPropertyTypeInfo)'
collect2: error: ld returned 1 exit status


However, if you download the upstream version [1], compile it (using the
same cmake options as the debian stuff) and install it in /usr/local, you
can obtain an unuseful linked program.

I guess that the file libassimp3.ver doesn't contain all the needed stuff,
for instante aiMaterial and then it's not exported. But, I'm not sure.

Please, could you look it? to me this package is unusable because I cannot
link my soft against it.


[1]
http://sourceforge.net/projects/assimp/files/assimp-3.0/assimp--3.0.1270-full.zip

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
[assimp.cpp (text/x-c, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>:
Bug#775890; Package assimp. (Thu, 22 Jan 2015 23:39:04 GMT) (full text, mbox, link).


Acknowledgement sent to "IOhannes m zmölnig (Debian/GNU)" <umlaeute@debian.org>:
Extra info received and forwarded to list. Copy sent to IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>. (Thu, 22 Jan 2015 23:39:04 GMT) (full text, mbox, link).


Message #10 received at submit@bugs.debian.org (full text, mbox, reply):

From: "IOhannes m zmölnig (Debian/GNU)" <umlaeute@debian.org>
To: Leopold Palomo-Avellaneda <leo@alaxarxa.net>, 775890@bugs.debian.org, Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Re: Bug#775890: assimp: Unresolved symbols in the debian version
Date: Fri, 23 Jan 2015 00:02:19 +0100
[Message part 1 (text/plain, inline)]
Control: tags -1 confirmed pending
thanks

On 01/21/2015 08:38 AM, Leopold Palomo-Avellaneda wrote:
> Package: assimp
> Version: 3.0~dfsg-3
> Severity: important
> 
> Dear Maintainer,
> 
> * What exactly did you do (or not do) that was effective (or ineffective)?
> 
> The debian version of the package shipped in sid or jessie has some symbols
> dropped.
> 
> * What was the outcome of this action?
> 
> A simple program cannot be linked with the library.
> 
> * What outcome did you expect instead?
> 
> A linkeable lib.

well, the library *can* be used (as long as you don't use the dropped
symbols)

[...]
> 
> I guess that the file libassimp3.ver doesn't contain all the needed stuff,
> for instante aiMaterial and then it's not exported. But, I'm not sure.

yes, thanks for the hint.
while ordinary (C-style) "ai*" symbols are exported, the C++
name-mangling prevents classes starting with "ai" to be exported
(including aiMaterial).
the fix is simple (adding another "ai*" line within the C++-scope).

so we only need to get a freeze-exception from ftp-masters.


msd
IOhannes

[signature.asc (application/pgp-signature, attachment)]

Added tag(s) confirmed and pending. Request was from "IOhannes m zmölnig (Debian/GNU)" <umlaeute@debian.org> to submit@bugs.debian.org. (Thu, 22 Jan 2015 23:39:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>:
Bug#775890; Package assimp. (Thu, 22 Jan 2015 23:39:09 GMT) (full text, mbox, link).


Acknowledgement sent to "IOhannes m zmölnig (Debian/GNU)" <umlaeute@debian.org>:
Extra info received and forwarded to list. Copy sent to IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>. (Thu, 22 Jan 2015 23:39:09 GMT) (full text, mbox, link).


Reply sent to IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>:
You have taken responsibility. (Mon, 27 Apr 2015 21:54:13 GMT) (full text, mbox, link).


Notification sent to Leopold Palomo-Avellaneda <leo@alaxarxa.net>:
Bug acknowledged by developer. (Mon, 27 Apr 2015 21:54:13 GMT) (full text, mbox, link).


Message #22 received at 775890-close@bugs.debian.org (full text, mbox, reply):

From: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
To: 775890-close@bugs.debian.org
Subject: Bug#775890: fixed in assimp 3.0~dfsg-4
Date: Mon, 27 Apr 2015 21:50:10 +0000
Source: assimp
Source-Version: 3.0~dfsg-4

We believe that the bug you reported is fixed in the latest version of
assimp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 775890@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> (supplier of updated assimp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 27 Apr 2015 22:27:30 +0200
Source: assimp
Binary: libassimp3 libassimp-dev libassimp-doc assimp-utils python-pyassimp
Architecture: source all amd64
Version: 3.0~dfsg-4
Distribution: unstable
Urgency: medium
Maintainer: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org>
Description:
 assimp-utils - 3D model import library (utilities)
 libassimp-dev - 3D model import library (development)
 libassimp-doc - 3D model import library (documentation)
 libassimp3 - 3D model import library
 python-pyassimp - 3D model import library (Python bindings)
Closes: 775890
Changes:
 assimp (3.0~dfsg-4) unstable; urgency=medium
 .
   * Export "ai*" in C++-scope (Closes: #775890)
     + Updated libassimp3.symbols file
   * Removed non-existing files from debian/copyright
   * Bumped standards to 3.9.6
Checksums-Sha1:
 8967039d274b75b8b2b0243f591d15d9e9925d1a 2261 assimp_3.0~dfsg-4.dsc
 649e6be02ddf0d56966056d7dff211e59f684b76 18568 assimp_3.0~dfsg-4.debian.tar.xz
 5f96bd38d3cb88985fe446b14af333d0c09e6e41 945176 libassimp-doc_3.0~dfsg-4_all.deb
 fa12d4baf9fa7b9b8b02fb83fb6b15b088fb1081 24996 python-pyassimp_3.0~dfsg-4_all.deb
 f0e4c0e94aad16fd3f7d72e7a7a0b0e5e57b68f0 1417968 libassimp3_3.0~dfsg-4_amd64.deb
 edcc85a6c15a38304b15cb33061c4017d093171c 91958 libassimp-dev_3.0~dfsg-4_amd64.deb
 dffe1443b9f1edb65280ab0de903da50b5fc31e4 212562 assimp-utils_3.0~dfsg-4_amd64.deb
Checksums-Sha256:
 19007b0e252afbd7c7a64a7008c7e0f4581d2425d1e6c503fa7bd73c550d79ef 2261 assimp_3.0~dfsg-4.dsc
 40c8d4a9b1d2e0b258958fe97d5a95ed361153ea90a5c3aa31da370ca3f207ee 18568 assimp_3.0~dfsg-4.debian.tar.xz
 5ab4059777ead8d56b89bde12876a1b56f782cdd375d5d31a0e0dd2c57a218e8 945176 libassimp-doc_3.0~dfsg-4_all.deb
 a977d81e8f982a5f78b8ae8fb6741eb338dff31243fb196d274aad85e9468e31 24996 python-pyassimp_3.0~dfsg-4_all.deb
 f0dcdeda33408a357d5d66020d3af46ac8353802449fa7332d97519134dd4584 1417968 libassimp3_3.0~dfsg-4_amd64.deb
 165496a941f96ac53957550035cad41060028632d8225704411292de581fb82c 91958 libassimp-dev_3.0~dfsg-4_amd64.deb
 643e79e7e1733bc199cc0ae503df84a73b8507b76bc12a5b350601e72339a35f 212562 assimp-utils_3.0~dfsg-4_amd64.deb
Files:
 2e88c37a9e01aa73be9d19a4abe23f85 2261 graphics extra assimp_3.0~dfsg-4.dsc
 6004ff909fa018537c0d44af85a02695 18568 graphics extra assimp_3.0~dfsg-4.debian.tar.xz
 a56456577cc22d366e9dd044134d6324 945176 doc extra libassimp-doc_3.0~dfsg-4_all.deb
 db4b2562d2c13a2a1400c5a03c4b1b70 24996 python extra python-pyassimp_3.0~dfsg-4_all.deb
 7e5fdd52d0fe75877e896fca23d73ed5 1417968 libs extra libassimp3_3.0~dfsg-4_amd64.deb
 ce97a5d296e51b2330bcf93e09e4b768 91958 libdevel extra libassimp-dev_3.0~dfsg-4_amd64.deb
 e833cfa26cbb2f0d8d2bf37a2ae89fc2 212562 utils extra assimp-utils_3.0~dfsg-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJVPp7dAAoJELZQGcR/ejb4Mr8P/jFlc+WwQCgmeRQxHwOXEbGg
nM3LCoZLnkiX7b8mT6RMJXOvHxX3ewTM5u7K9BDLTwhaCAf3Lnu/aLRiZr8Q2Oi1
8Ibpr3eOQbXBvJIjD2KD9tfcugqj4qc5dzKE1V+U7yU/I6ic7IYVeCENYbm4yB34
wHGgFt09lMdt+xYfqd/3TX+MV0fmzseVaLDLfyNLnqwo/VYJ+PQeqZPWqGZhquw6
6pvjeYiE+xaTtPUS0yQcPFNd13pCYdhiRUz141Vn7uvY6RP4wUol9hNNz/u6TIqb
h8uPA7NnjgrWbLaCOVSk6S4ZtjNAeje5edQpadxdAXl3XfSa9pgDvci01Pb8+RTb
OqQUcoTjttOTJfanCUkj6r+DJbReLWu0M1Aj0ZaMos92bbojrCf+uoddJLf92lf6
mqrZVUHpz7ndLxNt/8km2JVlz4ufvkt1hovdUWsDsY4nT23ITRtecr7sr4FCzAo1
AkQ1JS5Icb8KIyX2JKB3p1s76woDIqJtepeH23KirDPg+MAhp3l1gyw49j9oDYxG
sUC6KyutIsHtiCtTfbwVxXMmYuaY5SIObs/u7sPI5CFtNxaN13/poeVNBzxDo0Yp
xI5Vk1tgzmbKMRaNsPMUTymUz1F+567U490inFHj8bQQluYQ1EtGO7YyOMuyd0vv
Fe7VEy3GYipdptgPvZkS
=gOO1
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 31 May 2015 07:37:24 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Jan 5 00:43:11 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.