pkgsrc-Bugs archive

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

pkg/35895: misc/openoffice2 (project epm) compilation errors (NetBSD 3.0)



>Number:         35895
>Category:       pkg
>Synopsis:       misc/openoffice2 (project epm) compilation errors (NetBSD 3.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 02 03:00:01 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current within last 3-4 hours)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
        On NetBSD 3.0 (release) - simulated using pkg_comp with libkver
        and NetBSD 3.0 release sets (& sources) installed, openoffice2
        cannot find some include files, and then generates many compilation
        errrors in project epm

        This is using (I believe) the most recent updates to the openoffice2
        package (Makefile 1.5) - though I had seen the same problem a couple
        of days ago (just hadn't gotten around to verifying it and sending
        a PR yet).

>How-To-Repeat:
        For me,
                pkg_comp build misc/openoffice2
        though "make" in pkgsrc/misc/openoffice2 on a NetBSD 3
        system will probably do the same thing.

        All looks fine for about the first 30 mins compiling (3.0 GHz
        P4 with a reasonably quick (raidframe) I/O system), then...
        (skip forward about 105 lines to se the errors...)


=============
Building project epm
=============
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/OOE680_m6/epm
mkout -- version: 1.7
-------------
if ( -e ./unxbsdi2.pro/misc/build/epm-3.7 ) mv ./unxbsdi2.pro/misc/build/epm-3.7
 ./unxbsdi2.pro/misc/build/epm-3.7_removeme
rm -rf ./unxbsdi2.pro/misc/build/epm-3.7_removeme
dmake: Executing shell macro: +$(TYPE) $(PRJ)$/$(ROUT)$/misc$/$(TARFILE_NAME).un
pack
cd ./unxbsdi2.pro/misc/build && ( sh -c "gunzip -c ../../../download/epm-3.7.tar
.gz  | tar  -xvf - ") && touch so_unpacked_epm  
tar: ustar vol 1, 99 files, 1381053 bytes read, 0 bytes written in 1 secs (13810
53 bytes/sec)
epm-3.7
epm-3.7/debian
epm-3.7/.cvsignore
epm-3.7/ANNOUNCEMENT

        [and more of that...]

epm-3.7/macosx/uninst32.png
epm-3.7/macosx/uninst48.png
make writeable...
cd ./unxbsdi2.pro/misc/build && cat ../../../epm-3.7.patch | patch  -p2 && touch
 so_patched_epm
Hmm...  Looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** misc/epm-3.7/bsd.c Tue Jan 14 18:05:01 2003
|--- misc/build/epm-3.7/bsd.c   Wed Jul 26 20:59:48 2006
--------------------------
Patching file epm-3.7/bsd.c using Plan A...
Hunk #1 succeeded at 26.
Hunk #2 succeeded at 156.
Hunk #3 succeeded at 195. 
Hunk #4 succeeded at 217.
Hunk #5 succeeded at 348.

        [and more of that]

Hmm...  The next patch looks like a new-style context diff to me...
The text leading up to this was:
--------------------------
|*** misc/epm-3.7/configure     Wed Feb 28 11:36:52 2007
|--- misc/build/epm-3.7/configure       Wed Feb 28 11:35:57 2007
--------------------------
Patching file epm-3.7/configure using Plan A...
Hunk #1 succeeded at 4944.
done
mkdir ./unxbsdi2.pro/misc/build/epm-3.7/
cd ./unxbsdi2.pro/misc/build/epm-3.7/ && ./configure --disable-fltk  && touch so
_configured_epm
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no 
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes 
checking whether cc accepts -g... yes   
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes

        [and more configure noise]

config.status: creating Makefile
config.status: creating epm.list
config.status: creating doc/Makefile
config.status: creating macosx/setup.plist
config.status: creating macosx/uninst.plist
config.status: creating config.h
mv ./unxbsdi2.pro/misc/build/epm-3.7//so_configured_epm ./unxbsdi2.pro/misc/buil
d/so_configured_epm
mkdir ./unxbsdi2.pro/misc/build/epm-3.7/
cd ./unxbsdi2.pro/misc/build/epm-3.7/ && make  && touch /pkg_comp/obj/pkgsrc/mis
c/openoffice2/default/OOE680_m6/epm/./unxbsdi2.pro/misc/build/so_built_epm
Compiling aix.c...
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
aix.c: In function `make_aix': 
aix.c:158: warning: subscript has type `char'
aix.c:221: warning: subscript has type `char'
aix.c:242: warning: subscript has type `char'
aix.c: In function `write_liblpp': 
aix.c:484: warning: subscript has type `char'
aix.c:520: warning: subscript has type `char'
aix.c:665: warning: subscript has type `char'
aix.c:673: warning: subscript has type `char'
aix.c:685: warning: subscript has type `char'

        [and more like this, many subscript type char warnings,
        (which I assume are harmless and to be expected)
        and the -fno-rtti warning for each file]

Compiling epminstall.c... 
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
Linking epminstall...
Compiling mkepmlist.c...
cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC
Linking mkepmlist...
Compiling setup.cxx...
In file included from setup.cxx:3:
setup.h:5:19: FL/Fl.H: No such file or directory
setup.h:6:26: FL/Fl_Window.H: No such file or directory
In file included from setup.cxx:3:
setup.h:8: error: syntax error before `*' token
setup.h:9:26: FL/Fl_Wizard.H: No such file or directory
setup.h:10: error: syntax error before `*' token
setup.h:11:25: FL/Fl_Group.H: No such file or directory
setup.h:12: error: syntax error before `*' token
setup.h:13:23: FL/Fl_Box.H: No such file or directory
setup.h:14: error: syntax error before `*' token
setup.h:15: error: syntax error before `*' token
setup.h:16:32: FL/Fl_Round_Button.H: No such file or directory
setup.h:17: error: `Fl_Round_Button' was not declared in this scope
setup.h:17: error: parse error before `,' token
setup.h:18: error: syntax error before `*' token
setup.h:19: error: syntax error before `*' token
setup.h:20:33: FL/Fl_Check_Browser.H: No such file or directory
setup.h:21: error: `Fl_Check_Browser' was not declared in this scope
setup.h:21: error: parse error before `,' token
setup.h:22: error: syntax error before `*' token

        [and lots more errors like this, probably all due to the
        missing include files]

setup.cxx:249: error: syntax error before `->' token
setup.cxx:250: error: syntax error before `->' token
setup.cxx:252: error: ISO C++ forbids declaration of `InstallLog' with no type
setup.cxx:252: error: parse error before `(' token
setup.cxx:253: error: syntax error before `->' token
setup.cxx:255: error: syntax error before `->' token
setup.cxx:258: error: syntax error before `->' token
setup.cxx:261: error: syntax error before `->' token
setup.cxx:264: error: syntax error before `->' token
setup.cxx:266: error: syntax error before `->' token
setup.cxx:7: warning: `void cb_SetupWindow(...)' defined but not used
setup.cxx:30: warning: `void cb_InstallAllButton(...)' defined but not used
setup.cxx:37: warning: `void cb_InstallNoneButton(...)' defined but not used
setup.cxx:54: warning: `void cb_LicenseAccept(...)' defined but not used
setup.cxx:60: warning: `void cb_LicenseDecline(...)' defined but not used
setup.cxx:72: warning: `void cb_PrevButton(...)' defined but not used
setup.cxx:80: warning: `void cb_CancelButton(...)' defined but not used

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg_comp/obj/pkgsrc/misc/openoffice2/default/.gcc/bin/gcc -Wall -Wno-return-typ
e -O -fno-rtti -fno-exceptions -I. -c setup.cxx -I/pkg_comp/obj/pkgsrc/misc/open
office2/default/.buildlink/include -L/pkg_comp/obj/pkgsrc/misc/openoffice2/defau
lt/.buildlink/lib
make: *** [setup.o] Error 1
dmake:  Error code 2, while making './unxbsdi2.pro/misc/build/so_built_epm'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /pkg_comp/obj/pkgsrc/misc/openoffice2/d
efault/OOE680_m6/epm
dmake:  Error code 1, while making 'build_instsetoo_native'
'---*  *---'
*** Error code 255

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

>Fix:
        ??




Home | Main Index | Thread Index | Old Index