Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60679 - [ptlib] fails to build

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Friday, 02 November 2018, 13:44 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 02 January 2019, 17:15 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

extra-x86_64-build fails with:

[CC] ptlib/unix/osutil.cxx
ptlib/unix/channel.cxx: In member function ‘virtual PBoolean PChannel::Read(const VectorOfSlice&)’:
ptlib/unix/channel.cxx:239:40: error: ‘::readv’ has not been declared
if (ConvertOSError(lastReadCount = ::readv(os_handle, &slices[0], slices.size()), LastReadError))
^~~~~
ptlib/unix/channel.cxx:239:40: note: suggested alternative: ‘read’
if (ConvertOSError(lastReadCount = ::readv(os_handle, &slices[0], slices.size()), LastReadError))
^~~~~
read
ptlib/unix/channel.cxx: In member function ‘virtual PBoolean PChannel::Write(const VectorOfSlice&)’:
ptlib/unix/channel.cxx:258:22: error: ‘::writev’ has not been declared
while ((result = ::writev(os_handle, &slices[0], slices.size())) < 0) {
^~~~~~
ptlib/unix/channel.cxx:258:22: note: suggested alternative: ‘write’
while ((result = ::writev(os_handle, &slices[0], slices.size())) < 0) {
^~~~~~
write
make[2]: *** [../make/common.mak:97: /build/ptlib/src/ptlib-2.10.11/lib_linux_x86_64/obj/channel.o] Error 1


Additional info:
* package version(s)
ptlib 2.10.11-7 (git revision ca3825d3dff7485ff27a1aea4b8b4e3db087282d)
* config and/or log files etc.
full log is attached

Steps to reproduce:
> git checkout ca3825d3dff7485ff27a1aea4b8b4e3db087282d
> cd ptlib/repos/extra-x86_64
> extra-x86_64-build
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Wednesday, 02 January 2019, 17:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  ptlib 2.10.11-8
Comment by loqs (loqs) - Friday, 02 November 2018, 16:20 GMT

Loading...