← Back to team overview

desktop-packages team mailing list archive

[Bug 834178] Re: next libreoffice ftbfs (all archs)

 

This seems to have collided with the postgresql 9.1 update from
yesterday. libpq's API did not change that much, but if LibO is using
some of the /usr/include/postgresql/internal/* headers, it might need
some adaptions for

-extern char *first_path_separator(const char *pathlist);
+extern char *first_path_var_separator(const char *pathlist);

-extern int     pg_get_encoding_from_locale(const char *ctype);
+extern int     pg_get_encoding_from_locale(const char *ctype, bool write_message);

-extern int     SetClientEncoding(int encoding, bool doit);
+extern int     PrepareClientEncoding(int encoding);
+extern int     SetClientEncoding(int encoding);

-extern void copydir(char *fromdir, char *todir, bool recurse);

These are the only API changes I can see.

** Changed in: libreoffice (Ubuntu Oneiric)
     Assignee: (unassigned) => Björn Michaelsen (bjoern-michaelsen)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/834178

Title:
  next libreoffice ftbfs (all archs)

Status in “libreoffice” package in Ubuntu:
  Confirmed
Status in “libreoffice-l10n” package in Ubuntu:
  Confirmed
Status in “libreoffice” source package in Oneiric:
  Confirmed
Status in “libreoffice-l10n” source package in Oneiric:
  Confirmed

Bug description:
  fails in 
  ERROR: error 65280 occurred while making /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql

  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx:165:30:   instantiated from here
  /usr/include/c++/4.6/bits/stl_uninitialized.h:576:6: error: no matching function for call to 'pq_sdbc_driver::Allocator<pq_sdbc_driver::ColDesc>::construct(pq_sdbc_driver::ColDesc*)'
  /usr/include/c++/4.6/bits/stl_uninitialized.h:576:6: note: candidate is:
  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_allocator.hxx:173:10: note: void pq_sdbc_driver::Allocator<T>::construct(pq_sdbc_driver::Allocator<T>::pointer, const T&) [with T = pq_sdbc_driver::ColDesc, pq_sdbc_driver::Allocator<T>::pointer = pq_sdbc_driver::ColDesc*]
  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_allocator.hxx:173:10: note:   candidate expects 2 arguments, 1 provided
  In file included from /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_connection.hxx:88:0,
                   from /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_resultsetmetadata.hxx:65,
                   from /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_resultsetmetadata.cxx:63:
  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_allocator.hxx: At global scope:
  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_allocator.hxx: In instantiation of 'void pq_sdbc_driver::Allocator<T>::deallocate(pq_sdbc_driver::Allocator<T>::pointer, pq_sdbc_driver::Allocator<T>::size_type) [with T = pq_sdbc_driver::ColumnMetaData, pq_sdbc_driver::Allocator<T>::pointer = pq_sdbc_driver::ColumnMetaData*, pq_sdbc_driver::Allocator<T>::size_type = unsigned int]':
  /usr/include/c++/4.6/bits/stl_vector.h:156:4:   instantiated from 'void std::_Vector_base<_Tp, _Alloc>::_M_deallocate(typename _Alloc::rebind<_Tp>::other::pointer, std::size_t) [with _Tp = pq_sdbc_driver::ColumnMetaData, _Alloc = pq_sdbc_driver::Allocator<pq_sdbc_driver::ColumnMetaData>, typename _Alloc::rebind<_Tp>::other::pointer = pq_sdbc_driver::ColumnMetaData*, std::size_t = unsigned int]'
  /usr/include/c++/4.6/bits/stl_vector.h:142:9:   instantiated from 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = pq_sdbc_driver::ColumnMetaData, _Alloc = pq_sdbc_driver::Allocator<pq_sdbc_driver::ColumnMetaData>]'
  /usr/include/c++/4.6/bits/stl_vector.h:218:15:   instantiated from 'std::vector<_Tp, _Alloc>::vector() [with _Tp = pq_sdbc_driver::ColumnMetaData, _Alloc = pq_sdbc_driver::Allocator<pq_sdbc_driver::ColumnMetaData>]'
  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_statics.hxx:287:14:   instantiated from here
  /build/buildd/libreoffice-3.4.2/libreoffice-build/build/libreoffice-3.4.2.3/connectivity/source/drivers/postgresql/pq_allocator.hxx:167:10: warning: unused parameter 'n' [-Wunused-parameter]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/834178/+subscriptions


References