Using a CMAKE Build dh_auto_configure: says in Launchpad failed to to execute: No such file or directory
Well in my PPA https:/
It is building fine on my system Xenial 16.04 where I get for dh_auto_configure at build time:
make[1]: Entering directory '/home/
dh_auto_configure -- \
-DCMAKE_
-DCMAKE_
-DCMAKE_
-DJAS_
-DJAS_
cmake .. -DCMAKE_
-- The C compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/
-- Check for working C compiler: /usr/bin/
However building for Trusty 14.04 in Launchpad I get the following
https:/
make[1]: Entering directory `/<<PKGBUILDDIR>>'
dh_auto_configure -- \
-DCMAKE_
-DCMAKE_
-DCMAKE_
-DJAS_
-DJAS_
dh_auto_configure: cmake .. -DCMAKE_
make[1]: *** [override_
make[1]: Leaving directory `/<<PKGBUILDDIR>>'
Why is that such a difference ? And an error aborting the build for all Ubuntu releases ?
Is it because of the --parallel build ?
I've never seen that before.
the rules files is
#!/usr/bin/make -f
LDFLAGS = -Wl,--as-needed
# http://
# https:/
export DEB_CFLAGS_
export DEB_CXXFLAGS_
export DEB_CFLAGS_
export DEB_CXXFLAGS_
num_proc = $(shell grep -c ^processor /proc/cpuinfo)
export DEB_BUILD_OPTIONS := parallel=
# https:/
ifneq (,$(filter parallel=
NUMJOBS := $(patsubst parallel=
# MAKEFLAGS += -j$(NUMJOBS)
endif
export DEB_BUILD_
%:
dh $@ --parallel,
override_
dh_auto_configure -- \
-DCMAKE_
-DCMAKE_
-DCMAKE_
-DJAS_
-DJAS_
override_
dh_auto_build -- -j$(NUMJOBS)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Colin Watson
- Solved:
- 2018-10-23
- Last query:
- 2018-10-23
- Last reply:
- 2018-10-23
|
#1 |
You're missing (at least) cmake from Build-Depends in debian/control. It works on your own system because you already have that package installed; but you haven't declared the build-dependency.
Pascal Mons (anton+) said : | #2 |
OK sure I missed that.
Many thanks ...
The fact is that Debian no longer provides a packages since jasper moved to CMAKE builds in version 2 ...
Pascal Mons (anton+) said : | #3 |
Thanks Colin Watson, that solved my question.