Control: severity -1 + serious Control: tags -1 + pending Hello Eduard,
At Imagination Technologies (http://imgtec.com/) Dejan Latinovic has found a solution to Debian bug #765465. https://bugs.debian.org/765465 My NMU debdiff for encfs_1.7.4-4.1 is below, at the end of this message. With the changes in the NMU debdiff, encfs builds successfully on mips, mipsel and amd64. Regards, Aníbal -- Aníbal Monsalve Salazar <anibal.monsalvesala...@imgtec.com> debdiff encfs_1.7.4-4.dsc encfs_1.7.4-4.1.dsc diff -Nru encfs-1.7.4/debian/changelog encfs-1.7.4/debian/changelog --- encfs-1.7.4/debian/changelog 2014-10-07 19:30:56.000000000 +0100 +++ encfs-1.7.4/debian/changelog 2014-10-15 12:49:46.000000000 +0100 @@ -1,3 +1,13 @@ +encfs (1.7.4-4.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS on mips and mipsel. + Add use-pic-flag.patch. + Patch by Dejan Latinovic <dejan.latino...@imgtec.com>. + Closes: #765465. + + -- Anibal Monsalve Salazar <ani...@debian.org> Wed, 15 Oct 2014 12:49:40 +0100 + encfs (1.7.4-4) unstable; urgency=medium * Switched packaging to dh(7) style diff -Nru encfs-1.7.4/debian/patches/series encfs-1.7.4/debian/patches/series --- encfs-1.7.4/debian/patches/series 2014-10-07 19:30:56.000000000 +0100 +++ encfs-1.7.4/debian/patches/series 2014-10-15 09:52:31.000000000 +0100 @@ -1,3 +1,4 @@ fix_bashisms i18n_updates pod2man_ignoreerr +use-pic-flag.patch diff -Nru encfs-1.7.4/debian/patches/use-pic-flag.patch encfs-1.7.4/debian/patches/use-pic-flag.patch --- encfs-1.7.4/debian/patches/use-pic-flag.patch 1970-01-01 01:00:00.000000000 +0100 +++ encfs-1.7.4/debian/patches/use-pic-flag.patch 2014-10-15 12:49:30.000000000 +0100 @@ -0,0 +1,48 @@ +Date: Tue, 14 Oct 2014 14:13:51 +0100 +From: Dejan Latinovic <dejan.latino...@imgtec.com> +Subject: fix for encfs + +https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765465 + +Package encfs FTBFS for mips and mipsel. + +https://buildd.debian.org/status/fetch.php?pkg=encfs&arch=mipsel&ver=1.7.4-4&stamp=1412709053 + +Here is discussion on debian-mips list: + +https://lists.debian.org/debian-mips/2014/10/msg00001.html + +A patch that adds fpic flag for linking is attached. + +With this patch I was able to successfully build encfs for mips, mipsel and amd64. + +Index: encfs-1.7.4/configure +=================================================================== +--- encfs-1.7.4.orig/configure ++++ encfs-1.7.4/configure +@@ -13584,8 +13584,8 @@ with_gnu_ld=$lt_cv_prog_gnu_ld + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then +- archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' +- archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' + export_dynamic_flag_spec_CXX='${wl}--export-dynamic' +Index: encfs-1.7.4/m4/libtool.m4 +=================================================================== +--- encfs-1.7.4.orig/m4/libtool.m4 ++++ encfs-1.7.4/m4/libtool.m4 +@@ -5523,8 +5523,8 @@ if test "$_lt_caught_CXX_error" != yes; + # Check if GNU C++ uses GNU ld as the underlying linker, since the + # archiving commands below assume that GNU ld is being used. + if test "$with_gnu_ld" = yes; then +- _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' +- _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' ++ _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' + + _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' + _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
signature.asc
Description: Digital signature