pkgsrc-Bugs archive

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

pkg/32662: print/libgnomeprint has undeclared dependency upon bison



>Number:         32662
>Category:       pkg
>Synopsis:       print/libgnomeprint has undeclared dependency upon bison
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 29 11:50:01 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.13
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.13 NetBSD 3.99.13 
(GENERIC-1.696-20051201) #4: Fri Dec 2 12:42:15 ICT 2005 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386

>Description:
        print/libgnomeprint apparently requires bison to compile
        (or so it claims), yet it has no dependency upon bison.

>How-To-Repeat:
        pkg_delete bison
        cd .../pkgsrc/print/libgnomeprint
        make

        Expect to see something like ...

===> Extracting for libgnomeprint-2.12.1nb1
==========================================================================
The supported build options for this package are:

        cups

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.libgnomeprint (not defined)

==========================================================================
===> Required installed package libbonobo>=2.10.1nb1: libbonobo-2.10.1nb1 found
===> Required installed package ORBit2>=2.12.0: ORBit2-2.12.4 found
===> Required installed package popt>=1.7nb5: popt-1.7nb5 found

[Lots more like that, none of them being bison]

===> Patching for libgnomeprint-2.12.1nb1
===> Applying pkgsrc patches for libgnomeprint-2.12.1nb1
===> Overriding tools for libgnomeprint-2.12.1nb1
===> Creating toolchain wrappers for libgnomeprint-2.12.1nb1
===> Configuring for libgnomeprint-2.12.1nb1
=> Fixing locale directory references.
=> Adding rpaths to pkgconfig files.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes

[lots more like that ...]

checking for zlib.h... yes
checking for bison... no
configure: error: Could not find bison
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/libgnomeprint
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /pkg_comp/obj/pkgsrc/print/libgnomeprint/default/.work.log
===> 
*** Error code 1


        Sure enough, bison is not installed ... (there's no need to
        go hunting in the log file to see why it believes it cannot
        find bison - it was correct, there was no bison).

jade# pkg_comp pkg_info | grep bison
jade# 

        With bison installed, it compiles & installs.

>Fix:
        Either add the dependency upon bison, or if bison isn't
        really required, and yacc would do, fix it to use yacc
        on NetBSD.

>Unformatted:
        Compiling using pkg_comp and NetBSD-3.0 (release) sets (binaries).
        BSDSRCDIR will have NetBSD-3.0_STABLE sources from a few days ago.
        pkgsrc is current as of a couple of hours ago.
 



Home | Main Index | Thread Index | Old Index