pkgsrc-Bugs archive

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

pkg/39614: misc/openoffice2 compilation error on NetBSD 3 (missing strerror_r())



>Number:         39614
>Category:       pkg
>Synopsis:       misc/openoffice2 compilation error on NetBSD 3 (missing 
>strerror_r())
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 23 19:50:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (pkgsrc current within past 12 hours)
>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:
        I compile (essentially all) my packages using pkg_comp
        and using libkver to emulate NetBSD 3.0 (using NetBSD 3.0
        release sets, etc) so I can install packages on almost
        anything - that's particularly useful with the monsters like
        openoffice (and kde etc).

        openoffice2 doesn't want to compile on NetBSD 3 - this is not
        new, it has been failing for me since November last year,
        I had just been assuming that someone else would fix it,
        or report it, or something.   Apparently not...

>How-To-Repeat:
        Build openoffice2 on a pure NetBSD 3.0 system (not sure
        if the same happens on 3.1).

        Expect to see ...

Making: ../../../../../../unxbsdi3.pro/slo/Vetters.obj
c++ -fmessage-length=0 -c -O1   -I../../IccProfLib -I.  
-I../../../../../../unxbsdi3.pro/inc/icutil -I../inc 
-I../../../../../../inc/pch -I../../../../../../inc -I../../../../../../unx/inc 
-I../../../../../../unxbsdi3.pro/inc -I. 
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solver/680/unxbsdi3.pro/inc/stl
 
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solver/680/unxbsdi3.pro/inc/external
 
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solver/680/unxbsdi3.pro/inc
 -I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solenv/unxbsdi3/inc 
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solenv/inc 
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/res 
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solver/680/unxbsdi3.pro/inc/stl
 -I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solenv/inc/Xp31 
-INO_JAVA_HOME/include -INO_JAVA_HOME/include/netbsd 
-INO_JAVA_HOME/include/native_threads/include -I/usr/X!
 11R6/include     
-I/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/solver/680/unxbsdi3.pro/inc/offuh
 -I. -I../../../../../../res -I. -pipe   -Wno-ctor-dtor-privacy   -fpic 
-DNETBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -DX86 -pthread 
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 
-D__DMAKE -DUNIX -DCPPU_ENV=gcc3 
-DGXX_INCLUDE_PATH=/usr/pkg/gcc34/lib/gcc/i386--netbsdelf3.0/3.4.6/../../../../include/c++/3.4.6
 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE 
-DCUI -DOOH680=OOH680   -DSHAREDLIB -D_DLL_   -fexceptions 
-fno-enforce-eh-specs -DEXCEPTIONS_ON  -o 
../../../../../../unxbsdi3.pro/slo/Vetters.o 
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/icc/unxbsdi3.pro/misc/build/SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/icc/unxbsdi3.pro/misc/build/SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp:
 In function `__off_t get_size(const char*)':
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/icc/unxbsdi3.pro/misc/build/SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp:166:
 error: `strerror_r' was not declared in this scope
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/icc/unxbsdi3.pro/misc/build/SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp:
 In function `bool check_mode(const char*, __mode_t)':
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/icc/unxbsdi3.pro/misc/build/SampleICC-1.3.2/Contrib/ICC_utils/Vetters.cpp:184:
 error: `strerror_r' was not declared in this scope
dmake:  Error code 1, while making 
'../../../../../../unxbsdi3.pro/slo/Vetters.obj'
---* tg_merge.mk *---
dmake:  Error code 255, while making 
'Contrib/CmdLine/create_sRGB_profile/create_sRGB_profile'
---* tg_merge.mk *---
dmake:  Error code 255, while making 'unxbsdi3.pro/misc/build/so_built_icc'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making 
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOH680_m17/icc
dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---
*** Error code 255

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/openoffice2

>Fix:
        I assume a replacement (one way or another) is needed for
        strerror_r() which did not exist on NetBSD 3.0



Home | Main Index | Thread Index | Old Index