Opened 4 weeks ago

Last modified 2 weeks ago

#57602 assigned defect

kdelibs4 @4.14.3_11 on mojave: kpty.cpp:215:9: error: no member named 'openpty' in the global namespace

Reported by: rlhamil Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: kdelibs4

Description

Mac OS X 10.14.1 18B75 (Mojave) Xcode 10.1 10B61

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/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       ~~^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kpty/kpty.cpp:512:12: warning: 'utmp' is deprecated [-Wdeprecated-declarations]
:info:build     struct utmp l_struct;
:info:build            ^
:info:build /usr/include/utmp.h:97:7: note: 'utmp' has been explicitly marked deprecated here
:info:build }                                       __deprecated;
:info:build                                         ^
:info:build /usr/include/sys/cdefs.h:176:37: note: expanded from macro '__deprecated'
:info:build #define __deprecated    __attribute__((deprecated))
:info:build                                        ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kpty/kpty.cpp:550:7: error: no type named 'login' in the global namespace
:info:build     ::login(&l_struct);
:info:build     ~~^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kpty/kpty.cpp:550:14: error: declaration of reference variable 'l_struct' requires an initializer
:info:build     ::login(&l_struct);
:info:build              ^~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kpty/kpty.cpp:602:7: error: no type named 'logout' in the global namespace
:info:build     ::logout(str_ptr);
:info:build     ~~^
:info:build 1 warning and 4 errors generated.

Attachments (1)

main.log-kdelibs4.txt.gz (511.1 KB) - added by rlhamil 4 weeks ago.

Download all attachments as: .zip

Change History (4)

Changed 4 weeks ago by rlhamil

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

comment:1 Changed 4 weeks ago by rlhamil

Owner: set to nicos@…
Status: newassigned

comment:2 Changed 4 weeks ago by mf2k (Frank Schima)

Owner: changed from nicos@… to NicosPavlov

comment:3 Changed 2 weeks ago by NicosPavlov

I now tried with Mojave, and I cannot reproduce the error. It is also somewhat surprising as openpty js located in a quite standard standard header, which is also found in your log at configuration stage.

...
:info:configure -- Looking for include file util.h
:info:configure -- Looking for include file util.h - found
...
Note: See TracTickets for help on using tickets.