Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674376 - dev-libs/libixion-9999 - configure: error: Package requirements (spdlog >= 0.16.0) were not met
Summary: dev-libs/libixion-9999 - configure: error: Package requirements (spdlog >= 0....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 23:53 UTC by jospezial
Modified: 2020-10-25 10:27 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2019-01-02 23:53:19 UTC
https://gitlab.com/ixion/ixion/commit/ae2716d919a3aaab8bb6af2c697d11a783e367a1
"Switch from boost log to spdlog, for compile-time logging on/off."



checking for mdds-1.5 >= 1.4.99... yes
checking for spdlog >= 0.16.0... no
configure: error: Package requirements (spdlog >= 0.16.0) were not met:

No package 'spdlog' found
Comment 1 jospezial 2019-01-03 00:10:16 UTC
after installing dev-libs/spdlog-1.2.1 I get:

dirty_cell_tracker.cpp:19:10: fatal error: spdlog/fmt/bundled/ostream.h: No such file or directory
 #include <spdlog/fmt/bundled/ostream.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:937: dirty_cell_tracker.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libixion-9999/work/libixion-9999/src/libixion'
make[2]: *** [Makefile:820: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libixion-9999/work/libixion-9999/src'
make[1]: *** [Makefile:570: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libixion-9999/work/libixion-9999'
make: *** [Makefile:477: all] Error 2
 * ERROR: dev-libs/libixion-9999::gentoo failed (compile phase):
 *   emake failed
 *
Comment 2 jospezial 2019-01-14 00:16:30 UTC
(In reply to jospezial from comment #1)
> after installing dev-libs/spdlog-1.2.1 I get:
> 
> dirty_cell_tracker.cpp:19:10: fatal error: spdlog/fmt/bundled/ostream.h: No
> such file or directory
>  #include <spdlog/fmt/bundled/ostream.h>
>           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[3]: *** [Makefile:937: dirty_cell_tracker.lo] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory
> '/var/tmp/portage/dev-libs/libixion-9999/work/libixion-9999/src/libixion'
> make[2]: *** [Makefile:820: all-recursive] Error 1
> make[2]: Leaving directory
> '/var/tmp/portage/dev-libs/libixion-9999/work/libixion-9999/src'
> make[1]: *** [Makefile:570: all-recursive] Error 1
> make[1]: Leaving directory
> '/var/tmp/portage/dev-libs/libixion-9999/work/libixion-9999'
> make: *** [Makefile:477: all] Error 2
>  * ERROR: dev-libs/libixion-9999::gentoo failed (compile phase):
>  *   emake failed
>  *

compiles after changing the path to <fmt/ostream.h>
Comment 3 jospezial 2020-10-25 10:11:15 UTC
Should be fixed in #675366 with dev-libs/spdlog: verbump to 1.3.0
Comment 4 jospezial 2020-10-25 10:27:37 UTC
Was fixed upstream with:

https://gitlab.com/ixion/ixion/-/commit/389c8def65406ae92077686a2e9095afebab28f4
"Fix build when built against spdlog without bundled fmt"
#include <spdlog/fmt/bundled/ostream.h>
#include <spdlog/fmt/ostr.h>


And now removed with
https://gitlab.com/ixion/ixion/-/commit/9b187523e5105da85ccc235762a9fa1c78976839

"
Replace all uses of SPDLOG_DEBUG and _TRACE with IXION_*.

While spdlog is great, my need for logging is limited to compile
time and wasn't worth the extra hussle of having another run-time
dependency.  IXION's own logging is very simple, and is inspired by
the logging facility implemented in LibreOffice which was done by
Stephan Bergmann.  That said, the one in ixion is very simplified
version of LibreOffice's logging.
"