Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Oct 2014 21:13:26 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Arthur Chance <freebsd@qeng-ho.org>, bapt@freebsd.org, freebsd-pkg@freebsd.org
Subject:   print/muttprint && poudriere (was: Re: pkg query a package for)
Message-ID:  <20141008191326.GA1165@unixarea.DDR.dd>

next in thread | raw e-mail | index | archive | help
packages it depends on)
Reply-To: Matthias Apitz <guru@unixarea.de>
In-Reply-To: <20141008135715.GA2896@unixarea.DDR.dd>
X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386)

El día Wednesday, October 08, 2014 a las 03:57:15PM +0200, Matthias Apitz escribió:

> El día Wednesday, October 08, 2014 a las 10:55:11AM +0100, Arthur Chance escribió:
> 
> > If you look at /usr/ports/print/muttprint/Makefile you'll see
> > 
> > RUN_DEPENDS=    psnup:${PORTSDIR}/print/psutils \
> >                  uncompface:${PORTSDIR}/mail/faces \
> >                  convert:${PORTSDIR}/graphics/ImageMagick \
> >                  p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
> >                  p5-Text-Iconv>=0:${PORTSDIR}/converters/p5-Text-Iconv
> > 
> > so the pkg info report is correct. However, a bit lower is
> 
> If you run make in print/muttprint in an older ports tree it starts like this:
> 
> # make
> ===>   muttprint-0.72d_7 depends on file: /usr/local/share/texmf-dist/LICENSE.texmf - found
> ===>   muttprint-0.72d_7 depends on executable: mktexlsr - not found
> ===>    Verifying install for mktexlsr in /usr/ports/print/teTeX-base
> ...
> 
> The Makefile and related bsd.*.mk files say:
> 
> print/muttprint/Makefile
> 
> USE_TEX= latex
> 
> /usr/ports/Mk/bsd.port.mk:
> 
> .if defined(USE_TEX)
> .include "${PORTSDIR}/Mk/bsd.tex.mk"
> .endif
> 
> /usr/ports/Mk/bsd.tex.mk:
> 
> _USE_TETEX_BASE=        mktexlsr:${PORTSDIR}/print/teTeX-base
> 
> i.e. teTeX-base and latex gets here pulled-in; 
> 
> in head 'bapt' recently changed the Makefile:
> 
> 
> ------------------------------------------------------------------------
> r350369 | bapt | 2014-04-06 17:42:15 +0200 (dom 06 de abr de 2014) | 3 líneas
> 
> Support stage
> Switch from latex to texlive
> 
> and now poudriere neither pulls in teTeX-base nor texlive-base;
> 
> I will check the log of poudriere

I re-compiled print/muttprint two times in poudriere, 1st with the
original Makefile, 2nd with 'USE_TEX= latex' in the Makefile, here is
what the port is looking for:

$ fgrep 'depends on ' /usr/local/poudriere/data/logs/bulk/freebsd-head-ports-head/2014-10-08_17h17m02s/logs/muttprint-0.72d_8.log 
===>   muttprint-0.72d_8 depends on file: /usr/local/sbin/pkg - not found
===>   muttprint-0.72d_8 depends on executable: gmake - not found
===>   muttprint-0.72d_8 depends on executable: psnup - not found
===>   muttprint-0.72d_8 depends on executable: uncompface - not found
===>   muttprint-0.72d_8 depends on executable: convert - not found
===>   muttprint-0.72d_8 depends on package: p5-TimeDate>=0 - not found
===>   muttprint-0.72d_8 depends on package: p5-Text-Iconv>=0 - not found

$ fgrep 'depends on ' /usr/local/poudriere/data/logs/bulk/freebsd-head-ports-head/2014-10-08_17h30m23s/logs/muttprint-0.72d_8.log 
===>   muttprint-0.72d_8 depends on file: /usr/local/sbin/pkg - not found
===>   muttprint-0.72d_8 depends on file: /usr/local/share/texmf-var/web2c/tex/tex.fmt - not found
===>   muttprint-0.72d_8 depends on executable: gmake - not found
===>   muttprint-0.72d_8 depends on executable: psnup - found
===>   muttprint-0.72d_8 depends on executable: uncompface - not found
===>   muttprint-0.72d_8 depends on executable: convert - not found
===>   muttprint-0.72d_8 depends on package: p5-TimeDate>=0 - not found
===>   muttprint-0.72d_8 depends on package: p5-Text-Iconv>=0 - not found
===>   muttprint-0.72d_8 depends on file: /usr/local/share/texmf-var/web2c/tex/tex.fmt - found

In no case a working latex package is built:

# ls -ltrL /usr/local/poudriere/data/packages/freebsd-head-ports-head/All | tail -3
-rw-r--r--  1 root  wheel     996588  7 oct 17:05 tex-3.14159_3.txz
-rw-r--r--  1 root  wheel    1258028  7 oct 17:06 latex2e-2003.12_1.txz
-rw-r--r--  1 root  wheel     520576  8 oct 17:36 muttprint-0.72d_8.txz

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru@unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign



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