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: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd%lists.veego.de@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/42492: fonts/t1lib fails to build on NetBSD/i386 current
Date: Fri, 25 Dec 2009 06:47:35 +0900 (JST)

 From: Bernd Ernesti <netbsd%lists.veego.de@localhost>
 Subject: Re: pkg/42492: fonts/t1lib fails to build on NetBSD/i386 current
 Date: Thu, 24 Dec 2009 16:45:02 +0000 (UTC)
 
 > 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
 
 Hi,
 
 Your patch solves this PR, pkg/42492 but the patch for files/xorg.pixman is 
broken
 for my environment.
 The following is my patch.
 
 On CURRENT 5.99.22, at least libdrm.so.3 and libdrm.so.3.1 is lacks from 
files/xorg.libdrm,
 but not fixed. Because I cannot understand the x11-links mechanism.
 
 Thank you.
 
 Please close this PR.
 
 --
 Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
 PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
 
 
 diff -upNr x11-links.orig/Makefile x11-links/Makefile
 --- x11-links.orig/Makefile    2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/Makefile 2009-12-25 06:33:50.000000000 +0900
 @@ -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
 diff -upNr x11-links.orig/buildlink3.mk x11-links/buildlink3.mk
 --- x11-links.orig/buildlink3.mk       2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/buildlink3.mk    2009-12-25 06:33:50.000000000 +0900
 @@ -12,7 +12,7 @@ BUILDLINK_TREE+=     x11-links
  .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
  
 diff -upNr x11-links.orig/files/xorg x11-links/files/xorg
 --- x11-links.orig/files/xorg  2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/files/xorg       2009-12-25 06:33:50.000000000 +0900
 @@ -345,7 +345,17 @@ lib/libXaw.7.0.dylib
  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/libXaw.so.8.0
  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.0.0.dylib
  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.a
  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
 diff -upNr x11-links.orig/files/xorg.freetype2 x11-links/files/xorg.freetype2
 --- x11-links.orig/files/xorg.freetype2        2009-12-25 05:39:10.000000000 
+0900
 +++ x11-links/files/xorg.freetype2     2009-12-25 06:33:50.000000000 +0900
 @@ -46,6 +46,7 @@ include/freetype2/freetype/tttables.h
  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
 diff -upNr x11-links.orig/files/xorg.libXdmcp x11-links/files/xorg.libXdmcp
 --- x11-links.orig/files/xorg.libXdmcp 2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/files/xorg.libXdmcp      2009-12-25 06:33:50.000000000 +0900
 @@ -9,4 +9,5 @@ lib/libXdmcp.dylib
  lib/libXdmcp.la
  lib/libXdmcp.so
  lib/libXdmcp.so.6
 +lib/libXdmcp.so.6.0
  lib/pkgconfig/xdmcp.pc
 diff -upNr x11-links.orig/files/xorg.libXevie x11-links/files/xorg.libXevie
 --- x11-links.orig/files/xorg.libXevie 2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/files/xorg.libXevie      2009-12-25 06:33:50.000000000 +0900
 @@ -1,3 +1,10 @@
  # $NetBSD$
  #
 +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
 diff -upNr x11-links.orig/files/xorg.libXfont x11-links/files/xorg.libXfont
 --- x11-links.orig/files/xorg.libXfont 2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/files/xorg.libXfont      2009-12-25 06:33:50.000000000 +0900
 @@ -16,5 +16,18 @@ include/X11/fonts/fontxlfd.h
  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
 diff -upNr x11-links.orig/files/xorg.libXpm x11-links/files/xorg.libXpm
 --- x11-links.orig/files/xorg.libXpm   1970-01-01 09:00:00.000000000 +0900
 +++ x11-links/files/xorg.libXpm        2009-12-25 06:33:50.000000000 +0900
 @@ -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
 diff -upNr x11-links.orig/files/xorg.libdrm x11-links/files/xorg.libdrm
 --- x11-links.orig/files/xorg.libdrm   2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/files/xorg.libdrm        2009-12-25 06:33:50.000000000 +0900
 @@ -6,4 +6,5 @@ lib/libdrm.a
  lib/libdrm.so
  lib/libdrm.so.2
  lib/libdrm.so.2.3
 +lib/libdrm.so.2.4
  lib/pkgconfig/libdrm.pc
 diff -upNr x11-links.orig/files/xorg.liblbxutil x11-links/files/xorg.liblbxutil
 --- x11-links.orig/files/xorg.liblbxutil       2009-12-25 05:39:10.000000000 
+0900
 +++ x11-links/files/xorg.liblbxutil    2009-12-25 06:33:50.000000000 +0900
 @@ -1,5 +1,6 @@
  # $NetBSD$
  #
 +lib/liblbxutil.a
  lib/liblbxutil.so
  lib/liblbxutil.so.1
  lib/liblbxutil.so.1.0
 diff -upNr x11-links.orig/files/xorg.pixman x11-links/files/xorg.pixman
 --- x11-links.orig/files/xorg.pixman   2009-12-25 05:39:10.000000000 +0900
 +++ x11-links/files/xorg.pixman        2009-12-25 06:36:47.000000000 +0900
 @@ -1,24 +1,16 @@
  # $NetBSD$
  #
 -# 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.2 2008/09/16 12:38:38 tron 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
  lib/pkgconfig/pixman-1.pc
 
 


Home | Main Index | Thread Index | Old Index