Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828498 - sci-electronics/klayout-0.27 *** ERROR: unable to run Ruby interpreter /usr/bin/ruby26
Summary: sci-electronics/klayout-0.27 *** ERROR: unable to run Ruby interpreter /usr/b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-07 10:14 UTC by Dmitrij Volin
Modified: 2021-12-11 15:18 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge_info.txt,5.87 KB, text/plain)
2021-12-07 10:14 UTC, Dmitrij Volin
Details
emerge_info.txt (emerge_info.txt,5.96 KB, text/plain)
2021-12-08 11:38 UTC, Dmitrij Volin
Details
build.log (build.log,2.47 KB, text/plain)
2021-12-08 11:39 UTC, Dmitrij Volin
Details
environment.txt (environment,108.66 KB, text/plain)
2021-12-08 11:40 UTC, Dmitrij Volin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitrij Volin 2021-12-07 10:14:35 UTC
Created attachment 757609 [details]
emerge --info

* Package:    sci-electronics/klayout-0.27
 * Repository: gentoo
 * Maintainer: dilfridge@gentoo.org sci-electronics@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python3_8 ruby_targets_ruby26 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.8 to build
>>> Unpacking source...
>>> Unpacking klayout-0.27.tar.gz to /var/tmp/portage/sci-electronics/klayout-0.27/work/all
>>> Source unpacked in /var/tmp/portage/sci-electronics/klayout-0.27/work
>>> Preparing source in /var/tmp/portage/sci-electronics/klayout-0.27/work ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby26 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-electronics/klayout-0.27/work ...
 * Running configure phase for ruby26 ...
Scanning installation ..

Version Info:
    Version: 0.27
    Date: 2021-12-07
    Revision: LatestSourcePackage

Using qmake: /usr/lib64/qt5/bin/qmake

Using Ruby interpreter: /usr/bin/ruby26
*** ERROR: unable to run Ruby interpreter /usr/bin/ruby26
 * ERROR: sci-electronics/klayout-0.27::gentoo failed (configure phase):
 *   Configuration failed
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called src_configure
 *   environment, line 2839:  Called ruby-ng_src_configure
 *   environment, line 2593:  Called _ruby_each_implementation 'each_ruby_configure'
 *   environment, line  909:  Called _ruby_invoke_environment 'ruby26' 'each_ruby_configure'
 *   environment, line 1034:  Called each_ruby_configure
 *   environment, line 1152:  Called die
 * The specific snippet of code:
 *       ./build.sh -expert -dry-run -qmake "/usr/$(get_libdir)/qt5/bin/qmake" -ruby "${RUBY}" -python "${PYTHON}" -build . -bin "${T}/bin" -rpath "/usr/$(get_libdir)/klayout" -option "${MAKEOPTS}" -with-qtbinding -without-64bit-coord -qt5 || die "Configuration failed"
 *
 * If you need support, post the output of `emerge --info '=sci-electronics/klayout-0.27::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-electronics/klayout-0.27::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-electronics/klayout-0.27/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-electronics/klayout-0.27/temp/environment'.
 * Working directory: '/var/tmp/portage/sci-electronics/klayout-0.27/work/ruby26/klayout-0.27'
 * S: '/var/tmp/portage/sci-electronics/klayout-0.27/work/ruby26/klayout-0.27'
Comment 1 Jonas Stein gentoo-dev 2021-12-08 01:21:05 UTC
Thank you for the report. We need to have all information at hand before ticket assignment. Please provide
* the complete build.log as attachment and
* paste the emerge info 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket

Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 2 Dmitrij Volin 2021-12-08 11:38:23 UTC
Created attachment 757731 [details]
emerge_info.txt

output cmd: emerge --info '=sci-electronics/klayout-0.27::gentoo'
Comment 3 Dmitrij Volin 2021-12-08 11:39:49 UTC
Created attachment 757732 [details]
build.log

The complete build log is located at '/var/tmp/portage/sci-electronics/klayout-0.27/temp/build.log'
Comment 4 Dmitrij Volin 2021-12-08 11:40:58 UTC
Created attachment 757733 [details]
environment.txt

The ebuild environment file is located at '/var/tmp/portage/sci-electronics/klayout-0.27/temp/environment'
Comment 5 Dmitrij Volin 2021-12-08 11:45:02 UTC
(In reply to Jonas Stein from comment #1)
> Thank you for the report. We need to have all information at hand before
> ticket assignment. Please provide
> * the complete build.log as attachment and
> * paste the emerge info 
> as described on
> https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
> 
> Please reopen this ticket (Status:UNCONFIRMED) afterwards.

Hi Jonas.

Done. 

Just I can't to edit my first post,sorry ((
Comment 6 Dmitrij Volin 2021-12-08 16:13:23 UTC
I have installed: gcc-11, zlib, qt-5, python-3, ruby-2.6

What I done for successful compilation in my home dir:

$ git clone -b v0.27.4 --depth 1 https://github.com/KLayout/klayout.git
$ cd klayout-v0.27.4
$ ./build.sh -qt5 -j4

But I need to get it worked from the portage installation.

Please, fix it.

PS: on the github, there is newest release - 0.27.5 !
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-10 00:51:09 UTC
Please try 0.27.3 in ~arch.
Comment 8 Dmitrij Volin 2021-12-10 12:05:31 UTC
(In reply to Sam James from comment #7)
> Please try 0.27.3 in ~arch.

Hi Sam.

Using Ruby interpreter: /usr/bin/ruby27
*** ERROR: unable to run Ruby interpreter /usr/bin/ruby27
 * ERROR: sci-electronics/klayout-0.27.3::gentoo failed (configure phase):
 *   Configuration failed
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-11 06:59:25 UTC
(In reply to Dmitrij V from comment #8)
> (In reply to Sam James from comment #7)
> > Please try 0.27.3 in ~arch.
> 
> Hi Sam.
> 
> Using Ruby interpreter: /usr/bin/ruby27
> *** ERROR: unable to run Ruby interpreter /usr/bin/ruby27
>  * ERROR: sci-electronics/klayout-0.27.3::gentoo failed (configure phase):
>  *   Configuration failed

Huh. Could you try re-emerging with --oneshot ruby and rubygems?
Comment 10 Dmitrij Volin 2021-12-11 15:18:08 UTC
(In reply to Sam James from comment #9)
> (In reply to Dmitrij V from comment #8)
> > (In reply to Sam James from comment #7)
> > > Please try 0.27.3 in ~arch.
> > 
> > Hi Sam.
> > 
> > Using Ruby interpreter: /usr/bin/ruby27
> > *** ERROR: unable to run Ruby interpreter /usr/bin/ruby27
> >  * ERROR: sci-electronics/klayout-0.27.3::gentoo failed (configure phase):
> >  *   Configuration failed
> 
> Huh. Could you try re-emerging with --oneshot ruby and rubygems?

Thank you very much ! It's worked for me !

For now I know useful trick: full reemerging dependencies .