Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gentoo-java failed through missing USE=-introspection -gtk in Dockerfile.template #3

Open
j0inty opened this issue Oct 19, 2015 · 1 comment

Comments

@j0inty
Copy link

j0inty commented Oct 19, 2015

Hi,

I ran into an error while building the gentoo-java image.

I added the USE flags -gtk and -introspection to the Dockerfile.template and the build process started. ;)

NAMESPACE=j0inty DATE=20151015 ./build.sh build

Removing intermediate container 05fa442c3715
Step 3 : RUN emerge -v dev-java/icedtea-bin
 ---> Running in 2067b814263f

These are the packages that would be merged, in order:

Calculating dependencies  ... done!

!!! The ebuild selected to satisfy ">=dev-libs/gobject-introspection-1.31.0" has unmet requirements.
- dev-libs/gobject-introspection-1.44.0::gentoo USE="-cairo -doctool -test" ABI_X86="64" PYTHON_TARGETS="-python2_7"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python_targets_python2_7

  The above constraints are a subset of the following complete expression:
    python_targets_python2_7 test? ( cairo )

(dependency required by "gnome-base/gsettings-desktop-schemas-3.16.1::gentoo[introspection]" [ebuild])
(dependency required by "dev-java/icedtea-bin-7.2.6.1::gentoo" [ebuild])
(dependency required by "dev-java/icedtea-bin" [argument])
The command '/bin/sh -c emerge -v dev-java/icedtea-bin' returned a non-zero code: 1
failed to build gentoo-java
@wking
Copy link
Owner

wking commented Oct 19, 2015

On Sun, Oct 18, 2015 at 07:06:52PM -0700, Steffen Stollfuß wrote:

The following REQUIRED_USE flag constraints are unsatisfied:
python_targets_python2_7

Everything in my tree after gentoo-python is Python-3-only. If you
want to keep Python 2, just adjust gentoo-utc to skip that layer:

FROM ${NAMESPACE}/gentoo-portage:${TAG}

(dependency required by "gnome-base/gsettings-desktop-schemas-3.16.1::gentoo[introspection]" [ebuild])
(dependency required by "dev-java/icedtea-bin-7.2.6.1::gentoo" [ebuild])

It looks like there is interest in putting this GUI-only dependency
behind a use flag 1. Until then (if you don't need the GUI), I'd
probably just sed the ebuild to remove that dependency.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants