pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/42825: x11/kdelibs4 fails to compile (NetBSD 4.0 / i386)
>Number: 42825
>Category: pkg
>Synopsis: x11/kdelibs4 fails to compile (NetBSD 4.0 / i386)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 16 14:25:00 +0000 2010
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 (pkgsrc current 2010-02-16)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.0.2 NetBSD 5.0.2 (JADE-$Revision: 1.12 $)
#17: Fri Feb 12 18:27:01 ICT 2010
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
Compilation errors in kdelibs4 ... (compiled under NetBSD 4.0 RELEASE).
Looks to be a missing include file (perhaps an include file
that was merged elsewhere, or is include by something else,
in other systems).
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 4.0 release sets (and sources)
installed in the sandbox (except x* sets, I have X11_TYPE=modular).
In that environment (almost certainly any pure NetBSD 4.0 (i386)
system) I see ...
[ 6%] Building CXX object
kdecore/CMakeFiles/kdecore.dir/localization/common_helpers.o
[ 6%] Building CXX object kdecore/CMakeFiles/kdecore.dir/sycoca/ksycoca.o
/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/kdecore/sycoca/ksycoca.cpp:
In member function 'bool KSycocaPrivate::tryMmap()':
/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/kdecore/sycoca/ksycoca.cpp:131:
error: 'PROT_READ' was not declared in this scope
/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/kdecore/sycoca/ksycoca.cpp:131:
error: 'MAP_SHARED' was not declared in this scope
/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/kdecore/sycoca/ksycoca.cpp:132:
error: 'mmap' was not declared in this scope
/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/kdecore/sycoca/ksycoca.cpp:
In member function 'void KSycocaPrivate::closeDatabase()':
/pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/kdecore/sycoca/ksycoca.cpp:328:
error: 'munmap' was not declared in this scope
*** Error code 1
Stop.
make: stopped in /pkg_comp/obj/pkgsrc/x11/kdelibs4/4x/kdelibs-4.3.5/_KDE_build
*** Error code 1
Stop.
>Fix:
Something needs to include <sys/mman.h> I assume.
Home |
Main Index |
Thread Index |
Old Index