Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738234 - net-analyzer/icinga2-2.12.0 fails to build with dev-libs/boost-1.74.0: ‘fs::copy_option’ has not been declared
Summary: net-analyzer/icinga2-2.12.0 fails to build with dev-libs/boost-1.74.0: ‘fs::c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://github.com/Icinga/icinga2/iss...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-20 16:47 UTC by Louis Sautier (sbraz)
Modified: 2020-10-16 11:49 UTC (History)
1 user (show)

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


Attachments
build.log (file_738234.txt,344.16 KB, text/plain)
2020-08-20 16:47 UTC, Louis Sautier (sbraz)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Sautier (sbraz) gentoo-dev 2020-08-20 16:47:18 UTC
Created attachment 655770 [details]
build.log

Hi Matthew,
Looks like another boost breakage:
/var/tmp/portage/net-analyzer/icinga2-9999/work/icinga2-9999/lib/base/utility.cpp:728:100: error: ‘fs::copy_option’ has not been declared                                                                          
  728 |  fs::copy_file(fs::path(source.Begin(), source.End()), fs::path(target.Begin(), target.End()), fs::copy_option::overwrite_if_exists);                                                                      
      |                                                                                                    ^~~~~~~~~~~                                                                                             


I've made a patch for this: https://github.com/Icinga/icinga2/pull/8184

But then another more complex error appears (see build.log).
Comment 1 Larry the Git Cow gentoo-dev 2020-10-16 11:49:30 UTC
The bug has been closed via the following commit(s):

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

commit 0b287203f0d9b05f226aa9b58018842cb8dbe199
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2020-10-16 10:31:46 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2020-10-16 11:49:20 +0000

    net-analyzer/icinga2: bump to 2.12.1, fix build with boost 1.74.0
    
    Also:
    * Switch to EAPI=7, cmake.eclass.
    * Separate dependencies into DEPEND and BDEPEND.
    * Move accounts to DEPEND because of fowners in src_install.
    * Remove unused apache2 flag.
    * Remove unused eutils, toolchain-funcs and wxwidgets inherits.
    * Remove explicit git branch name.
    * Remove pthread sed, should not be needed since
      https://github.com/Icinga/icinga2/commit/9e9298f4face56f891054c25675b05e6f6771faa
    * Simplify usex calls.
    * Simplify USE=lto handling.
    * Simplify schema install, properly set ICINGA2_WITH_MYSQL with USE=mariadb.
    * Stop setting CMAKE_BUILD_TYPE to let the default "Gentoo" type be used.
    * Let the eclass handle CMAKE_VERBOSE_MAKEFILE.
    * Introduce USE=jumbo-build to optionally enable unity builds.
    * Add sub-slot operator to dev-libs/yajl.
    * Stop calling einstalldocs.
    * Fix elog message, account for REPLACING_VERSIONS being a list.
    * Update HOMEPAGE.
    
    Closes: https://bugs.gentoo.org/738234
    Closes: https://bugs.gentoo.org/665944
    Package-Manager: Portage-3.0.8, Repoman-3.0.1
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 net-analyzer/icinga2/Manifest                      |   1 +
 .../files/icinga2-2.12.1-boost-1.74.0.patch        | 436 +++++++++++++++++++++
 net-analyzer/icinga2/icinga2-2.12.1.ebuild         | 149 +++++++
 net-analyzer/icinga2/metadata.xml                  |   1 +
 4 files changed, 587 insertions(+)