Source: binutils-or1k-elf
Version: 1.0.6
Severity: serious
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: i...@hack3r.moe

Dear maintainer(s),

binutils-or1k-elf recently failed to build due to failure applying patch:

```
make[1]: Entering directory '/<<PKGBUILDDIR>>'
tar -xf /usr/src/binutils/binutils-*.tar.xz
mv binutils* src
patch -p0 < mbstowcs-null-size.diff
patching file src/gas/read.c
Hunk #1 FAILED at 1667.
1 out of 1 hunk FAILED -- saving rejects to file src/gas/read.c.rej
make[1]: *** [debian/rules:31: src] Error 1
```

The patch is being applied upstream (see PR 29447 [1]), so simply commenting
out that patch command works just fine. I've included a patch to do so. If more
help is needed, please let me know.

Cheers,
Eric

[1]: 
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5858ac626e548772407c038b09b7837550b127dd
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,8 @@
 src:
        tar -xf $(tar_dir)/binutils-*.tar.xz
        mv binutils* src
-       patch -p0 < mbstowcs-null-size.diff
+# Already fixed in source
+#      patch -p0 < mbstowcs-null-size.diff
 
 # _GCC_AUTOCONF_VERSION_CHECK in config/override.m4 requires 2.69.
 override_dh_autoreconf:

Reply via email to