NetBSD Problem Report #37135

From dan@mcmahill.net  Tue Oct 16 04:50:06 2007
Return-Path: <dan@mcmahill.net>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id AB6EC63B8FE
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 16 Oct 2007 04:50:05 +0000 (UTC)
Message-Id: <200710160303.l9G33Muh009460@bondage.mcmahill.net>
Date: Mon, 15 Oct 2007 23:03:22 -0400 (EDT)
From: dmcmahill@NetBSD.org
Reply-To: dmcmahill@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: LIBABISUFFIX support incomplete
X-Send-Pr-Version: 3.95

>Number:         37135
>Category:       pkg
>Synopsis:       LIBABISUFFIX support incomplete
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 16 04:55:00 +0000 2007
>Last-Modified:  Tue Oct 16 10:25:01 +0000 2007
>Originator:     Dan McMahill
>Release:        pkgsrc-2007Q3
>Organization:
NetBSD
>Environment:


System: Linux holding 2.4.21-50.EL #1 SMP Tue May 8 17:10:00 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

Architecture: x86_64
Machine: x86_64
>Description:


packages which use imake to build do not really seem to work right on this 64-bit system.
Imake causes libraries to install into places like /usr/pkg/lib64 leaving the PLIST
which just uses lib completely broken.

The on top of that buildlinking doesn't really seem to work so well.  For example,
cd pkgsrc/x11/Xaw3d && make

and you find that it buildlinked /usr/X11R6/lib/libXaw.* instead of /usr/X11R6/lib64/libXaw.*
and the linker then complains that I have incompatible libraries.

For the PLIST issue, try installing pkgsrc/graphics/xpm.

The other issue is some libs build and install "correctly" into /usr/pkg/lib but
they are 64-bit libs where on this system it seems that 64-bit libs should go into
/usr/pkg/lib64.

>How-To-Repeat:

cd pkgsrc/x11/Xaw3d && make
cd pkgsrc/graphics/xpm && make


>Fix:

perhaps 

  a)  cause USE_IMAKE to trigger some special PLIST magic.
  b)  cause GNU_CONFIGURE to add something like --libdir=${PREFIX}/lib${LIBABISUFFIX} to
      CONFIGURE_ARGS and also trigger special PLIST magic.
  c)  cause the buildlink stuff to invoke special magic to link in the right libs

not sure what else.  Maybe some pkgconfig magic and foo-config magic?



>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/37135: LIBABISUFFIX support incomplete
Date: Tue, 16 Oct 2007 12:20:11 +0200

 On Tue, Oct 16, 2007 at 04:55:00AM +0000, dmcmahill@NetBSD.org wrote:
 > packages which use imake to build do not really seem to work right on this 64-bit system.
 > Imake causes libraries to install into places like /usr/pkg/lib64 leaving the PLIST
 > which just uses lib completely broken.

 We don't do the stupid lib64 dance for pkgsrc. I also strongly object to
 starting that, it is a madness I don't want to have to deal with.

 You are using X11_TYPE=native? Is this a distro with modular Xorg?

 Joerg

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.