ArchiveOrangemail archive

Porting software to FreeBSD


freebsd-ports.freebsd.org
(List home) (Recent threads) (174 other FreeBSD lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Moderate traffic list: up to 30 messages per day
  • This list contains about 191,955 messages, beginning Feb 1995
  • 32 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

Re: Binary packages for LibreOffice 3.5 or 3.4

Ad
Robert Huff 1336489577Tue, 08 May 2012 15:06:17 +0000 (UTC)
(Late to the party - there was a pile-up on the backbone just
outside of Barcelona.)
	On

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

	I am unable to compile libreoffice-3.5.<latest version> using
either Clang or gcc-4.6.  The "make.conf" is appended.  I have also
defined "MAKE_JOBS_UNSAFE".
	The error message for Clang is:

Compiling: lingucomponent/source/thesaurus/libnth/nthesdta.cxx
Compiling: lingucomponent/source/thesaurus/libnth/ntreg.cxx
Compiling: lingucomponent/source/thesaurus/libnth/nthesimp.cxx
Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hreg.cxx
Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
/usr/local/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libhyphenlo.so' -o ../../../../unxfbsd.pro/misc/hyphen.component \
        /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt hyphen.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/liblnthlo.so' -o ../../../unxfbsd.pro/misc/lnth.component \
        /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt lnth.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$LO_LIB_DIR/libguesslanglo.so' -o ../../unxfbsd.pro/misc/guesslang.component \
        /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt guesslang.component
Making:    guesslang.lib
Making:    libguesslanglo.so
Making:    spell.lib
Making:    libspelllo.so
Making:    hyphen_lib.lib
Making:    libhyphenlo.so
Making:    lnth.lib
Making:    liblnthlo.so
lingucomponent deliver
Module 'lingucomponent' delivered successfully. 12 files copied, 2 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/Developmen...

  internal build errors:

ERROR: error 65280 occurred while making /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile

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

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


	The error message for gcc46 is:

=============
(23/115) Building module mdds
=============
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/mdds

if [ -f ./unxfbsd.pro/misc/build/mdds_0.5.3.exists ] ; then mv ./unxfbsd.pro/misc/build/mdds_0.5.3 ./unxfbsd.pro/misc/build/mdds_0.5.3_removeme ; fi
make writeable...
patching file mdds_0.5.3/include/mdds/mixed_type_matrix_def.inl
patching file mdds_0.5.3/include/mdds/mixed_type_matrix_storage_filled_linear.inl
patching file mdds_0.5.3/include/mdds/point_quad_tree.hpp
mdds deliver
Module 'mdds' delivered successfully. 19 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/Developmen...

  internal build errors:

ERROR: error 65280 occurred while making /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/xml2cmp/prj

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

/usr/local/bin/bash
cd /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd xml2cmp
gmake clean # optional
gmake -r

	In the case of gcc46, when I execute the previous six lines,
return to
/data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
and run "make", I get:

	it says:

Error expanding embedded variable.

	(Per a previous message, I have re-compiled libcmis with
gcc42.)

	Any ideas?


				Robert Huff



CFLAGS=			-O -pipe -g 
STRIP= 
SYMVER_ENABLED=	yes
X_WINDOW_SYSTEM=	xorg
HAVE_MOTIF=		yes

FC="gfortran42"


#	to get automatic SASL in sendmail

SENDMAIL_CFLAGS+=	-I/usr/local/include/ -DSASL=2
SENDMAIL_LDFLAGS+=	-L/usr/local/lib
SENDMAIL_LDADD+=	-lsasl2

#
#	to make CUPS magically keep working
#	See: http://www.csua.berkeley.edu/~ranga/notes/fre...
#

CUPS_OVERWRITE_BASE=	yes
NO_LPR=				true

#	added per /usr/ports/UPDATING entry 20090401

OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10

#

WITH_MOZILLA=			libxul
WITH_GECKO=			libxul

#
# added 2007/03/04 per advice of  
#	in re science/gramps
#

WITH_BERKELEYDB=db43
WITH_BDB_VER=43
WANT_OPENLDAP_VER=24
WANT_OPENLDAP_SASL=true


# added by use.perl 2012-03-07 11:13:24
PERL_VERSION=5.14.2

#
# PORTS: use clang unless gcc is explicitly required
#

#
# default to using clang for all port builds, with the following
# exceptions

# ports which will only build with the base system GNU compiler (4.2)
#
# the "make index" target also seems to need this, for some reason

.if target(index) | \
${.CURDIR:M*/devel/antlr*} | \
${.CURDIR:M*/devel/google-perftools* } | \
${.CURDIR:M*/graphics/ImageMagick* } | \
${.CURDIR:M*/graphics/opencv*} | \
${.CURDIR:M*/www/libxul*} | \
${.CURDIR:M*/x11/kdelibs4*} | \
${.CURDIR:M*/x11-toolkits/swt-devel*}
USE_GCC?=4.2
.endif

# ports which need *some* version of the GNU compiler (won't build with
# clang or have runtime issues if built with clang)
# use the highest version of gcc we have installed from ports (4.6)

.if ${.CURDIR:M*/accessibility/jovie*} | \
${.CURDIR:M*/accessibility/kdeaccessibility4*} | \
${.CURDIR:M*/audio/grip*} | \
${.CURDIR:M*/audio/mpg123*} | \
${.CURDIR:M*/audio/rosegarden*} | \
${.CURDIR:M*/databases/virtuoso*} | \
${.CURDIR:M*/deskutils/kdepimlibs4*} | \
${.CURDIR:M*/devel/apache-ant*} | \
${.CURDIR:M*/devel/binutils*} | \
${.CURDIR:M*/devel/icu*} | \
${.CURDIR:M*/devel/kdevelop-kde4*} | \
${.CURDIR:M*/devel/kdevplatform*} | \
${.CURDIR:M*/devel/log4j*} | \
${.CURDIR:M*/games/kdegames4*} | \
${.CURDIR:M*/graphics/tonicpoint-viewer*} | \
${.CURDIR:M*/java/* } | \
${.CURDIR:M*/lang/gcc*} | \
${.CURDIR:M*/math/fftw3*} | \
${.CURDIR:M*/multimedia/avidemux2*} | \
${.CURDIR:M*/multimedia/kdemultimedia4*} | \
${.CURDIR:M*/multimedia/vlc*} | \
${.CURDIR:M*/multimedia/xbmc*} | \
${.CURDIR:M*/net/kdenetwork4*} | \
${.CURDIR:M*/net/mpich2*} | \
${.CURDIR:M*/net/opal3*} | \
${.CURDIR:M*/net-p2p/ktorrent*} | \
${.CURDIR:M*/net-p2p/vuze*} | \
${.CURDIR:M*/sysutils/lsof*} | \
${.CURDIR:M*/textproc/docbook-xsl*} | \
${.CURDIR:M*/textproc/fop*} | \
${.CURDIR:M*/www/firefox*} | \
${.CURDIR:M*/x11/kde4-baseapps*} | \
${.CURDIR:M*/x11/kde4-workspace*} | \
${.CURDIR:M*/x11/lxpanel*} | \
${.CURDIR:M*/x11-toolkits/swt*}
USE_GCC?=4.6+
.endif

.if ${.CURDIR:M*/usr/ports/*}
.if !defined(USE_GCC)
.if !defined(CC) || ${CC} == "cc"
CC=clang
.endif
.if !defined(CXX) || ${CXX} == "c++"
CXX=clang++
.endif
.if !defined(CPP) || ${CPP} == "cpp"
CPP=clang-cpp
.endif
.endif
.endif

WITH_NEW_XORG=yes
Daniel Nebdal 1336561234Wed, 09 May 2012 11:00:34 +0000 (UTC)
>
>        In the case of gcc46, when I execute the previous six lines,
> return to
> /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
> and run "make", I get:
>
>        it says:
>
> Error expanding embedded variable.
>
>        (Per a previous message, I have re-compiled libcmis with
> gcc42.)
>
>        Any ideas?
>
>
>                                Robert HuffTry with gmake instead?-- 
Daniel Nebdal
Robert Huff 1336564951Wed, 09 May 2012 12:02:31 +0000 (UTC)
Daniel Nebdal writes:
>  >
>  >        In the case of gcc46, when I execute the previous six lines,
>  > return to
>  > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
>  > and run "make", I get:
>  >
>  >        it says:
>  >
>  > Error expanding embedded variable.
>  >
>  >        (Per a previous message, I have re-compiled libcmis with
>  > gcc42.)
>  >
>  >        Any ideas?
>  >
>  >
>  >                                Robert Huff
>  
>  
>  Try with gmake instead?After fishing in different directoroes, I did so and got:

Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc

Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util

Making:    libuno_sal.so.3
: ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
dmake:  Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'


					Robert Huff
Baptiste Daroussin 1336567523Wed, 09 May 2012 12:45:23 +0000 (UTC)
On Wed, May 09, 2012 at 07:59:15AM -0400, Robert Huff wrote:
> 
> Daniel Nebdal writes:
> >  >
> >  >        In the case of gcc46, when I execute the previous six lines,
> >  > return to
> >  > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
> >  > and run "make", I get:
> >  >
> >  >        it says:
> >  >
> >  > Error expanding embedded variable.
> >  >
> >  >        (Per a previous message, I have re-compiled libcmis with
> >  > gcc42.)
> >  >
> >  >        Any ideas?
> >  >
> >  >
> >  >                                Robert Huff
> >  
> >  
> >  Try with gmake instead?
> 
> 	After fishing in different directoroes, I did so and got:
> 
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
> 
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
> 
> Making:    libuno_sal.so.3
> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> dmake:  Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
> 
> 
> 					Robert Huff
>That was the problem I was speaking about mixing different libstdc++ the one
from base and the one from gcc46.

I don't know how to fix this.

regards,
Bapt
Daniel Nebdal 1336569092Wed, 09 May 2012 13:11:32 +0000 (UTC)
On Wed, May 9, 2012 at 2:43 PM, Baptiste Daroussin  wrote:
> On Wed, May 09, 2012 at 07:59:15AM -0400, Robert Huff wrote:
>>
>> Daniel Nebdal writes:
>> >  >
>> >  >        In the case of gcc46, when I execute the previous six lines,
>> >  > return to
>> >  > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
>> >  > and run "make", I get:
>> >  >
>> >  >        it says:
>> >  >
>> >  > Error expanding embedded variable.
>> >  >
>> >  >        (Per a previous message, I have re-compiled libcmis with
>> >  > gcc42.)
>> >  >
>> >  >        Any ideas?
>> >  >
>> >  >
>> >  >                                Robert Huff
>> >
>> >
>> >  Try with gmake instead?
>>
>>       After fishing in different directoroes, I did so and got:
>>
>> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
>>
>> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
>>
>> Making:    libuno_sal.so.3
>> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
>> dmake:  Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
>>
>>
>>                                       Robert Huff
>>
>
> That was the problem I was speaking about mixing different libstdc++ the one
> from base and the one from gcc46.
>
> I don't know how to fix this.
>
> regards,
> BaptDoes this also happen when building libreoffice with clang? I just
built it on 8.2 using clang, and that worked fine (apart from a
failure in vcl, but that was caused by some leftover qt3 headers in
/usr/local/include ).


Daniel Nebdal
Baptiste Daroussin 1336573750Wed, 09 May 2012 14:29:10 +0000 (UTC)
On Wed, May 09, 2012 at 03:09:48PM +0200, Daniel Nebdal wrote:
> On Wed, May 9, 2012 at 2:43 PM, Baptiste Daroussin  wrote:
> > On Wed, May 09, 2012 at 07:59:15AM -0400, Robert Huff wrote:
> >>
> >> Daniel Nebdal writes:
> >> >  >
> >> >  >        In the case of gcc46, when I execute the previous six lines,
> >> >  > return to
> >> >  > /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2,
> >> >  > and run "make", I get:
> >> >  >
> >> >  >        it says:
> >> >  >
> >> >  > Error expanding embedded variable.
> >> >  >
> >> >  >        (Per a previous message, I have re-compiled libcmis with
> >> >  > gcc42.)
> >> >  >
> >> >  >        Any ideas?
> >> >  >
> >> >  >
> >> >  >                                Robert Huff
> >> >
> >> >
> >> >  Try with gmake instead?
> >>
> >>       After fishing in different directoroes, I did so and got:
> >>
> >> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/textenc
> >>
> >> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/sal/util
> >>
> >> Making:    libuno_sal.so.3
> >> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> >> dmake:  Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
> >>
> >>
> >>                                       Robert Huff
> >>
> >
> > That was the problem I was speaking about mixing different libstdc++ the one
> > from base and the one from gcc46.
> >
> > I don't know how to fix this.
> >
> > regards,
> > Bapt
> 
> 
> Does this also happen when building libreoffice with clang? I just
> built it on 8.2 using clang, and that worked fine (apart from a
> failure in vcl, but that was caused by some leftover qt3 headers in
> /usr/local/include ).
> 
> 
> Daniel NebdalWith clang it is ok
Bapt
Robert Huff 1336575857Wed, 09 May 2012 15:04:17 +0000 (UTC)
Daniel Nebdal writes:

>  >> Making:    libuno_sal.so.3
>  >> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
>  >> dmake:  Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
>  >
>  > That was the problem I was speaking about mixing different libstdc++ the one
>  > from base and the one from gcc46.
>  >
>  > I don't know how to fix this.
>  
>  Does this also happen when building libreoffice with clang?With clang, I get:

=============
(1/1) Building module icc
=============
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc

Using system SampleICC, nothing to do here.
Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile

Making:    create_sRGB_profile
/usr/bin/ld: cannot open output file ../../unxfbsd.pro/bin/create_sRGB_profile: No such file or directory
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
dmake:  Error code 1, while making '../../unxfbsd.pro/bin/create_sRGB_profile'



					Robert Huff
Baptiste Daroussin 1336576914Wed, 09 May 2012 15:21:54 +0000 (UTC)
On Wed, May 09, 2012 at 11:00:12AM -0400, Robert Huff wrote:
> 
> Daniel Nebdal writes:
> 
> >  >> Making:    libuno_sal.so.3
> >  >> : ERROR: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 required by ../unxfbsd.pro/lib/check_libuno_sal.so.3 not found
> >  >> dmake:  Error code 1, while making '../unxfbsd.pro/lib/libuno_sal.so.3'
> >  >
> >  > That was the problem I was speaking about mixing different libstdc++ the one
> >  > from base and the one from gcc46.
> >  >
> >  > I don't know how to fix this.
> >  
> >  Does this also happen when building libreoffice with clang? 
> 
> 	With clang, I get:
> 
> =============
> (1/1) Building module icc
> =============
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc
> 
> Using system SampleICC, nothing to do here.
> Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile
> 
> Making:    create_sRGB_profile
> /usr/bin/ld: cannot open output file ../../unxfbsd.pro/bin/create_sRGB_profile: No such file or directory
> clang++: error: linker command failed with exit code 1 (use -v to see invocation)
> dmake:  Error code 1, while making '../../unxfbsd.pro/bin/create_sRGB_profile'
> 
> 
> 
> 					Robert Huff
>What options are you using?

regards,
Bapt
Robert Huff 1336582903Wed, 09 May 2012 17:01:43 +0000 (UTC)
Baptiste Daroussin writes:
>  > 	With clang, I get:
>  > 
>  > =============
>  > (1/1) Building module icc
>  > =============
>  > Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc
>  > 
>  > Using system SampleICC, nothing to do here.
>  > Entering /data/port-work/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/icc/source/create_sRGB_profile
>  > 
>  > Making:    create_sRGB_profile
>  > /usr/bin/ld: cannot open output file ../../unxfbsd.pro/bin/create_sRGB_profile: No such file or directory
>  > clang++: error: linker command failed with exit code 1 (use -v to see invocation)
>  > dmake:  Error code 1, while making '../../unxfbsd.pro/bin/create_sRGB_profile'
>  
>  What options are you using?huff@> make showconfig
===> The following configuration options are available for libreoffice-3.5.2_2:
     WEBDAV=on "Support webdav protocol"
     KDE4=off "With Qt4/KDE4 vclplug support"
     GTK=on "With GTK vclplug support"
     GTK3=off "With GTK3 vclplug support"
     GNOME=off "Better integration in gnome environnement"
     JAVA=on "Add Java support (XML Filters, macros)"
     SYSTRAY=off "Enable systemtray quickstarter"
     MMEDIA=off "Enable multimedia backend for impress"
     SDK=off "Build with SDK"
     SVG=on "Enable SVG support"
     DEBUG=off "Build with debug symbols and verbose output"
     PGSQL=on "Build with PostgreSQL-SDBC driver"
===> Use 'make config' to modify these settings



					Robert Huff
Doug Barton 1336595704Wed, 09 May 2012 20:35:04 +0000 (UTC)
Has anyone answered the original question? Are there going to be
packages for libreoffice? If not, why not?

Doug-- 

    This .signature sanitized for your protection
Baptiste Daroussin 1336648742Thu, 10 May 2012 11:19:02 +0000 (UTC)
On Wed, May 09, 2012 at 01:34:28PM -0700, Doug Barton wrote:
> Has anyone answered the original question? Are there going to be
> packages for libreoffice? If not, why not?
> 
> DougYes as soon as pointyhat builds are uploaded.

For example there are libreoffice packages on http://pkgbeta.freebsd.org

regards,
Bapt
Ad
Home | About | Privacy