Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720358 - app-crypt/libu2f-host-1.1.10: u2fmisc.c:117:55: error: 'FALSE' undeclared (first use in this function)
Summary: app-crypt/libu2f-host-1.1.10: u2fmisc.c:117:55: error: 'FALSE' undeclared (fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
: 720758 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-02 01:44 UTC by Georgy Yakovlev
Modified: 2020-05-03 08:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2020-05-02 01:44:35 UTC
fails to compile, probably due to json-c update to 0.14



libtool: compile:  powerpc64le-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -I./.. -I./.. -I/usr/include/hidapi -I/usr/include/json-c -mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -c register.c -o register.o >/dev/null 2>&1
u2fmisc.c: In function 'prepare_origin':
u2fmisc.c:117:55: error: 'FALSE' undeclared (first use in this function)
  117 |   if (u2fh_json_object_object_get (jo, "appId", k) == FALSE)
      |                                                       ^~~~~
u2fmisc.c:117:55: note: each undeclared identifier is reported only once for each function it appears in                                                   
u2fmisc.c: In function 'get_fixed_json_data':
u2fmisc.c:393:51: error: 'FALSE' undeclared (first use in this function)
  393 |   if (u2fh_json_object_object_get (jo, key, k) == FALSE)
      |                                                   ^~~~~
make[2]: *** [Makefile:673: u2fmisc.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: compile:  powerpc64le-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -I./.. -I./.. -I/usr/include/hidapi -I/usr/include/json-c -mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -c authenticate.c -o authenticate.o >/dev/null 2>&1
libtool: compile:  powerpc64le-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -I./.. -I./.. -I/usr/include/hidapi -I/usr/include/json-c -mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option -c devs.c -o devs.o >/dev/null 2>&1
make[2]: Leaving directory '/var/tmp/portage/app-crypt/libu2f-host-1.1.10/work/libu2f-host-1.1.10/u2f-host'                                                
make[1]: *** [Makefile:644: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-crypt/libu2f-host-1.1.10/work/libu2f-host-1.1.10'                                                         
make: *** [Makefile:555: all] Error 2                                        
 * ERROR: app-crypt/libu2f-host-1.1.10::gentoo failed (compile phase):
 *   emake failed
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-05-02 01:45:33 UTC
Portage 2.3.99 (python 3.6.10-final-0, default/linux/ppc64le/17.0/desktop/plasma, gcc-9.3.0, glibc-2.31-r2, 5.4.35-gentoo ppc64le)
=================================================================
System uname: Linux-5.4.35-gentoo-ppc64le-POWER9,_altivec_supported-with-gentoo-2.7
KiB Mem:    65036972 total,  40181596 free
KiB Swap:   67108856 total,  67108856 free
Timestamp of repository gentoo: Sat, 02 May 2020 01:08:35 +0000
Head commit of repository gentoo: c720f9793d1e03c426010258fbdaeeb4e8bfc8af

Head commit of repository gyakovlev: be0c985ca9da7e95bad8b3375253333fccb901b4

sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p1) 2.34.0
ccache version 3.7.9 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.17.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-clone-extra-opts: -b master
    sync-git-verify-commit-signature: true

gyakovlev
    location: /var/db/repos/gyakovlev
    sync-type: git
    sync-uri: https://github.com/gyakovlev/gentoo-overlay.git
    masters: gentoo

Installed sets: @mycompress, @mydevutil
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
CHOST="powerpc64le-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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"
CXXFLAGS="-mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --jobs=4 --load-average 30 --quiet-build"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mcpu=power9 -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LINGUAS="en"
MAKEOPTS="--jobs=32 --load-average=30"
PKGDIR="/var/cache/binpkgs"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl activities alsa altivec berkdb bluetooth branding bzip2 cairo caps cdr cli crypt cups dbus declarative dri dts dvdr elogind emboss encode epub exif filecaps flac fontconfig fortran gdbm gif gpm iconv icu introspection ipv6 jpeg kde kipi kwallet lcms libnotify lm-sensors lz4 lzma lzo mad mng mp3 mp4 mpeg ncurses nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppc64 ppds qml qt5 readline seccomp semantic-desktop spell split-usr ssl startup-notification svg taglib tiff truetype udev udisks unicode upower usb v4l vaapi vim-syntax vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xscreensaver xv xvid zeroconf zlib zstd" ABI_PPC="64" ADA_TARGET="gnat_2018" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2 fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Larry the Git Cow gentoo-dev 2020-05-02 06:15:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156ccdd04fc7dc9403041a144d584a1140741e6e

commit 156ccdd04fc7dc9403041a144d584a1140741e6e
Author:     Jason A. Donenfeld <zx2c4@gentoo.org>
AuthorDate: 2020-05-02 06:12:39 +0000
Commit:     Jason A. Donenfeld <zx2c4@gentoo.org>
CommitDate: 2020-05-02 06:15:15 +0000

    app-crypt/libu2f-host: account for c-json changes
    
    Fixes: https://bugs.gentoo.org/720358
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Jason A. Donenfeld <zx2c4@gentoo.org>

 .../files/libu2f-host-1.1.10-json-boolean.patch    | 34 ++++++++++++++++++++++
 app-crypt/libu2f-host/libu2f-host-1.1.10.ebuild    |  4 ++-
 2 files changed, 37 insertions(+), 1 deletion(-)
Comment 3 Daniel Harding 2020-05-03 08:42:18 UTC
*** Bug 720758 has been marked as a duplicate of this bug. ***