[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#754463: RFS: pdf2htmlex/0.11+ds-1



* Johannes Schauer <j.schauer@email.de>, 2014-07-30, 07:24:
I do not understand why it fails for you but not for me.
How did you run the tests? I ran sadt(1) in the freshly-unpacked source tree.

I ran `adt-run -o /tmp/log --source pdf2htmlex_0.11+ds-1.dsc --- schroot sid-amd64-sbuild`

This is what the adt-run manpage says about the --source option:
"By default the package will also be built and the resulting binaries will be used to satisfy test dependencies"
Presumably it also means that the built tree is used for running tests.

(What I've been doing in my packages, as a defensive strategy against accidentally testing against not-installed code, is to copy all the bits necessary to run tests from the package directory to $ADTTMP, then chdir to $ADTTMP, and run tests from there.)

Have you seen this thread on d-devel@?
https://lists.debian.org/53CCF007.6020002@debian.org
Yes, but how is it relevant to this?

I'm a bit worried, because pdf2htmlex is built in C++11 mode, but it links to libraries built in C++98 mode. If I understand correctly, this is potentially a recipe for disaster.

Now, it's probably not something that would stop me from uploading the package. Just wanted to make sure that you are aware of this problem.

--
Jakub Wilk


Reply to: