Summary: | sysutils/ntfsprogs - ntfsclone not working version 2.0.0 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | annona2 <annona2> | ||||
Component: | Individual Port(s) | Assignee: | Stefan Walter <stefan> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
annona2
2008-09-01 04:50:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->farrokhi Over to maintainer (via the GNATS Auto Assign Tool) Responsible Changed From-To: farrokhi->alepulver could you please take a look?. Responsible Changed From-To: alepulver->freebsd-ports-bugs I don't have time to look at it now. it seems ntfsclone doesn't like -02 optimization (at least on i386 since it works without problems on amd64) a possible workaround is to add CFLAGS= -O0 to Makefile can someone confirm ? Hi Mikael, could you provide a patch against the current version of sysutils/ntfsprogs that the submitter can test and that could be committed? Regards, Stefan State Changed From-To: open->feedback Waiting for a patch that can be tested. Responsible Changed From-To: freebsd-ports-bugs->stefan Track this for now. Here it is stefan 2010-05-19 20:16:02 UTC FreeBSD ports repository Modified files: sysutils/ntfsprogs Makefile Log: For i386, change compiler optimization flags to -O0, as optimizations seem to break things. PR: ports/127017 Submitted by: annona2@gmail.com Patch by: Urankar Mikael <mikael.urankar@ujf-grenoble.fr> Revision Changes Path 1.38 +5 -0 ports/sysutils/ntfsprogs/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" Urankar Mikael, 19.05.10, 14:32h CEST:
> --- Makefile.orig 2010-05-19 14:20:04.457729999 +0200
> +++ Makefile 2010-05-19 14:23:03.074275034 +0200
> @@ -36,6 +36,10 @@
>
> .include <bsd.port.pre.mk>
>
> +.if ${ARCH} == "i386"
> +CFLAGS:= ${CFLAGS:C/-O.?/-O0/g}
> +.endif
> +
> .if defined(WITH_GNOMEVFS2)
> CONFIGURE_ARGS+=--enable-gnome-vfs
> USE_GNOME= gnomevfs2
Thanks, I just committed it! If I don't get any reports that this did not
fix the issue during the next days, I will close this PR.
Regards,
Stefan
State Changed From-To: feedback->patched Patch committed. State Changed From-To: patched->closed Patch committed more than a week ago and no negative feedback seen since then. Still doesn't work :(
> % pkg_info | grep ntfs
> ntfsprogs-2.0.0_2 Utilities and library to manipulate NTFS partitions
> % ntfsclone -r -O /dev/ad0s1 image.ntfsc
> [...]
> Restoring NTFS from image ...
> ERROR(5): Write failed: Input/output error
Unfortunatelly, I would not have enough time to test it in the next few days,
so just reporting the patch has not helped...
regards
Mirek
|