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

Bug 805044

Summary: net-misc/websocat-1.6.0-r2 - warning: build/expando.c: error: pasting RUST_VERSION_OPENSSL_ and ( does not give a valid preprocess
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 797325    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-misc:websocat-1.6.0-r2:20210729-165934.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-29 17:08:04 UTC
The following warnings were emitted during compilation:

warning: build/expando.c:4:24: error: pasting "RUST_VERSION_OPENSSL_" and "(" does not give a valid preprocessing token
warning:     4 | #define VERSION2(n, v) RUST_VERSION_##n##_##v
warning:       |                        ^~~~~~~~~~~~~
warning: build/expando.c:5:23: note: in expansion of macro ‘VERSION2’
warning:     5 | #define VERSION(n, v) VERSION2(n, v)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j3-20210725-204406

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

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-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK JRE 8.292_p10 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 9bc39db7175e116570f2225a23721a773ee436b9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 29 16:06:55 2021 +0000

    2021-07-29 16:06:53 UTC

emerge -qpvO net-misc/websocat
[ebuild   R   ] net-misc/websocat-1.6.0-r2  USE="ssl -debug"
Comment 1 Toralf Förster gentoo-dev 2021-07-29 17:08:05 UTC
Created attachment 727980 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-29 17:08:07 UTC
Created attachment 727983 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-07-29 17:08:08 UTC
Created attachment 727986 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-07-29 17:08:09 UTC
Created attachment 727989 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-07-29 17:08:10 UTC
Created attachment 727992 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-29 17:08:12 UTC
Created attachment 727995 [details]
net-misc:websocat-1.6.0-r2:20210729-165934.log
Comment 7 Toralf Förster gentoo-dev 2021-07-29 17:08:13 UTC
Created attachment 727998 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-18 00:08:16 UTC
I think this should go away with a bump as it's to do with the openssl-sys crate.

zac, could you have a look at bumping to 1.10.1? cheers!
Comment 9 Larry the Git Cow gentoo-dev 2022-06-18 15:17:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe4b1fc07aab8058095d4afff53b4c82f19ba4e2

commit fe4b1fc07aab8058095d4afff53b4c82f19ba4e2
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2022-06-18 15:15:03 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2022-06-18 15:17:14 +0000

    net-misc/websocat: add 1.10.0
    
    Bug: https://bugs.gentoo.org/805044
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 net-misc/websocat/Manifest               |  47 ++++++
 net-misc/websocat/websocat-1.10.0.ebuild | 250 +++++++++++++++++++++++++++++++
 2 files changed, 297 insertions(+)