<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/11/2014 06:39 PM, Sylvain Joyeux
wrote:<br>
</div>
<blockquote cite="mid:52FA603F.3090809@dfki.de" type="cite">Hi.
<br>
<br>
Two comments to start with:
<br>
- you can completely remove the "older autoproj version" part,
it
<br>
won't trigger anymore (was an old "smooth backward
compatibility"
<br>
part in sisl)
<br>
</blockquote>
Alright, thanks!<br>
<br>
<blockquote cite="mid:52FA603F.3090809@dfki.de" type="cite"> -
don't put it in next and stable. New packages go in master.
Period.
<br>
<br>
</blockquote>
<blockquote cite="mid:52FA603F.3090809@dfki.de" type="cite">For your
problem: are you sure you selected the package in the manifest ?
<br>
</blockquote>
Yes, but ... <br>
<blockquote cite="mid:52FA603F.3090809@dfki.de" type="cite">Try
running
<br>
<br>
amake drivers/pcan_pcie_mini
<br>
</blockquote>
This is what I actually did and .... Here We Go!!<br>
Your answer helped me to understand where my problem might come
from. The situation was:<br>
<br>
I created a "exoter" package/set using svn having ExoMars rover
dedicated packages + the pcan_pcie_mini driver from
peak-system.com. Therefore, the import_package
"drivers/pcan_pcie_mini" is in the autoproj/remotes/<b>exoter</b>/libs.autobuild
. Not affecting rock/libs.autobuild<br>
<br>
The autoproj manifest file is:<br>
<br>
package_sets:<br>
- gitorious: rock-toolchain/package_set<br>
- gitorious: rock/package_set<br>
- type: svn<br>
url:
<a class="moz-txt-link-freetext" href="http://intranet.robotics.esa.int/svn/ROBS/trunk/package_set">http://intranet.robotics.esa.int/svn/ROBS/trunk/package_set</a><br>
<br>
layout:<br>
# COMPLETE PACKAGES<br>
- rock.base<br>
- rock.toolchain<br>
- <b>exoter</b><br>
<br>
The exoter/source.xml file: <br>
<br>
name: <b>exoter</b><br>
version_control:<br>
- exoter/.*:<br>
type: svn<br>
url: <a class="moz-txt-link-freetext" href="http://intranet.robotics.esa.int/svn/ROBS/trunk/$PACKAGE">http://intranet.robotics.esa.int/svn/ROBS/trunk/$PACKAGE</a><br>
- drivers/pcan_pcie_mini:<br>
type: archive<br>
url:
<a class="moz-txt-link-freetext" href="http://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-7.10.tar.gz">http://www.peak-system.com/fileadmin/media/linux/files/peak-linux-driver-7.10.tar.gz</a><br>
update_cached_file: false<br>
<br>
The exoter/libs.autobuild file:<br>
cmake_package "exoter/blablabla1"<br>
cmake_package "exoter/blablabla2"<br>
<br>
import_package 'drivers/pcan_pcie_mini' do |pkg|<br>
Autoproj.message "Importing package PCI Express Mini"<br>
def pkg.do_build<br>
Autoproj.message "Something that should be noted about
package %s"<br>
run('build', Autobuild.tool(:make),
"-j#{parallel_build_level}", "-C", srcdir)<br>
end<br>
<br>
Autoproj.message "Newer Autoproj version"<br>
pkg.post_install do<br>
Autoproj.message "Something more that should be noted
about package %s"<br>
pkg.progress_start "building %s" do<br>
pkg.do_build<br>
end<br>
end<br>
end<br>
<br>
And the output from<br>
amake drivers/pcan_pcie_mini<br>
<br>
it is the one in my previous message (no entering in
pkg.post_install method).<br>
<br>
However, moving the import_package 'drivers/pcan_pcie_mini' to
autoproj/remotes/<b>rock</b>/libs.autobuild and modify the
rock/source.xml accordingly.<br>
<br>
The updated manifest file is:<br>
<br>
package_sets:<br>
- gitorious: rock-toolchain/package_set<br>
- gitorious: rock/package_set<br>
<br>
layout:<br>
# COMPLETE PACKAGES<br>
- rock.base<br>
- rock.toolchain<br>
- <b>drivers/pcan_pcie_mini<br>
<br>
</b>It is working!<br>
<br>
<b>Conclusion</b>: The exoter meta-package using the svn is <b>wrong</b>.
It is a nice silent error. Because I don't know exactly where since
all the cmake_package "exoter/blablabla" worked as well as other
orogen components specified at exoter/orogen.autobuild.<br>
<br>
Any idea? <i>autoproj update-config</i> does not complain but I
don't see a proper <i>updated exoter</i> message.<br>
<br>
Thanks a lot,<br>
<br>
Javier.<br>
<br>
<br>
<br>
<br>
<blockquote cite="mid:52FA603F.3090809@dfki.de" type="cite">
</blockquote>
<br>
<br>
<br>
<br>
<br>
</body>
</html>