Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943050 - dev-lang/ruby-3.2.5-r1 Build Failure - IUSE Flag
Summary: dev-lang/ruby-3.2.5-r1 Build Failure - IUSE Flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 943126 943136 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-09 08:12 UTC by Scott Furry
Modified: 2024-11-09 13:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Furry 2024-11-09 08:12:39 UTC
Update of system included new ebuild of dev-lang/ruby. Ebuild ruby-3.2.5-r1 would consistently fail and would cause subsequent package builds (i.e. dev-lang/maturin) to also fail.

Reported error by emerge states 'ipv6' not in IUSE. This is confusing as flag is not stated in make.conf or elsewhere in portage. Local package build has no IUSE flags enabled. Source of 'ipv6' for ruby is unknown.

Reproducible: Always




emerge error
-----
                                           Load avg: 15.1, 15.9, 15.3
 * Package:    dev-lang/ruby-3.2.5-r1:3.2
 * Repository: gentoo
 * Maintainer: ruby@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc gdbm kernel_linux ssl
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking ruby-3.2.5.tar.xz to /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work
>>> Source unpacked in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work
>>> Preparing source in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5 ...
 * Applying 010-default-gem-location.patch ...                                                                                                 [ ok ]
 * Applying 011-arm64-branch-protection.patch ...                                                                                              [ ok ]
 * Applying 013-test-rlimit-constants.patch ...
patching file spec/ruby/core/process/constants_spec.rb
Hunk #1 succeeded at 2 with fuzz 1.                                                                                                            [ ok ]
 * Applying 902-hppa-pthread-stack-size.patch ...                                                                                              [ ok ]
 * Unbundling gems...
 * Running eautoreconf in '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5' ...
 * Running 'autoconf --force' ...                                                                                                              [ ok ]
 * Running elibtoolize in: ruby-3.2.5/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5 ...
 * ERROR: dev-lang/ruby-3.2.5-r1::gentoo failed (configure phase):
 *   USE Flag 'ipv6' not in IUSE for dev-lang/ruby-3.2.5-r1
 * 
 * Call stack:
 *          ebuild.sh, line  136:  Called src_configure
 *        environment, line 2317:  Called use 'ipv6'
 *   phase-helpers.sh, line  256:  Called die
 * The specific snippet of code:
 *   				die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}"
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/ruby-3.2.5-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/ruby-3.2.5-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-lang/ruby-3.2.5-r1:20241109-075951.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
 * S: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
-----
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 08:17:39 UTC
commit 15c0330e55d13576e929bbb36f2bb699bb4ca36e (HEAD -> master, origin/master, origin/HEAD)
Author: Matt Jolly <kangie@gentoo.org>
Date:   Sat Nov 9 18:11:11 2024 +1000

    dev-lang/ruby: finish dropping USE ipv6

    The IUSE was accidentally dropped during package QA tidyup.
    Instead of restoring it we will drop it as superfluous;
    the fix it applies should not hurt anything and is now
    unconditional.

    Signed-off-by: Matt Jolly <kangie@gentoo.org>
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 11:00:32 UTC
*** Bug 943126 has been marked as a duplicate of this bug. ***
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 13:45:21 UTC
*** Bug 943136 has been marked as a duplicate of this bug. ***