Hi, it is not clear to my why haskell-binding-dsl does not provide a -prof package. It should. That the symlink works is surprising. I don’t think it should. Maybe because the functions in binding-dsl are never called. Greetings, Joachim Am Dienstag, den 27.09.2016, 19:09 +0000 schrieb PICCA Frederic- Emmanuel: > Hello > > I try to profile a package which use binding-dsl via another > dependency. > > When I build the project, I get at the end > > > Linking dist/build/ghkl/ghkl ... > /usr/bin/ld : ne peut trouver -lHSbindings-DSL-1.0.23- > Es09zjDpTFQCqScuh7qYEQ_p > collect2: error: ld returned 1 exit status > > > Indeed this file dos not exist and the binding-dsl do not provide a > -prof package. > > Is it expected ? > > I see that the rules files contain this. > > > #!/usr/bin/make -f > > include /usr/share/cdbs/1/rules/debhelper.mk > include /usr/share/cdbs/1/class/hlibrary.mk > > install/libghc-bindings-dsl-dev:: debian/tmp-inst-ghc > mv debian/tmp-inst-ghc/usr/lib/haskell-packages/ghc/lib/*-ghc- > */bindings-DSL-*/include debian/libghc-bindings-dsl-dev/usr > > > In order to solve my problem, > > I created a link to the non-prof static library > > ln -s libHSbindings-DSL-1.0.23-Es09zjDpTFQCqScuh7qYEQ.a > libHSbindings-DSL-1.0.23-Es09zjDpTFQCqScuh7qYEQ_p.a > > then I could profile my project. > > > > so my question is: > > what is the proper way to fix this issue. > > 1) create a -prof package > > or > > add simple symlink > > > Cheers > > > Frederic > -- Joachim “nomeata” Breitner Debian Developer nomeata@debian.org • https://people.debian.org/~nomeata XMPP: nomeata@joachim-breitner.de • GPG-Key: 0xF0FBF51F https://www.joachim-breitner.de/
Attachment:
signature.asc
Description: This is a digitally signed message part