[Syncevolution-issues] [Bug 96513] Compilation failure with gcc 6.1 and boost 1.60

2016-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96513

--- Comment #1 from Patrick Ohly  ---
Try downgrading to an older version of C++, for example with
CXXFLAGS=-std=gnu++98

That's not a solution for the problem (I'd like to make SyncEvolution
compatible with more recent C++), so we can keep this bug open.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.___
Syncevolution-issues mailing list
Syncevolution-issues@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution-issues


[Syncevolution-issues] [Bug 96513] New: Compilation failure with gcc 6.1 and boost 1.60

2016-06-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=96513

Bug ID: 96513
   Summary: Compilation failure with gcc 6.1 and boost 1.60
   Product: SyncEvolution
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: minor
  Priority: medium
 Component: SyncEvolution
  Assignee: syncevolution-issues@syncevolution.org
  Reporter: justus-...@piater.name
CC: syncevolution-issues@syncevolution.org

Created attachment 124513
  --> https://bugs.freedesktop.org/attachment.cgi?id=124513=edit
compiler diagnostics

Trying to compile under Arch, I encounter one nontrivial compilation problem. a
failure to resolve a boost template:

src/syncevo/Cmdline.cpp: In member function ‘void
SyncEvo::Cmdline::readLUIDs(SyncEvo::SyncSource*,
std::__cxx11::list&)’:
src/syncevo/Cmdline.cpp:1734:85: error: no matching function for call to
‘bind(, const
boost::reference_wrapper
>, const boost::arg<1>&)’
 essLUIDs(source, boost::bind(::push_back, boost::ref(luids),
_1));

The full error log is attached.

Let's work this out - I need it for my daily work :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.___
Syncevolution-issues mailing list
Syncevolution-issues@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution-issues


Re: [SyncEvolution] Debian building packages for syncevolution 1.5.1 and TDE backends

2016-06-13 Thread Tino Mettler
On Mon, Jun 13, 2016 at 13:33:16 +0200, Tino Mettler wrote:
> On Fri, Jun 10, 2016 at 23:49:22 +0200, deloptes wrote:
> 
> [...]
> 
> > /usr/bin/ld: 
> > /opt/software/SyncEvolution/syncevolution-1.5.1/src/build-synthesis/src/.libs/libsynthesissdk.a(libsynthesissdk_la-SDK_util.o):
> > relocation R_X86_64_PC32 against symbol `StrAllocN' can not be used when
> > making a shared object; recompile with -fPIC
> 
> Hi,
> 
> IIRC this error usually happens if you want to build a dynamic library
> with -fPIC and try to link it with a static one that was built without.
> 
> However, I can't see the exact cause of the failure without more
> context from the build log.

My guess is that the linker error is caused by your mix of the Debian
packaging and the embedded build of libsynthesis in your build, where
the latter seems to build a static library.

In Debian, libsynthesis comes from a separate Debian package, which
provides shared libraries.

Regards,
Tino
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution


Re: [SyncEvolution] Debian building packages for syncevolution 1.5.1 and TDE backends

2016-06-13 Thread Tino Mettler
On Fri, Jun 10, 2016 at 23:49:22 +0200, deloptes wrote:

[...]

> /usr/bin/ld: 
> /opt/software/SyncEvolution/syncevolution-1.5.1/src/build-synthesis/src/.libs/libsynthesissdk.a(libsynthesissdk_la-SDK_util.o):
> relocation R_X86_64_PC32 against symbol `StrAllocN' can not be used when
> making a shared object; recompile with -fPIC

Hi,

IIRC this error usually happens if you want to build a dynamic library
with -fPIC and try to link it with a static one that was built without.

However, I can't see the exact cause of the failure without more
context from the build log.

Regards,
Tino
___
SyncEvolution mailing list
SyncEvolution@syncevolution.org
https://lists.syncevolution.org/mailman/listinfo/syncevolution