Opened 6 years ago

Last modified 19 months ago

#56426 assigned defect

kdelibs4 @4.14.3_10 won't build on High Sierra

Reported by: rlhamil Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.4.3
Keywords: highsierra Cc: cooljeanius (Eric Gallager)
Port: kdelibs4

Description

kdelibs4 @4.14.3_10 won't build on High Sierra (oddly enough, it builds fine on El Capitan). Failed trying to upgrade from @4.14.3_8.

Attachments (1)

main.log-kdelibs4.txt.gz (517.5 KB) - added by rlhamil 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by rlhamil

Attachment: main.log-kdelibs4.txt.gz added

comment:1 Changed 6 years ago by raimue (Rainer Müller)

Keywords: highsierra added
Owner: set to NicosPavlov
Status: newassigned

comment:2 Changed 6 years ago by NicosPavlov

I am afraid I can't reproduce the issue in my case, which has the same configuration as yours.

Also openpty is present on Mac systems, and it is even indicated as found in your log.

...
:info:configure -- Performing Test HAVE_STRUCT_UTMP_UT_ID
:info:configure -- Performing Test HAVE_STRUCT_UTMP_UT_ID - Failed
:info:configure -- Looking for openpty
:info:configure -- Looking for openpty - found
:info:configure -- Looking for ptsname
:info:configure -- Looking for ptsname - found
...

Is the error reproducible, i.e it happens again after

sudo port clean kdelibs4
sudo port install kdelibs4

?

comment:3 Changed 6 years ago by rurban (Reini Urban)

I have the very same symptom, reproducible. Darwin Kernel Version 15.6.0, Apple LLVM version 8.0.0 (clang-800.0.38)

:info:configure -- Looking for openpty
:info:configure -- Looking for openpty - found
...
kdelibs-4.14.3/kpty/kpty.cpp:215:9: error: no member named 'openpty' in the global namespace
:info:build   if (::openpty( &d->masterFd, &d->slaveFd, ptsn, 0, 0))
:info:build       ~~^
Last edited 6 years ago by rurban (Reini Urban) (previous) (diff)

comment:4 Changed 6 years ago by zslg01

Maybe try https://stackoverflow.com/questions/3329159/including-c-headers-inside-a-c-program#3329177

C headers inside a C++ program require some special handling.

comment:5 Changed 19 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.