NetBSD Problem Report #38620
From makoto@bologna.ki.nu Sat May 10 03:28:20 2008
Return-Path: <makoto@bologna.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 9185563B293
for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 May 2008 03:28:20 +0000 (UTC)
Message-Id: <20080510032818.54C541953DF@bologna.ki.nu>
Date: Sat, 10 May 2008 12:28:18 +0900 (JST)
From: makoto@ki.nu
Reply-To: makoto@ki.nu
To: gnats-bugs@gnats.NetBSD.org
Subject: [PATCH] sysutils/dd_rescue needs patch
X-Send-Pr-Version: 3.95
>Number: 38620
>Category: pkg
>Synopsis: pkgsrc/sysutils/dd_rescue needs patch
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: ghen
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 10 03:30:00 +0000 2008
>Closed-Date: Fri Nov 05 08:35:31 +0000 2010
>Last-Modified: Fri Nov 05 13:40:01 +0000 2010
>Originator: Makoto Fujiwara
>Release: NetBSD 4.0
>Organization:
KINU Corporation
>Environment:
System: NetBSD u 4.0.0_PATCH NetBSD 4.0.0_PATCH (GENERIC.MP-pckbc-raid) #0: Thu Apr 24 20:24:23 JST 2008 root@verona:/export/src/sys/arch/amd64/compile/GENERIC.MP-pckbc-raid amd64
Architecture: x86_64
Machine: amd64
>Description:
Getting errors if dd_recue is installed and executed as:
dd_rescue: (fatal): allocation of aligned buffer failed!
I had the same thing with macppc.
>How-To-Repeat:
cd /usr/pkgsrc/sysutils/dd_rescue
sudo make package
rehash
dd_rescue -m 10 /dev/zero /dev/null
dd_rescue: (fatal): allocation of aligned buffer failed!
>Fix:
ttyp0:makoto@taormina 12:10:32/080509(...sysutils/dd_rescue)> Index: distinfo
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/sysutils/dd_rescue/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo 22 Dec 2007 04:27:16 -0000 1.4
+++ distinfo 9 May 2008 03:12:13 -0000
@@ -4,4 +4,4 @@
RMD160 (dd_rescue-1.14.tar.gz) = e6e12c460c29845912c2e456ac88160009341dcf
Size (dd_rescue-1.14.tar.gz) = 17754 bytes
SHA1 (patch-aa) = fbb0fce59b038bad269379ca46592eab4f7929bd
-SHA1 (patch-ab) = cce3053b74ed5ab72dd2e0cbc46da501e35a6e73
+SHA1 (patch-ab) = ab845f63a1ff9fda4e3f8d8f2565f4f3512b326a
Index: patches/patch-ab
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/sysutils/dd_rescue/patches/patch-ab,v
retrieving revision 1.3
diff -u -r1.3 patch-ab
--- patches/patch-ab 22 Dec 2007 04:27:17 -0000 1.3
+++ patches/patch-ab 9 May 2008 03:11:57 -0000
@@ -6,7 +6,7 @@
#include <sys/time.h>
#include <sys/stat.h>
-+#ifdef __DragonFly__
++#if defined (__DragonFly__) || defined(__NetBSD__)
+#undef O_DIRECT
+#endif
+
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->ghen
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Mon, 12 May 2008 04:07:25 +0000
Responsible-Changed-Why:
Over to maintainer.
From: "Geert Hendrickx" <ghen@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38620 CVS commit: pkgsrc/sysutils/dd_rescue
Date: Fri, 5 Nov 2010 08:20:00 +0000
Module Name: pkgsrc
Committed By: ghen
Date: Fri Nov 5 08:20:00 UTC 2010
Modified Files:
pkgsrc/sysutils/dd_rescue: Makefile distinfo
pkgsrc/sysutils/dd_rescue/patches: patch-ab
Log Message:
Fix PR pkg/38620, patch provided by Sergey Svishchev <svs@ropnet.ru>.
Bump PKGREVISION, and reset MAINTAINER.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/dd_rescue/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/dd_rescue/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/dd_rescue/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: ghen@NetBSD.org
State-Changed-When: Fri, 05 Nov 2010 08:35:31 +0000
State-Changed-Why:
Committed a fix from Sergey Svishchev <svs@ropnet.ru>.
While there, updated dd_rescue to version 1.23. Please try again?
From: Makoto Fujiwara <makoto@ki.nu>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38620 (pkgsrc/sysutils/dd_rescue needs patch)
Date: Fri, 05 Nov 2010 22:39:11 +0900
> Committed a fix from Sergey Svishchev <svs@ropnet.ru>.
> While there, updated dd_rescue to version 1.23. Please try again?
It works now. Thanks a lot,
Makoto Fujiwara
>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.