pkgsrc-Bugs archive

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

pkg/45553: mozilla packages on NetBSD 4.0 should not use --with-system-libevent



>Number:         45553
>Category:       pkg
>Synopsis:       mozilla packages on NetBSD 4.0 should not use 
>--with-system-libevent
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 01 05:25:00 +0000 2011
>Originator:     Robert Elz
>Release:        NetBSD 4.0 (pkgsrc current 2011-11-01)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD epsilon.noi.kre.to 5.99.55 NetBSD 5.99.55 (EPSILON-1.2-20110825) 
#10: Fri Aug 26 00:02:21 ICT 2011 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/i386/EPSILONhdaudio 
i386
Architecture: i386
Machine: i386
>Description:
        The /usr/include/event.h that exists on NetBSD 4.0 is inadequate
        to build packages (mozilla packages anyway) --with-system-libevent

>How-To-Repeat:
        I use pkg_comp with NetBSD 4.0 release sets installed, and libkver
        to similate a fairly pure NetBSD 4.0 environment.  X11_TYPE=modular

        In that environment, attempting to build (for example) devel/xulrunner
        results in ...

checking for event.h... no
configure: error: --with-system-libevent requested but event.h not found
*** Error code 1

Stop.

        The same thing happens with www/seamonley, and most probably any other
        mozilla packages that exist (thunderbird?).

        Of course, event.h is found, it just doesn't work as expected, this
        is from the config.log for xulrunner:

configure:13720: checking for event.h
configure:13732: cc -c -I/usr/include -O2 -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -fno-strict-aliasing -ffunction-sections 
-fdata-sections -Dunix -pthread -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 conftest.c 1>&5
In file included from configure:13726:
/usr/include/event.h:89: error: field 'ev_timeout' has incomplete type
/usr/include/event.h:189: error: expected specifier-qualifier-list before 
'u_char'
/usr/include/event.h:212: error: expected specifier-qualifier-list before 
'size_t'
/usr/include/event.h:241: error: expected declaration specifiers or '...' 
before 'size_t'
/usr/include/event.h:243: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'bufferevent_read'
/usr/include/event.h:256: error: expected declaration specifiers or '...' 
before 'size_t'
/usr/include/event.h:257: error: expected declaration specifiers or '...' 
before 'size_t'
/usr/include/event.h:258: error: expected declaration specifiers or '...' 
before 'size_t'
/usr/include/event.h:261: error: expected declaration specifiers or '...' 
before 'size_t'
/usr/include/event.h:264: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before '*' token
/usr/include/event.h:265: error: expected declaration specifiers or '...' 
before 'size_t'
/usr/include/event.h:265: error: expected declaration specifiers or '...' 
before 'size_t'
configure: failed program was:
#line 13725 "configure"
#include "confdefs.h"
#include <event.h>
int main() {

; return 0; }

>Fix:
        ??   Somehow, I assume, --with-system-libevent needs to be
        disabled for NetBSD 4.0 (and probably all NetBSD 4*)



Home | Main Index | Thread Index | Old Index