Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to create a custom ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Anard
n00b
n00b


Joined: 01 Oct 2020
Posts: 55

PostPosted: Mon Nov 23, 2020 9:24 am    Post subject: Trying to create a custom ebuild Reply with quote

Hi.
I'm trying to create an ebuild for Dpluzz.

Sure I've multiple mistakes for this moment :lol:
I created a git overlay for this and
Code:
# cp /var/db/repos/gentoo/skel.ebuild /var/db/repos/anard/net-misc/dpluzz-cli/dpluzz-cli.ebuild

But when trying to emerge dpluzz-cli, I've this error :
Code:
anard@gentoo-imack /var/db/repos/anard $ emerge -pv dpluzz-cli

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

Calculating dependencies |
Invalid ebuild name: /var/db/repos/anard/net-misc/dpluzz-cli/dpluzz-cli.ebuild
... done!

emerge: there are no ebuilds to satisfy "dpluzz-cli".

emerge: searching for similar names... nothing similar found.
anard@gentoo-imack /var/db/repos/anard $


What did I forgot and how to resolve it ?
Thx.

Here is my current ebuild https://dpaste.com/GL6NKXLND
And overlay is here : https://github.com/Anard/anard-overlay.git
_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, SSD 256+128Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP Pavilion DV3500, Intel T6400, 4Go, NVidia 9300M, HDD 256Go / Grub2 - Gentoo-Xfce


Last edited by Anard on Mon Nov 23, 2020 9:32 am; edited 1 time in total
Back to top
View user's profile Send private message
grumblebear
Apprentice
Apprentice


Joined: 26 Feb 2008
Posts: 189

PostPosted: Mon Nov 23, 2020 9:30 am    Post subject: Reply with quote

Missing version in the ebuild name?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25151
Location: here

PostPosted: Mon Nov 23, 2020 9:32 am    Post subject: Reply with quote

Run also repoman in ebuild directory that tell you if there are errors.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Anard
n00b
n00b


Joined: 01 Oct 2020
Posts: 55

PostPosted: Mon Nov 23, 2020 10:24 am    Post subject: Reply with quote

OK Thanks,

I added version in ebuild name and created manifest via
Code:
sudo repoman manifest
, but now repoman still complains because of no metadata.xml files...
How can I create these files (whatis it's syntax) ?

Code:
anard@gentoo-imack /var/db/repos/anard $ repoman

RepoMan scours the neighborhood...
  ebuild.minorsyn               8
   dev-libs/uni2ascii/uni2ascii-4.18.ebuild: line 16: Useless blank line
   dev-libs/uni2ascii/uni2ascii-4.18.ebuild: line 41: Useless blank line
   dev-libs/uni2ascii/uni2ascii-4.18.ebuild: line 87: Useless blank line
   dev-libs/uni2ascii/uni2ascii-4.18.ebuild: line 107: Useless blank line
   net-misc/dpluzz-cli/dpluzz-cli-1.5.6.ebuild: line 16: Useless blank line
   net-misc/dpluzz-cli/dpluzz-cli-1.5.6.ebuild: line 41: Useless blank line
   net-misc/dpluzz-cli/dpluzz-cli-1.5.6.ebuild: line 87: Useless blank line
   net-misc/dpluzz-cli/dpluzz-cli-1.5.6.ebuild: line 108: Useless blank line
  ebuild.notadded               2
   dev-libs/uni2ascii/uni2ascii-4.18.ebuild
   net-misc/dpluzz-cli/dpluzz-cli-1.5.6.ebuild
  metadata.missing [fatal]      2
   dev-libs/uni2ascii/metadata.xml
   net-misc/dpluzz-cli/metadata.xml

Note: use --include-dev (-d) to check dependencies for 'dev' profiles

Please fix these important QA issues first.
RepoMan sez: "Make your QA payment on time and you'll never see the likes of me."

anard@gentoo-imack /var/db/repos/anard $

_________________
"iMack" : GA-H97M-D3H, Intel i5 4460, 16Go DDR3, Intel HD4600, SSD 256+128Go, HDD 500Go+2To / Clover - macOS Mojave / Gentoo-Xfce
"Portable" : HP Pavilion DV3500, Intel T6400, 4Go, NVidia 9300M, HDD 256Go / Grub2 - Gentoo-Xfce
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 25151
Location: here

PostPosted: Mon Nov 23, 2020 10:39 am    Post subject: Reply with quote

Manifest isn't created because you have no permission, as normal user, to write downloaded file in /var/cache/distifles, so or you run repoman first time as root to write sources in distifiles or you can overwrite DISTDIR variable to use a directory where normal use have write permission.
Code:
DISTDIR=/tmp repoman

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum