Bug 200012 - [www/lynx] Poudriere build fails: Orphaned: %%DATADIR%%_help
Summary: [www/lynx] Poudriere build fails: Orphaned: %%DATADIR%%_help
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-06 21:11 UTC by Yuri Victorovich
Modified: 2015-09-11 23:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (jharris)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2015-05-06 21:11:40 UTC
> ====> Checking for pkg-plist issues (check-plist)
> ===> Parsing plist
> ===> Checking for items in STAGEDIR missing from pkg-plist
> Error: Orphaned: %%DATADIR%%_help
> ===> Checking for items in pkg-plist which are not in STAGEDIR
> ===> Error: Plist issues found.
> *** Error code 1


Setting these options in /etc/make.conf trigger the error:
> OPTIONS_UNSET= DOCS HTMLDOCS HELP PORTDOCS APIDOCS RDOC MANPAGES EXAMPLES PORTEXAMPLES NLS KERBEROS TESTS DEBUG FASTDEBUG DOXYGEN JAVA JAVAHELP
> OPTIONS_SET=   PULSEAUDIO SOUND WEBRTC IPV6 THREADED_RESOLVER THREADS OPENGL DJVU OPTIMIZED_CFLAGS SIMD MMX SSE CUPS GDB
Comment 1 jharris 2015-05-10 18:48:44 UTC
Sorry, but I can't duplicate this:

%pwd
/tank/usr/ports/www/lynx

%make -V OPTIONS_UNSET -V OPTIONS_SET
DOCS HTMLDOCS HELP PORTDOCS APIDOCS RDOC MANPAGES EXAMPLES PORTEXAMPLES NLS KERBEROS TESTS DEBUG FASTDEBUG DOXYGEN JAVA JAVAHELP
PULSEAUDIO SOUND WEBRTC IPV6 THREADED_RESOLVER THREADS OPENGL DJVU OPTIMIZED_CFLAGS SIMD MMX SSE CUPS GDB

%make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)

%svn info
Path: .
Working Copy Root Path: /tank/usr/ports
URL: https://svn0.us-west.freebsd.org/ports/head/www/lynx
Relative URL: ^/head/www/lynx
Repository Root: https://svn0.us-west.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 385959
Node Kind: directory
Schedule: normal
Last Changed Author: robak
Last Changed Rev: 381488
Last Changed Date: 2015-03-17 07:59:48 -0400 (Tue, 17 Mar 2015)

%svn status
?       work

%uname -a
FreeBSD nas 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr  7 01:07:33 UTC 2015     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2015-05-13 05:32:18 UTC
Strange, but I can reproduce it by hand.
Looking at this, I see this item:
> # find . -name "*help"
> ./work/lynx2-8-8/lynx_help
> ./work/stage/usr/local/share/lynx_help
> # ls -l ./work/stage/usr/local/share/lynx_help
> lrwxr-xr-x  1 root  wheel  33 May 12 22:15 ./work/stage/usr/local/share/lynx_help -> /usr/local/share/doc/lynx/COPYING

There is certainly some bug in /usr/port/Mk that it detects it as %%DATADIR%%.
But shouldn't this link not be there after the build?
Comment 3 jharris 2015-07-24 18:13:53 UTC
I believe this was fixed in:

  r386355 | bdrewery | 2015-05-14 15:24:37 -0400 (Thu, 14 May 2015) | 4 lines

  Fix PORTDOCS usage in @execs from r293632 without DOCS.

  It was creating /usr/local/@comment.

right?

Thanks.
Comment 4 Carlo Strub freebsd_committer freebsd_triage 2015-09-11 23:37:38 UTC
feedback timeout