pkgsrc-Bugs archive

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

pkg/45684: x11/fltk13 bl3 pathname error (+FIX)



>Number:         45684
>Category:       pkg
>Synopsis:       x11/fltk13 bl3 pathname error (+FIX)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 05 11:00:00 +0000 2011
>Originator:     Robert Elz
>Release:        NetBSD 5.0 (pkgsrc -current (HEAD) as of 2011-12-05)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1_STABLE NetBSD 5.1_STABLE 
(JADE-1.12-20111117) #25: Thu Nov 17 18:36:00 ICT 2011 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        The bl3 fikle in x11/fltk13 requests that x11/fltk be built
        instead of x11/fltk13 when a source build is reqired.   Oops...

>How-To-Repeat:
        My mkgsrc was doing an update of www/dillo, which requires x11/fltk13
        and includes its bl3 file to obtain it.   I had no binary package
        for x11/fltk13 which is relatively new.   Pkgsrc (of course)
        proceeded to build it for me.  When that was done, it said ...

=> Creating binary package /pkg_comp/packages/All/fltk-1.1.10nb3.tgz
ERROR: [depends.mk] A package matching ``fltk>=1.3.0'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../x11/fltk?

        Note the vewsion a binpkg was made for, and what is required.
        (I have the complete build log if anyone needs to see it, but
        somehow I doubt that).

>Fix:
        Apply the following patch in x11/fltk13

Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/NetBSD/pkgsrc/x11/fltk13/buildlink3.mk,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 buildlink3.mk
--- buildlink3.mk       1 Dec 2011 16:35:12 -0000       1.1.1.1
+++ buildlink3.mk       5 Dec 2011 10:48:40 -0000
@@ -6,7 +6,7 @@
 FLTK_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.fltk+=   fltk>=1.3.0
-BUILDLINK_PKGSRCDIR.fltk?=     ../../x11/fltk
+BUILDLINK_PKGSRCDIR.fltk?=     ../../x11/fltk13
 BUILDLINK_FILES.fltk+=         include/Fl/*
 
 .include "../../graphics/MesaLib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index