Opened 6 years ago
Closed 22 months ago
#57602 closed defect (fixed)
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: | cooljeanius (Eric Gallager) | |
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)
Change History (6)
Changed 6 years ago by rlhamil
Attachment: | main.log-kdelibs4.txt.gz added |
---|
comment:1 Changed 6 years ago by rlhamil
Owner: | set to nicos@… |
---|---|
Status: | new → assigned |
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Owner: | changed from nicos@… to NicosPavlov |
---|
comment:3 Changed 6 years ago by NicosPavlov
comment:4 Changed 2 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:5 Changed 22 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed at some point
$ uname -a Darwin Macpro2010 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64 $ port -v installed kdelibs4 The following ports are currently installed: kdelibs4 @4.14.3_18 (active) requested_variants='' platform='darwin 18' archs='x86_64' date='2023-01-03T18:18:59-0800'
please open a new ticket with new logs if you have a build error on Mojave.
Note: See
TracTickets for help on using
tickets.
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.