NetBSD Problem Report #43098
From www@NetBSD.org Thu Apr 1 18:02:13 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id B56B563B873
for <gnats-bugs@gnats.NetBSD.org>; Thu, 1 Apr 2010 18:02:12 +0000 (UTC)
Message-Id: <20100401180212.4F6AC63B11D@www.NetBSD.org>
Date: Thu, 1 Apr 2010 18:02:12 +0000 (UTC)
From: gisenmann@web.de
Reply-To: gisenmann@web.de
To: gnats-bugs@NetBSD.org
Subject: devel/m4: syscmd and esyscmd brocken on DragonFly
X-Send-Pr-Version: www-1.0
>Number: 43098
>Category: pkg
>Synopsis: devel/m4: syscmd and esyscmd brocken on DragonFly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: dfly-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 01 18:05:00 +0000 2010
>Closed-Date: Tue Jul 20 13:40:56 +0000 2010
>Last-Modified: Tue Jul 20 14:00:05 +0000 2010
>Originator: Goetz Isenmann
>Release: DragonFly 2.6 prerelease
>Organization:
>Environment:
i386 DragonFly v2.6.0.36.gf0294-RELEASE
>Description:
m4 has (via includes gnulib) in lib/spawn.in.h
# define POSIX_SPAWN_SETSIGMASK 0x08
# define POSIX_SPAWN_SETSCHEDPARAM 0x10
# define POSIX_SPAWN_SETSCHEDULER 0x20
but DragonFly has in /usr/include/spawn.h
#define POSIX_SPAWN_SETSCHEDPARAM 0x04
#define POSIX_SPAWN_SETSCHEDULER 0x08
#define POSIX_SPAWN_SETSIGMASK 0x20
The m4 builtins syscmd and esyscmd use the internal SETSIGMASK value 0x08.
This results in a: syscmd subprocess failed: Operation not permitted.
>How-To-Repeat:
(cd work/m4-1.4.14 && gmake check)
>Fix:
A simple fix DragonFly (as suggested for FreeBSD 8.0 in
www.mail-archive.com/bug-m4@gnu.org/msg02742.html)
--- lib/spawn.in.h.orig 2010-03-18 20:09:42 +0100
+++ lib/spawn.in.h 2010-03-18 20:09:49 +0100
@@ -110,6 +110,7 @@
/* Flags to be set in the `posix_spawnattr_t'. */
+#if !@HAVE_POSIX_SPAWN@
#if @REPLACE_POSIX_SPAWN@
/* Use the values from the system, for better compatibility. */
/* But this implementation does not support AIX extensions. */
@@ -122,6 +123,7 @@
# define POSIX_SPAWN_SETSCHEDPARAM 0x10
# define POSIX_SPAWN_SETSCHEDULER 0x20
#endif
+#endif
/* A GNU extension. Use the next free bit position. */
#define POSIX_SPAWN_USEVFORK \
((POSIX_SPAWN_RESETIDS | (POSIX_SPAWN_RESETIDS - 1) \
The gnulib HEAD version contains a better fix for this and
probably also other problems.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 02 Apr 2010 09:37:02 +0000
Responsible-Changed-Why:
Over to people working on Dragonfly & pkgsrc
State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Tue, 20 Jul 2010 13:40:56 +0000
State-Changed-Why:
patch applied, thanks.
From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43098 CVS commit: pkgsrc/devel/m4
Date: Tue, 20 Jul 2010 13:40:03 +0000
Module Name: pkgsrc
Committed By: tnn
Date: Tue Jul 20 13:40:02 UTC 2010
Modified Files:
pkgsrc/devel/m4: Makefile distinfo
Added Files:
pkgsrc/devel/m4/patches: patch-ab
Log Message:
Dragonfly PR pkg/43098: Goetz Isenmann: devel/m4 broken
(bustage due to gnulib compat mess)
To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/devel/m4/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/m4/distinfo
cvs rdiff -u -r0 -r1.9 pkgsrc/devel/m4/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43098 CVS commit: pkgsrc/devel/bison
Date: Tue, 20 Jul 2010 13:57:29 +0000
Module Name: pkgsrc
Committed By: tnn
Date: Tue Jul 20 13:57:28 UTC 2010
Modified Files:
pkgsrc/devel/bison: Makefile distinfo
Added Files:
pkgsrc/devel/bison/patches: patch-ab
Log Message:
Dragonfly PR pkg/43285
Same issue as PR pkg/43098 for devel/m4
To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 pkgsrc/devel/bison/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/bison/distinfo
cvs rdiff -u -r0 -r1.8 pkgsrc/devel/bison/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.