Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673196 - dev-libs/openssl-1.0.2q - src_prepare(): I AM NOT SANE
Summary: dev-libs/openssl-1.0.2q - src_prepare(): I AM NOT SANE
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-15 15:32 UTC by Anton Kochkov
Modified: 2019-01-26 05:39 UTC (History)
0 users

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


Attachments
build.log (openssl-1.0.2q_build.log,3.33 KB, text/plain)
2018-12-15 15:32 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,5.46 KB, text/plain)
2018-12-15 15:34 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kochkov 2018-12-15 15:32:45 UTC
Created attachment 557814 [details]
build.log

This system (acl icu alsa networkmanager xinerama bzip2 policykit udev udisks dbus nvidia opengl threads acpi v4l v4l2) is not supported. See file INSTALL for details.
 [31;01m*[0m ERROR: dev-libs/openssl-1.0.2q::gentoo failed (prepare phase):
 [31;01m*[0m   I AM NOT SANE
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, line 124:  Called src_prepare
 [31;01m*[0m   environment, line 2848:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       ./config --test-sanity || die "I AM NOT SANE";
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=dev-libs/openssl-1.0.2q::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-libs/openssl-1.0.2q::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-libs/openssl-1.0.2q/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/openssl-1.0.2q/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/dev-libs/openssl-1.0.2q/work/openssl-1.0.2q'
 [31;01m*[0m S: '/var/tmp/portage/dev-libs/openssl-1.0.2q/work/openssl-1.0.2q'
Comment 1 Anton Kochkov 2018-12-15 15:34:50 UTC
Created attachment 557816 [details]
emerge --info output
Comment 2 Jouni Kosonen 2018-12-15 18:30:08 UTC
My guess: your build environment has a spurious value for envvar SYSTEM and the build doesn't sanitize it. If the value is empty or not set, it gets populated by (uname -s) and that value is compiled into the kernel.

I can reproduce your exact error with 

# SYSTEM="acl icu alsa networkmanager xinerama bzip2 policykit udev udisks dbus nvidia opengl threads acpi v4l v4l2" ebuild /usr/portage/dev-libs/openssl/openssl-1.0.2q.ebuild clean prepare
Comment 3 Anton Kochkov 2018-12-16 17:23:32 UTC
(In reply to Jouni Kosonen from comment #2)
> My guess: your build environment has a spurious value for envvar SYSTEM and
> the build doesn't sanitize it. If the value is empty or not set, it gets
> populated by (uname -s) and that value is compiled into the kernel.
> 
> I can reproduce your exact error with 
> 
> # SYSTEM="acl icu alsa networkmanager xinerama bzip2 policykit udev udisks
> dbus nvidia opengl threads acpi v4l v4l2" ebuild
> /usr/portage/dev-libs/openssl/openssl-1.0.2q.ebuild clean prepare

You are right, I use it to partition the long USE variable, I can just rename the variable, I just wonder if handling SYSTEM should be done properly anyway.
Comment 4 Anton Kochkov 2019-01-26 05:39:34 UTC
Closing this bug since it is not a bug at all.