lightdm-1.9.15 fails to build with clang-3.4
Bug #1310257 reported by
Jauhien Piatlicki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Triaged
|
Medium
|
Unassigned | ||
Gentoo Linux |
Fix Released
|
Medium
|
Bug Description
Subj, build log on Gentoo GNU/Linux attached.
Changed in gentoo: | |
importance: | Unknown → Wishlist |
status: | Unknown → New |
Changed in lightdm: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in gentoo: | |
importance: | Wishlist → Medium |
status: | New → Unknown |
Changed in gentoo: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Created attachment 371304
emerge log
clang -fno-color- diagnostics -DHAVE_CONFIG_H -I. -I../.. -Wall -Wstrict-prototypes -Wnested-externs -Werror= missing- prototypes -Werror= implicit- function- declaration -Werror= pointer- arith -Werror=init-self -Werror= format- security -Werror=format=2 -Werror= missing- include- dirs -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -pthread -I/usr/ include/ gio-unix- 2.0/ -I/usr/ include/ glib-2. 0 -I/usr/ lib64/glib- 2.0/include -O2 -march=corei7 -g -pipe -c -o initctl-status.o `test -f 'status.c' || echo './'`status.c -Werror, -Wformat- nonliteral]
^~~~~~
status.c:87:30: error: format string is not a string literal
[
vsnprintf (status, 1024, format, ap);
1 error generated.
Makefile:1232: recipe for target 'initctl-status.o' failed
Reproducible: Always
Steps to Reproduce: /wiki.gentoo. org/wiki/ Clang) lightdm- 1.8.5-r1
set CC=clang (see https:/
emerge -v =x11-misc/
Actual Results:
emerge fails
Expected Results:
emerge succeeds
dev-light- 2014013002 ~ # emerge --info linux/amd64/ 13.0, gcc-4.8.2, glibc-2.18-r1, 3.12.0- gentoo- devlight- 1 x86_64) ======= ======= ======= ======= ======= ======= ======= ======= == 12.0-gentoo- devlight- 1-x86_64- Intel-R- _Core-TM- _i7_CPU_ 960_@_3. 20GHz-with- gentoo- 2.2 java-config: 2.2.0 baselayout: 2.2 gcc-config: 1.8 linux-headers: 3.13 (virtual/ os-headers) KEYWORDS= "amd64 ~amd64" "x86_64- pc-linux- gnu" x86_64- pc-linux- gnu" PROTECT= "/etc /usr/share/ gnupg/qualified .txt" PROTECT_ MASK="/ etc/ca- certificates. conf /etc/env.d /etc/fonts/ fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" "/var/portage/ distfiles" "assume- digests binpkg-logs buildpkg config- protect- if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown- features- warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" distfiles. gentoo. org" MASK="/ usr/lib/ systemd/ system /lib/systemd"
Portage 2.2.8-r1 (default/
=======
System uname: Linux-3.
KiB Mem: 6106996 total, 1437380 free
KiB Swap: 11718652 total, 11355728 free
Timestamp of tree: Thu, 30 Jan 2014 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash: 4.2_p45-r1
dev-java/
dev-lang/python: 2.7.6, 3.3.3
dev-util/cmake: 2.8.12.2
dev-util/pkgconfig: 0.28
sys-apps/
sys-apps/openrc: 0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils: 2.24-r2
sys-devel/gcc: 4.8.2
sys-devel/
sys-devel/libtool: 2.4.2
sys-devel/make: 4.0-r1
sys-kernel/
sys-libs/glibc: 2.18-r1
Repositories: gentoo
ACCEPT_
ACCEPT_LICENSE="*"
CBUILD=
CFLAGS="-O2 -march=corei7 -g -pipe"
CHOST="
CONFIG_
CONFIG_
CXXFLAGS="-O2 -march=corei7 -g -pipe"
DISTDIR=
FCFLAGS="-O2 -pipe"
FEATURES=
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://
INSTALL_
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPT...