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

Bug#982893: ITP: gcc-or1k-elf -- GNU C compiler for the Open RISC 1000 processors



On 2021-03-19, Vagrant Cascadian wrote:
> On 2021-02-15, Nicolas Boulenguez wrote:
>> * Package name    : gcc-or1k-elf
>> * URL             : https://salsa.debian.org/debian/gcc-or1k-elf
>
> I tried building this with sbuild, but it unfortunately doesn't get very
> far, failing in the clean target:
>
>   dpkg-buildpackage: info: host architecture amd64
>    debian/rules clean
>   dh clean -Dsrc -Bbld
>      dh_auto_clean -O-Dsrc -O-Bbld
>   dh_auto_clean: error: invalid or non-existing path to the source directory: src
>   make: *** [debian/rules:24: clean] Error 25
>   dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2

This fixed it for me:

diff --git a/debian/rules b/debian/rules
index 018d959..9fecc6d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,7 +21,7 @@ static_archives     := $(addprefix $(gcc_libdir)/,libgcc.a libgcov.a)
 
 # https://gcc.gnu.org/install/configure.html recommends out-of-tree builds.
 %:
-	dh $@ -Dsrc -Bbld
+	dh $@ -Bbld
 
 execute_before_dh_autoreconf: src
 src:

Attachment: signature.asc
Description: PGP signature


Reply to: