Thread View: linux.gentoo.user
13 messages
13 total messages
Started by Pocket
Wed, 11 Nov 2026 20:30
[gentoo-user] custom ebuild issues
Author: Pocket
Date: Wed, 11 Nov 2026 20:30
Date: Wed, 11 Nov 2026 20:30
31 lines
1930 bytes
1930 bytes
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? -- Hindi madali ang maging ako
Re: [gentoo-user] custom ebuild issues
Author: Darren Kirby
Date: Wed, 11 Nov 2026 20:50
Date: Wed, 11 Nov 2026 20:50
74 lines
4419 bytes
4419 bytes
--nextPart-QOWs36UTsa6d81-H-SwrQ Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Darren Kirby <darren@dragonbyte.ca> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] custom ebuild issues Date: Wed, 11 Nov 2026 13:39:46 -0700 Message-ID: <R5CYfkMjQIC-SJgEexO0Cw@dragonbyte.ca> In-Reply-To: <12e9698d-1818-4568-aeba-579a893c761a@oldfart.online> References: <12e9698d-1818-4568-aeba-579a893c761a@oldfart.online> MIME-Version: 1.0 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 --nextPart-QOWs36UTsa6d81-H-SwrQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQHPBAABCAA5FiEE1402jAdqhwYiTHMAIEFTe6YbkTsFAmr00pIbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyAAoJECBBU3umG5E7JpYMAJUpfs+h4vEH45sDW+zW YNLsSIBdXJxUhXJ8BdiWLwYDf7ge77WNW829P0ETxUkxNriIB9K3qMFpvksz01Nn TEdo8KUEx0eKtlqi1qol2Wg3ElCxwuJvIMDySqkT9K33jKL4d2PPLgxE7IZAtIkZ 7x6L4GnkuOJRzkUajY7KZG65pqAz8wQpWXy64fYHxlQvr7H4D83MlvPyvsc5zHFM 19t/htz1/fR6lI4jLyE6GIzA4NFES2G6DZTM4Nd17AtwhBCDsFeK40TqV8F2ELcs zMQNt8zAdI8RxJmDxIj5NGW66R6/hXCnjh3mjx24+VE7KzEAV28lYqyxVRRJvhVg eQuevlJ/U93RfbqJc650VY0Ah7dyRoLIyboTldnY+/n1xxkbRoyzCb1ILv6UnUe2 tYNZ3BsSzPGqNhLRtxm+8zXXhi/de7Tpb1KryAkfVQjWbQFfF9ge5qTy0okowPiE CSFRfopfEt7v+mjE7euHdFoHkSJZz0BZUbydvCDkCM6Y4w== =QwrC -----END PGP SIGNATURE----- --nextPart-QOWs36UTsa6d81-H-SwrQ--
Re: [gentoo-user] custom ebuild issues
Author: 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
Re: [gentoo-user] custom ebuild issues
Author: Nils Freydank
Date: Wed, 11 Nov 2026 22:20
Date: Wed, 11 Nov 2026 22:20
49 lines
2914 bytes
2914 bytes
--nextPart3EqCqqPtRWe5Ka64LPNMBQ Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Nils Freydank <nils.freydank@posteo.de> To: gentoo-user@lists.gentoo.org Reply-To: nils.freydank@posteo.de Subject: Re: [gentoo-user] custom ebuild issues Date: Wed, 11 Nov 2026 23:08:31 +0100 Message-ID: <0t6JGN-nQ6WCWdljdepBoQ@posteo.de> Disposition-Notification-To: nils.freydank@posteo.de In-Reply-To: <R5CYfkMjQIC-SJgEexO0Cw@dragonbyte.ca> MIME-Version: 1.0 Hi, > > Does any one have an ebuild that does noting so I can test my setup? Just take one from any overlay - or from the main tree. I tend to abuse sys- process/htop for quick "will it build properly" kind of test, e.g. when playing with exotic flags. > It is not enough to simply make the directory and put an ebuild in it. You > have to tell Portage about it. > [...] And you will (most probably) need a category, e.g. sys-kernel: /var/db/repos/pocket/sys-kernel/linux-rpi best regards, Nils --nextPart3EqCqqPtRWe5Ka64LPNMBQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iPEEABYKAJkWIQTgmjCviHEzQ7wFgdAPHeqy02rREgUCavTnXxsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMiwyLDJfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMu b3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUwOUEzMEFGODg3MTMzNDNCQzA1ODFE MDBGMURFQUIyRDM2QUQxMTIACgkQDx3qstNq0RLU2gD/fbbD+rNeEHztGJeMWInp kLCOUXhWm51g3nd8VBKCUCUBANa5qxZXpJB9jUqOhrYEuptmtE7v55ZWrgNUJyoF g0QF =w1e1 -----END PGP SIGNATURE----- --nextPart3EqCqqPtRWe5Ka64LPNMBQ--
Re: [gentoo-user] custom ebuild issues
Author: Alexis
Date: Wed, 11 Nov 2026 22:30
Date: Wed, 11 Nov 2026 22:30
29 lines
3009 bytes
3009 bytes
Pocket <pocket@oldfart.online> writes:
> 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
This is telling you things you need to fix:
* You need to add a `masters` attribute for your custom repo.
* There is a syntax error in the ebuild, possibly involving an
unclosed/unbalanced left-brace.
Error messages often provide details that can point to the problem
(directly or indirectly).
Alexis.
Re: [gentoo-user] custom ebuild issues
Author: Darren Kirby
Date: Wed, 11 Nov 2026 22:40
Date: Wed, 11 Nov 2026 22:40
142 lines
6822 bytes
6822 bytes
--nextParttjmmF4iCSAWPXzKeEfJJyA
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Darren Kirby <darren@dragonbyte.ca>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] custom ebuild issues
Date: Wed, 11 Nov 2026 15:31:05 -0700
Message-ID: <NkCdn_rFQn-qtGbB0ayztw@dragonbyte.ca>
In-Reply-To: <8f1cd73a-c9c6-4d60-85a4-297aa7db84d9@oldfart.online>
MIME-Version: 1.0
On Wednesday, 11 November 2026 14:28:20 MST Pocket wrote:
> >>
> >> /var/db/repos/pocket/linux-rpi
> >>
> >> then created an ebuild there
> >>
> >> linux-rpi-6.18.50.ebuild
Apologies, I missed this the first time.
I think to use a 'non standard' category you need to register it in /etc/
portage/categories. So you would edit or create that file and put 'linux-rpi'
in there. Or it may be easier to just find a suitable existing category (say,
sys-kernel), make a directory with that name in your repo, and put the ebuild
in there.
s
>
> I did follow [0] and I have a script that does that.
>
> manifest fails
>
> linux-rpi-6.18.50.ebuild is skel.ebuild
Have you changed anything in skel.ebuild other than the name? I expect it
won't manifest without at least the SRC_URI variable being set correctly, if
not others. It needs to create a digest for the source package.
Typically, you would use the 'ebuild' command to test each step of the build
rather than going straight to emerge.
> ebuild linux-rpi-6.18.50.ebuild manifest
> Appending /var/db/repos to PORTDIR_OVERLAY...
This is suspicious. It should be
/var/db/repos/<repo name>
which is 'pocket' according to what you've posted.
Do you have a /etc/portage/repos.conf file? Or is it a directory with
/etc/portage/repos.conf/pocket.conf in it? What's in these files?
> !!! 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:
This is way off. This means portage thinks that the repository is 'x-repos',
the category is 'pocket', and the package is 'linux-rpi'. Only one of those
matches what you've posted. Better double check your script and repo config.
Also, there's a syntax error in the ebuild file. Maybe missing a fi or }
> * 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?
I would:
1. Make sure /etc/portage/repos.conf/pocket.conf points to /var/db/repos/
pocket.
2. Make sure /var/db/repos/pocket/metadata/layout.conf contains masters =
gentoo.
3. Add linux-rpi to /etc/portage/categories.
4. Fix the shell syntax error in the ebuild.
Then try:
ebuild /var/db/repos/pocket/linux-rpi/linux-rpi-6.18.50.ebuild manifest
After that's working, then try discoverability with emerge...
Run:
--nextParttjmmF4iCSAWPXzKeEfJJyA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit
-----BEGIN PGP SIGNATURE-----
iQHPBAABCAA5FiEE1402jAdqhwYiTHMAIEFTe6YbkTsFAmr07KkbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJECBBU3umG5E73T8L/36kTsKSKdUTzXng/PBh
cXV3D1pr0IoJSZRbfYS1SzqYya+3QAPSfMTQ4q/YepnRN5663nXMFtJg4mwIn7WI
fen7c78kMP7c++O6FygovKUF4fuAYqg5JnSm8NNkAaQ8CU8wfD/x7UPHZ34/ngRQ
rPpMO+hK5NCSNX8Uy/BcmGBBeYxFqqgYj8tVaZb1LgX/S2T7q7apbcp4pMaihJrp
5G3aAmeZHy+f3upYk+DOiY+yDHaT+7Ct8Sdj7zp/AL6RBXYnjk7Rmm29NcoWpN0u
r/Bg2E64ywDdGDOD1w04egVE9PFleC7FF0MWSlq/t8NxEnQAmDo0Y70vcMCrrzF0
y51Y1eze6JoW+iRIeYrhiag+pHxQDMxvpaR7la83O96mXmRwzDFk7b5x5DjzBbqV
zCUA6o9oLnR6T6IPV5UOSJ9y+5Or3G5ZDia7sTeEmzxfkbyqEm2IY4eqA7pfyyzF
RTtR53dOfpc3wb3CwtS6gmiIzeHCaIVYOl+b54naRLwFuA==
=hqsm
-----END PGP SIGNATURE-----
--nextParttjmmF4iCSAWPXzKeEfJJyA--
Re: [gentoo-user] custom ebuild issues
Author: Pocket
Date: Thu, 12 Nov 2026 00:10
Date: Thu, 12 Nov 2026 00:10
183 lines
6493 bytes
6493 bytes
On 11/11/26 17:31, Darren Kirby wrote:
> On Wednesday, 11 November 2026 14:28:20 MST Pocket wrote:
>>>>
>>>> /var/db/repos/pocket/linux-rpi
>>>>
>>>> then created an ebuild there
>>>>
>>>> linux-rpi-6.18.50.ebuild
>
>
> Apologies, I missed this the first time.
>
> I think to use a 'non standard' category you need to register it in /etc/
> portage/categories. So you would edit or create that file and put 'linux-rpi'
> in there. Or it may be easier to just find a suitable existing category (say,
> sys-kernel), make a directory with that name in your repo, and put the ebuild
> in there.
>
Don't have that file
ls -1 /etc/portage/
binrepos.conf
make.conf
make.profile
package.accept_keywords
package.license
package.mask
package.use
profile
repos.conf
> s
>>
>> I did follow [0] and I have a script that does that.
>>
>> manifest fails
>>
>> linux-rpi-6.18.50.ebuild is skel.ebuild
>
> Have you changed anything in skel.ebuild other than the name? I expect it
> won't manifest without at least the SRC_URI variable being set correctly, if
> not others. It needs to create a digest for the source package.
>
I did do this
SRC_URI="https://github.com/raspberrypi/linux/archive/refs/tags/stable_20260911.tar.gz
-> linux-stable_20260911.tar.gz"
> Typically, you would use the 'ebuild' command to test each step of the build
> rather than going straight to emerge.
>
>
Ok I'll have to read up on ebuild
>> ebuild linux-rpi-6.18.50.ebuild manifest
>> Appending /var/db/repos to PORTDIR_OVERLAY...
>
> This is suspicious. It should be
>
> /var/db/repos/<repo name>
>
> which is 'pocket' according to what you've posted.
ls -1 /var/db/repos/pocket
linux-rpi
metadata
profiles
>
> Do you have a /etc/portage/repos.conf file? Or is it a directory with
> /etc/portage/repos.conf/pocket.conf in it? What's in these files?
>
ls -1 /etc/portage/repos.conf/
eselect-repo.conf
pocket.conf
cat /etc/portage/repos.conf/pocket.conf
[pocket]
location = /var/db/repos/pocket
>
>> !!! 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:
>
> This is way off. This means portage thinks that the repository is 'x-repos',
> the category is 'pocket', and the package is 'linux-rpi'. Only one of those
> matches what you've posted. Better double check your script and repo config.
>
Will have to research this more as I don't know what is means
> Also, there's a syntax error in the ebuild file. Maybe missing a fi or }
Yes it was missing the } in then src_install function
>
>
>> * 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?
>
> I would:
>
> 1. Make sure /etc/portage/repos.conf/pocket.conf points to /var/db/repos/
> pocket.
It does
> 2. Make sure /var/db/repos/pocket/metadata/layout.conf contains masters =
> gentoo.
cat /var/db/repos/pocket/metadata/layout.conf
masters = gentoo
thin-manifests = true
sign-manifests = false
> 3. Add linux-rpi to /etc/portage/categories.
That file is missing
> 4. Fix the shell syntax error in the ebuild.
>
> Then try:
>
> ebuild /var/db/repos/pocket/linux-rpi/linux-rpi-6.18.50.ebuild manifest
>
> After that's working, then try discoverability with emerge...
>
> Run:
I am gonna create an ebuild file linux-rpi-6.18.50.ebuild that does
nothing and see if I can get that to work
Thanks
--
Hindi madali ang maging ako
Re: [gentoo-user] custom ebuild issues
Author: Pocket
Date: Thu, 12 Nov 2026 00:10
Date: Thu, 12 Nov 2026 00:10
40 lines
2505 bytes
2505 bytes
On 11/11/26 17:28, Alexis wrote:
> Pocket <pocket@oldfart.online> writes:
>
>> 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
>
> This is telling you things you need to fix:
>
> * You need to add a `masters` attribute for your custom repo.
>
> * There is a syntax error in the ebuild, possibly involving an
> unclosed/unbalanced left-brace.
Yes the src_install() was missing the closing }
>
> Error messages often provide details that can point to the problem
> (directly or indirectly).
Yes, I just don't know what it is telling me.
>
> Alexis.
>
--
Hindi madali ang maging ako
Re: [gentoo-user] custom ebuild issues
Author: Pocket
Date: Thu, 12 Nov 2026 00:20
Date: Thu, 12 Nov 2026 00:20
28 lines
2030 bytes
2030 bytes
On 11/11/26 17:08, Nils Freydank wrote: > Hi, > >>> Does any one have an ebuild that does noting so I can test my setup? > Just take one from any overlay - or from the main tree. I tend to abuse sys- > process/htop for quick "will it build properly" kind of test, e.g. when > playing with exotic flags. > > >> It is not enough to simply make the directory and put an ebuild in it. You >> have to tell Portage about it. >> [...] > > And you will (most probably) need a category, e.g. sys-kernel: > /var/db/repos/pocket/sys-kernel/linux-rpi > I will have to look that up. I have no category in /etc/portage > best regards, > Nils > -- Hindi madali ang maging ako
Re: [gentoo-user] custom ebuild issues
Author: Darren Kirby
Date: Thu, 12 Nov 2026 00:30
Date: Thu, 12 Nov 2026 00:30
53 lines
3644 bytes
3644 bytes
--nextPartqrmvAtjITkG_bIXsei9qMg Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Darren Kirby <darren@dragonbyte.ca> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] custom ebuild issues Date: Wed, 11 Nov 2026 17:24:15 -0700 Message-ID: <nPc3dsz4SNmd-esZrn3ipw@dragonbyte.ca> In-Reply-To: <99bd61bc-eddb-4ef1-9be1-9b388df343d0@oldfart.online> MIME-Version: 1.0 On Wednesday, 11 November 2026 17:05:32 MST Pocket wrote: > > > 3. Add linux-rpi to /etc/portage/categories. > > That file is missing > Oof, apologies again, my reading comprehension is not great today. I got confused and thought you were trying to make a custom category for your ebuild, but the issue is that you have none at all. Just do: mkdir -p /var/db/repos/pocket/sys-kernel/linux-rpi/ and put your ebuild file in there. Then no other changes should be necessary configuration wise, just a matter of getting the ebuild script itself to work. --nextPartqrmvAtjITkG_bIXsei9qMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQHPBAABCAA5FiEE1402jAdqhwYiTHMAIEFTe6YbkTsFAmr1By8bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyAAoJECBBU3umG5E7dyML/ixpmnFB9jhm5MDrFPjJ FCH/A755eaCcm4eMwZoqhKGSU7j4bxpbdarF/wqT8YU8KLArlEltpm1l005JeR+5 EsyPnP7Ta6O6UWwFRTXexfvij5G6rahqRd4NOwkwMF5zcSGVH6TI4mxSzICak+2t viLVsVkip3U0ABm0OoJG4JKOfF7fNJHK8A1zQcRDurKwp4tow5bzc+cy65w+VcE9 vhulDYQqyBt+bod57Y5yHOGhiLysWilTYPa8S485om2+PJTB04qdtIm2EeDXWnau a8ayJ7r6lZJAsrsK9OiDxK+8vJfqDzcYfgN4pjGNTa8QlLWDIxAULJYRTixfqQ5u QWFHJbZUOWWHrhsqkVZhBb6zCvTs9v++J4aBiULEgrDqzTu5v0AwRQOXqfLd+ncz 3ofWCOiwtJyz/swe1/C1ybSsZiumPMvDUat6YhKhQhiANz3qzB8xtmqOxYyxq7Ba SC3WLB6DFLRd8HHT8yRw4siDNy969M5X1gq3s6mDO4pjog== =r8G2 -----END PGP SIGNATURE----- --nextPartqrmvAtjITkG_bIXsei9qMg--
Re: [gentoo-user] custom ebuild issues
Author: Pocket
Date: Thu, 12 Nov 2026 00:40
Date: Thu, 12 Nov 2026 00:40
55 lines
2943 bytes
2943 bytes
On 11/11/26 19:24, Darren Kirby wrote: > On Wednesday, 11 November 2026 17:05:32 MST Pocket wrote: > >> >>> 3. Add linux-rpi to /etc/portage/categories. >> >> That file is missing >> > > Oof, apologies again, my reading comprehension is not great today. > > I got confused and thought you were trying to make a custom category for your > ebuild, but the issue is that you have none at all. > > Just do: > > mkdir -p /var/db/repos/pocket/sys-kernel/linux-rpi/ > > and put your ebuild file in there. Then no other changes should be necessary > configuration wise, just a matter of getting the ebuild script itself to work. > I was trying to create an ebuild repo then add an ebuild file to it. I always try to do things in steps, checking as I go before going to the next step This is my latest try after following your post emerge sys-kernel/linux-rpi Calculating dependencies ... done! Dependency resolution took 4.57 s (backtrack: 0/20). !!! All ebuilds that could satisfy "sys-kernel/linux-rpi" have been masked. !!! One of the following masked packages is required to complete your request: - sys-kernel/linux-rpi-6.18.50::pocket (masked by: raspberrypi-videocore-bin license(s), ~arm64 keyword) A copy of the 'raspberrypi-videocore-bin' license is located at '/var/db/repos/gentoo/licenses/raspberrypi-videocore-bin'. For more information, see the MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. Things are looking up Thanks -- Hindi madali ang maging ako
Re: [gentoo-user] custom ebuild issues
Author: Darren Kirby
Date: Thu, 12 Nov 2026 01:00
Date: Thu, 12 Nov 2026 01:00
68 lines
4192 bytes
4192 bytes
--nextPart_rL8ugVTS8eDs505Shn_-w Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Darren Kirby <darren@dragonbyte.ca> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] custom ebuild issues Date: Wed, 11 Nov 2026 17:50:24 -0700 Message-ID: <7HwZngv4R8alytWV5W_USw@dragonbyte.ca> In-Reply-To: <927fb810-bd1f-45c1-a06b-f35714a23d61@oldfart.online> MIME-Version: 1.0 On Wednesday, 11 November 2026 17:32:38 MST Pocket wrote: > > This is my latest try after following your post > > emerge sys-kernel/linux-rpi > Calculating dependencies ... done! > Dependency resolution took 4.57 s (backtrack: 0/20). > > > !!! All ebuilds that could satisfy "sys-kernel/linux-rpi" have been masked. > !!! One of the following masked packages is required to complete your > request: > - sys-kernel/linux-rpi-6.18.50::pocket (masked by: > raspberrypi-videocore-bin license(s), ~arm64 keyword) > A copy of the 'raspberrypi-videocore-bin' license is located at > '/var/db/repos/gentoo/licenses/raspberrypi-videocore-bin'. > > > For more information, see the MASKED PACKAGES section in the emerge > man page or refer to the Gentoo Handbook. > > Things are looking up > > Thanks Yup, that's great. That means that Portage is finding it just fine! All new ebuilds are keyworded ~amd64 by default, so just unmask it in /etc/ portage/package.accept_keywords/ like you would any other unstable package... Or, to just quickly test: ACCEPT_KEYWORDS="~amd64" emerge -pv sys-kernel/linux-rpi --nextPart_rL8ugVTS8eDs505Shn_-w Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQHPBAABCAA5FiEE1402jAdqhwYiTHMAIEFTe6YbkTsFAmr1DVAbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMiwyAAoJECBBU3umG5E7d/kL/2EsZCKHTgdLsJr43mJu 28Dvg3t1kTMUg5QyvfQnQLkMeGHVN8tCRlkQL7RYXnWjFK4qZt92qefwaZoTyYN0 C2Vt28oJeqRQfAFqnbRrdA2+pQfInigWA/irZmdYnBFMRR0ek2hv4K2Rn7C1tiKZ hOs+4rufT9pmMq58QMwkc9fodYQD8BB0pus6gfKMi/Kc0B1aPSOwV0IaPa0IgPLa 7sM0yfRPh3yGyQXe+CbmAcPUY0A7We/7OWPEO2/lXePLi3JJJMi0FUkowO+Ppwtt bDFArGVVbHJ8JuA0sZM4K9LDu/prini8wYk50ucL/ErkYaRXNhJtrMd4rYLQ9RF8 6/COITKauCig1CMxGZY9odAj/JbzznhyjRJGxSjaFRtkra2eZx9npz7Ad6hHd1wS BhFoN5JG0SAq8GiWuPnJTVU2YFnBc8Ufw6qEymaxusMkO2aDKvdnsMLxK0D9WyBB YVHlp3nb9BPDGOXZzvPYOd0MFI+Y7uAWIFtLgAEwJu4Z1w== =+o1H -----END PGP SIGNATURE----- --nextPart_rL8ugVTS8eDs505Shn_-w--
Re: [gentoo-user] custom ebuild issues
Author: Pocket
Date: Thu, 12 Nov 2026 01:10
Date: Thu, 12 Nov 2026 01:10
53 lines
2885 bytes
2885 bytes
On 11/11/26 19:50, Darren Kirby wrote: > On Wednesday, 11 November 2026 17:32:38 MST Pocket wrote: > >> >> This is my latest try after following your post >> >> emerge sys-kernel/linux-rpi >> Calculating dependencies ... done! >> Dependency resolution took 4.57 s (backtrack: 0/20). >> >> >> !!! All ebuilds that could satisfy "sys-kernel/linux-rpi" have been masked. >> !!! One of the following masked packages is required to complete your >> request: >> - sys-kernel/linux-rpi-6.18.50::pocket (masked by: >> raspberrypi-videocore-bin license(s), ~arm64 keyword) >> A copy of the 'raspberrypi-videocore-bin' license is located at >> '/var/db/repos/gentoo/licenses/raspberrypi-videocore-bin'. >> >> >> For more information, see the MASKED PACKAGES section in the emerge >> man page or refer to the Gentoo Handbook. >> >> Things are looking up >> >> Thanks > > Yup, that's great. That means that Portage is finding it just fine! > > All new ebuilds are keyworded ~amd64 by default, so just unmask it in /etc/ > portage/package.accept_keywords/ like you would any other unstable package... > > Or, to just quickly test: > > ACCEPT_KEYWORDS="~amd64" emerge -pv sys-kernel/linux-rpi > Now I need to de-flea the ebuild. 1. ebuild linux-rpi-6.18.50.ebuild fetch 2. ebuild linux-rpi-6.18.50.ebuild prepare 3. ebuild linux-rpi-6.18.50.ebuild compile 4. ebuild linux-rpi-6.18.50.ebuild install Or something like that -- Hindi madali ang maging ako
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads