pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38620: [PATCH] sysutils/dd_rescue needs patch



>Number:         38620
>Category:       pkg
>Synopsis:       pkgsrc/sysutils/dd_rescue needs patch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 10 03:30:00 +0000 2008
>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
 +

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index