Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674626 - app-misc/hivex-1.3.14 USE=ruby does not build or install ruby bindings
Summary: app-misc/hivex-1.3.14 USE=ruby does not build or install ruby bindings
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-01-05 18:42 UTC by Michele Testa
Modified: 2021-06-07 23:26 UTC (History)
3 users (show)

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


Attachments
emerge output app-misc/hivex-1.3.14 (hivex.log,116.20 KB, text/plain)
2019-01-05 18:42 UTC, Michele Testa
Details
Patch fixing hivex-1.3.14.ebuild (hivex-1.3.14.ebuild.patch,295 bytes, patch)
2019-01-05 19:50 UTC, Michele Testa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Testa 2019-01-05 18:42:10 UTC
Created attachment 560034 [details]
emerge output app-misc/hivex-1.3.14

app-misc/hivex-1.3.14 compiles smoothly, but I can't find any binding in system ruby libraries:

USE="ocaml perl readline ruby -python -static-libs -test" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4" RUBY_TARGETS="ruby23 ruby24 (-ruby25)"

Unfortunately ./configure disables ruby bindings (see "--disable-ruby" in the last line below)

>>> Emerging (1 of 1) app-misc/hivex-1.3.14::gentoo
 * hivex-1.3.14.tar.gz BLAKE2B SHA512 size ;-) ...                       [ ok ]
>>> Unpacking source...
>>> Unpacking hivex-1.3.14.tar.gz to /tmp/portage/app-misc/hivex-1.3.14/work
>>> Source unpacked in /tmp/portage/app-misc/hivex-1.3.14/work
>>> Preparing source in /tmp/portage/app-misc/hivex-1.3.14/work/hivex-1.3.14 ...
 * Running prepare phase for all ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby23 ...
 * Running source copy phase for ruby24 ...
>>> Source prepared.
>>> Configuring source in /tmp/portage/app-misc/hivex-1.3.14/work/hivex-1.3.14 ...
/tmp/portage/app-misc/hivex-1.3.14/work/hivex-1.3.14/perl /tmp/portage/app-misc/hivex-1.3.14/work/hivex-1.3.14
 * No Make or Build file detected...
/tmp/portage/app-misc/hivex-1.3.14/work/hivex-1.3.14
 * econf: updating ruby24/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ruby24/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating ruby23/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating ruby23/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating all/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating all/build-aux/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating hivex-1.3.14/build-aux/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating hivex-1.3.14/build-aux/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/hivex-1.3.14 --htmldir=/usr/share/doc/hivex-1.3.14/html --libdir=/usr/lib64 --with-readline --enable-ocaml --enable-perl --enable-nls --disable-ruby --disable-python --disable-rpat
Comment 1 Michele Testa 2019-01-05 18:46:23 UTC
Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/developer, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Intel-R-_Core-TM-_i7-5820K_CPU_@_3.30GHz-with-gentoo-2.6
KiB Mem:    16390312 total,  10316816 free
KiB Swap:    6291452 total,   5985728 free
Timestamp of repository gentoo: Sat, 05 Jan 2019 00:45:01 +0000
Head commit of repository haskell: 95a913ab872c0ee43486784d0649d332c62a295c

Head commit of repository java: feec62d6108395aeab7d266242874c5c7534fcfb

Head commit of repository sublime-text: 9003a862ea812d33ae5ca6138fbb860a13f78e7d

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo, 2.30-r4::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /subsys/usr/portage
    sync-type: webrsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

haskell
    location: /var/lib/layman/haskell
    sync-type: git
    sync-uri: git://github.com/gentoo-haskell/gentoo-haskell.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

sublime-text
    location: /var/lib/layman/sublime-text
    sync-type: git
    sync-uri: git://github.com/DamnWidget/sublime-text.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fPIC "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe -fPIC  "
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.utf8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
LINGUAS="it en"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="X a52 aac acl acpi aes aio alsa amd64 avx avx2 bash-completion berkdb blueray bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit corefonts crypt css cups cxx dbus dirac dri dts dv dvb dvd dvdr emboss encode exif fam fbcon ffmpeg flac fma3 fontconfig foomaticdb fortran freetds gdbm gif gimp git glamor gnutls gpm gtk gzip hddtemp hoogle hscolour i3 iconv icu imagemagick imap ipv6 jabber java jpeg jpeg2k kvm lame latex lcms ldap libcaca libffi libnotify libtirpc live lm_sensors lzma lzo mad matroska mime mmx mmxext mng modules mozilla mp3 mp4 mpeg multilib mysql ncurses nls nptl odbc ogg opengl openmp optimization pam pango pcre pdf php png policykit popcnt postscript ppds qemu qt5 quicktime raw rdesktop readline rss ruby samba sasl scanner schroendiger sdl seccomp smartcard smp snmp sockets socks5 sound spell sqlite sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification strong-optimization svg symlink syslog tcpd theora threads tiff truetype udev udisks unicode upnp upnp-av upower usb v4l vhost vim-syntax vorbis webkit wmf wxwidgets x264 x265 xattr xcb xcomposite xft xml xmpp xpm xscreensaver xv xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev wacom" KERNEL="linux" L10N="it en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="fastcgi fancyindex echo dav gzip gzip_static memcached access auth_basic auth_pam perl rewrite upload upload_progress userid uwsgi xslt memc passenger scgi ssi auth_request cache_purge gunzip headers_more sub" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_5 python2_7" QEMU_SOFTMMU_TARGETS="i386 ppc ppc64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby23 ruby24" SANE_BACKENDS="mustek_usb" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPT
Comment 2 Michele Testa 2019-01-05 19:50:21 UTC
Created attachment 560036 [details, diff]
Patch fixing hivex-1.3.14.ebuild

as root:

> # cd /usr/portage/app-misc/hivex

download the proposed patch into current dir, then patch the ebuild and rebuild its manifest

> # patch hivex-1.3.14.ebuild < hivex-1.3.14.ebuild.patch
> # ebuild hivex-1.3.14.ebuild manifest

Now you can build ruby bindings

> # emerge -av app-misc/hivex
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-07 23:26:54 UTC
I think this may be intentional as the eclass functions are supposed to do it for us. Still an issue with the latest version?