Article View: linux.gentoo.user
Article #114Re: [gentoo-user] custom ebuild issues
From: Pocket
Date: Wed, 11 Nov 2026 21:30
Date: Wed, 11 Nov 2026 21:30
95 lines
4489 bytes
4489 bytes
On 11/11/26 15:39, Darren Kirby wrote:
> On Wednesday, 11 November 2026 12:10:33 MST Pocket wrote:
>> I am trying to create an ebuild for a rpi kernel
>>
>> I followed the handbook book and wiki on creating a custom repos, well I
>> think I did. I also did some searching using a search engine.
>>
>> Created the directory
>> /var/db/repos/pocket/linux-rpi
>>
>> then created an ebuild there
>> linux-rpi-6.18.50.ebuild
>>
>> emerge -pv linux-rpi
>>
>> These are the packages that would be merged, in order:
>>
>> Calculating dependencies ... done!
>> Dependency resolution took 3.50 s (backtrack: 0/20).
>>
>> emerge: there are no ebuilds to satisfy "linux-rpi".
>>
>> emerge: searching for similar names...
>> emerge: Maybe you meant any of these: dev-perl/Linux-Pid,
>> sci-libs/linux-gpib, sec-policy/selinux-rpm?
>>
>> What did I do incorrectly?
>>
>> Does any one have an ebuild that does noting so I can test my setup?
>
> It is not enough to simply make the directory and put an ebuild in it. You
> have to tell Portage about it.
>
> Read [0] and note the section on 'Manual creation'. You will also have to
> create a manifest file for your ebuild before Portage can do anything with it.
> The basic workflow is covered here [1].
>
> [0] https://wiki.gentoo.org/wiki/Handbook:AMD64/Portage/
> CustomTree#Defining_a_custom_ebuild_repository
> [1] https://wiki.gentoo.org/wiki/Basic_guide_to_write_Gentoo_Ebuilds
>
I did follow [0] and I have a script that does that.
manifest fails
linux-rpi-6.18.50.ebuild is skel.ebuild
ebuild linux-rpi-6.18.50.ebuild manifest
Appending /var/db/repos to PORTDIR_OVERLAY...
!!! Repository 'x-repos' is missing masters attribute in
'/var/db/repos/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
/var/db/repos/pocket/linux-rpi/linux-rpi-6.18.50.ebuild: line 75: syntax
error: unexpected end of file from `{' command on line 68
Messages for package pocket/linux-rpi-6.18.50::x-repos:
* ERROR: pocket/linux-rpi-6.18.50::x-repos failed (depend phase):
* error sourcing ebuild
*
* Call stack:
* ebuild.sh, line 693: Called die
* The specific snippet of code:
* source "${EBUILD}" || die "error sourcing ebuild"
*
* If you need support, post the output of `emerge --info
'=pocket/linux-rpi-6.18.50::x-repos'`,
* the complete build log and the output of `emerge -pqv
'=pocket/linux-rpi-6.18.50::x-repos'`.
* Working directory: '/usr/lib/python3.14/site-packages'
* S: '/var/tmp/portage/pocket/linux-rpi-6.18.50/work/linux-rpi-6.18.50'
emerge --info '=pocket/linux-rpi-6.18.50::x-repos'
emerge: there are no ebuilds to satisfy
"=pocket/linux-rpi-6.18.50::x-repos".
emerge: searching for similar names...
emerge: Maybe you meant any of these: sec-policy/selinux-rpm,
sec-policy/selinux-rpc, sec-policy/selinux-rpcbind?
emerge -pqv '=pocket/linux-rpi-6.18.50::x-repos'
emerge: there are no ebuilds to satisfy
"=pocket/linux-rpi-6.18.50::x-repos".
emerge: searching for similar names...
emerge: Maybe you meant any of these: sec-policy/selinux-rpm,
sec-policy/selinux-rpc, sec-policy/selinux-rpcbind?
--
Hindi madali ang maging ako
Technical Details
Message-ID:
<NYo3f-biCz-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NYn7b-bi6s-5@gated-at.bofh.it> <NYnqx-bieg-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Pocket <pocket@oldfart.online> Newsgroups: linux.gentoo.user Subject: Re: [gentoo-user] custom ebuild issues Date: Wed, 11 Nov 2026 22:30:01 +0100 Message-ID: <NYo3f-biCz-3@gated-at.bofh.it> References: <NYn7b-bi6s-5@gated-at.bofh.it> <NYnqx-bieg-11@gated-at.bofh.it> X-Original-To: gentoo-user@lists.gentoo.org List-ID: Gentoo Linux mail <gentoo-user.gentoo.org> Reply-To: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Envelope-From: pocket@oldfart.online Approved: robomod@news.nic.it Lines: 95 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 11 Nov 2026 16:28:20 -0500 X-Original-Message-ID: <8f1cd73a-c9c6-4d60-85a4-297aa7db84d9@oldfart.online> X-Original-References: <12e9698d-1818-4568-aeba-579a893c761a@oldfart.online> <R5CYfkMjQIC-SJgEexO0Cw@dragonbyte.ca>