Bug#861976: libghc-glut-dev: attempts to load libglut.so instead of libglut.so.3

Joachim Breitner nomeata at debian.org
Sat May 6 20:33:56 UTC 2017


Hi,

Am Samstag, den 06.05.2017, 21:09 +0100 schrieb James Cowgill:
> In haskell-glut 2.7.0.10 the behavior of loading libglut changed
> significantly. Before, it was linked in directly (using
> "extra-libraries") and dlopen(NULL) was used to access functions in
> it.
> In 2.7.0.10 the direct linking was removed and the loading is now
> done
> using dlopen("libglut.so").
> 
> This is bad because:
> - libglut.so is the wrong library (should be libglut.so.3)
> - Debian packages have lost the automatic dependency on freeglut3
> 
> This has caused raincat to stop working after it was binNMUed (see
> #861957). While it could be worked around by adding a "Depends:
> freeglut3-dev", this is a bit of a hack so it would be better of
> haskell-glut was fixed instead.

upstream has since then changed to code to try both libglut.so and
libglut.so.3:
https://github.com/haskell-opengl/GLUT/commit/a386914280dbc7e027e8ebbfe07774cde697e38d

Normal linking would indeed be preferable. This is the commit that removed it:
https://github.com/haskell-opengl/GLUT/commit/1b47ba6c8074dc163886baf5f3d5b1809501f19c
I inquired about the reason here:
https://github.com/haskell-opengl/GLUT/commit/1b47ba6c8074dc163886baf5f3d5b1809501f19c#commitcomment-22044194

Is this bug relevant for the release?

Greetings,
Joachim 

-- 
Joachim “nomeata” Breitner
Debian Developer
  nomeata at debian.orghttps://people.debian.org/~nomeata
  XMPP: nomeata at joachim-breitner.de • GPG-Key: 0xF0FBF51F
  https://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20170506/a8e301a4/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list