View previous topic :: View next topic |
Author |
Message |
dawgeestaeyelle n00b
Joined: 09 Aug 2023 Posts: 2 Location: Wicklow, Ireland
|
Posted: Wed Aug 09, 2023 4:52 pm Post subject: compiling genkernel with --luks fails |
|
|
'ello lads, bit of a problem with genkernel...
so when compiling genkernel with --luks, it tries to compile a "json object constructor for c" (creatively named "json-c") which from what i've heard fails on clang (my only source being a random page from freebsd i googled haha) because the compiler cant "implicitly convert a long to double" (???) installing 2 compilers to solve 1 program seems like a stupid parallel of 2 birds 1 stone but if i do have to do that, might aswell lol
PROFILE:
Code: | archcraft / # eselect profile show
Current /etc/portage/make.profile symlink:
default/linux/amd64/17.0/musl/clang |
GENKERNEL LOG:
http://0x0.st/H_p6.log
greatly appreciated if someone can figure this out, ive been losing my shit for a while lmfao _________________ اَلسَّلَامُ عَلَیْکُمْ وَرَحْمَۃُ اللّٰہِ وَ بَرَکَاتُہُ
"why is your name like that?" https://www.youtube.com/playlist?list=OLAK5uy_kCVtuk6qfCGz0crsZR4ajs1aZIKLqN0f8 |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30954 Location: here
|
Posted: Wed Aug 09, 2023 5:55 pm Post subject: |
|
|
Code: | json_object.c:701:26: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-const-int-float-conversion]
if (jso->o.c_double >= INT64_MAX)
~~ ^~~~~~~~~
/usr/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
#define INT64_MAX (0x7fffffffffffffff)
^~~~~~~~~~~~~~~~~~
1 error generated. |
It seems an old problem with json-c-0.13.1 fixed in >=json-c-0.14.
Unfortunately, genkernel is not yet updated to work with a working version of json-c.
Open a new bug report. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
dawgeestaeyelle n00b
Joined: 09 Aug 2023 Posts: 2 Location: Wicklow, Ireland
|
Posted: Wed Aug 09, 2023 9:24 pm Post subject: |
|
|
fedeliallalinea wrote: | Code: | json_object.c:701:26: error: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-const-int-float-conversion]
if (jso->o.c_double >= INT64_MAX)
~~ ^~~~~~~~~
/usr/include/stdint.h:46:21: note: expanded from macro 'INT64_MAX'
#define INT64_MAX (0x7fffffffffffffff)
^~~~~~~~~~~~~~~~~~
1 error generated. |
It seems an old problem with json-c-0.13.1 fixed in >=json-c-0.14.
Unfortunately, genkernel is not yet updated to work with a working version of json-c.
Open a new bug report. |
done, does this look right? _________________ اَلسَّلَامُ عَلَیْکُمْ وَرَحْمَۃُ اللّٰہِ وَ بَرَکَاتُہُ
"why is your name like that?" https://www.youtube.com/playlist?list=OLAK5uy_kCVtuk6qfCGz0crsZR4ajs1aZIKLqN0f8 |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30954 Location: here
|
Posted: Thu Aug 10, 2023 7:42 am Post subject: |
|
|
You should attach your emerge --info and build.log to the bug.
You can also post link to this thread.
-- edit --
in the bug don't post the pastebin url but attach a file of build.log and emerge --info. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|