Subject: Re: CVS commit: pkgsrc
To: Alistair Crooks <agc@pkgsrc.org>
From: Min Sik Kim <minskim@NetBSD.org>
List: pkgsrc-changes
Date: 12/31/2005 02:02:54
On Dec 30, 2005, at 11:35 PM, Alistair Crooks wrote:

> On Fri, Dec 30, 2005 at 06:15:54PM -0800, Min Sik Kim wrote:
>> On Dec 26, 2005, at 3:39 PM, Amitai Schlair wrote:
>>>
>>> Module Name:	pkgsrc
>>> Committed By:	schmonz
>>> Date:		Mon Dec 26 23:39:35 UTC 2005
>>>
>>> Modified Files:
>>> ...
>>> 	pkgsrc/print/tex-hlatex: Makefile
>>
>> This package doesn't build only because one of its dependencies,
>> fonts/tex-uhc-fonts-base, requires teTeX3 while the default tex is
>> teTeX2.  So the package builds correctly if TEX_DEFAULT is set to
>> teTeX3.  The bulk build should not try to build this package at all
>> since its dependent package already failed.
>>
>> Could you please revert your change setting PKG_FAIL_REASON, and ask
>> a pull-up to 2005Q4?
>
> Can you explain to me how this is working perfectly in the default
> case, when, well, the bulk builds run the default case, and this
> clearly isn't working.

There are many tex packages that are not working with the default tex  
(teTeX2), and tex-uhc-fonts-base is one of them.  All such packages  
are not included in the bulk build because "make show-depends-dirs"  
fails for them with the following message:

    ===> teTeX2 is not an acceptable TeX version for tex-eurosym-1.0nb3.
   *** Error code 1

The problem occurs when another package depends on them, as already  
noted by wiz in the recent bulk build (http://mail-index.netbsd.org/ 
pkgsrc-bulk/2005/12/29/0005.html).  In the case of tex-hlatex, it  
depends on tex-uhc-fonts-base, which is not included in the bulk  
build tree and accordingly never built.  So building tex-hlatex fails  
as follows:

   BULK> Package tex-uhc-fonts-base-1.0 not built yet, packaging...
   /usr/bin/make bulk-package PRECLEAN=no
   BULK> *** Package tex-uhc-fonts-base-1.0 seems broken and needs  
attention:
   -rw-r--r--  1 root  wheel  213 Dec 17 16:11 /usr/pkgsrc/fonts/tex- 
uhc-fonts-base/.broken.html
   *** Error code 1

And tex-uhc-fonts-base/.broken.html has the following:

   [printdepends] command failed: /usr/bin/make show-depends-dir ===>  
teTeX2 is not an acceptable TeX version for tex-uhc-fonts-base-1.0.
   *** Error code 1

I'm not familiar enough with the bulk build code to fix this, but tex- 
hlatex is certainly working when TEX_DEFAULT is set to the correct  
version.

Regards,
Min Sik Kim