[Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219413

            Bug ID: 219413
           Summary: editors/libreoffice 5.3.3 doesn't build with Python
                    2.7 (PyUno) error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
             Flags: maintainer-feedback?([hidden email])
          Assignee: [hidden email]

[CXX] pyuno/source/module/pyuno_adapter.cxx
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/pyuno/source/module/pyuno_util.cxx:43:18:
error: no matching function for call to 'PyUnicodeUCS2_FromUnicode'
    ret = PyRef( PyUnicode_FromUnicode( str.getStr(), str.getLength() ),
SAL_NO_ACQUIRE );
                 ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:196:32: note: expanded from macro
'PyUnicode_FromUnicode'
# define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode
                               ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:464:23: note: candidate function
not viable: no known conversion from 'const sal_Unicode *' (aka 'const char16_t
*') to 'const Py_UNICODE *' (aka 'const unsigned short *') for 1st argument
PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                      ^
/usr/local/include/python2.7/unicodeobject.h:196:32: note: expanded from macro
'PyUnicode_FromUnicode'
# define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode
                               ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/pyuno/source/module/pyuno_util.cxx:63:11:
error: no matching conversion for functional-style cast from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl::OUString'
    ret = OUString( PyUnicode_AS_UNICODE( pystr ) );
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:177:14:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'sal_Unicode' (aka 'char16_t') for 1st argument;
dereference the argument with *
    explicit OUString( sal_Unicode value )
             ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:187:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'int' for 1st argument; dereference the argument
with *
    OUString(int) = delete;
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:188:14:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'char' for 1st argument; dereference the argument
with *
    explicit OUString(char c):
             ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:127:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'const rtl::OUString' for 1st argument
    OUString( const OUString & str )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:141:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl::OUString' for 1st argument
    OUString( OUString && str )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:155:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl_uString *' (aka '_rtl_uString *') for 1st
argument
    OUString( rtl_uString * str )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:199:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'const sal_Unicode *' (aka 'const char16_t *') for
1st argument
    OUString( const sal_Unicode * value )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:317:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl::OUStringLiteral' for 1st argument
    OUString(OUStringLiteral literal): pData(NULL) {
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:235:5:
note: candidate template ignored: substitution failure [with T = unsigned short
*]: no type named 'Type' in
'rtl::libreoffice_internal::ConstCharArrayDetector<unsigned short *,
rtl::libreoffice_internal::Dummy>'
    OUString( T& literal, typename
libreoffice_internal::ConstCharArrayDetector< T, libreoffice_internal::Dummy
>::Type = libreoffice_internal::Dummy() )
    ^                                                                          
                                   ~~~~
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:256:26:
note: candidate template ignored: substitution failure [with T = unsigned short
*]: no type named 'TypeUtf16' in
'rtl::libreoffice_internal::ConstCharArrayDetector<unsigned short *,
rtl::libreoffice_internal::Dummy>'
    template<typename T> OUString(
                         ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:380:5:
note: candidate template ignored: could not match
'OUStringConcat<type-parameter-0-0, type-parameter-0-1>' against 'unsigned
short *'
    OUString( const OUStringConcat< T1, T2 >& c )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:116:5:
note: candidate constructor not viable: requires 0 arguments, but 1 was
provided
    OUString()
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:169:12:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
    inline OUString( rtl_uString * str, __sal_NoAcquire )
           ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:213:5:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
    OUString( const sal_Unicode * value, sal_Int32 length )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:364:21:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
    inline explicit OUString(
                    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ustring.hxx:337:5:
note: candidate constructor not viable: requires at least 3 arguments, but 1
was provided
    OUString( const sal_Char * value, sal_Int32 length,
    ^
2 errors generated.
gmake[3]: ***
[/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/solenv/gbuild/LinkTarget.mk:191:
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/workdir/CxxObject/pyuno/source/module/pyuno_util.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

maintainer-feedback requested: [Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

bugzilla-noreply
[hidden email] has reassigned Bugzilla Automation
<[hidden email]>'s request for maintainer-feedback to [hidden email]:
Bug 219413: editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno)
error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219413



--- Description ---
[CXX] pyuno/source/module/pyuno_adapter.cxx
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/pyuno/source/mo
dule/pyuno_util.cxx:43:18:
error: no matching function for call to 'PyUnicodeUCS2_FromUnicode'
    ret = PyRef( PyUnicode_FromUnicode( str.getStr(), str.getLength() ),
SAL_NO_ACQUIRE );
                 ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:196:32: note: expanded from macro
'PyUnicode_FromUnicode'
# define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode
                               ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python2.7/unicodeobject.h:464:23: note: candidate function
not viable: no known conversion from 'const sal_Unicode *' (aka 'const char16_t
*') to 'const Py_UNICODE *' (aka 'const unsigned short *') for 1st argument
PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode(
                      ^
/usr/local/include/python2.7/unicodeobject.h:196:32: note: expanded from macro
'PyUnicode_FromUnicode'
# define PyUnicode_FromUnicode PyUnicodeUCS2_FromUnicode
                               ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/pyuno/source/mo
dule/pyuno_util.cxx:63:11:
error: no matching conversion for functional-style cast from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl::OUString'
    ret = OUString( PyUnicode_AS_UNICODE( pystr ) );
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:177:14:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'sal_Unicode' (aka 'char16_t') for 1st argument;
dereference the argument with *
    explicit OUString( sal_Unicode value )
             ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:187:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'int' for 1st argument; dereference the argument
with *
    OUString(int) = delete;
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:188:14:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'char' for 1st argument; dereference the argument
with *
    explicit OUString(char c):
             ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:127:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'const rtl::OUString' for 1st argument
    OUString( const OUString & str )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:141:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl::OUString' for 1st argument
    OUString( OUString && str )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:155:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl_uString *' (aka '_rtl_uString *') for 1st
argument
    OUString( rtl_uString * str )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:199:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'const sal_Unicode *' (aka 'const char16_t *') for
1st argument
    OUString( const sal_Unicode * value )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:317:5:
note: candidate constructor not viable: no known conversion from 'Py_UNICODE *'
(aka 'unsigned short *') to 'rtl::OUStringLiteral' for 1st argument
    OUString(OUStringLiteral literal): pData(NULL) {
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:235:5:
note: candidate template ignored: substitution failure [with T = unsigned short
*]: no type named 'Type' in
'rtl::libreoffice_internal::ConstCharArrayDetector<unsigned short *,
rtl::libreoffice_internal::Dummy>'
    OUString( T& literal, typename
libreoffice_internal::ConstCharArrayDetector< T, libreoffice_internal::Dummy
>::Type = libreoffice_internal::Dummy() )
    ^      
                                   ~~~~
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:256:26:
note: candidate template ignored: substitution failure [with T = unsigned short
*]: no type named 'TypeUtf16' in
'rtl::libreoffice_internal::ConstCharArrayDetector<unsigned short *,
rtl::libreoffice_internal::Dummy>'
    template<typename T> OUString(
                         ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:380:5:
note: candidate template ignored: could not match
'OUStringConcat<type-parameter-0-0, type-parameter-0-1>' against 'unsigned
short *'
    OUString( const OUStringConcat< T1, T2 >& c )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:116:5:
note: candidate constructor not viable: requires 0 arguments, but 1 was
provided
    OUString()
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:169:12:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
    inline OUString( rtl_uString * str, __sal_NoAcquire )
           ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:213:5:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
    OUString( const sal_Unicode * value, sal_Int32 length )
    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:364:21:
note: candidate constructor not viable: requires 2 arguments, but 1 was
provided
    inline explicit OUString(
                    ^
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/include/rtl/ust
ring.hxx:337:5:
note: candidate constructor not viable: requires at least 3 arguments, but 1
was provided
    OUString( const sal_Char * value, sal_Int32 length,
    ^
2 errors generated.
gmake[3]: ***
[/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/solenv/gbuild/
LinkTarget.mk:191:
/usr/obj/usr/ports/editors/libreoffice/work/libreoffice-5.3.3.2/workdir/CxxObje
ct/pyuno/source/module/pyuno_util.o]
Error 1
gmake[3]: *** Waiting for unfinished jobs....
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219413

--- Comment #1 from [hidden email] ---
All options unchecked beside JAVA, FreeBSD 11.0-STABLE #0 r318285 amd64,
previous version was building fine.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219413

--- Comment #2 from [hidden email] ---
I have tried building without WRKDIRPREFIX=, but it made no difference.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219413

--- Comment #3 from [hidden email] ---
No change after update

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 219413] editors/libreoffice 5.3.3 doesn't build with Python 2.7 (PyUno) error

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219413

--- Comment #4 from [hidden email] ---
Rebuild of Python with default config fixed that. I suspect UCS2 option.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-office
To unsubscribe, send any mail to "[hidden email]"
Loading...