<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>
      &nbsp; - you can completely remove the "older autoproj version" part,
      it
      <br>
      &nbsp;&nbsp;&nbsp; won't trigger anymore (was an old "smooth backward
      compatibility"
      <br>
      &nbsp;&nbsp;&nbsp; part in sisl)
      <br>
    </blockquote>
    Alright, thanks!<br>
    <br>
    <blockquote cite="mid:52FA603F.3090809@dfki.de" type="cite">&nbsp; -
      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>
      &nbsp; 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&nbsp; svn having ExoMars rover
    dedicated packages + the pcan_pcie_mini driver from
    peak-system.com.&nbsp; 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>
    &nbsp;&nbsp;&nbsp; - gitorious: rock-toolchain/package_set<br>
    &nbsp;&nbsp;&nbsp; - gitorious: rock/package_set<br>
    &nbsp;&nbsp;&nbsp; - type: svn<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
    &nbsp;&nbsp;&nbsp; # COMPLETE PACKAGES<br>
    &nbsp;&nbsp;&nbsp; - rock.base<br>
    &nbsp;&nbsp;&nbsp; - rock.toolchain<br>
    &nbsp;&nbsp;&nbsp; - <b>exoter</b><br>
    <br>
    The exoter/source.xml file: <br>
    <br>
    name: <b>exoter</b><br>
    version_control:<br>
    &nbsp;&nbsp;&nbsp; - exoter/.*:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: svn<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
    &nbsp;&nbsp;&nbsp; - drivers/pcan_pcie_mini:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type: archive<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Autoproj.message "Importing package PCI Express Mini"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; def pkg.do_build<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Autoproj.message "Something that should be noted about
    package %s"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; run('build', Autobuild.tool(:make),
    "-j#{parallel_build_level}", "-C", srcdir)<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>
    <br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Autoproj.message "Newer Autoproj version"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pkg.post_install do<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Autoproj.message "Something more that should be noted
    about package %s"<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pkg.progress_start "building %s" do<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pkg.do_build<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; end<br>
    end<br>
    <br>
    And the output from<br>
    &nbsp;&nbsp;&nbsp; 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'&nbsp; 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>
    &nbsp;&nbsp; - gitorious: rock-toolchain/package_set<br>
    &nbsp;&nbsp; - gitorious: rock/package_set<br>
    <br>
    layout:<br>
    &nbsp;&nbsp;&nbsp; # COMPLETE PACKAGES<br>
    &nbsp;&nbsp;&nbsp; - rock.base<br>
    &nbsp;&nbsp;&nbsp; - rock.toolchain<br>
    &nbsp;&nbsp;&nbsp; - <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>