pkgsrc-Bugs archive

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

Re: pkg/42492: fonts/t1lib fails to build on NetBSD/i386 current



The following reply was made to PR pkg/42492; it has been noted by GNATS.

From: Bernd Ernesti <netbsd%lists.veego.de@localhost>
To: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/42492: fonts/t1lib fails to build on NetBSD/i386 current
Date: Thu, 24 Dec 2009 17:40:15 +0100

 On Tue, Dec 22, 2009 at 12:50:05AM +0000, Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/42492; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: 
 > Subject: Re: pkg/42492: fonts/t1lib fails to build on NetBSD/i386 current
 > Date: Tue, 22 Dec 2009 01:49:57 +0100
 > 
 >  On Mon, Dec 21, 2009 at 08:00:12PM +0000, ryo_on%yk.rim.or.jp@localhost 
 > wrote:
 >  > ./libtool --mode=link \
 >  >           cc -L/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib 
 > -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libt1x.la t1lib/t1x11.lo \
 >  >            -version-info 6:2:1 \
 >  >            libt1.la -L/usr/X11R7/lib -lXpm -lSM -lICE -lXext -lX11   
 > -no-undefined -rpath /usr/pkg/lib 
 >  > 
 >  > *** Warning: linker path does not have real file for library -lXpm.
 >  
 >  Let me guess -- your .x11-buildlink directory has a symlink to xpm.h and
 >  libXpm.a, but not to libXpm.so or libXpm.so.6?
 
 I think this all is related to the move from the xpm to libXpm in pkgsrc.
 
 x11-links has a lot of magic and I'm not sure if I understand the next part
 correctly:
 
 If you look at pkgsrc/pkgtools/x11-links/xorg.mk you find that it tries to use 
something
 from the buildlink3.mk files, the BUILDLINK_TREE entry.
 Now x11/libXpm/buildlink3.mk has:
        BUILDLINK_TREE+=        -libXpm
 but there is no xfree.libXpm nor xorg.libXpm file in
 pkgsrc/pkgtools/x11-links/files
 only a xfree.xpm one.
 
 Would it help to copy the xfree.xpm to xorg.libXpm and delete the old entry?
 
 But that may only fix part of the missing libraries.
 See http://mail-index.netbsd.org/pkgsrc-users/2009/12/24/msg011348.html for a 
full list
 what is missing for the netbsd-5 branch.
 
 The following patch may solve parts of the problem, but I haven't tested it 
yet.
 
 The comment in files/xorg.pixman seems to be outdated since it has some 
duplicated
 files and the .la file, which was mentioned shouldn't be there.
 
 Bernd
 
 --- Makefile   27 Sep 2009 18:44:27 -0000      1.106
 +++ Makefile   24 Dec 2009 16:22:59 -0000
 @@ -4,7 +4,7 @@
  #     the x11-links dependency in buildlink3.mk to the correct version,
  #     usually the most recent.
  
 -DISTNAME=     x11-links-0.44
 +DISTNAME=     x11-links-0.45
  CATEGORIES=   pkgtools x11
  MASTER_SITES= # empty
  DISTFILES=    # empty
 --- buildlink3.mk      13 Sep 2009 13:31:41 -0000      1.22
 +++ buildlink3.mk      24 Dec 2009 16:23:08 -0000
 @@ -12,7 +12,7 @@
  .if !defined(X11_LINKS_BUILDLINK3_MK)
  X11_LINKS_BUILDLINK3_MK:=
  
 -BUILDLINK_API_DEPENDS.x11-links+=     x11-links>=0.44
 +BUILDLINK_API_DEPENDS.x11-links+=     x11-links>=0.45
  BUILDLINK_PKGSRCDIR.x11-links?=       ../../pkgtools/x11-links
  BUILDLINK_DEPMETHOD.x11-links?=       build
  
 --- files/xorg 8 Mar 2009 00:03:37 -0000       1.12
 +++ files/xorg 24 Dec 2009 16:21:19 -0000
 @@ -345,7 +345,17 @@
  lib/libXaw.7.dylib
  lib/libXaw.8.dylib
  lib/libXaw6.6.dylib
 +lib/libXaw6.so.6
 +lib/libXaw6.so.6.1
 +lib/libXaw7.a
 +lib/libXaw7.so
 +lib/libXaw7.so.7
 +lib/libXaw7.so.7.0
  lib/libXaw7.7.dylib
 +lib/libXaw8.a
 +lib/libXaw8.so
 +lib/libXaw8.so.8
 +lib/libXaw8.so.8.0
  lib/libXaw8.8.dylib
  lib/libXaw.a
  lib/libXaw.dylib
 @@ -359,22 +369,6 @@
  lib/libXaw6.6.dylib
  lib/libXaw7.7.dylib
  lib/libXaw8.8.dylib
 -lib/libXevie.1.0.0.dylib
 -lib/libXevie.1.dylib
 -lib/libXevie.dylib
 -lib/libXevie.a
 -lib/libXevie.so.1.0
 -lib/libXfont.1.3.dylib
 -lib/libXfont.1.4.dylib
 -lib/libXfont.1.4.1.dylib
 -lib/libXfont.1.dylib
 -lib/libXfont.a
 -lib/libXfont.dylib
 -lib/libXfont.so
 -lib/libXfont.so.1
 -lib/libXfont.so.1.3
 -lib/libXfont.so.1.4
 -lib/libXfont.so.1.5
  lib/libXfontcache.1.0.0.dylib
  lib/libXfontcache.1.dylib
  lib/libXfontcache.dylib
 @@ -412,6 +406,9 @@
  lib/libXprintAppUtil.1.dylib
  lib/libXprintAppUtil.dylib
  lib/libXprintAppUtil.a
 +lib/libXprintAppUtil.so
 +lib/libXprintAppUtil.so.1
 +lib/libXprintAppUtil.so.1.0.0
  lib/libXprintUtil.1.0.0.dylib
  lib/libXprintUtil.1.dylib
  lib/libXprintUtil.dylib
 @@ -507,5 +504,13 @@
  lib/libxkbui.so
  lib/libxkbui.so.1
  lib/libxkbui.so.1.0
 +lib/pkgconfig/xfontcache.pc
  lib/pkgconfig/xi.pc
 -lib/pkgconfig/xevie.pc
 +lib/pkgconfig/xkbfile.pc
 +lib/pkgconfig/xkbui.pc
 +lib/pkgconfig/xp.pc
 +lib/pkgconfig/xprintapputil.pc
 +lib/pkgconfig/xvmc.pc
 +lib/pkgconfig/xxf86dga.pc
 +lib/pkgconfig/xxf86misc.pc
 +lib/pkgconfig/xxf86vm.pc
 --- files/xorg.freetype2       5 Oct 2008 21:36:35 -0000       1.2
 +++ files/xorg.freetype2       24 Dec 2009 16:13:56 -0000
 @@ -46,6 +46,7 @@
  include/freetype2/freetype/tttags.h
  include/freetype2/freetype/ttunpat.h
  include/ft2build.h
 +lib/libfreetype.a
  lib/libfreetype.la
  lib/libfreetype.6.3.16.dylib
  lib/libfreetype.6.dylib
 --- files/xorg.libXdmcp        15 Dec 2007 17:53:41 -0000      1.1
 +++ files/xorg.libXdmcp        24 Dec 2009 16:04:33 -0000
 @@ -9,4 +9,5 @@
  lib/libXdmcp.la
  lib/libXdmcp.so
  lib/libXdmcp.so.6
 +lib/libXdmcp.so.6.0
  lib/pkgconfig/xdmcp.pc
 --- files/xorg.libXevie        5 Oct 2008 21:36:35 -0000       1.2
 +++ files/xorg.libXevie        24 Dec 2009 16:01:21 -0000
 @@ -1,3 +1,10 @@
  # $NetBSD: xorg.libXevie,v 1.2 2008/10/05 21:36:35 cube Exp $
  #
 +lib/libXevie.1.0.0.dylib
 +lib/libXevie.1.dylib
 +lib/libXevie.dylib
 +lib/libXevie.a
 +lib/libXevie.so
 +lib/libXevie.so.1
 +lib/libXevie.so.1.0
  lib/pkgconfig/xevie.pc
 --- files/xorg.libXfont        5 Oct 2008 21:36:35 -0000       1.2
 +++ files/xorg.libXfont        24 Dec 2009 16:00:34 -0000
 @@ -16,5 +16,18 @@
  include/X11/fonts/ft.h
  include/X11/fonts/ftfuncs.h
  include/X11/fonts/pcf.h
 +lib/libXfont.1.3.dylib
 +lib/libXfont.1.4.dylib
 +lib/libXfont.1.4.1.dylib
 +lib/libXfont.1.dylib
 +lib/libXfont.a
 +lib/libXfont.dylib
 +lib/libXfont.so
 +lib/libXfont.so.1
 +lib/libXfont.so.1.3
 +lib/libXfont.so.1.4
  lib/libXfont.so.1.4.1
 +lib/libXfont.so.1.5
 +lib/libXfont.so.2
 +lib/libXfont.so.2.0
  lib/pkgconfig/xfont.pc
 --- /dev/null  1 Jan 1970 00:00:00 -0000
 +++ files/xorg.libXpm  24 Dec 2009 16:37:22 -0000
 @@ -0,0 +1,11 @@
 +# $NetBSD$
 +#
 +include/X11/xpm.h
 +lib/libXpm.a
 +lib/libXpm.so
 +lib/libXpm.so.4
 +lib/libXpm.so.4.11
 +lib/libXpm.dylib
 +lib/libXpm.4.dylib
 +lib/libXpm.4.11.dylib
 +lib/pkgconfig/xpm.pc
 --- files/xorg.libdrm  5 Oct 2008 21:36:35 -0000       1.2
 +++ files/xorg.libdrm  24 Dec 2009 16:06:16 -0000
 @@ -6,4 +6,5 @@
  lib/libdrm.so
  lib/libdrm.so.2
  lib/libdrm.so.2.3
 +lib/libdrm.so.2.4
  lib/pkgconfig/libdrm.pc
 --- files/xorg.liblbxutil      5 Oct 2008 21:36:35 -0000       1.2
 +++ files/xorg.liblbxutil      24 Dec 2009 16:14:14 -0000
 @@ -1,5 +1,6 @@
  # $NetBSD: xorg.liblbxutil,v 1.2 2008/10/05 21:36:35 cube Exp $
  #
 +lib/liblbxutil.a
  lib/liblbxutil.so
  lib/liblbxutil.so.1
  lib/liblbxutil.so.1.0
 --- files/xorg.pixman  5 Oct 2008 21:36:35 -0000       1.3
 +++ files/xorg.pixman  24 Dec 2009 16:09:46 -0000
 @@ -1,24 +1,15 @@
  # $NetBSD: xorg.pixman,v 1.3 2008/10/05 21:36:35 cube Exp $
  #
 -# NB:  The .la file is not listed here because it is bogus in some
 -#      versions of MacOS X, so we don't want it buildlinked.  Everything
 -#      is happy with just the pkgconfig file.
  include/pixman-1/pixman.h
  include/pixman-1/pixman-version.h
  lib/libpixman-1.a
  lib/libpixman-1.0.11.8.dylib
  lib/libpixman-1.0.dylib
  lib/libpixman-1.dylib
 +lib/libpixman-1.la
  lib/libpixman-1.so
  lib/libpixman-1.so.0
  lib/libpixman-1.so.0.11.2
 -lib/pkgconfig/pixman-1.pc
 -# $NetBSD: xorg.pixman,v 1.3 2008/10/05 21:36:35 cube Exp $
 -#
 -include/pixman-1/pixman.h
 -include/pixman-1/pixman-version.h
 -lib/libpixman-1.0.11.8.dylib
 -lib/libpixman-1.0.dylib
 -lib/libpixman-1.dylib
 -lib/libpixman-1.la
 +lib/libpixman-1.so.1
 +lib/libpixman-1.so.1.0
  lib/pkgconfig/pixman-1.pc
 


Home | Main Index | Thread Index | Old Index