Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810811 - sys-fs/dislocker-0.7.3[ruby] w/ >=dev-lang/ruby-3.0: src/config.c: error: expected identifier or ( before numeric constant
Summary: sys-fs/dislocker-0.7.3[ruby] w/ >=dev-lang/ruby-3.0: src/config.c: error: exp...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://github.com/Aorimn/dislocker/p...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-08-28 16:00 UTC by Toralf Förster
Modified: 2024-04-06 20:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.51 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,328.11 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
environment (environment,88.05 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.33 KB, application/x-bzip)
2021-08-28 16:00 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.79 KB, application/x-bzip)
2021-08-28 16:00 UTC, Toralf Förster
Details
sys-fs:dislocker-0.7.3:20210828-155051.log (sys-fs:dislocker-0.7.3:20210828-155051.log,29.95 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.62 KB, application/x-bzip)
2021-08-28 16:00 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 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