NetBSD Problem Report #33730

From dauphin@enst.fr  Wed Jun 14 14:01:00 2006
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id CB82063B882
	for <gnats-bugs@gnats.netbsd.org>; Wed, 14 Jun 2006 14:00:59 +0000 (UTC)
Message-Id: <1150293656.22028@bi.enst.fr>
Date: Wed, 14 Jun 2006 16:00:56 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: parallel/pvm3 patch-bq libpvm3.la (allmost all system)
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         33730
>Category:       pkg
>Synopsis:       parallel/pvm3 patch-bq libpvm3.la (allmost all system)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 14 14:05:00 +0000 2006
>Closed-Date:    
>Last-Modified:  Sat Jan 19 09:18:48 +0000 2008
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


you can't make libpvm3.la because variable substution '.TARGET'
is empty when working whith gmake, I think patch-bq is wrong.

I provide also a patch for X86SOL2.def because of some missing '-D'
in X86SOL2.def for (maybe all) Solaris


>How-To-Repeat:


bmake


>Fix:


this is a patch of patch-bq.

--- patch-bq.orig       Wed Jun 14 15:45:49 2006
+++ patches/patch-bq    Wed Jun 14 15:46:15 2006
@@ -27,7 +27,7 @@
 -      rm -f $(LIBPVM).a
 -      $(AR) cr $(LIBPVM).a $(LOBJ) $(LPVMSOCK) $(SOCKLOBJ)
 -      case x$(HASRANLIB) in xt ) echo ranlib; ranlib $(LIBPVM).a ;; esac
-+      ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${.TARGET:.a=.la} ${LOBJ:.o=.lo} \
++      ${LIBTOOL} --mode=link ${CC} ${PVM_STATIC} -o ${@:.a=.la} ${LOBJ:.o=.lo} \
 +              ${LPVMSOCK:.o=.lo} ${SOCKLOBJ:.o=.lo} \
 +              -rpath ${PVM_DIR}/lib/$(PVM_ARCH) \
 +              -version-info ${PVMLIB_VER}


and the new patch i wish for solaris x86:

[root@u2 2085] less patches/patch-ca 
--- conf/X86SOL2.def.orig       Thu Oct  1 23:03:22 1998
+++ conf/X86SOL2.def    Fri Feb 24 11:14:04 2006
@@ -1,5 +1,6 @@
 ARCHCFLAGS     =       -DSYSVBFUNC -DSYSVSTR -DNOGETDTBLSIZ -DSYSVSIGNAL \
-                               -DNOWAIT3 -DNOUNIXDOM -DRSHCOMMAND=\"/usr/bin/rsh\"
+                               -DNOWAIT3 -DHASERRORVARS -DRSHCOMMAND=\"/usr/bin/rsh\" -DUSESTRERROR \
+                               -DHASSTDLIB -KPIC
 ARCHDLIB       =       -lnsl -lsocket
 ARCHDOBJ       =
 ARCHLIB                =       -lnsl -lsocket



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->garbled
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Wed, 14 Jun 2006 14:08:10 +0000
Responsible-Changed-Why:
Assigned to maintainer.


State-Changed-From-To: open->closed
State-Changed-By: joerg@netbsd.org
State-Changed-When: Wed, 14 Jun 2006 16:58:24 +0000
State-Changed-Why:
Thanks, I was annoyed by this for quite some time.


From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33730 CVS commit: pkgsrc/parallel/pvm3
Date: Wed, 14 Jun 2006 16:57:52 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Wed Jun 14 16:57:52 UTC 2006

 Modified Files:
 	pkgsrc/parallel/pvm3: distinfo
 	pkgsrc/parallel/pvm3/patches: patch-bq
 Added Files:
 	pkgsrc/parallel/pvm3/patches: patch-bz

 Log Message:
 Fix build with GNU make 3.81. Improve some Solaris/x86 flags.

 From Gilles Dauphin in PR 33730.


 To generate a diff of this commit:
 cvs rdiff -r1.19 -r1.20 pkgsrc/parallel/pvm3/distinfo
 cvs rdiff -r1.1 -r1.2 pkgsrc/parallel/pvm3/patches/patch-bq
 cvs rdiff -r0 -r1.1 pkgsrc/parallel/pvm3/patches/patch-bz

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: garbled@NetBSD.org, pkgsrc-bugs@NetBSD.org,
	gnats-admin@NetBSD.org, joerg@NetBSD.org, dauphin@enst.fr,
	gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33730 (parallel/pvm3 patch-bq libpvm3.la (allmost all system))
Date: Thu, 15 Jun 2006 12:46:29 +0200 (CEST)

 > From: joerg@NetBSD.org
 > 
 > Synopsis: parallel/pvm3 patch-bq libpvm3.la (allmost all system)
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: joerg@netbsd.org
 > State-Changed-When: Wed, 14 Jun 2006 16:58:24 +0000
 > State-Changed-Why:
 > Thanks, I was annoyed by this for quite some time.

 I am almost happy :)
 To be fully happy, apply the last patch on file arch.mk for x86_64.
 because postinstall is wrong for amd64 and fall into SUN4.


 --- arch.mk     Fri Jan 27 17:34:36 2006
 +++ ../pvm3.save/arch.mk        Wed Mar  8 14:40:27 2006
 @@ -23,7 +23,11 @@
  _PVM_ARCH=     # empty
  .  endif
  .elif ${OPSYS} == "SunOS"
 +.  if !empty(MACHINE_ARCH:Mi386*) || !empty(MACHINE_ARCH:Mx86_64*)
 +_PVM_OPSYS=     X86
 +.  else
  _PVM_OPSYS=    SUN4
 +.  endif
  _PVM_ARCH=     SOL2    # Solaris (SunOS 5.*)
  .elif ${OPSYS} == "Darwin"
  _PVM_OPSYS=    DARWIN

State-Changed-From-To: closed->open
State-Changed-By: wiz@netbsd.org
State-Changed-When: Thu, 15 Jun 2006 12:17:40 +0000
State-Changed-Why:
One more patch.


From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/33730 CVS commit: pkgsrc/parallel/pvm3
Date: Thu, 15 Jun 2006 15:32:35 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Thu Jun 15 15:32:35 UTC 2006

 Modified Files:
 	pkgsrc/parallel/pvm3: arch.mk

 Log Message:
 Also set _PVM_OPSYS for Solaris/x86. From Gilles Dauphin in PR 33730.


 To generate a diff of this commit:
 cvs rdiff -r1.9 -r1.10 pkgsrc/parallel/pvm3/arch.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: joerg@britannica.bec.de
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33730 (parallel/pvm3 patch-bq libpvm3.la (allmost all system))
Date: Thu, 15 Jun 2006 17:32:35 +0200

 On Thu, Jun 15, 2006 at 10:50:02AM +0000, Gilles Dauphin wrote:
 >  
 >  I am almost happy :)
 >  To be fully happy, apply the last patch on file arch.mk for x86_64.
 >  because postinstall is wrong for amd64 and fall into SUN4.

 Fully happy now? :-)

 Joerg

Responsible-Changed-From-To: garbled->pkg-manager
Responsible-Changed-By: wiz@narn.netbsd.org
Responsible-Changed-When: Sat, 19 Jan 2008 09:18:48 +0000
Responsible-Changed-Why:
Maintainer reset, back to role account.


>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.