Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720442 - app-crypt/libu2f-server-1.1.0 : /.../core.c: error: FALSE undeclared (first use in this function)
Summary: app-crypt/libu2f-server-1.1.0 : /.../core.c: error: FALSE undeclared (first u...
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:
Depends on:
Blocks:
 
Reported: 2020-05-02 10:54 UTC by Toralf Förster
Modified: 2020-05-06 00:40 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.21 KB, text/plain)
2020-05-02 10:54 UTC, Toralf Förster
Details
app-crypt:libu2f-server-1.1.0:20200502-101640.log (app-crypt:libu2f-server-1.1.0:20200502-101640.log,19.50 KB, text/plain)
2020-05-02 10:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,268.49 KB, text/plain)
2020-05-02 10:54 UTC, Toralf Förster
Details
environment (environment,78.09 KB, text/plain)
2020-05-02 10:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.14 KB, application/x-bzip)
2020-05-02 10:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.84 KB, application/x-bzip)
2020-05-02 10:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.60 KB, application/x-bzip)
2020-05-02 10:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-02 10:54:11 UTC
/var/tmp/portage/app-crypt/libu2f-server-1.1.0/work/libu2f-server-1.1.0/u2f-server/core.c: In function parse_clientData:
/var/tmp/portage/app-crypt/libu2f-server-1.1.0/work/libu2f-server-1.1.0/u2f-server/core.c:480:58: error: FALSE undeclared (first use in this function)
  480 |   if (u2fs_json_object_object_get(jo, challenge, k) == FALSE)
      |                                                          ^~~~~
/var/tmp/portage/app-crypt/libu2f-server-1.1.0/work/libu2f-server-1.1.0/u2f-server/core.c:480:58: note: each undeclared identifier is reported only once for each function it appears in

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200425-233309

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8
  [3]   python3.7
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat May  2 09:11:33 UTC 2020
/var/db/repos/musl	Thu Apr 30 21:54:55 UTC 2020

emerge -qpvO app-crypt/libu2f-server
[ebuild   R   ] app-crypt/libu2f-server-1.1.0  USE="-libressl -static-libs -test"
Comment 1 Toralf Förster gentoo-dev 2020-05-02 10:54:14 UTC
Created attachment 635666 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-02 10:54:17 UTC
Created attachment 635668 [details]
app-crypt:libu2f-server-1.1.0:20200502-101640.log
Comment 3 Toralf Förster gentoo-dev 2020-05-02 10:54:19 UTC
Created attachment 635670 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-05-02 10:54:22 UTC
Created attachment 635672 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-05-02 10:54:25 UTC
Created attachment 635674 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-02 10:54:28 UTC
Created attachment 635676 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-02 10:54:32 UTC
Created attachment 635678 [details]
temp.tbz2
Comment 8 Andy Pettinger 2020-05-03 05:22:07 UTC
Is this not due to json-c changes and fixed with patch as in https://bugs.gentoo.org/720358 ?
Comment 9 Ben Kohler gentoo-dev 2020-05-05 12:43:12 UTC
Yeah a similar fix will be needed here, this isn't musl-related
Comment 10 Larry the Git Cow gentoo-dev 2020-05-06 00:40:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=574fbc1efb046ed72d9bedf6bbdb511d76e31bc8

commit 574fbc1efb046ed72d9bedf6bbdb511d76e31bc8
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-05-02 14:56:41 +0000
Commit:     Göktürk Yüksek <gokturk@gentoo.org>
CommitDate: 2020-05-06 00:39:08 +0000

    app-crypt/libu2f-server: Fixed build with dev-libs/json-c-0.14
    
    Closes: https://bugs.gentoo.org/720442
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
    Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>

 .../files/libu2f-server-1.1.0-jsonc014.patch       | 34 ++++++++++++++++++++++
 app-crypt/libu2f-server/libu2f-server-1.1.0.ebuild |  3 +-
 2 files changed, 36 insertions(+), 1 deletion(-)