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

MacPorts noreply at macports.org
Wed Nov 14 13:57:56 UTC 2018


#57602: kdelibs4 @4.14.3_11 on mojave: kpty.cpp:215:9: error: no member named
'openpty' in the global namespace
---------------------+----------------------
 Reporter:  rlhamil  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.5.4
 Keywords:           |       Port:  kdelibs4
---------------------+----------------------
 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.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57602>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list