Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546444 - x11-wm/i3-4.10.1[-pango] - ../i3-4.10.1/src/handlers.c:882:53: error: 'FALSE' undeclared (first use in this function)
Summary: x11-wm/i3-4.10.1[-pango] - ../i3-4.10.1/src/handlers.c:882:53: error: 'FALSE'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kacper Kowalik (Xarthisius) (RETIRED)
URL: https://github.com/i3/i3/pull/1666
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-13 12:43 UTC by Karl Lindén
Modified: 2015-08-26 14:40 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,31.46 KB, text/plain)
2015-04-13 12:45 UTC, Karl Lindén
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Lindén 2015-04-13 12:43:55 UTC
The build of x11-wm/i3-4.10.1 fails with the following error:
echo "[i3] CC src/display_version.c"
[i3] CC src/display_version.c
x86_64-pc-linux-gnu-gcc -DI3_VERSION=\"'4.10.1 (2015-03-29, branch \"4.10.1\")'\" -DMAJOR_VERSION=4 -DMINOR_VERSION=10 -DPATCH_VERSION=1 -DSYSCONFDIR=\"/etc\" -DI3__FILE__=__FILE__ -DPCRE_HAS_UCP=1 -D_GNU_SOURCE             -I/usr/include/yajl    -I/usr/include/startup-notification-1.0  -std=c99 -Wall -Wunused-value -Iinclude -O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=core2  -c -o src/display_version.o ../i3-4.10.1/src/display_version.c
../i3-4.10.1/src/handlers.c: In function 'handle_client_message':
../i3-4.10.1/src/handlers.c:882:53: error: 'FALSE' undeclared (first use in this function)
                 floating_resize_window(con->parent, FALSE, &fake);
                                                     ^
../i3-4.10.1/src/handlers.c:882:53: note: each undeclared identifier is reported only once for each function it appears in
src/i3.mk:36: recipe for target 'src/handlers.o' failed
make: *** [src/handlers.o] Error 1
make: *** Waiting for unfinished jobs....

Reproducible: Always
Comment 1 Karl Lindén 2015-04-13 12:45:01 UTC
Created attachment 401176 [details]
build.log
Comment 2 Karl Lindén 2015-04-13 12:45:30 UTC
# emerge --info
Portage 2.2.18 (python 3.3.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 3.19.3-gentoo x86_64)
=================================================================
System uname: Linux-3.19.3-gentoo-x86_64-Intel-R-_Core-TM-_i3-2350M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     3954812 total,   2614904 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Fri, 03 Apr 2015 09:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lilrc
    location: /home/kalle/lilrc-overlay
    masters: gentoo
    priority: 0

proaudio
    location: /home/kalle/proaudio
    masters: gentoo
    priority: 1

games-overlay
    location: /usr/local/games-overlay
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--getbinpkg=y --binpkg-respect-use=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://192.168.0.103/gentoo-portage/ http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac alloca alsa amd64 aspell bindist bluetooth cairo cd cdda cddb cdr consolekit cracklib crypt cups curl dri drm dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame latex libkms libnotify libsamplerate lv2 mad mp3 mpeg netifrc networkmanager nptl ogg opengl openmp openrc orc pam pdf png policykit qt4 readline spell ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode upower usb v4l vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4 sse4_1 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="en en_GB" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="i965 intel" XFCE_PLUGINS="trash battery brightness power"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Karl Lindén 2015-04-13 13:00:29 UTC
It builds fine with USE="pango"
Comment 4 Karl Lindén 2015-04-13 13:05:24 UTC
Reproducible against =x11-wm/i3-9999.
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2015-07-30 21:00:42 UTC
Fixed upstream in 4.10.2 [1]

[1] https://github.com/i3/i3/pull/1666
Comment 6 Karl Lindén 2015-08-26 04:47:47 UTC
I can still reproduce this (with the exact same error) on =x11-wm/i3-4.10.3. The FALSE has not disappeared. grep can be used to quickly show this.
$ tar xjf /usr/portage/distfiles/i3-4.10.3.tar.bz2
$ cd i3-4.10.3
$ grep FALSE src/handlers.c
                floating_resize_window(con->parent, FALSE, &fake);

However, the FALSE is not present and =x11-wm/i3-9999 emerges with another error.
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2015-08-26 14:40:11 UTC
commit afb506a4a781a83e068a5f9c1d29f865ddb28449
Author: Kacper Kowalik <xarthisius@gentoo.org>
Date:   Wed Aug 26 09:38:57 2015 -0500

    Apply upstream patch to fix undeclared 'FALSE' error. Fixes #546444
    
    Package-Manager: portage-2.2.20