This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Talk:Basic guide to write Gentoo Ebuilds

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Issue with the steps

Talk status
This discussion is done.

Question: There is a problem in that following the cited steps fails as shown below. — Donahue 20:27, 16 January 2014‎ (UTC)

CODE
fx8150 ~ # mkdir -p /usr/local/portage/app-misc/hello-world
fx8150 ~ # cd $_                                           
fx8150 hello-world # cp /usr/portage/header.txt ./hello-world-1.0.ebuild
fx8150 hello-world # SLOT="0"
fx8150 hello-world # ebuild hello-world-1.0.ebuild manifest clean merge
Appending /usr/local/portage to PORTDIR_OVERLAY...
!!! Repository 'x-portage' is missing masters attribute in '/usr/local/portage/metadata/layout.conf'
!!! Set 'masters = gentoo' in this file for future compatibility
Error(s) in metadata for 'app-misc/hello-world-1.0':
  SLOT: invalid value: 

Answer: You need to put SLOT="0" inside the ebuild. — Tom Wijsman 21:07, 16 January 2014 (UTC)

Hi all, please remember to sign your contributions to discussion pages. Kind regards, --Maffblaster (talk) 04:19, 25 December 2016 (UTC)

Error 404

Talk status
This discussion is still ongoing as of 2018-08-20.

The following link doesn't work anymore: https://dev.gentoo.org/~tomwij/files/wiki/hello-world-1.0.tar.gz Fturco (talk) 16:35, 20 August 2018 (UTC)