Bug#871246: libkf5akonadi-dev: std_exception.h includes /usr/include/c++/6/exception
Package: libkf5akonadi-dev
Version: 4:16.04.3-5
Severity: serious
Control: affects -1 src:libkf5mailcommon
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libkf5mailcommon.html
...
In file included from /usr/include/KF5/AkonadiCore/exception.h:28:0,
from /usr/include/KF5/AkonadiCore/item.h:26,
from /usr/include/KF5/AkonadiCore/specialcollections.h:25,
from /usr/include/KF5/akonadi/kmime/specialmailcollections.h:25,
from /usr/include/KF5/Akonadi/KMime/SpecialMailCollections:1,
from /build/1st/libkf5mailcommon-16.04.2/src/kernel/mailkernel.h:26,
from /build/1st/libkf5mailcommon-16.04.2/src/kernel/mailkernel.cpp:19:
/usr/include/KF5/AkonadiCore/std_exception.h:1:10: fatal error: /usr/include/c++/6/exception: No such file or directory
#include "/usr/include/c++/6/exception"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
$ cat /usr/include/KF5/AkonadiCore/std_exception.h
#include "/usr/include/c++/6/exception"
$
It is wrong to use the full path to the location in gcc 6.
Reply to: