@John Arnold
There is a really simple workaround till this is fixed.

This worked for me and let me compile xorgxrdp.  Not sure what your use
case is but...

step 1

*$ sudo touch /usr/include/X11/fonts/fontutil.h*

This file is owned by *root:root*, with mode *0o644*.

Then edit that file and put the following contents into it:

#ifndef _FONTUTIL_H_#define _FONTUTIL_H_
#include <X11/fonts/FSproto.h>
extern int FontCouldBeTerminal(FontInfoPtr);extern int
CheckFSFormat(fsBitmapFormat, fsBitmapFormatMask, int *, int *,
                         int *, int *, int *);extern void 
extern void GetGlyphs ( FontPtr font, unsigned long count,
                        unsigned char *chars, FontEncoding fontEncoding,
                        unsigned long *glyphcount, CharInfoPtr *glyphs );extern 
QueryGlyphExtents ( FontPtr pFont, CharInfoPtr *charinfo,
                                unsigned long count, ExtentInfoRec *info 
);extern Bool
QueryTextExtents ( FontPtr pFont, unsigned long count,
                               unsigned char *chars, ExtentInfoRec *info 
);extern Bool
ParseGlyphCachingMode ( char *str );extern void InitGlyphCaching (
void );extern void SetGlyphCachingMode ( int newmode );extern int
add_range ( fsRange *newrange, int *nranges, fsRange **range,
                       Bool charset_subset );
#endif /* _FONTUTIL_H_ */

                          = = = = = = = = = =  =

Save the file and then do your compile/make etc and it should succeed.

Again, this is just a workaround till the bug gets fixed but it works for


On Aug 9, 2017 7:45 PM, "John Anold" <1707...@bugs.launchpad.net> wrote:

> Update appreciated -- waiting for notification is not the same as an
> ETA.  We're hard-down for one of our environments waiting for a fix
> here.
> Thanks,
> John
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1707691
> Title:
>   libxfont1-dev is missing fontutil.h
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/libxfont/+bug/1707
> 691/+subscriptions

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.

  libxfont1-dev is missing fontutil.h

Status in libxfont package in Ubuntu:
  Won't Fix
Status in xorg-server package in Ubuntu:
Status in libxfont source package in Xenial:
Status in xorg-server source package in Xenial:
  In Progress

Bug description:
  /usr/include/xorg/dixfont.h includes X11/fonts/fontutil.h.

  fontutil.h is contained in libxfont1-dev package not libxfont-dev
  package (version 2.0.1).

  I am trying to build xorgxrdp and it fails because fontutil.h is

  In Ubuntu, libxfont1-dev package is required however libxfont1-dev and
  libxfont-dev cannot be installed together. This is the problem.

  Package info: Ubuntu 16.04

  $  dpkg -la | grep -e xserver-xorg-dev -e libxfont-dev
  ii  libxfont-dev                       1:2.0.1-3~ubuntu16.04.1                
    amd64        X11 font rasterisation library (development headers)
  ii  xserver-xorg-dev                   2:1.18.4-0ubuntu0.3                    
    amd64        Xorg X server - development files

  [Test case]
  xserver-xorg-dev needs to change the dependency on libxfont-dev to 

  [Regression potential]
  none, this is just to reflect the current state

To manage notifications about this bug go to:

Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to