https://github.com/dr-ni/onboard/releases
The current release version is named v1.4.3-7 .
The line for the SRC_URI is:
Code: Select all
SRC_URI="https://github.com/dr-ni/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"If the ebuild was allowed to be named oboard-1.4.3-7, then the SRC_URI should resolve correctly to https://github.com/dr-ni/onboard/archiv ... 3-7.tar.gz
However, since the dash is not allowed, I understandably get:
Code: Select all
ebuild onboard-1.4.3-7.ebuild digest
ebuild: /var/db/repos/localrepo/app-accessibility/onboard/onboard-1.4.3-7.ebuild: app-accessibility/onboard-1.4.3-7: does not follow correct package syntaxPer the guidance in:
viewtopic-t-568730-start-0.html
If I add:
Code: Select all
MY_PV="-7"And change the SRC_URI accordingly:
Code: Select all
SRC_URI="https://github.com/dr-ni/${PN}/archive/refs/tags/${PV}${MY_PV}.tar.gz -> ${P}${MY_PV}.tar.gz"If I step through the ebuild process for troubleshooting purposes:
Code: Select all
ebuild onboard-1.4.3.ebuild prepare
* ERROR: app-accessibility/onboard-1.4.3::localrepo failed (prepare phase):
* The source directory '/var/tmp/portage/app-accessibility/onboard-1.4.3/work/onboard-1.4.3' doesn't exist
*
* Call stack:
* ebuild.sh, line 777: Called __ebuild_main 'prepare'
* phase-functions.sh, line 1090: Called __dyn_prepare
* phase-functions.sh, line 404: Called die
* The specific snippet of code:
* die "The source directory '${S}' doesn't exist"If I stop here and rename the directory in /var/tmp/portage to what portage expects /var/tmp/portage/app-accessibility/onboard-1.4.3/work/onboard-1.4.3/ I can then step through the ebuild and merge the package correctly.
That works and gets the package installed for now, but how do I get this to work correctly? I have come as far on my own as I think I can without further help. For anyone that took the time to read this far, I appreciate it and any guidance would be welcome.
Rab

