updating alpine port to new version (as a maintainer)

Kurt Jaeger lists at opsec.eu
Sun Jan 18 08:29:15 UTC 2015


Hi!

> ====> Compressing man pages (compress-man)
> ====> Running Q/A tests (stage-qa)
> ====> Checking for pkg-plist issues (check-plist)
> ===> Parsing plist
> ===> Checking for items in STAGEDIR missing from pkg-plist
> Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/tech-notes.txt
> ===> Checking for items in pkg-plist which are not in STAGEDIR
> Error: Missing: %%DOCSDIR%%/tech-notes/tech-notes.txt
> ===> Error: Plist issues found.
> *** Error code 1

In general, the porters handbook is trying to answer those questions.

https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html

Please read the errors, it explains this. It literally says:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PORTDOCS%%%%DOCSDIR%%/tech-notes.txt
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: %%DOCSDIR%%/tech-notes/tech-notes.txt

So you have to check pkg-plist for things that are there but
are no longer installed during the build *and* the other way around.

Have a look at the pkg-plist file and search for tech-notes.txt.

You'll find one line:

%%DOCSDIR%%/tech-notes/tech-notes.txt

and you can change it to:

%%PORTDOCS%%%%DOCSDIR%%/tech-notes.txt

and then:

rm -rf work
make check-plist

again.

-- 
pi at opsec.eu            +49 171 3101372                         5 years to go !


More information about the freebsd-ports mailing list