Your message dated Wed, 15 Oct 2014 12:19:15 +0000
with message-id <e1xenxv-0001mh...@franck.debian.org>
and subject line Bug#765465: fixed in encfs 1.7.4-4.1
has caused the Debian Bug report #765465,
regarding encfs: FTBFS for mips/mipsel
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
765465: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=765465
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: encfs
Version: 1.7.4-4
Tags: sid patch
Severity: important
User: debian-mips-dev-disc...@lists.alioth.debian.org
Usertags: mips-patch
Package encfs FTBFS for mips and mipsel with an error:
> /bin/bash ../libtool --tag=CXX --mode=link g++ -DRLOG_COMPONENT="encfs"
> -I/usr/include -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wpointer-arith
> -Wwrite-strings -g -O2 -Wformat -Werror=format-security -flto -flto -pthread
> -version-info 6:1:0 -Wl,-z,relro -Wl,-z,now -flto -flto -o libencfs.la
> -rpath /usr/lib readpassphrase.lo base64.lo ConfigReader.lo ConfigVar.lo
> Context.lo Cipher.lo CipherKey.lo FileIO.lo RawFileIO.lo BlockFileIO.lo
> CipherFileIO.lo MACFileIO.lo NameIO.lo StreamNameIO.lo BlockNameIO.lo
> NullNameIO.lo Interface.lo MemoryPool.lo NullCipher.lo DirNode.lo FileNode.lo
> FileUtils.lo openssl.lo autosprintf.lo SSL_Cipher.lo -lrlog -lssl -lcrypto
> -lboost_serialization -lboost_filesystem -lboost_system
> libtool: link: g++ -shared -nostdlib
> /usr/lib/gcc/mipsel-linux-gnu/4.9/../../../mipsel-linux-gnu/crti.o
> /usr/lib/gcc/mipsel-linux-gnu/4.9/crtbeginS.o .libs/readpassphrase.o
> .libs/base64.o .libs/ConfigReader.o .libs/ConfigVar.o .libs/Context.o
> .libs/Cipher.o .libs/CipherKey.o .libs/FileIO.o .libs/RawFileIO.o
> .libs/BlockFileIO.o .libs/CipherFileIO.o .libs/MACFileIO.o .libs/NameIO.o
> .libs/StreamNameIO.o .libs/BlockNameIO.o .libs/NullNameIO.o .libs/Interface.o
> .libs/MemoryPool.o .libs/NullCipher.o .libs/DirNode.o .libs/FileNode.o
> .libs/FileUtils.o .libs/openssl.o .libs/autosprintf.o .libs/SSL_Cipher.o
> /usr/lib/librlog.so -lssl -lcrypto -lboost_serialization -lboost_filesystem
> -lboost_system -L/usr/lib/gcc/mipsel-linux-gnu/4.9
> -L/usr/lib/gcc/mipsel-linux-gnu/4.9/../../../mipsel-linux-gnu
> -L/usr/lib/gcc/mipsel-linux-gnu/4.9/../../../../lib -L/lib/mipsel-linux-gnu
> -L/lib/../lib -L/usr/lib/mipsel-linux-gnu -L/usr/lib/../lib
> -L/usr/lib/gcc/mipsel-linux-gnu/4.9/../../.. -lstdc++ -lm -lc -lgcc_s
> /usr/lib/gcc/mipsel-linux-gnu/4.9/crtendS.o
> /usr/lib/gcc/mipsel-linux-gnu/4.9/../../../mipsel-linux-gnu/crtn.o -pthread
> -Wl,-z -Wl,relro -Wl,-z -Wl,now -pthread -Wl,-soname -Wl,libencfs.so.6 -o
> .libs/libencfs.so.6.0.1
> /usr/bin/ld: /tmp/cck84z9f.ltrans0.ltrans.o: relocation R_MIPS_HI16 against
> `__gnu_local_gp' can not be used when making a shared object; recompile with
> -fPIC
> /tmp/cck84z9f.ltrans0.ltrans.o: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status
The reason for this error is the fact that fPIC flag is used for compiling but
not for linking.
Patch that adds fPIC flag for linking is attached.
Whit this patch I was able to successfully build encfs
for mips, mipsel and amd64.
Could you please consider including this patch?
Best Regards,
Dejan
diff -uNr encfs-1.7.4.orig/configure encfs-1.7.4/configure
--- encfs-1.7.4.orig/configure 2010-11-18 08:11:06.000000000 +0000
+++ encfs-1.7.4/configure 2014-10-14 12:06:32.000000000 +0000
@@ -13584,8 +13584,8 @@
# 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'
diff -uNr encfs-1.7.4.orig/m4/libtool.m4 encfs-1.7.4/m4/libtool.m4
--- encfs-1.7.4.orig/m4/libtool.m4 2010-06-17 06:31:30.000000000 +0000
+++ encfs-1.7.4/m4/libtool.m4 2014-10-14 12:05:52.000000000 +0000
@@ -5523,8 +5523,8 @@
# 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'
--- End Message ---
--- Begin Message ---
Source: encfs
Source-Version: 1.7.4-4.1
We believe that the bug you reported is fixed in the latest version of
encfs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 765...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <ani...@debian.org> (supplier of updated encfs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 15 Oct 2014 12:49:40 +0100
Source: encfs
Binary: encfs
Architecture: source mips
Version: 1.7.4-4.1
Distribution: unstable
Urgency: medium
Maintainer: Eduard Bloch <bl...@debian.org>
Changed-By: Anibal Monsalve Salazar <ani...@debian.org>
Description:
encfs - encrypted virtual filesystem
Closes: 765465
Changes:
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.
Checksums-Sha1:
62c16d2ae998a73712ceb377adbff48484ceff92 2011 encfs_1.7.4-4.1.dsc
96f7ee030591fa67dd8ff98d29b8e8d12995807a 21312 encfs_1.7.4-4.1.debian.tar.xz
bf6be324ee32a5706ca4aad44a9b916aa5d74464 282358 encfs_1.7.4-4.1_mips.deb
Checksums-Sha256:
69d6af14421fc009030afba557646d8a035b760414d504253d8c86e5ab65114b 2011
encfs_1.7.4-4.1.dsc
8e79d3f6acf11c3a8190904619a66d3bbfc2cef980720fe419ee4a92dddbd148 21312
encfs_1.7.4-4.1.debian.tar.xz
7c48f8285610f45f21aee14bff1b4f3e82bf247f821938e7eb417aec7dfd7a3c 282358
encfs_1.7.4-4.1_mips.deb
Files:
29634eb418ecd97baab8e56208ab2a74 2011 utils optional encfs_1.7.4-4.1.dsc
fb6c0b14fefe351167c27c4c9b52e2e8 21312 utils optional
encfs_1.7.4-4.1.debian.tar.xz
b9720e2c692ebe22fd87b941356e9fea 282358 utils optional encfs_1.7.4-4.1_mips.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCgAGBQJUPmQdAAoJEHxWrP6UeJfYIDkP/1dwlO3cUFfOQHEA+ksLEOcC
776VUb29jffN/TaaHFH95oP13gMP3apFUGFtpfp7XwpKlszACH1MLJKqptwwU88z
XN6xZmGQub8IH7cOczhJP+qpg1tCaPPGrkwFcWCZGxSFo53KJx8uqPXFmQ+FMxEV
NwXEjXwN0a+eYlqapnpoxrXrcFJxl0dj1MGIQmnd7kFVRwdsttQE6gOlCQf8OZoa
dNe3tWEoriI8CDfBBFnI8uyAnYIC+56wLuKlwbVbksrioPR5gCeV2t13h7H1/bc0
yShTZAwuqG+4LOu1qNUVztkMUQrl26l6XdeJcAa/FCJbxiW7xlLuvINgqXbtHf/m
oOlBkj4s2uY4qLtkN/QAJZ3rVJYG+RyaIsTbGMAKyegsYqr0lmvMsSw/2fhJvMXA
2GpOpaxWyHSNLmZsJI4lioJACitVvoB3idmn+mUJD+xcwZvtWrddkpE3chuOmI2X
u/zZw2W9wt6goQ/v+5t3GsqJB6RxjEu6TprIBBWfJ0s+rF2Wi4RmuPyRh0dVafdp
f2fJj76+ali22KKooQpo9XwQGdqRMjaG4vUAW31pX4kK34ep0VKWddoMFthgrLX/
cxkwLZ8RNDAas/QC4GqpGNKh8KwHjVX/FSihNen7qfac/4FrtYpxYPqtHao5RttK
fxjsODGWMf0ZF9o9A2GF
=gzvX
-----END PGP SIGNATURE-----
--- End Message ---