Source: kido
Version: 0.1.0+dfsg-2
Severity: serious
Tags: patch
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

kido fails to build in unstable right now due to the libnlopt-dev split.

cd /<<BUILDDIR>>/kido-0.1.0+dfsg/build/kido/optimizer/nlopt && 
/usr/lib/ccache/c++  -DBOOST_TEST_DYN_LINK -DHAVE_BULLET_COLLISION 
-Dkido_optimizer_nlopt_EXPORTS -I/<<BUILDDIR>>/kido-0.1.0+dfsg -isystem 
/usr/include/eigen3 -isystem /usr/include/bullet 
-I/<<BUILDDIR>>/kido-0.1.0+dfsg/build  -Wall -fPIC -std=c++11 -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/kido-0.1.0+dfsg=. -fstack-protector-strong 
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC   
-I/usr/include/bullet -o CMakeFiles/kido-optimizer-nlopt.dir/NloptSolver.cpp.o 
-c /<<BUILDDIR>>/kido-0.1.0+dfsg/kido/optimizer/nlopt/NloptSolver.cpp
In file included from 
/<<BUILDDIR>>/kido-0.1.0+dfsg/kido/optimizer/nlopt/NloptSolver.cpp:39:
/<<BUILDDIR>>/kido-0.1.0+dfsg/kido/optimizer/nlopt/NloptSolver.hpp:40:10: fatal 
error: nlopt.hpp: No such file or directory
 #include <nlopt.hpp>
          ^~~~~~~~~~~
compilation terminated.
make[4]: *** 
[kido/optimizer/nlopt/CMakeFiles/kido-optimizer-nlopt.dir/build.make:66: 
kido/optimizer/nlopt/CMakeFiles/kido-optimizer-nlopt.dir/NloptSolver.cpp.o] 
Error 1
make[4]: Leaving directory '/<<BUILDDIR>>/kido-0.1.0+dfsg/build'
make[3]: *** [CMakeFiles/Makefile2:479: 
kido/optimizer/nlopt/CMakeFiles/kido-optimizer-nlopt.dir/all] Error 2
make[3]: Leaving directory '/<<BUILDDIR>>/kido-0.1.0+dfsg/build'
make[2]: *** [Makefile:144: all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/kido-0.1.0+dfsg/build'
make[1]: *** [debian/rules:33: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/kido-0.1.0+dfsg'
make: *** [debian/rules:22: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

-- System Information:
Debian Release: buster/sid
  APT prefers bionic-updates
  APT policy: (500, 'bionic-updates'), (500, 'bionic-security'), (500, 
'bionic'), (400, 'bionic-proposed'), (100, 'bionic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.1-hyper1+ (SMP w/4 CPU cores)
Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_SG:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
Kind regards,
Loong Jin
From 5b5b9f42177df7dbd3a91c38eddbd282e66f07b8 Mon Sep 17 00:00:00 2001
From: Chow Loong Jin <hyper...@debian.org>
Date: Wed, 8 Aug 2018 08:59:44 +0800
Subject: [PATCH] Exchange libnlopt-dev dependency for libnlopt-cxx-dev

/usr/include/nlopt.hpp has been moved into libnlopt-cxx-dev.
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 5488999..6a84e70 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9.20151219),
                libfcl-dev (>= 0.2.7),
                libbullet-dev,
                libassimp-dev (>= 3),
-               libnlopt-dev,
+               libnlopt-cxx-dev,
                coinor-libipopt-dev,
                freeglut3-dev,
                libxi-dev,
@@ -365,7 +365,7 @@ Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends},
          libkido-dev,
          libkido-optimizer-nlopt0.1 (= ${binary:Version}),
-         libnlopt-dev
+         libnlopt-cxx-dev
 Description: Kinematics Dynamics and Optimization Library - optimizer dev files
  KIDO is a collaborative, cross-platform, open source library created by the
  Georgia Tech Graphics Lab and Humanoid Robotics Lab. The library provides data
-- 
2.17.1

Attachment: signature.asc
Description: PGP signature

Reply via email to