Build error freetype2

2015-10-22 Thread Heiko Zimmermann
Hello together,

I did like expected in current.html:

2015/10/19 - [xenocara] freetype update
Freetype was updated to version 2.6.1, which causes header files to be
moved around. As a result, some old files needs to be removed manually:

cd /usr/X11R6/include/freetype2
rm -rf config
rm -f freetype.h ftadvanc.h ftbbox.h ftbdf.h ftbitmap.h ftbzip2.h \
ftcache.h ftcffdrv.h ftchapters.h ftcid.h fterrdef.h \
fterrors.h ftfntfmt.h ftgasp.h ftglyph.h ftgxval.h ftgzip.h \
ftimage.h ftincrem.h ftlcdfil.h ftlist.h ftlzw.h ftmac.h \
ftmm.h ftmodapi.h ftmoderr.h ftotval.h ftoutln.h ftpfr.h \
ftrender.h ftsizes.h ftsnames.h ftstroke.h ftsynth.h \
ftsystem.h fttrigon.h fttypes.h ftwinfnt.h t1tables.h \
ttnameid.h tttables.h tttags.h ttunpat.h


Then:

cd /usr/xenocara
cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -Pd
rm -rf /usr/xobj/*
make bootstrap
make obj
make build


But I get always this error:

===> lib/freetype
install: /usr/X11R6/include/freetype2/freetype/config/ftconfig.h: No
such file or directory
*** Error 71 in lib/freetype (Makefile:42 'includes': @cmp -s
/usr/X11R6/include/freetype2/freetype/config/ftconfig.h
/usr/xenocara/lib/fre...)
*** Error 1 in lib (:48 'includes')
*** Error 1 in . (:48 'includes')
*** Error 1 in . (Makefile:57 'beforebuild')
*** Error 1 in /usr/xenocara (Makefile:40 'build')


It is on amd64, current snapshot from today.
How can I fix this?

Thank you in advance.
Heiko



Re: Build error freetype2

2015-10-22 Thread David Coppa
On Thu, Oct 22, 2015 at 12:36 PM, Heiko Zimmermann
 wrote:
> mkdir -m 0755 -p /usr/X11R6/include/freetype2/freetype/config
>
> solved the issue.
>
> cat /usr/src/etc/mtree/BSD.x11.dist > /etc/mtree/BSD.x11.dist
> was not working.

For "up-to-date src tree" I meant:

cd /usr/src
cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -Pd

See:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc/mtree/BSD.x11.dist?rev=1.41=text/x-cvsweb-markup


> Thank you David.
>
> Cheers,
> Heiko

You're welcome.
David



Re: Build error freetype2

2015-10-22 Thread Heiko Zimmermann
mkdir -m 0755 -p /usr/X11R6/include/freetype2/freetype/config

solved the issue.

cat /usr/src/etc/mtree/BSD.x11.dist > /etc/mtree/BSD.x11.dist
was not working.

Thank you David.

Cheers,
Heiko

Am 22.10.2015 um 12:31 schrieb David Coppa:
> On Thu, Oct 22, 2015 at 12:22 PM, Heiko Zimmermann
>  wrote:
>> Am 22.10.2015 um 12:19 schrieb David Coppa:
>>>
>>> Be sure your /etc/mtree/BSD.x11.dist is up to date before doing
'make bootstrap'
>>>
>>> Cheers!
>>> David
>>>
>>
>> Hello David,
>>
>> how can I fix it, or check it ?
>>
>> Thank you.
>> Heiko
>
> Using an up-to-date src tree:
>
> # cat /usr/src/etc/mtree/BSD.x11.dist > /etc/mtree/BSD.x11.dist
>
> And then proceed with the usual 'make bootstrap; make obj...'
>
> Or, alternatively, just create the missing directories:
>
> # mkdir -m 0755 -p /usr/X11R6/include/freetype2/freetype/config
>
> Ciao!
> David



Re: Build error freetype2

2015-10-22 Thread Heiko Zimmermann
Yes, I did this before:

cd /usr/src
cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -Pd
...

But I still had this issue until:

mkdir -m 0755 -p /usr/X11R6/include/freetype2/freetype/config

Thank you :)
Heiko

Am 22.10.2015 um 12:40 schrieb David Coppa:
> On Thu, Oct 22, 2015 at 12:36 PM, Heiko Zimmermann
>  wrote:
>> mkdir -m 0755 -p /usr/X11R6/include/freetype2/freetype/config
>>
>> solved the issue.
>>
>> cat /usr/src/etc/mtree/BSD.x11.dist > /etc/mtree/BSD.x11.dist
>> was not working.
> 
> For "up-to-date src tree" I meant:
> 
> cd /usr/src
> cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -Pd
> 
> See:
> 
> http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc/mtree/BSD.x11.dist?rev=1.41=text/x-cvsweb-markup
> 
> 
>> Thank you David.
>>
>> Cheers,
>> Heiko
> 
> You're welcome.
> David



Re: Build error freetype2

2015-10-22 Thread David Coppa
On Thu, Oct 22, 2015 at 12:01 PM, Heiko Zimmermann
 wrote:
> Hello together,
>
> I did like expected in current.html:
>
> 2015/10/19 - [xenocara] freetype update
> Freetype was updated to version 2.6.1, which causes header files to be
> moved around. As a result, some old files needs to be removed manually:
>
> cd /usr/X11R6/include/freetype2
> rm -rf config
> rm -f freetype.h ftadvanc.h ftbbox.h ftbdf.h ftbitmap.h ftbzip2.h \
> ftcache.h ftcffdrv.h ftchapters.h ftcid.h fterrdef.h \
> fterrors.h ftfntfmt.h ftgasp.h ftglyph.h ftgxval.h ftgzip.h \
> ftimage.h ftincrem.h ftlcdfil.h ftlist.h ftlzw.h ftmac.h \
> ftmm.h ftmodapi.h ftmoderr.h ftotval.h ftoutln.h ftpfr.h \
> ftrender.h ftsizes.h ftsnames.h ftstroke.h ftsynth.h \
> ftsystem.h fttrigon.h fttypes.h ftwinfnt.h t1tables.h \
> ttnameid.h tttables.h tttags.h ttunpat.h
>
>
> Then:
>
> cd /usr/xenocara
> cvs -d anon...@anoncvs.ca.openbsd.org:/cvs -q up -Pd
> rm -rf /usr/xobj/*
> make bootstrap
> make obj
> make build
>
>
> But I get always this error:
>
> ===> lib/freetype
> install: /usr/X11R6/include/freetype2/freetype/config/ftconfig.h: No
> such file or directory
> *** Error 71 in lib/freetype (Makefile:42 'includes': @cmp -s
> /usr/X11R6/include/freetype2/freetype/config/ftconfig.h
> /usr/xenocara/lib/fre...)
> *** Error 1 in lib (:48 'includes')
> *** Error 1 in . (:48 'includes')
> *** Error 1 in . (Makefile:57 'beforebuild')
> *** Error 1 in /usr/xenocara (Makefile:40 'build')
>
>
> It is on amd64, current snapshot from today.
> How can I fix this?
>
> Thank you in advance.
> Heiko
>

Be sure your /etc/mtree/BSD.x11.dist is up to date before doing 'make bootstrap'

Cheers!
David
-- 
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson