Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723294 - sys-auth/ykpers-1.20.0: stable request (failed build with dev-libs/json-c-0.14-r2)
Summary: sys-auth/ykpers-1.20.0: stable request (failed build with dev-libs/json-c-0.1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks: CVE-2020-12762
  Show dependency tree
 
Reported: 2020-05-15 21:12 UTC by Frank Krömmelbein
Modified: 2020-05-19 17:16 UTC (History)
3 users (show)

See Also:
Package list:
=sys-auth/ykpers-1.20.0 amd64 x86
Runtime testing required: ---
nattka: sanity-check+


Attachments
emerge --info (emerge.info,7.17 KB, text/plain)
2020-05-15 21:14 UTC, Frank Krömmelbein
no flags Details
build.log (build.log,28.26 KB, text/plain)
2020-05-15 21:15 UTC, Frank Krömmelbein
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2020-05-15 21:12:01 UTC
dev-libs/json-c-0.14-r2 was stabilized today, but actual stable sys-auth/ykpers-1.19.3-r1 fails to rebuild now.
Stable bug for json-c see: https://bugs.gentoo.org/722150 
sys-auth/ykpers-1.20.0 works for me:
[ebuild   R   ~] sys-auth/ykpers-1.20.0::gentoo  USE="-consolekit -static-libs" 0 KiB


Reproducible: Always
Comment 1 Frank Krömmelbein 2020-05-15 21:14:25 UTC
Created attachment 639472 [details]
emerge --info
Comment 2 Frank Krömmelbein 2020-05-15 21:15:21 UTC
Created attachment 639474 [details]
build.log
Comment 3 Ed Santiago 2020-05-16 11:58:07 UTC
Seeing it here too. Adding relevant log excerpt to make it easier for others to search:

ykpers-json.c: In function ‘set_json_value’:
ykpers-json.c:53:13: error: ‘TRUE’ undeclared (first use in this function)
   53 |   if(ret == TRUE && json_object_get_type(joption) == json_type_boolean) {
      |             ^~~~
ykpers-json.c:53:13: note: each undeclared identifier is reported only once for each function it appears in
ykpers-json.c: In function ‘_ykp_json_import_cfg’:
ykpers-json.c:233:71: error: ‘FALSE’ undeclared (first use in this function)
  233 |   if(yk_json_object_object_get(jobj, "yubiProdConfig", yprod_json) == FALSE) {
      |                                                                       ^~~~~
ykpers-json.c:246:72: error: ‘TRUE’ undeclared (first use in this function)
  246 |   if(yk_json_object_object_get(yprod_json, "targetConfig", jtarget) == TRUE) {
      |                                                                        ^~~~
make[1]: *** [Makefile:790: ykpers-json.lo] Error 1
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-17 13:19:29 UTC
Proceeding unless objections because this is a victim of json-c breakage.
Comment 5 Agostino Sarubbo gentoo-dev 2020-05-18 15:09:49 UTC
amd64 stable
Comment 6 Agostino Sarubbo gentoo-dev 2020-05-18 15:13:40 UTC
x86 stable
Comment 7 Göktürk Yüksek archtester gentoo-dev 2020-05-19 15:50:47 UTC
Any reason to keep this bug open? @Sam, since you started the stabilization, can you close it when it's ready? Thanks!
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-05-19 17:16:43 UTC
(In reply to Göktürk Yüksek from comment #7)
> Any reason to keep this bug open? @Sam, since you started the stabilization,
> can you close it when it's ready? Thanks!

Nope, thank you! Done. :)