pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/misc/libreoffice
I don't understand this either.
My process is:
Create an empty sandbox
Install dependencies from binary packages:
# make DEPENDS_TARGET=bin-install install-depends
Try to build libreoffice, see it fail.
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_abort_decompress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_set_defaults'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_write_scanlines'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_write_marker'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_set_colorspace'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_set_quality'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_resync_to_restart'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_destroy_decompress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_read_header'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_finish_decompress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_simple_progression'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_copy_critical_parameters'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_start_compress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_std_error'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_write_coefficients'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_read_scanlines'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_finish_compress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_CreateDecompress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_calc_output_dimensions'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_destroy_compress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_read_coefficients'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_start_decompress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/libvcllo.so: undefined reference to `jpeg_CreateCompress'
/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/svx/Executable_gengal.mk:20: recipe for target '/scratch/misc/libreoffice/work/libreoffice-5.4.1.2/instdir/program/gengal.bin' failed
During configure I see:
checking for nasm... no
checking for nasmw... no
checking for yasm... no
****************************************************************************
You need yasm or nasm (Netwide Assembler) to build the internal jpeg library optimally.
To get one please:
consult https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/BUILDING.md
configure: WARNING: no suitable nasm (Netwide Assembler) found
tput: No terminal type specified and no TERM variable set in the environment.
but adding nasm or yasm does not help either.
I've also turned off all security settings and non-standard
libreoffice options in my /etc/mk.conf, no change.
Here the interesting parts of my mk.conf:
MAKE_JOBS=4
CREATE_WRKDIR_SYMLINK= yes
PKG_DEVELOPER= yes
PAPERSIZE= A4
PYTHON_VERSION_DEFAULT= 36
X11_TYPE= modular
PKGSRC_USE_RELRO= yes
PKGSRC_USE_SSP= all
PKGSRC_USE_STACK_CHECK= yes
Removing the last three lines didn't change anything either.
Thomas
On Wed, Aug 16, 2017 at 10:15:06PM +0900, Ryo ONODERA wrote:
> Hi,
>
> It is strange.
> I have removed /usr/pkg, var/db/pkg and /vardb/pkg.refcount on
> my NetBSD/amd64 8.99.1.
> And I have built misc/libreoffice and I have no problem.
>
> I will create empty VM image and built misc/libreoffice inside later.
>
> From: Thomas Klausner <wiz%NetBSD.org@localhost>, Date: Wed, 16 Aug 2017 08:48:44 +0200
>
> > On Tue, Aug 01, 2017 at 11:57:37AM +0000, Ryo ONODERA wrote:
> >> Module Name: pkgsrc
> >> Committed By: ryoon
> >> Date: Tue Aug 1 11:57:37 UTC 2017
> >>
> >> Modified Files:
> >> pkgsrc/misc/libreoffice: Makefile PLIST PLIST.java distinfo options.mk
> >> pkgsrc/misc/libreoffice/patches: patch-configure.ac
> >> patch-external_mysqlcppconn_config.h
> >> patch-solenv_gbuild_AllLangResTarget.mk
> >> patch-vcl_Executable__visualbackendtest.mk
> >> Added Files:
> >> pkgsrc/misc/libreoffice/patches: patch-desktop_unx_source_pagein.c
> >> patch-xmlsecurity_source_gpg_CertificateImpl.hxx
> >> patch-xmlsecurity_source_gpg_xmlsignature__gpgimpl.cxx
> >> Removed Files:
> >> pkgsrc/misc/libreoffice: PLIST.javascript
> >>
> >> Log Message:
> >> Update to 5.4.0.3
> >>
> >> * Remove openjdk7 support
> >> * Use internal libjpeg-turbo
> >
> > I've tried a couple times now in an empty sandbox, but this does not
> > build for me on NetBSD-8.99.1/amd64:
> >
> > [build LNK] Executable/gengal.bin
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_abort_decompress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_set_defaults'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_write_scanlines'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_write_marker'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_set_colorspace'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_set_quality'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_resync_to_restart'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_destroy_decompress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_read_header'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_finish_decompress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_simple_progression'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_copy_critical_parameters'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_start_compress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_std_error'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_write_coefficients'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_read_scanlines'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_finish_compress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_CreateDecompress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_calc_output_dimensions'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_destroy_compress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_read_coefficients'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_start_decompress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/libvcllo.so: undefined reference to `jpeg_CreateCompress'
> > /scratch/misc/libreoffice/work/libreoffice-5.4.0.3/svx/Executable_gengal.mk:20: recipe for target '/scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/gengal.bin' failed
> > gmake[1]: *** [/scratch/misc/libreoffice/work/libreoffice-5.4.0.3/instdir/program/gengal.bin] Error 1
> >
> > Thomas
>
> --
> Ryo ONODERA // ryo%tetera.org@localhost
> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
>
Home |
Main Index |
Thread Index |
Old Index