Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907902 - www-servers/kore-4.2.3 - src/jsonrpc.c: error: JSONRPC_SERVER_ERROR undeclared (first use in this function)
Summary: www-servers/kore-4.2.3 - src/jsonrpc.c: error: JSONRPC_SERVER_ERROR undeclare...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Maciej Barć
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-05 19:17 UTC by Toralf Förster
Modified: 2023-06-06 06:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.05 KB, text/plain)
2023-06-05 19:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,184.37 KB, text/plain)
2023-06-05 19:17 UTC, Toralf Förster
Details
environment (environment,61.90 KB, text/plain)
2023-06-05 19:17 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-06-05 19:17 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.45 KB, application/x-xz)
2023-06-05 19:17 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.69 KB, application/x-xz)
2023-06-05 19:17 UTC, Toralf Förster
Details
www-servers:kore-4.2.3:20230605-081314.log (www-servers:kore-4.2.3:20230605-081314.log,87.51 KB, text/plain)
2023-06-05 19:17 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 2023-06-05 19:17:11 UTC
      |                                     struct jsonrpc_request *
src/jsonrpc.c:89:37: note: expected struct jsonrpc_request * but argument is of type struct jsonrpc_request *
   89 | jsonrpc_log(struct jsonrpc_request *req, int lvl, const char *fmt, ...)
      |             ~~~~~~~~~~~~~~~~~~~~~~~~^~~
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -Iinclude/kore -Iobj -std=c99 -pedantic -Wtype-limits -fno-common -DPREFIX='"/usr"' -DTLS_BACKEND_OPENSSL -DKORE_NO_HTTP -DKORE_USE_TASKS -DKORE_USE_JSONRPC  -DKORE_USE_CURL -D_GNU_SOURCE=1 -c src/linux.c -o obj/linux.o
make -C kodev
src/jsonrpc.c:118:33: error: JSONRPC_SERVER_ERROR undeclared (first use in this function)
  118 |                         return (JSONRPC_SERVER_ERROR);
      |                                 ^~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j5-20230602-153505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.5
Python 3.11.3
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.69.0
  [2]   rust-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.20.4 linux/amd64

  HEAD of ::gentoo
commit 346e964ee691a71ac3adb5aec3de2c12f1253cc2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jun 5 07:31:59 2023 +0000

    2023-06-05 07:31:59 UTC

emerge -qpvO www-servers/kore
[ebuild  N    ] www-servers/kore-4.2.3  USE="curl json openssl threads -acme -debug -http -postgres"
Comment 1 Toralf Förster gentoo-dev 2023-06-05 19:17:12 UTC
Created attachment 863336 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-06-05 19:17:14 UTC
Created attachment 863337 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-06-05 19:17:15 UTC
Created attachment 863338 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-06-05 19:17:16 UTC
Created attachment 863339 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-06-05 19:17:16 UTC
Created attachment 863340 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-06-05 19:17:17 UTC
Created attachment 863341 [details]
temp.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-06-05 19:17:18 UTC
Created attachment 863342 [details]
www-servers:kore-4.2.3:20230605-081314.log