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

Re: Packaging and sponsoring of ompl (Was: r3898 - in /projects/science/trunk/debian-science/tasks: robotics robotics-dev)



El Dilluns, 4 de novembre de 2013, a les 14:19:07, Andreas Tille va escriure:
> On Mon, Nov 04, 2013 at 10:19:29AM +0100, Leopold Palomo-Avellaneda wrote:
> > /tmp/buildd/ompl-0.13.0+git20130920.01d0ca4/build/CMakeFiles 0
> > 
> > > make[2]: Leaving directory
> > 
> > `/tmp/buildd/ompl-0.13.0+git20130920.01d0ca4/build'
> > 
> > > make[1]: Leaving directory `/tmp/buildd/ompl-0.13.0+git20130920.01d0ca4'
> > > 
> > >    dh_auto_test -O--buildsystem=cmake -O--parallel
> > > 
> > > dh_auto_test: error: unable to chdir to obj-x86_64-linux-gnu
> > > make: *** [build] Error 2
> > > dpkg-buildpackage: error: debian/rules build gave error exit status 2
> > > E: Failed autobuilding of package
> > 
> > Ok, please could you tried again?
> > 
> > I don't understand why this fails. I use another build directory and
> > that's
> > the problem, because I can build it. I have set it in the dh command line.
> > 
> > %:
> > +        dh $@ --builddirectory=build --buildsystem=cmake --parallel
> > -        dh $@ --buildsystem=cmake --parallel
> 
> This is better now but not sufficient.  The test will now be run, but ...
> 
> ...
> Done with LBTRRT.
> 
> *** 12 failures detected in test suite "GeometricPlanningOpt"
> 
>       Start 17: test_2dmap_control
> 17/18 Test #17: test_2dmap_control ...............   Passed    1.49 sec
>       Start 18: test_planner_data_control
> 18/18 Test #18: test_planner_data_control ........   Passed    0.14 sec
> 
> 89% tests passed, 2 tests failed out of 18
> 
> Total Test time (real) =  93.15 sec
> 
> The following tests FAILED:
>          13 - test_2denvs_geometric (Failed)
>          16 - test_2dcircles_opt_geometric (Failed)
> Errors while running CTest
> make[1]: *** [test] Error 8
> make[1]: Leaving directory
> `/tmp/buildd/ompl-0.13.0+git20130920.01d0ca4/build' dh_auto_test: make -j1
> test ARGS+=-j1 returned exit code 2
> 
> 
> I attached the full build log in case this might help.

I knew that. That's why I put a git version, not the official release. Also, in 
the rules file I put:
DEB_BUILD_OPTIONS += nocheck

I don't understand why do you make test because I disable intentionally. And I 
do that because:

- ompl is a library to make planners that can or not find solution.
- the test try to find a solution in an specific time, if it doesn't find the 
solution, fails. And it depends on the hardware. A slow machine could make 
more tests fail. 
- to me it has no sense to make that tests because I have no warranty that it 
should work (although the library yes) in different hardware, like debian 
support.

I think that there's no some obligation to run the make test provided by 
upstream. I have just followed [1] , 4.9.1 about environment vars. Or do you 
think that I must put override_dh_auto_test to avoid it?

Regards,

Leopold

PS I'm sorry for all the problems that are making this package ...


[1] http://www.debian.org/doc/debian-policy/ch-source.html#s-debianrules-options

-- 
--
Linux User 152692     PGP: 0xF944807E
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: