Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 805959 - dev-util/rustup-1.24.3 - warning: build/expando.c: error: pasting RUST_VERSION_OPENSSL_ and ( does not give a valid preprocessing
Summary: dev-util/rustup-1.24.3 - warning: build/expando.c: error: pasting RUST_VERSIO...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0
  Show dependency tree
 
Reported: 2021-08-01 13:09 UTC by Toralf Förster
Modified: 2022-10-31 18:46 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.33 KB, text/plain)
2021-08-01 13:09 UTC, Toralf Förster
Details
dev-util:rustup-1.24.3:20210801-122353.log (dev-util:rustup-1.24.3:20210801-122353.log,208.03 KB, text/plain)
2021-08-01 13:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,219.29 KB, text/plain)
2021-08-01 13:09 UTC, Toralf Förster
Details
environment (environment,92.13 KB, text/plain)
2021-08-01 13:09 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,20.69 KB, application/x-bzip)
2021-08-01 13:09 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.66 KB, application/x-bzip)
2021-08-01 13:09 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-01 13:09:00 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_plasma-j3-20210729-201509

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

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:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 8eada7d5c4bcffe817d13d2650b3da749fcf279b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 1 10:52:07 2021 +0000

    2021-08-01 10:52:04 UTC

emerge -qpvO dev-util/rustup
[ebuild  N    ] dev-util/rustup-1.24.3  USE="-debug"
Comment 1 Toralf Förster gentoo-dev 2021-08-01 13:09:01 UTC
Created attachment 729240 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-01 13:09:03 UTC
Created attachment 729243 [details]
dev-util:rustup-1.24.3:20210801-122353.log
Comment 3 Toralf Förster gentoo-dev 2021-08-01 13:09:04 UTC
Created attachment 729246 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-01 13:09:06 UTC
Created attachment 729249 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-01 13:09:07 UTC
Created attachment 729252 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-01 13:09:08 UTC
Created attachment 729255 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-18 00:10:27 UTC
AFAIK this is long fixed upstream (newer openssl-sys crate).
Comment 8 Toralf Förster gentoo-dev 2022-07-04 08:43:45 UTC
(In reply to Sam James from comment #7)
> AFAIK this is long fixed upstream (newer openssl-sys crate).

still happens here, eg at 17.1_hardened-j4-20220703-131340
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-31 18:46:54 UTC
commit e58e983151217cf9f83cdaeb2d894cb715c90d67
Author: Georgy Yakovlev <gyakovlev@gentoo.org>
Date:   Mon Sep 19 18:30:41 2022 -0700

    dev-util/rustup: add 1.25.1

    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

Let's hope this one did it