Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2015 09:29:11 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        Marco Beishuizen <mbeis@xs4all.nl>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: updating alpine port to new version (as a maintainer)
Message-ID:  <20150118082911.GV44537@home.opsec.eu>
In-Reply-To: <alpine.BSF.2.11.1501172330200.2073@localhost>
References:  <alpine.BSF.2.11.1501171736240.2073@localhost> <20150117165844.GS44537@home.opsec.eu> <alpine.BSF.2.11.1501171836570.2073@localhost> <20150117182525.GU44537@home.opsec.eu> <alpine.BSF.2.11.1501172042010.2073@localhost> <CACdU%2Bf8jjSRALwgP_o3L_hdp_gtQ951wDm5CHLH0SjJns62Mew@mail.gmail.com> <alpine.BSF.2.11.1501172141060.2073@localhost> <CACdU%2Bf_2nVXqW-i0qKTkpN3=0cSEHvdwwfLj=zVZDhMwjQw-ag@mail.gmail.com> <alpine.BSF.2.11.1501172330200.2073@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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@opsec.eu            +49 171 3101372                         5 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150118082911.GV44537>