Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
Ubuntu 18.04
-
Fully Compatible
Description
Fromhttps://github.com/mongodb/mongo-cxx-driver/commit/deb3e38dcccb8ec4074ace9ebfd093237a033d52 which as of today is releases/stable
In debian/rules
ifneq (,$(findstring nodoc,$(DEB_BUILD_OPTIONS)))
|
echo "Found 'nodoc' in 'DEB_BUILD_OPTIONS'; not building documentation" |
DOCS=OFF
|
else
|
DOCS=ON
|
endif
|
The echo line causes a compilation error when the specificed nodoc flag is defined. This is resolved by simply removing the echo - which I do not believe to be legal inside a rules file
If it is - then a build dependency is unspecified - the following Dockerfile was used to generate the error
FROM ubuntu:18.04 |
RUN apt-get update && apt-get install -y devscripts equivs
|
COPY mongo-c-driver /mongo-c-driverWORKDIR /mongo-c-driver
|
RUN DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true mk-build-deps -i --tool "apt-get -o Debug::pkgProblemResolver=no -y" |
RUN DEB_BUILD_OPTIONS="nodoc" debuild -uc -us -b |