Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Package rebuild failed. sys-fs/cryptsetup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
bagas
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2018
Posts: 136

PostPosted: Fri May 15, 2020 3:53 pm    Post subject: [SOLVED] Package rebuild failed. sys-fs/cryptsetup Reply with quote

Hello.
Package rebuild failed.

https://pastebin.com/wENySAAF

Code:
[ebuild   R    ] sys-fs/cryptsetup-2.2.2:0/12::gentoo  USE="argon2 luks1_default nls openssl udev -gcrypt -kernel -libressl -nettle -pwquality -reencrypt -static -static-libs -urandom" 0 KiB


Code:
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -include config.h -I./lib -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DLIBDIR=\""/usr/lib64"\" -DPREFIX=\""/usr"\" -DSYSCONFDIR=\""/etc"\" -DVERSION=\""2.2.2"\" -I ./lib/crypto_backend -I ./lib/luks1 -I ./lib/luks2 -I ./lib/loopaes -I ./lib/verity -I ./lib/tcrypt -I ./lib/integrity  -Wall  -march=core2 -O2 -pipe -c -o lib/luks2/libcryptsetup_la-luks2_disk_metadata.lo `test -f 'lib/luks2/luks2_disk_metadata.c' || echo './'`lib/luks2/luks2_disk_metadata.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -include config.h -I./lib -DDATADIR=\"/usr/share\" -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DPREFIX=\"/usr\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"2.2.2\" -I ./lib/crypto_backend -I ./lib/luks1 -I ./lib/luks2 -I ./lib/loopaes -I ./lib/verity -I ./lib/tcrypt -I ./lib/integrity -Wall -march=core2 -O2 -pipe -c lib/luks2/luks2_disk_metadata.c  -fPIC -DPIC -o lib/luks2/.libs/libcryptsetup_la-luks2_disk_metadata.o
In file included from lib/luks2/luks2_disk_metadata.c:24:
lib/luks2/luks2_internal.h:62:10: ошибка: несовместимые типы для «json_object_get_uint64»
   62 | uint64_t json_object_get_uint64(json_object *jobj);
      |          ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/json-c/json.h:27,
                 from lib/luks2/luks2_internal.h:28,
                 from lib/luks2/luks2_disk_metadata.c:24:
/usr/include/json-c/json_object.h:725:22: замечание: здесь была предыдущая декларация «json_object_get_uint64»
  725 | JSON_EXPORT uint64_t json_object_get_uint64(const struct json_object *obj);
      |                      ^~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:2041: lib/luks2/libcryptsetup_la-luks2_disk_metadata.lo] Ошибка 1
make[2]: выход из каталога «/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/work/cryptsetup-2.2.2»
make[1]: *** [Makefile:2271: all-recursive] Ошибка 1
make[1]: выход из каталога «/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/work/cryptsetup-2.2.2»
make: *** [Makefile:1120: all] Ошибка 2
 * ERROR: sys-fs/cryptsetup-2.2.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-fs/cryptsetup-2.2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/cryptsetup-2.2.2::gentoo'`.
 * The complete build log is located at '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/temp/environment'.
 * Working directory: '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/work/cryptsetup-2.2.2'
 * S: '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/work/cryptsetup-2.2.2'

>>> Failed to emerge sys-fs/cryptsetup-2.2.2, Log file:

>>>  '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/temp/build.log'

 * Messages for package sys-fs/cryptsetup-2.2.2:

 *   CONFIG_DM_CRYPT:   is not set (required for cryptsetup)
 *
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * ERROR: sys-fs/cryptsetup-2.2.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-fs/cryptsetup-2.2.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/cryptsetup-2.2.2::gentoo'`.
 * The complete build log is located at '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/temp/build.log'.
 * The ebuild environment file is located at '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/temp/environment'.
 * Working directory: '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/work/cryptsetup-2.2.2'
 * S: '/mnt/tmp/portage/sys-fs/cryptsetup-2.2.2/work/cryptsetup-2.2.2'


Last edited by bagas on Fri May 15, 2020 5:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8426
Location: Austria

PostPosted: Fri May 15, 2020 3:55 pm    Post subject: Reply with quote

https://bugs.gentoo.org/723232
https://bugs.gentoo.org/723234
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2033

PostPosted: Fri May 15, 2020 3:56 pm    Post subject: Reply with quote

Run emerge --sync, the new version was stabilized just a little ago to fix that (or at least on amd64/x86/arm so far). If it's not up yet in sync for you, may need to wait a little bit.
Back to top
View user's profile Send private message
bagas
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2018
Posts: 136

PostPosted: Fri May 15, 2020 5:20 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum