Error 403 while following "Guide to building customised Flatcar images"

37 views
Skip to first unread message

Thiago Yussuki Uehara

unread,
Nov 5, 2021, 2:01:18 PM11/5/21
to Flatcar Container Linux User
Following "Guide to building customised Flatcar images", received numerous ERROR 403 after executing the command: ./setup_board --default --board=amd64-usr.
Is there any configuration I need to set before following this guide? 

Thanks for the help.

Jeremi Piotrowski

unread,
Nov 8, 2021, 5:19:53 AM11/8/21
to Thiago Yussuki Uehara, flatcar-l...@googlegroups.com

Hi Thiago,

 

I’ve opened a PR on the docs repository to update the instructions due to recent hosting changes (https://github.com/flatcar-linux/flatcar-docs/pull/184).

 

Which release are you trying to build? Please ensure you’re using cork 0.17.0 (check with cork version) and check that the release you are targeting is present on the new mirror (http://mirror.release.flatcar-linux.net/sdk/amd64/). Only the first part of the version (e.g 2905) needs to match.

 

If that doesn’t work, then please give me some way to reproduce what you’re seeing, some specific commands would help.

 

Jeremi

 

From: 'Thiago Yussuki Uehara' via Flatcar Container Linux User <flatcar-l...@googlegroups.com>
Sent: Friday, November 5, 2021 19:01
To: Flatcar Container Linux User <flatcar-l...@googlegroups.com>
Subject: [EXTERNAL] [flatcar-user] Error 403 while following "Guide to building customised Flatcar images"

 

Following "Guide to building customised Flatcar images", received numerous ERROR 403 after executing the command: ./setup_board --default --board=amd64-usr.

Is there any configuration I need to set before following this guide? 

 

Thanks for the help.

--
You received this message because you are subscribed to the Google Groups "Flatcar Container Linux User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flatcar-linux-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flatcar-linux-user/d676957a-f621-4239-8077-9bcc4e06fc55n%40googlegroups.com.

Thiago Yussuki Uehara

unread,
Nov 8, 2021, 3:30:23 PM11/8/21
to Flatcar Container Linux User
Hello Jeremi, 

Thank you for the fast reply. Unfortunately, I still found some problems following the guide. 
The cork version I'm using is 0.17.0 and the release is 3033.0.0.
I could create the chroot without any issues and access it using: cork create --verbose --manifest-branch flatcar-alpha-3033.0.0 and cork enter.

But when I executed ./setup_board --default --board=amd64-usr, I received some "setlocale: unsupported locale setting" and another error that I'll add to an attachment because it's big.
The error says to install the unsymlink-lib, so I got this package using the "Add (or update) a package" section from the guide, but this package requires python3.8 or 3.9. I tried to update python getting it from the same repo I got the unsymlink-lib copying the .ebuild to the SDK and adding the 3.9 lines from the Manifest to the Manifest inside the SDK python too, but after using the emerge to install python, it still gets python 2.7 and 3.6.5. How can I update the python to install the tool required? 
Big error

Jeremi Piotrowski

unread,
Nov 9, 2021, 12:53:55 PM11/9/21
to Flatcar Container Linux User
You can ignore the "setlocale: unsupported locale setting" message: the SDK chroot does not handle locales.

As for the second message, which I'll summarize as:

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1/no-multilib/hardened

you have to ignore that one as well. That message is specific to Gentoo, Flatcar is still on the 17.0 profile. So don't follow what it says, you're bound to run into trouble. As long as './setup_board' succeeds, you can use the SDK. Success looks like this at the end:

INFO    setup_board: Elapsed time (setup_board): 1m59s
INFO    setup_board: The SYSROOT is: /build/amd64-usr

If that's not what you see, I suggest pasting a complete log of the output.

Upgrading python is a rather involved thing, and if you want to build Flatcar images I would avoid touching python. Python is used throughout the SDK but is not part of the image itself. 

Thiago Yussuki Uehara

unread,
Nov 10, 2021, 1:05:56 PM11/10/21
to Flatcar Container Linux User
Thank you, I was able to build a 2983.2.0 image using the guide with no more issues.
Reply all
Reply to author
Forward
0 new messages