-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
Submission type
- Bug report
systemd version the issue has been seen with
233
…
NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!
Used distribution
Gentoo (gcc 7.1)
…
In case of bug report: Expected behaviour you didn't see
…
In case of bug report: Unexpected behaviour you saw
Compilation error with gcc 7.1
/var/tmp/portage/sys-apps/systemd-233-r1/work/systemd-233/src/shared/install.c: In function ‘unit_file_disable’:
/var/tmp/portage/sys-apps/systemd-233-r1/work/systemd-233/src/shared/install.c:1007:22: error: argument 1 null where non-null expected [-Werror=nonnull]
name = basename(path);
~~~~~^~~~~~~~~~~~~~~~
In file included from /var/tmp/portage/sys-apps/systemd-233-r1/work/systemd-233/src/shared/install.c:28:0:
/usr/include/string.h:599:14: note: in a call to function ‘basename’ declared here
extern char *basename (const char *__filename) __THROW __nonnull ((1));
^~~~~~~~
Full log attached
…
In case of bug report: Steps to reproduce the problem
Compile systemd with gcc 7.1 (gcc 6.3 works fine
)
…