Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2008 11:05:28 -0500
From:      Martin Cracauer <cracauer@cons.org>
To:        QAT@freebsd.org
Cc:        ports@freebsd.org
Subject:   How do conditionalize plist on $NOPORTDOCS (was: lang/cmucl - fails: install_error)
Message-ID:  <20081118160528.GA79253@cons.org>
In-Reply-To: <20081116045257.2EBEE12E4209@quark.ds9.tecnik93.com>
References:  <20081116045257.2EBEE12E4209@quark.ds9.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The problem mailed to me below is caused by NOPORTDOCS=yes

The port's Makefile properly conditionalizes on it, but pkg-plist does not.

How do I conditionalize ppk-list on NOPORTDOCS=yes?

Makefile:
.if !defined(NOPORTDOCS)
        @${MKDIR} ${DOCSDIR}
        ${INSTALL_DATA} ${WRKDIR}/doc/cmucl/* ${DOCSDIR}
.endif

pkg-plist:
%%DOCSDIR%%/README
%%DOCSDIR%%/release-19c.txt

Martin

QAT@freebsd.org wrote on Sun, Nov 16, 2008 at 06:52:57AM +0200: 
> Hi,
> 
> 
> The build which triggered this email is done under tinderbox-2.4.3, on 
> 7-STABLE on amd64, with tinderd_flags="-nullfs -plistcheck -onceonly"
> and ccache support, with the "official" up-to-date Ports Tree, with the
> following vars set:
> NOPORTDOCS=yes,  NOPORTEXAMPLES=yes, NOPORTDATA=yes, FORCE_PACKAGE=yes.
> 
> The build of this port was tried 6 times since last BotMail
> (probably while trying to build ports that depend on it).
> 
> Excerpt from http://T64.TecNik93.com/logs/7-STABLE-FTP/cmucl-19c.log :
> 
> 
> building cmucl-19c in directory /var/tinderbox/7-STABLE-FTP
> maintained by: cracauer@cons.org
> building for:  7.0-STABLE amd64
> port directory: /usr/ports/lang/cmucl
> Makefile ident: $FreeBSD: ports/lang/cmucl/Makefile,v 1.31 2007/10/04 01:25:15 edwin Exp $
> prefixes: LOCALBASE=usr/local X11BASE=usr/local
> NO* env vars: NOPORTDOCS=yes NOPORTEXAMPLES=yes NOPORTDATA=yes
> build started at Sun Nov 16 04:52:37 UTC 2008
> 
> .................................<Last 40 lines of the log>..................
> 
> 
> ===>   cmucl-19c depends on shared library: c.4 - found
> ===>  Configuring for cmucl-19c
> ================================================================
> ====================<phase 5: make test>====================
> make: don't know how to make regression-test(continuing)
> ================================================================
> ====================<phase 6: make install>====================
> add_pkg localedata-5.4.tbz compat4x-i386-5.3_9.tbz
> adding dependencies
> pkg_add localedata-5.4.tbz
> skipping localedata-5.4, already added
> pkg_add compat4x-i386-5.3_9.tbz
> skipping compat4x-i386-5.3_9, already added
> ===>  Installing for cmucl-19c
> ===>   cmucl-19c depends on shared library: c.4 - found
> ===>   Generating temporary packing list
> ===>  Checking if lang/cmucl already installed
> install  -s -o root -g wheel -m 555 /work/a/ports/lang/cmucl/work/bin/lisp /usr/local/bin
> cd /work/a/ports/lang/cmucl/work && /usr/bin/find lib |  /usr/bin/cpio -pdm -L -R root:wheel /usr/local
> 48081 blocks
> install  -o root -g wheel -m 444 /work/a/ports/lang/cmucl/work/man/man1/cmucl.1 /usr/local/man/man1
> install  -o root -g wheel -m 444 /work/a/ports/lang/cmucl/work/man/man1/lisp.1 /usr/local/man/man1
> ===>   Compressing manual pages for cmucl-19c
> ===>   Registering installation for cmucl-19c
> ================================================================
> ====================<phase 7: make package>====================
> ===>  Building package for cmucl-19c
> tar: share/doc/cmucl/README: Cannot stat: No such file or directory
> tar: share/doc/cmucl/release-19c.txt: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors.
> pkg_create: make_dist: tar command failed with code 256
> Creating package /tmp/packages/All/cmucl-19c.tbz
> Registering depends: compat4x-i386-5.3_9 localedata-5.4.
> Creating bzip'd tar ball in '/tmp/packages/All/cmucl-19c.tbz'
> *** Error code 1
> 
> Stop in /a/ports/lang/cmucl.
> ================================================================
> build of /usr/ports/lang/cmucl ended at Sun Nov 16 04:52:55 UTC 2008
> 
> 
> A description of the testing process can be found here:
> http://T32.TecNik93.com/FreeBSD/QA-Tindy/
> 
> 
> Thanks for your work on making FreeBSD better,
> 
> -- 
> IOnut - Un^d^dregistered ;) FreeBSD "user"
>   "Intellectual Property" is   nowhere near as valuable   as "Intellect"
> FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B

-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@cons.org>   http://www.cons.org/cracauer/
FreeBSD - where you want to go, today.      http://www.freebsd.org/



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