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

Updated Gentoo conf path and binhost name #190

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

radarhere
Copy link
Member

Gentoo has started failing in main - https://github.com/python-pillow/docker-images/actions/runs/6477775709/job/17588504307

A line to append config to a file

RUN echo -e "[binhost]\npriority = 9999\nsync-uri = https://gentoo.osuosl.org/experimental/amd64/binpkg/default/linux/17.1/x86-64/\n" | cat >> /etc/portage/binrepos.conf

is causing https://github.com/python-pillow/docker-images/actions/runs/6477775709/job/17588504307#step:6:60

0.308 /bin/sh: line 1: /etc/portage/binrepos.conf: Is a directory

Looking inside that directory, I see

gentoobinhost.conf

However, just updating our conf path to this new location isn't sufficient - it produces a variety of "Invalid binary package" messages.

Getting the contents of the new conf file, I see

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consider using a local mirror.

[gentoobinhost]
priority = 1
sync-uri = https://gentoo.osuosl.org/releases/amd64/binpackages/17.1/x86-64

Our command uses 'binhost', this new conf file uses 'gentoobinhost'.

Updating both that name and the conf path resolves the problem.

@hugovk hugovk merged commit 77e0441 into python-pillow:main Oct 11, 2023
18 of 23 checks passed
@hugovk
Copy link
Member

hugovk commented Oct 11, 2023

Thanks!

@radarhere radarhere deleted the gentoo branch October 11, 2023 21:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants