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

Re: Please update sight packaging



Hi Andreas,

Sorry, it seems I got it wrong all the way since the beginning. Actually I did not realize a new camp version was finally uploaded since the latest changes you and me made. Now I understand why I did not get the error in my usual docker dev container, I simply used the previous version.

I updated the patch so that the multi-arch path is well set on every component and avoid to introduce it later in the rules file. This is more consistent and this way CMake finds its way to locate the include directory properly.

Of course, that means we need a new camp version uploaded before sight can be built.

Can you review it and upload a new camp version if this looks fine ?

Thank you very much !

Kind regards,


Dr. Flavien BRIDAULT
Director of Software Development
IRCAD France & IRCAD Africa

flavien.bridault@ircad.fr
Tél. : +33 (0)3 88 119 201
  IRCAD
                  France
http://www.ircad.fr/
http://www.ircad.africa/


Suivez l'IRCAD sur  Facebook
 

IRCAD France
Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg Cedex - FRANCE
Le 18/10/2021 à 15:22, Flavien Bridault a écrit :

Hi Andreas,

Sure, this looks like the exact same error you got while trying to build my new sight version. I'll try to have a look at this tomorrow.

Cheers,


Dr. Flavien BRIDAULT
Director of Software Development
IRCAD France & IRCAD Africa

flavien.bridault@ircad.fr
Tél. : +33 (0)3 88 119 201
  IRCAD France
http://www.ircad.fr/
http://www.ircad.africa/


Suivez l'IRCAD sur  Facebook
 

IRCAD France
Hôpitaux Universitaires - 1, place de l'Hôpital - 67091 Strasbourg Cedex - FRANCE
Le 18/10/2021 à 14:41, Andreas Tille a écrit :
Flavien,

can you provide any help here since you also are maintaining
camp?

Kind regards

     Andreas.

Am Sat, Oct 16, 2021 at 12:07:26AM +0530 schrieb Nilesh Patra:
On 10/15/21 9:27 PM, Andreas Tille wrote:
Hi Flavien,

Am Fri, Oct 15, 2021 at 09:46:46AM +0200 schrieb Flavien Bridault:
Cmake 21 reached testing, so that's all clear for me. You may upload the new
version of the package.
I'm afraid you have installed some Build-Depends on your testing system
which are not mentioned in Build-Depends.  The proper way to develop a
package is to use a chroot environment (either pbuilder or sbuild) which
will fail if some Build-Depends is missing.  If I try to build in
The error seems to stem from camp package.
It seems to some prefix value wrong, which then references "/usr/lib/include" (which does not exist) as shown in the error log.

I tried setting the prefix right with a patch (see below) but now it fails with

CMake Error at /usr/lib/x86_64-linux-gnu/camp/cmake/CAMPTargets.cmake:79 (message):
  The imported target "camp::camp" references the file

     "/usr/lib/lib/x86_64-linux-gnu/libcamp.so.0.8.4"


again some path setting problem, but at this point, my cmake-foo/cmake-skills ends -- hence I'd appreciate help.

Nilesh

--- a/cmake/CAMPConfig.cmake.in
+++ b/cmake/CAMPConfig.cmake.in
@@ -2,6 +2,7 @@
 @PACKAGE_INIT@
+set(PACKAGE_PREFIX_DIR "/usr")
 set_and_check(CAMP_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
 include("${CMAKE_CURRENT_LIST_DIR}/CAMPTargets.cmake")



      

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: