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

Bug 794547

Summary: app-crypt/tpm-emulator-0.7.5-r3 - /.../tpmd_dev.c: error: expected declaration specifiers or before string 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    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-crypt:tpm-emulator-0.7.5-r3:20210605-223148.log
emerge-history.txt
environment
etc.portage.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-06 08:34:06 UTC
make -j3 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' KERNEL_BUILD=/usr/src/linux all tpmd_dev.rules 
  CC [M]  /var/tmp/portage/app-crypt/tpm-emulator-0.7.5-r3/work/tpm-emulator-0.7.5/tpmd_dev/linux/tpmd_dev.o
/var/tmp/portage/app-crypt/tpm-emulator-0.7.5-r3/work/tpm-emulator-0.7.5/tpmd_dev/linux/tpmd_dev.c:33:27: error: expected declaration specifiers or ‘...’ before string constant
   33 | #define TPM_DEVICE_ID     "tpm"
      |                           ^~~~~
/var/tmp/portage/app-crypt/tpm-emulator-0.7.5-r3/work/tpm-emulator-0.7.5/tpmd_dev/linux/tpmd_dev.c:54:25: note: in expansion of macro ‘TPM_DEVICE_ID’
   54 | MODULE_SUPPORTED_DEVICE(TPM_DEVICE_ID);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j3-20210601-200354

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  (none found)
  HEAD of ::gentoo
commit 34e242fff50dd5c0bef80dc8f66a3f81c3bdb614
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jun 5 21:50:23 2021 +0000

    2021-06-05 21:50:21 UTC

emerge -qpvO app-crypt/tpm-emulator
[ebuild  N    ] app-crypt/tpm-emulator-0.7.5-r3  USE="dist-kernel modules -mtm-emulator"
Comment 1 Toralf Förster gentoo-dev 2021-06-06 08:34:07 UTC
Created attachment 713922 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-06 08:34:08 UTC
Created attachment 713925 [details]
app-crypt:tpm-emulator-0.7.5-r3:20210605-223148.log
Comment 3 Toralf Förster gentoo-dev 2021-06-06 08:34:10 UTC
Created attachment 713928 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-06-06 08:34:12 UTC
Created attachment 713931 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-06-06 08:34:13 UTC
Created attachment 713934 [details]
etc.portage.tar.bz2