Re: libreoffice build solution...

2012-07-07 Thread Leslie Jensen



2012-07-06 00:07, Sergio de Almeida Lenzi skrev:

With the help of Luca Pizzamiglio luca.pizzamig...@gmail.com,

I can say that libreoffice now builds with clang 3.1 either with the
base system
or with the ports...

Just add a series of patch instructions in the /etc/make.conf
go to /usr/ports/editors/libreoffice,
verify if it is version 3.5.4
than do a command make clean install
Should build fine now..


.if ${.CURDIR:M/usr/ports/editors/libreoffice}
PATCH_SITES+=http://dist64.k1.com.br:81/Downloads/
PATCHFILES+=patch-libreoffice-3.5.4-clang
.endif


go
Sergio
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org





After updating ports, libreoffice-3.5.4 now builds without errors on 
8.2-RELEASE-p9 amd64.


Thank you :-)


/Leslie



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libreoffice build solution...

2012-07-06 Thread Sam Fourman Jr.
after applying the patch on yesterdays HEAD


i get the following


Making:report-builder.oxt
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
[ build JAR ] pexcel
reportbuilder deliver
Module 'reportbuilder' delivered successfully. 1 files copied, 5 files unchanged
[ build MOD ] xmerge
[ build MOD ] tail_end
[ build ALL ] top level modules: bootstrap src.downloaded tail_end
[ build ALL ] loaded modules: MathMLDTD Mesa animations basctl bean
chart2 cui dbaccess desktop eventattacher fileaccess filter forms
formula hwpfilter lotuswordpro oox package padmin reportdesign sc
sccomp scripting sd slideshow starmath sw swext tail_end unoxml uui
vbahelper wizards writerfilter writerperfect xmerge xmlsecurity


tail_build deliver
Module 'tail_build' delivered successfully. 0 files copied, 0 files unchanged

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/odk/pack/gendocu

 it seems that the error is inside 'odk', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/usr/local/bin/bash
cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2
source ./Env.Host.sh
cd odk
rm -Rf 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/odk/unxfbsd.pro
# optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
gmake[1]: *** [build] Error 1
gmake[1]: Leaving directory
`/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2'
gmake: *** [source-env-and-recurse] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/editors/libreoffice.
*** [install] Error code 1

Stop in /usr/ports/editors/libreoffice.
Titan#




after following the instructions I get





Create files in subtree index

...rm
../../unxfbsd.pro/bin/odkcommon/docs/cpp/ref/cpp.css
mkdir -p ../../unxfbsd.pro/misc/java_src/
cp 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/solver/unxfbsd.pro/bin/jurt_src.zip
../../unxfbsd.pro/misc/java_src/jurt_src.zip
cd ../../unxfbsd.pro/misc/java_src  unzip -quo jurt_src.zip
unzip: -n, -o and -u are contradictory
dmake:  Error code 1, while making
'../../unxfbsd.pro/misc/java_src/jurt_src.zip'
dmake:  '../../unxfbsd.pro/misc/java_src/jurt_src.zip' removed.

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/odk/pack/gendocu

 it seems that the error is inside 'odk', please re-run build
 inside this module to isolate the error and/or test your fix:
---

/usr/local/bin/bash
cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2
source ./Env.Host.sh
cd odk
rm -Rf 
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/odk/unxfbsd.pro
# optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
[root@Titan /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.4.2/odk]#



Sam
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libreoffice build solution...

2012-07-05 Thread Sergio de Almeida Lenzi
Em Qui, 2012-07-05 às 01:07 -0400, Robert Huff escreveu:

 
 Attempting to build 3.5.4 on
 
 FreeBSD 10.0-CURRENT #0: Sun Mar 11 08:20:02 EDT 2012 amd64 
 
 has clang-3.1 as a dependency - it even overrides
 USE_GCC=4.6
 Is there any way to make to not require this?
 
 
 Robert Huff
 

As I told in the previous email to the list, 

you must install clang 3.0 using an old  port,
than edit the Makefile (in the libreoffice port...)
to point to the 3.0 clang..

This way, libreoffice builds...


Sergio
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: Question about clang 3.0................Re: libreoffice build solution...

2012-07-05 Thread Sergio de Almeida Lenzi


 
 Hi Sergio.
 
 Where do I find the clang 3.0 port? It's no longer in the ports tree.
 
 
 Regards
 
 
 /Leslie


You can fetch the tar with the old  clang ports

and expand it in the /usr/ports, the clang and llvm will than
be installed in the /usr/ports/misc/ directory
Make sure that ther is NO clang installed
than...
cd /usr/ports/misc/clang
make install





http://dist64.k1.com.br:81/Downloads/clang+llvm-ports-3.0.tar.gz



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libreoffice build solution...

2012-07-05 Thread Sergio de Almeida Lenzi
With the help of Luca Pizzamiglio luca.pizzamig...@gmail.com,

I can say that libreoffice now builds with clang 3.1 either with the
base system
or with the ports...

Just add a series of patch instructions in the /etc/make.conf
go to /usr/ports/editors/libreoffice,
verify if it is version 3.5.4
than do a command make clean install
Should build fine now..


.if ${.CURDIR:M/usr/ports/editors/libreoffice}
PATCH_SITES+=http://dist64.k1.com.br:81/Downloads/
PATCHFILES+=patch-libreoffice-3.5.4-clang
.endif


go 
Sergio
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libreoffice build solution...

2012-07-05 Thread Sergio de Almeida Lenzi
With the help of Luca Pizzamiglio luca.pizzamig...@gmail.com,

I can say that libreoffice now builds with clang 3.1 either with the
base system
or with the ports...

Just add a series of patch instructions in the /etc/make.conf
go to /usr/ports/editors/libreoffice,
verify if it is version 3.5.4
than do a command make clean install
Should build fine now..


.if ${.CURDIR:M/usr/ports/editors/libreoffice}
PATCH_SITES+=http://dist64.k1.com.br:81/Downloads/
PATCHFILES+= patch-libreoffice-3.5.4-clang
.endif


Sergio 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


libreoffice build solution...

2012-07-04 Thread Sergio de Almeida Lenzi
Well... 
after poking around with FreeBSD version 8.2, 8,3 and 9.x and 10.X
AMD64 version, I notice that:
1) Libreoffice version 3.5.4 builds ONLY with clang version 3.0
2) When using FreeBSD 9.X and 10.X, libreoffice builds with clang in the
base system 
as they are clang 3.0
3) For FreeBSD 8.X, it builds ONLY with the clang-3.0 that is not in the
ports any more
so I had to install old  ports (clang and llvm) version 3.0

Than libreoffice builds, install and works OK.  It is faster than the
previous
one (3.5.2).

Using clang version 3.1 or clang-devel  does not build, stops somewhere
in
the build process because clang aborts with signal 6.

Time to build is aprox 45 minutes

Hope this will help

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libreoffice build solution...

2012-07-04 Thread Kevin Oberman
On Wed, Jul 4, 2012 at 6:54 PM, Sergio de Almeida Lenzi
lenzi.ser...@gmail.com wrote:
 Well...
 after poking around with FreeBSD version 8.2, 8,3 and 9.x and 10.X
 AMD64 version, I notice that:
 1) Libreoffice version 3.5.4 builds ONLY with clang version 3.0
 2) When using FreeBSD 9.X and 10.X, libreoffice builds with clang in the
 base system
 as they are clang 3.0
 3) For FreeBSD 8.X, it builds ONLY with the clang-3.0 that is not in the
 ports any more
 so I had to install old  ports (clang and llvm) version 3.0

 Than libreoffice builds, install and works OK.  It is faster than the
 previous
 one (3.5.2).

 Using clang version 3.1 or clang-devel  does not build, stops somewhere
 in
 the build process because clang aborts with signal 6.

 Time to build is aprox 45 minutes

Unfortunately, 9-Stable of June 12 has already been updated to 3.1, so
I'll need to install an old clang port (and llvm?) to build
libreoffice.
-- 
R. Kevin Oberman, Network Engineer
E-mail: kob6...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: libreoffice build solution...

2012-07-04 Thread Robert Huff

Kevin Oberman writes:

  On Wed, Jul 4, 2012 at 6:54 PM, Sergio de Almeida Lenzi
  lenzi.ser...@gmail.com wrote:
   Well...
   after poking around with FreeBSD version 8.2, 8,3 and 9.x and 10.X
   AMD64 version, I notice that:
   1) Libreoffice version 3.5.4 builds ONLY with clang version 3.0
   2) When using FreeBSD 9.X and 10.X, libreoffice builds with clang in the
   base system
   as they are clang 3.0
   3) For FreeBSD 8.X, it builds ONLY with the clang-3.0 that is not in the
   ports any more
   so I had to install old  ports (clang and llvm) version 3.0
  
   Than libreoffice builds, install and works OK.  It is faster than the
   previous
   one (3.5.2).
  
   Using clang version 3.1 or clang-devel  does not build, stops somewhere
   in
   the build process because clang aborts with signal 6.
  
   Time to build is aprox 45 minutes
  
  Unfortunately, 9-Stable of June 12 has already been updated to 3.1, so
  I'll need to install an old clang port (and llvm?) to build
  libreoffice.

Attempting to build 3.5.4 on

FreeBSD 10.0-CURRENT #0: Sun Mar 11 08:20:02 EDT 2012 amd64 

has clang-3.1 as a dependency - it even overrides USE_GCC=4.6
Is there any way to make to not require this?


Robert Huff






___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org