Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Oct 2014 16:52:27 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        Kurt Jaeger <lists@opsec.eu>
Cc:        mat@freebsd.org, freebsd-ports@freebsd.org
Subject:   Re: print/muttprint
Message-ID:  <20141012145227.GA2689@unixarea.DDR.dd>
In-Reply-To: <20141011173426.GL29437@home.opsec.eu>
References:  <20141011114310.GA4035@unixarea.DDR.dd> <20141011115119.GI29437@home.opsec.eu> <20141011152016.GA78035@home.opsec.eu> <20141011153949.GA5022@unixarea.DDR.dd> <20141011162857.GJ29437@home.opsec.eu> <20141011172955.GA5414@unixarea.DDR.dd> <20141011173426.GL29437@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Saturday, October 11, 2014 a las 07:34:26PM +0200, Kurt Jaeger escribió:

> > > > 'USE_TEX= texlive' pulls in
> > > > Tex, but it does not if you compile the ports with poudriere.
> > > 
> > > I'm surprised that USE_TEX=texlive in poudriere does not pull it in.
> > 
> > Mee too.
> > 
> > > Can you provide a build log to show this ?
> > 
> > Will do this tomorrow.
> 
> There's a commit which changed texlive to texmf in September.
> 
> /usr/ports/Mk/bsd.tex.mk
> 
> has more info about USE_TEX, so please check that file for your
> experiments.

Hi,

I did today:

I checked out a 2nd fresh ports tree with:

# poudriere ports -c -p ports-muttprint -m svn+http -B head

# cd /usr/local/poudriere/ports/ports-muttprint/
# svn info
...
Last Changed Rev: 370680
Last Changed Date: 2014-10-12 05:16:10 +0200 (Sun, 12 Oct 2014)

I started the jail to build 'print/muttprint'; note it says it has to build
183 packages:

# poudriere bulk -j freebsd-head -p ports-muttprint print/muttprint
...
[00:01:09] ====>> Cleaning the build queue
[00:01:09] ====>> Recording filesystem state for prepkg... done
[00:01:10] ====>> Building 183 packages using 1 builders
[00:01:10] ====>> Starting/Cloning builders
...

6:27 hours later the job was done fine:

[freebsd-head-ports-muttprint] [2014-10-12_08h36m17s] [committing:] Queued: 183 Built: 183 Failed: 0   Skipped: 0   Ignored: 0   Tobuild: 0    Time: 06:26:47
[06:27:36] ====>> Logs: /usr/local/poudriere/data/logs/bulk/freebsd-head-ports-muttprint/2014-10-12_08h36m17s

I removed the 3 packages again:

# cd /usr/local/poudriere/data/packages/freebsd-head-ports-muttprint/All/
# rm tex-dvipsk-5.994.txz muttprint-0.72d_10.txz texlive-full-20140525_1.txz

and edited the Makefile of print/muttprint:

# vim /usr/local/poudriere/ports/ports-muttprint/print/muttprint/Makefile

to remove the two addition RUN_DEPENDS= lines in the Makefile:

# svn diff Makefile
 RUN_DEPENDS=   psnup:${PORTSDIR}/print/psutils \
-               latex:${PORTSDIR}/print/texlive-full \
-               dvips:${PORTSDIR}/print/tex-dvipsk \
                uncompface:${PORTSDIR}/mail/faces \
                convert:${PORTSDIR}/graphics/ImageMagick \
                p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \

I restarted the jail and poudriere only rebuilt the muttprint package
itself, not the two others removed:

# poudriere bulk -j freebsd-head -p ports-muttprint print/muttprint
...
[00:06:37] ====>> Built ports: print/muttprint
[freebsd-head-ports-muttprint] [2014-10-12_15h40m55s] [committing:] Queued: 1  Built: 1  Failed: 0  Skipped: 0  Ignored: 0  Tobuild: 0   Time: 00:06:03
[00:06:37] ====>> Logs: /usr/local/poudriere/data/logs/bulk/freebsd-head-ports-muttprint/2014-10-12_15h40m55s

I removed all packages and re run the jail again with the above deleted
RUN_DEPENDS= lines; note that poudriere now only calculates 164 packages
to build (and not 183):

# rm /usr/local/poudriere/data/packages/freebsd-head-ports-muttprint/All/*

# poudriere bulk -j freebsd-head -p ports-muttprint print/muttprint
...
[00:00:52] ====>> Cleaning the build queue
[00:00:52] ====>> Recording filesystem state for prepkg... done
[00:00:52] ====>> Building 164 packages using 1 builders
[00:00:52] ====>> Starting/Cloning builders

This underpins that there is something lost in the Tex infrastructure.

When the build job will be done in some hours I will check if any of the
resulting 164 packages contains the tools /usr/local/bin/latex and
/usr/local/bin/dvips, both needed by the muttprint Perl script.

Let me know if someone needs the log files of the build jobs; I could
place them onto my webspace.

For the moment, I'd suggest to let the two additional RUN_DEPENDS= lines in the
Makefile as proposed.

Thx

	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?20141012145227.GA2689>