Apache OpenOffice (AOO) Bugzilla – Issue 60274
Cannot build ODK with default MAXLINELENGTH
Last modified: 2013-12-09 16:28:54 UTC
I was unable to build the ODK with the default MAXLINELENGTH, and was forced to add the following patch: cvs server: Diffing . Index: makefile.mk =================================================================== RCS file: /cvs/api/odk/util/makefile.mk,v retrieving revision 1.20 diff -r1.20 makefile.mk 9c9 < --- > MAXLINELENGTH = 500000 to make it build.
sw->jsc: looks like one for you
i can't reproduce this behaviour in our build environment. Maybe it is a wrng default in the OO build env. I will try to find some more infos.
Exact message is: builder@MARS:/cygdrive/d/OpenOffice2/odk/util> dmake dmake: ../wntmsci10.pro/misc/odk.dpz: line 779: Error -- Input line too long, increase MAXLINELENGTH (buffer was 65532) ---* TG_SLO.MK *--- builder@MARS:/cygdrive/d/OpenOffice2/odk/util> I added the ('buffer was ...') line to dmake to get more info with the following patch: Index: getinp.c =================================================================== RCS file: /cvs/tools/dmake/getinp.c,v retrieving revision 1.5 diff -r1.5 getinp.c 184c184,185 < Fatal( "Input line too long, increase MAXLINELENGTH" ); --- > Fatal( "Input line too long, increase MAXLINELENGTH (buffer was %d)", > Buffer_size ); I will attach the offending odk.dpz file.
Created attachment 33088 [details] Offending file
@mtg: Did you look into the offending file? You have lots of lines with files from some subversion repository. Like: ../examples$/basic$/forms_and_controls$/.svn$/...... They certainly don't belong there.
jsc -> mtg: Volker (vq) already mentioned it, your odk.dpz file contains a lot of files including ".svn". These file definitely don't belong there. That causes probably the problem but i have no idea how this can happen because the example files are specified explicitly. And of course from where comes the .svn entries. Do you have a separate source code control system? If yes, why and then you can patch it in your env but not in the global cvs. I would say the problem is on your side in your environment. But the problem is existent and will maybe popup again when we will have more examples in the SDK in the future, i will think about a solution.
change target to "OOo Later"
accepted
close