Re: libXfont install problems from ports





I'm having issues with six or seven ports installing. I've traced it
back to two ports that are having issues, one of which is libXfont.

The version I've got installed is:

evolution# pkg_info -Ix libXfont
libXfontcache-1.0.4 The Xfontcache library

The version in ports is 1.3.1


Here's my log:


===> Building for libXfont-1.3.1,1
make all-recursive
Making all in src
Making all in fontfile
/bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H
-I. -I../.. -I../../include/X11/fonts -I../../include
-DFONT_ENCODINGS_DIRECTORY=\"/usr/local/lib/X11/fonts
/encodings/encodings.dir\" -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe
-D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include
-MT fontencc.lo -MD -MP -MF .deps/fontencc.Tpo -c -o fontencc.lo
fontencc.c
cc -DHAVE_CONFIG_H -I. -I../.. -I../../include/X11/fonts
-I../../include -DFONT_ENCODINGS_DIRECTORY=
\"/usr/local/lib/X11/fonts/encodings/encodings.dir\" -Wall
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing -O2
-fno-strict-aliasing -pipe -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/usr/local/include -MT fontencc.lo -MD -MP
-MF .deps/fontencc.Tpo -c fontencc.c -fPIC -DPIC -o .libs/fontencc.o
fontencc.c:34:31: X11/fonts/fontenc.h: No such file or directory
In file included from fontencc.c:35:
../../include/X11/fonts/fontencc.h:32: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:32: warning: function declaration
isn't a prototype
../../include/X11/fonts/fontencc.h:33: error: syntax error before
"font_encoding_find"
../../include/X11/fonts/fontencc.h:33: warning: type defaults to `int'
in declaration of `font_encoding_find'
../../include/X11/fonts/fontencc.h:33: warning: data definition has no
type or storage class
../../include/X11/fonts/fontencc.h:34: error: syntax error before
"FontEncPtr"
../../include/X11/fonts/fontencc.h:34: warning: function declaration
isn't a prototype
fontencc.c: In function `font_encoding_from_xlfd':
fontencc.c:42: warning: implicit declaration of function
`FontEncFromXLFD'
fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD'
fontencc.c:42: warning: return makes pointer from integer without a
cast
fontencc.c: At top level:
fontencc.c:46: error: syntax error before "font_encoding_find"
fontencc.c:47: warning: return type defaults to `int'
fontencc.c: In function `font_encoding_find':
fontencc.c:48: warning: implicit declaration of function `FontEncFind'
fontencc.c:48: warning: nested extern declaration of `FontEncFind'
fontencc.c: At top level:
fontencc.c:53: error: syntax error before "FontEncPtr"
fontencc.c:54: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_recode':
fontencc.c:55: error: `encoding' undeclared (first use in this
function)
fontencc.c:55: error: (Each undeclared identifier is reported only
once
fontencc.c:55: error: for each function it appears in.)
fontencc.c:55: error: `mapping' undeclared (first use in this
function)
fontencc.c :59: warning: implicit declaration of function
`FontEncRecode'
fontencc.c:59: warning: nested extern declaration of `FontEncRecode'
fontencc.c:59: error: `code' undeclared (first use in this function)
fontencc.c: At top level:
fontencc.c:64: error: syntax error before "FontEncPtr"
fontencc.c:65: warning: function declaration isn't a prototype
fontencc.c: In function `font_encoding_name':
fontencc.c :66: error: `encoding' undeclared (first use in this
function)
fontencc.c:66: error: `mapping' undeclared (first use in this
function)
fontencc.c:70: warning: implicit declaration of function
`FontEncName'
fontencc.c:70: warning: nested extern declaration of `FontEncName'
fontencc.c:70: error: `code' undeclared (first use in this function)
fontencc.c:70: warning: return makes pointer from integer without a
cast
fontencc.c: In function `identifyEncodingFile':
fontencc.c:76: warning: implicit declaration of function
`FontEncIdentify'
fontencc.c:76: warning: nested extern declaration of `FontEncIdentify'
fontencc.c :76: warning: return makes pointer from integer without a
cast
*** Error code 1

Stop
in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont- 1.3.1/src.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont.



Can anyone see what's going on?

Thanks!

James


I've just tried to install xorg-libraries, and received the same error,
but with a little more information at the end:



Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src/fontfile.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1/src.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont/work/libXfont-1.3.1.
*** Error code 1

Stop in /usr/ports/x11-fonts/libXfont.
*** Error code 1


Stop in /usr/ports/x11-fonts/libXfont.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
** Command failed [exit code 1]: /usr/bin/script
-qa /tmp/portinstall.73108.0 env make -DFORCE_PKG_REGISTER reinstall
** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! x11/xorg-libraries (install error)
---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed





_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • libXfont not installing
    ... "FontEncPtr" ... fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' ... *** Error code 1 ...
    (freebsd-questions)
  • libXfont install problems from ports
    ... "FontEncPtr" ... fontencc.c:42: warning: implicit declaration of function `FontEncFromXLFD' ... fontencc.c:42: warning: nested extern declaration of `FontEncFromXLFD' ... *** Error code 1 ...
    (freebsd-questions)
  • Re: network performance
    ... Kris Kennaway wrote: ... *** Error code 1 ... warning: ... nested extern declaration of 'PROC_UNLOCK' ...
    (freebsd-performance)
  • Re: network performance
    ... Kris Kennaway wrote: ... *** Error code 1 ... warning: ... nested extern declaration of 'PROC_UNLOCK' ...
    (freebsd-performance)
  • Re: MP.MSI exited with return code: 1603
    ... WARNING: Network service account not available, ... Method 'DeleteExtensionFileRecord' failed with error code ... Successfully created virtual directory application ...
    (microsoft.public.sms.setup)