Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655742 - sys-libs/libselinux-2.8_rc3 : make[1]: *** [Makefile:<snip>: selinuxswig_ruby_wrap.c] Error 127
Summary: sys-libs/libselinux-2.8_rc3 : make[1]: *** [Makefile:<snip>: selinuxswig_ruby...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-14 17:27 UTC by Toralf Förster
Modified: 2018-05-16 14:24 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.66 KB, text/plain)
2018-05-14 17:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,60.22 KB, text/plain)
2018-05-14 17:27 UTC, Toralf Förster
Details
environment (environment,103.91 KB, text/plain)
2018-05-14 17:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.34 KB, application/x-bzip)
2018-05-14 17:27 UTC, Toralf Förster
Details
sys-libs:libselinux-2.8_rc3:20180514-040124.log (sys-libs:libselinux-2.8_rc3:20180514-040124.log,26.21 KB, text/plain)
2018-05-14 17:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.27 KB, application/x-bzip)
2018-05-14 17:27 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 2018-05-14 17:27:26 UTC
swig -Wall -ruby -o selinuxswig_ruby_wrap.c -outdir ./  -DNO_ANDROID_BACKEND selinuxswig_ruby.i
make[1]: swig: Command not found
make[1]: *** [Makefile:179: selinuxswig_ruby_wrap.c] Error 127
make[1]: Leaving directory '/var/tmp/portage/sys-libs/libselinux-2.8_rc3/work/libselinux-2.8-rc3-abi_x86_64.amd64/src'
make: *** [Makefile:55: rubywrap] Error 2
 * ERROR: sys-libs/libselinux-2.8_rc3::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_libressl_20180512-194535

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sys-libs/libselinux
[ebuild  N    ] sys-libs/libselinux-2.8_rc3  USE="ruby -pcre2 -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6" RUBY_TARGETS="ruby23"
Comment 1 Toralf Förster gentoo-dev 2018-05-14 17:27:29 UTC
Created attachment 531346 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-14 17:27:32 UTC
Created attachment 531348 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-14 17:27:35 UTC
Created attachment 531350 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-14 17:27:38 UTC
Created attachment 531352 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-14 17:27:42 UTC
Created attachment 531354 [details]
sys-libs:libselinux-2.8_rc3:20180514-040124.log
Comment 6 Toralf Förster gentoo-dev 2018-05-14 17:27:45 UTC
Created attachment 531356 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2018-05-16 14:24:10 UTC
The bug has been closed via the following commit(s):

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

commit b036ba859f66a540615cdb9f3cb54c0162f2d0a7
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2018-05-16 14:22:50 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2018-05-16 14:23:07 +0000

    sys-libs/libselinux: fix ruby dep on swig
    
    The swig dep was in python? but ruby? needs it too
    
    Closes: https://bugs.gentoo.org/655742
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-libs/libselinux/libselinux-2.8_rc3.ebuild | 3 ++-
 sys-libs/libselinux/libselinux-9999.ebuild    | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)