Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#71029 - [spdlog] Missing bundled headers

Attached to Project: Community Packages
Opened by Noa-Emil Nissinen (4shadoww) - Wednesday, 26 May 2021, 14:48 GMT
Last edited by Brett Cornwall (ainola) - Sunday, 30 May 2021, 21:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brett Cornwall (ainola)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Missing headers.

Getting this traceback when trying to compile a program with "#include <spdlog/spdlog.h>":

n file included from /usr/include/spdlog/common.h:36,
from /usr/include/spdlog/spdlog.h:12,
from src/globals.cpp:18:
/usr/include/spdlog/fmt/fmt.h:22:10: fatal error: spdlog/fmt/bundled/core.h: No such file or directory
22 | #include <spdlog/fmt/bundled/core.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /usr/include/spdlog/common.h:36,
from /usr/include/spdlog/spdlog.h:12,
from src/globals.cpp:18:
/usr/include/spdlog/fmt/fmt.h:22:10: fatal error: spdlog/fmt/bundled/core.h: No such file or directory
22 | #include <spdlog/fmt/bundled/core.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

"spdlog/fmt/bundled" doesn't seem to be included in the package.

Additional info:
* package version: 1.8.5-1
This task depends upon

Closed by  Brett Cornwall (ainola)
Sunday, 30 May 2021, 21:20 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Thanks for the report!

Unfortunately, upstream has some pretty gnarly behavior regarding the bundled fmt headers. Arch builds without those bundled headers but the downstream developer will need to still tell the library not to use the bundled headers...

See

https://github.com/gabime/spdlog/issues/ 1897#issuecomment-832345800

I encourage you to poke upstream to maybe make the behavior a little less silly.

Loading...