pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29432: tools.mk should check for available tools and more



>Number:         29432
>Category:       pkg
>Synopsis:       tools.mk should check for available tools and more
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 17 19:49:00 +0000 2005
>Originator:     reed%reedmedia.net@localhost
>Release:        NetBSD 1.6.2_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
        
        
System: NetBSD rainier.reedmedia.net 1.6.2_STABLE NetBSD 1.6.2_STABLE 
(MYKERNEL) #1: Tue Jun 1 12:16:43 PDT 2004 
reed%rainier.reedmedia.net@localhost:/usr/src/sys/arch/i386/compile/MYKERNEL 
i386
Architecture: i386
Machine: i386
>Description:
tools.mk needs to be improved.
Also see PR  #26070: pkgsrc doesn't know about tools versions

A few problems:

Expects tools to be installed on certain platforms for some
operating systems. For example, it assumes that yacc is available
for Linux -- really it is not and in some cases bison is.
And it will not check first. And it does not install package
if needed.

When you tell a package that you need some tool for the build,
it uses misnamed "USE_GNU_TOOLS". So if you need a generic yacc,
then this means on NetBSD that it will use "bison -y" instead
of its own native yacc.
>How-To-Repeat:
        
>Fix:
Don't assume tools are there.

Add a USE_TOOLS which doesn't mean GNU version.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index