pkgsrc-Bugs archive

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

pkg/41712: www/varnish compile error (NetBSD 4.0)



>Number:         41712
>Category:       pkg
>Synopsis:       www/varnish compile error (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 13 13:15:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        www/varnish fails to compile bin/varnishd/storage_file.c
        because of a redefinition of "struct lock" (on NetBSD 4.0
        at least).

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (except x* - I use pkgsrc modular xorg).  Aside from "4.0"
        I doubt any of that is relevant (even the "4.0" might not be).

        When building in an environment like that, expect to see

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../include  -I/usr/include 
-DVARNISH_STATE_DIR='"/usr/pkg/var/varnish"' -O2 -I/usr/include -MT 
varnishd-storage_file.o -MD -MP -MF .deps/varnishd-storage_file.Tpo -c -o 
varnishd-storage_file.o `test -f 'storage_file.c' || echo './'`storage_file.c
In file included from storage_file.c:67:
cache.h:97: error: redefinition of 'struct lock'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/www/varnish/4x/varnish-2.0.4/bin/varnishd
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/www/varnish/4x/varnish-2.0.4/bin
*** Error code 1

>Fix:



Home | Main Index | Thread Index | Old Index