pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Failure to build misc/libreoffice - pdfium problems?



Hi,

Paul Goyette <paul%whooppee.com@localhost> writes:

> Is anyone else having any problem building libreoffice?  Is it
> just me?
>
> The only thing that might be "special" about my setup is that I
> explicitly disable java support with
>
>  	PKG_OPTIONS.libreoffice=	-java
>
>

What is your X.org type (X11_TYPE)?
I have not tested with X11_TYPE=native (X.org from xsrc) yet.

My broken laptop will be returned from a factory in this week hopefully.
After its arrival, I will check X11_TYPE=native case and
I will try nros's suggestion.

Sorry for your inconvenience.


> On Sat, 19 Oct 2019, Paul Goyette wrote:
>
>> With pkgsrc updated on 2019-10-19 at 04:24:32 UTC, I am getting a
>> ton of error messages related to pdfium.  I can provide the entire
>> 3MB log file to anyone who might be interested in looking further;
>> there's so many errors that extracting them seems pointless.  Here
>> is the first error I found:
>>
>> ...
>> [build C  ] UnpackedTarball/pdfium/third_party/freetype/src/src/psaux/psaux.c
>> In file included from 
>> /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-6.3.2.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase.c:32:0:
>> /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-6.3.2.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftobjs.c:4062:3: 
>> error: conflictingtypes for 'FT_Get_Name_Index'
>>   FT_Get_Name_Index( FT_Face     face,
>>   ^~~~~~~~~~~~~~~~~
>> In file included from 
>> /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-6.3.2.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/include/freetype/internal/ftdebug.h:30:0,
>>                 from 
>> /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-6.3.2.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftadvanc.c:20,
>>                 from 
>> /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-6.3.2.2/workdir/UnpackedTarball/pdfium/third_party/freetype/src/src/base/ftbase.c:22:
>> /tmp/pkgs/misc/libreoffice/work.x86_64/.x11-buildlink/include/freetype2/freetype/freetype.h:3935:3: 
>> note: previous declaration of 'FT_Get_Name_Index' was here
>>   FT_Get_Name_Index( FT_Face     face,
>>   ^~~~~~~~~~~~~~~~~
>> ...
>>
>> This is on a NetBSD 9.99.15 amd64 host, and building into a newly-
>> created sandbox.
>>
>> +--------------------+--------------------------+-----------------------+
>> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
>> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
>> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
>> +--------------------+--------------------------+-----------------------+
>>
>
> +--------------------+--------------------------+-----------------------+
> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
> +--------------------+--------------------------+-----------------------+

-- 
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