Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 810811

Summary: sys-fs/dislocker-0.7.3[ruby] w/ >=dev-lang/ruby-3.0: src/config.c: error: expected identifier or ( before numeric constant
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/Aorimn/dislocker/pull/236
See Also: https://bugs.gentoo.org/show_bug.cgi?id=804981
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sys-fs:dislocker-0.7.3:20210828-155051.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-08-28 16:00:41 UTC
                 from /var/tmp/portage/sys-fs/dislocker-0.7.3/work/dislocker-0.7.3/src/config.c:28:
/var/tmp/portage/sys-fs/dislocker-0.7.3/work/dislocker-0.7.3/src/config.c: In function ‘setclearkey’:
/var/tmp/portage/sys-fs/dislocker-0.7.3/work/dislocker-0.7.3/src/config.c:59:13: error: expected identifier or ‘(’ before numeric constant
   59 |         int true = TRUE;
      |             ^~~~
/var/tmp/portage/sys-fs/dislocker-0.7.3/work/dislocker-0.7.3/src/config.c:60:52: error: lvalue required as unary ‘&’ operand
   60 |         dis_setopt(dis_ctx, DIS_OPT_USE_CLEAR_KEY, &true);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20210825-040007

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 0bf2449dd404669a3f2472bd3eb5389eeebaa505
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 28 14:06:33 2021 +0000

    2021-08-28 14:06:30 UTC

emerge -qpvO sys-fs/dislocker
[ebuild  N    ] sys-fs/dislocker-0.7.3  USE="ruby"
Comment 1 Toralf Förster gentoo-dev 2021-08-28 16:00:43 UTC
Created attachment 736474 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-28 16:00:44 UTC
Created attachment 736477 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-28 16:00:46 UTC
Created attachment 736480 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-28 16:00:47 UTC
Created attachment 736483 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-28 16:00:48 UTC
Created attachment 736486 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-28 16:00:49 UTC
Created attachment 736489 [details]
sys-fs:dislocker-0.7.3:20210828-155051.log
Comment 7 Toralf Förster gentoo-dev 2021-08-28 16:00:50 UTC
Created attachment 736492 [details]
temp.tar.bz2
Comment 8 Andreas Sturmlechner gentoo-dev 2024-04-06 19:57:27 UTC
Fixed in git master. Upstream don't like releasing much? https://github.com/Aorimn/dislocker/issues/314