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

Bug 687130

Summary: dev-lang/erlang-21.3-r1: Compile errors with pgo
Product: Gentoo Linux Reporter: ncaq
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: My emerge --info

Description ncaq 2019-06-01 09:29:49 UTC
Created attachment 578322 [details]
My emerge --info

I can not emerge dev-lang/erlang-21.3-r1.

error message

configure: error: /var/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3/erts/configure failed for erts

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3/config.log
 * ERROR: dev-lang/erlang-21.3-r1::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 4742:  Called econf '--disable-builtin-zlib' '--enable-hipe' '--enable-kernel-poll' '--without-javac' '--without-odbc' '--disable-sctp' '--with-ssl=/usr' '--enable-dynamic-ssl-lib' '--enable-systemd' '--enable-pgo' '--with-wx-config=/usr/lib64/wx/config/gtk2-unicode-3.0' '--enable-threads'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  119:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/erlang-21.3-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/erlang-21.3-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =erlang-21.3
 * The complete build log is located at '/var/tmp/portage/dev-lang/erlang-21.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/erlang-21.3-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3'
 * S: '/var/tmp/portage/dev-lang/erlang-21.3-r1/work/otp-OTP-21.3'

I can emerge erlang without pgo.

I write gcc config.

2019-06-01T18:25:22 ncaq@strawberry/pts/2(0) ~
% equ gcc
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-devel/gcc-9.1.0:
 U I
 + + cxx       : Build support for C++ (bindings, extra libraries, code generation, ...)
 + + d         : Enable support for the D programming language
 - - debug     : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + doc       : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 + + fortran   : Add support for fortran
 + + go        : Build the GCC Go language frontend.
 + + graphite  : Add support for the framework for loop optimizations based on a polyhedral intermediate representation
 + + lto       : Build using Link Time Optimizations (LTO)
 + + nls       : Add Native Language Support (using gettext - GNU locale utilities)
 + + nptl      : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
 - - objc      : Build support for the Objective C code language
 - - objc++    : Build support for the Objective C++ language
 - - objc-gc   : Build support for the Objective C code language Garbage Collector
 + + openmp    : Build support for the OpenMP (support parallel computing), requires >=sys-devel/gcc-4.2 built with USE="openmp"
 + + pch       : Enable precompiled header support for faster compilation at the expense of disk space and memory (>=sys-devel/gcc-3.4 only)
 + + pgo       : Build GCC using Profile Guided Optimization (PGO)
 - + pie       : Build programs as Position Independent Executables (a security hardening technique)
 + + sanitize  : Build support for various sanitizer functions (ASAN/TSAN/etc...)
 + + ssp       : Build packages with stack smashing protector on by default
 - - systemtap : enable systemtap static probe points
 - - test      : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
 - - vanilla   : Do not add extra patches which change default behaviour; DO NOT USE THIS ON A GLOBAL SCALE as the severity of the meaning changes drastically
 + + vtv       : Build support for virtual table verification (a C++ hardening feature)
2019-06-01T18:25:24 ncaq@strawberry/pts/2(0) ~
% LANG=en gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/9.1.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-9.1.0/work/gcc-9.1.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/9.1.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/9.1.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/9.1.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/9.1.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/9.1.0/python --enable-languages=c,c++,d,go,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 9.1.0 p1.0' --disable-esp --enable-libstdcxx-time --with-build-config=bootstrap-lto --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libmudflap --disable-libssp --disable-systemtap --enable-vtable-verify --enable-lto --with-isl --disable-isl-version-check --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 9.1.0 (Gentoo 9.1.0 p1.0)
Comment 1 Jonas Stein gentoo-dev 2019-06-01 10:22:25 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 ncaq 2019-06-10 00:47:46 UTC
Ok, I'm sorry to missing temp.
However, dev-lang/erlang-22.0.2 drop pgo.
I think to should be close.
What do you think?