Issue 78765 - vcl's headless fails to build (to-be-m217)
Summary: vcl's headless fails to build (to-be-m217)
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m216
Hardware: All Unix, all
: P1 (highest) Trivial (vote)
Target Milestone: next build
Assignee: hub
QA Contact: issues@gsl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-21 15:30 UTC by hub
Modified: 2007-06-22 07:39 UTC (History)
2 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
fixes build breaker (880 bytes, patch)
2007-06-21 18:52 UTC, philipp.lohmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description hub 2007-06-21 15:30:03 UTC
in m217

I get this build error. Obviously the PspGraphics constructor expect more parameter.

Making: ../../unxlngx6.pro/slo/headless.obj
ccache g++  -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing
-Wuninitialized   -fvisibility=hidden -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib64/glib-2.0/include -I.  -I../../unxlngx6.pro/inc/headless
-I../inc -I../../inc/pch -I../../inc/vcl -I../../inc -I../../unx/inc
-I../../unxlngx6.pro/inc -I.
-I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/stl
-I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/external
-I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc
-I/home/hub/novell/OpenOffice2-m215/solenv/unxlngx6/inc
-I/home/hub/novell/OpenOffice2-m215/solenv/inc
-I/home/hub/novell/OpenOffice2-m215/res
-I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/stl
-I/home/hub/novell/OpenOffice2-m215/solenv/inc/Xp31 -I/usr/include
-I/usr/X11R6/include    
-I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/offuh -I.
-I../../res -I. -pipe  -Wno-ctor-dtor-privacy -fno-use-cxa-atexit
-fvisibility-inlines-hidden    -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64
-DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR
-D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE
-DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.1.0 -DSUPD=680
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
-DSOLAR_JAVA -DSRC680=SRC680 -DUSE_BUILTIN_RASTERIZER  -DVCL_DLLIMPLEMENTATION
-DSHAREDLIB -D_DLL_   -fno-exceptions -DEXCEPTIONS_OFF  -o
../../unxlngx6.pro/slo/headless.o
/home/hub/novell/OpenOffice2-m215/vcl/unx/headless/headless.cxx 
/home/hub/novell/OpenOffice2-m215/vcl/unx/headless/headless.cxx: In constructor
'<unnamed>::HeadlessGraphics::HeadlessGraphics()':
/home/hub/novell/OpenOffice2-m215/vcl/unx/headless/headless.cxx:183: error: no
matching function for call to 'PspGraphics::PspGraphics(psp::JobData*,
psp::PrinterGfx*)'
../inc/pspgraphics.h:75: note: candidates are:
PspGraphics::PspGraphics(psp::JobData*, psp::PrinterGfx*, String*, bool,
SalInfoPrinter*)
../inc/pspgraphics.h:63: note:                 PspGraphics::PspGraphics(const
PspGraphics&)
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/headless.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making
/home/hub/novell/OpenOffice2-m215/vcl/unx/headless
dmake:  Error code 1, while making 'instsetoo_native/prj/build_instsetoo_native'
---*  *---
Comment 1 pavel 2007-06-21 17:53:57 UTC
confirmed.
Comment 2 pavel 2007-06-21 18:14:04 UTC
is it enought to add NULL, false, NULL to the call?
Comment 3 hub 2007-06-21 18:37:14 UTC
I did that to allow to build. Not sure if that's the right thing, but as a
workaround it is ok.
Comment 4 philipp.lohmann 2007-06-21 18:45:10 UTC
to build yes. But I'm working on it right now.
Comment 5 philipp.lohmann 2007-06-21 18:52:00 UTC
Created attachment 46155 [details]
fixes build breaker
Comment 6 philipp.lohmann 2007-06-21 18:54:31 UTC
... and for now NULL, false, NULL is indeed the answer, since HeadlessGraphics
does not yet do anything.

pl->rt: please fix on master
Comment 7 philipp.lohmann 2007-06-21 18:55:49 UTC
adjusting platform, OS
Comment 8 kurt.zenker 2007-06-21 20:52:01 UTC
I checked in the fix as masterfix. Can someone verify this fix?
Comment 9 rt 2007-06-22 07:35:29 UTC
Patch applied by Kurt to SRC680 m217 (CVS HEAD).
Comment 10 rt 2007-06-22 07:36:36 UTC
Please verify && close this issue. 
Comment 11 pavel 2007-06-22 07:39:43 UTC
Works fine. Verified. Closing.