Re: openoffice.org-2.0 does not build on amd64 with 6.1

2006-10-31 Thread Oliver Lehmann
Vasil Dimov writes: 

is clearly truncated and is also precisely 128 characters long. While your 
NFS mount point /mnt/files/ adds only 11 characters to the file name, 
this may be enough to overflow a fixed 128 character buffer used by the 
idlc. Try mounting the NFS file system at say /mnt or even /m to keep 
the file names as short as possible.




This didn't fixed the problem - still the same problem. btw /mnt/files/ is 
from the string length the same as /usr/ports/ which is the default 
WRKDIRPREFIX ;) 

/m/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/udkapi/com/sun/star/u 
no

mkout -- version: 1.7
idlc @/tmp/mkMQbTxq
idlc: compile 'Exception.idl' ...
idlc: could not create registry file 
'file:///m/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/udkapi/unxfbs 
dx.pro/ucr/com/sun/star/uno/Exception._idlc_'
idlc: cannot remove directory 
'/m/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/udkapi/unxfbsdx.pro/ 
ucr/com/sun/star/uno'

idlc: detected 1 errors
Sun Microsystems (R) idlc Version 1.1 

dmake:  Error code 1, while making 
'../../../../unxfbsdx.pro/misc/urd_cssuno.don'
'---* tg_merge.mk *---' 

ERROR: Error 65280 occurred while making 
/m/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/udkapi/com/sun/star/u 
no

dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255 


Stop in /usr/ports/editors/openoffice.org-2.0.
Exit 1
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice.org-2.0 does not build on amd64 with 6.1

2006-10-31 Thread Marcin Cieslak
Vasil Dimov wrote:
 On Tue, Oct 31, 2006 at 12:06:55AM +, Bartosz Fabianowski wrote:
 It seems that you have run into a know problem with the OpenOffice.org 
 build system - it does not work when file names become too long. In the 
 error message you posted, 

I've run into similar problem with epm and 256 character limit (tried
last time with 2.02). idlc seems something new to me.
-- 
   Marcin Cieslak // [EMAIL PROTECTED] 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice.org-2.0 does not build on amd64 with 6.1

2006-10-30 Thread Bartosz Fabianowski
It seems that you have run into a know problem with the OpenOffice.org 
build system - it does not work when file names become too long. In the 
error message you posted, 
file:///mnt/files/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/udkapi/unxfbsdx.pro/ucr/com/sun/star/uno/Exception._idlc_ 
is clearly truncated and is also precisely 128 characters long. While 
your NFS mount point /mnt/files/ adds only 11 characters to the file 
name, this may be enough to overflow a fixed 128 character buffer used 
by the idlc. Try mounting the NFS file system at say /mnt or even /m 
to keep the file names as short as possible.


- Bartosz
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice.org-2.0 does not build on amd64 with 6.1

2006-10-30 Thread Vasil Dimov
On Tue, Oct 31, 2006 at 12:06:55AM +, Bartosz Fabianowski wrote:
 It seems that you have run into a know problem with the OpenOffice.org 
 build system - it does not work when file names become too long. In the 
 error message you posted, 
 file:///mnt/files/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5/udkapi/unxfbsdx.pro/ucr/com/sun/star/uno/Exception._idlc_
  
 is clearly truncated and is also precisely 128 characters long. While your 
 NFS mount point /mnt/files/ adds only 11 characters to the file name, 
 this may be enough to overflow a fixed 128 character buffer used by the 
 idlc. Try mounting the NFS file system at say /mnt or even /m to keep 
 the file names as short as possible.

Argh! This seems very nasty if you got it after 10 hours of
compilation...

What about something like this:

--- patch begins here ---
Index: Makefile
===
RCS file: /home/pcvs/ports/editors/openoffice.org-2.0/Makefile,v
retrieving revision 1.261
diff -u -r1.261 Makefile
--- Makefile18 Oct 2006 21:55:44 -  1.261
+++ Makefile31 Oct 2006 06:54:33 -
@@ -181,6 +181,15 @@
 .include ${FILESDIR}/Makefile.knobs
 
 pre-everything::
+   @defaultwrksrc=/usr/ports/editors/openoffice.org-2.0/work/OOD680_m5 ; \
+   currentwrksrc=${WRKSRC} ; \
+   if [ $${#currentwrksrc} -gt $${#defaultwrksrc} ] ; then \
+   echo  ; \
+   echo WARNING: ; \
+   echo You may run into problems, because your WRKSRC 
($${currentwrksrc}) is too long. ; \
+   echo Try making it less or equal to $${#defaultwrksrc} 
characters. ; \
+   echo  ; \
+   fi
 # really tweak, extremely useful when you build all localized language versions
 # needed after when you build with ALL_LOCALIZED_LANGS.
 .if defined(TWEAK_L10N)
--- patch ends here ---

-- 
Vasil Dimov
[EMAIL PROTECTED]
%
Look, that's why there's rules, understand?
So that you think before you break 'em.
-- (Terry Pratchett, Thief of Time)


pgp6DwAPCXhuB.pgp
Description: PGP signature