Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662654 - dev-libs/mongo-c-driver-1.11.0 USE="libressl ssl": CMake Error at src/.../CMakeLists.txt:112 (include_directories):
Summary: dev-libs/mongo-c-driver-1.11.0 USE="libressl ssl": CMake Error at src/.../CMa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL: https://jira.mongodb.org/browse/CDRIV...
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-08-02 16:11 UTC by Toralf Förster
Modified: 2018-08-14 21:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.09 KB, text/plain)
2018-08-02 16:11 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,5.80 KB, text/plain)
2018-08-02 16:11 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,29.09 KB, text/plain)
2018-08-02 16:11 UTC, Toralf Förster
Details
dev-libs:mongo-c-driver-1.11.0:20180801-222728.log (dev-libs:mongo-c-driver-1.11.0:20180801-222728.log,5.68 KB, text/plain)
2018-08-02 16:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.20 KB, text/plain)
2018-08-02 16:11 UTC, Toralf Förster
Details
environment (environment,112.74 KB, text/plain)
2018-08-02 16:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.13 KB, application/x-bzip)
2018-08-02 16:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.23 KB, application/x-bzip)
2018-08-02 16:12 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.85 KB, application/x-bzip)
2018-08-02 16:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-02 16:11:38 UTC
--   Found libtls, version 2.6.5
--   Found tls
CMake Error at src/libmongoc/CMakeLists.txt:112 (include_directories):
  include_directories given empty-string as include directory.



  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl_20180727-202001

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.5
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv dev-libs/mongo-c-driver
[ebuild  N    ] dev-libs/mongo-c-driver-1.11.0  USE="libressl ssl -debug -examples -sasl -static-libs {-test}" 

!!! The following installed packages are masked:
- x11-themes/ethemes-1.0.1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Joonas Niilola <juippis@gmail.com> (31 Jul 2018)
# Old and obsolete. Merged into one EFL package since 1.18 release.
# Removal in ~30 days. Bug #662510

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-08-02 16:11:41 UTC
Created attachment 542102 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-02 16:11:44 UTC
Created attachment 542104 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2018-08-02 16:11:46 UTC
Created attachment 542106 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2018-08-02 16:11:49 UTC
Created attachment 542108 [details]
dev-libs:mongo-c-driver-1.11.0:20180801-222728.log
Comment 5 Toralf Förster gentoo-dev 2018-08-02 16:11:52 UTC
Created attachment 542110 [details]
emerge-history.txt
Comment 6 Toralf Förster gentoo-dev 2018-08-02 16:11:55 UTC
Created attachment 542112 [details]
environment
Comment 7 Toralf Förster gentoo-dev 2018-08-02 16:11:58 UTC
Created attachment 542114 [details]
etc.portage.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-08-02 16:12:01 UTC
Created attachment 542116 [details]
logs.tbz2
Comment 9 Toralf Förster gentoo-dev 2018-08-02 16:12:04 UTC
Created attachment 542118 [details]
temp.tbz2
Comment 10 Tomáš Mózes 2018-08-02 17:08:43 UTC
Seems like it's libressl related, I've only tested with openssl so far.
Comment 11 Tomáš Mózes 2018-08-03 14:59:32 UTC
On libressl, it fails on:

...
include_directories ("${LIBRESSL_INCLUDE_DIRS}")
...

Since this is empty, the build terminates.
Comment 12 Larry the Git Cow gentoo-dev 2018-08-14 21:32:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9dc8b675101482e1fd9da68e877cf2127fde71a

commit b9dc8b675101482e1fd9da68e877cf2127fde71a
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2018-08-02 07:16:17 +0000
Commit:     Ultrabug <ultrabug@gentoo.org>
CommitDate: 2018-08-14 21:30:03 +0000

    dev-libs/mongo-c-driver: bump to 1.12.0
    
    Closes: https://bugs.gentoo.org/662654
    
    Package-Manager: Portage-2.3.44, Repoman-2.3.10

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../files/mongo-c-driver-1.12.0-libressl.patch     | 15 ++++
 .../mongo-c-driver/mongo-c-driver-1.12.0.ebuild    | 88 ++++++++++++++++++++++
 3 files changed, 104 insertions(+)