Discussion:
[MacPorts] #57602: kdelibs4 @4.14.3_11 on mojave: kpty.cpp:215:9:
MacPorts
2018-11-14 13:57:56 UTC
Permalink
#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
MacPorts
2018-11-14 13:58:23 UTC
Permalink
#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
Resolution: | Keywords:
Port: kdelibs4 |
-----------------------+--------------------
Changes (by rlhamil):

* Attachment "main.log-kdelibs4.txt.gz" added.
--
Ticket URL: <https://trac.macports.org/ticket/57602>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-14 13:59:40 UTC
Permalink
#57602: kdelibs4 @4.14.3_11 on mojave: kpty.cpp:215:9: error: no member named
'openpty' in the global namespace
-----------------------+----------------------
Reporter: rlhamil | Owner: nicos@

Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: kdelibs4 |
-----------------------+----------------------
Changes (by rlhamil):

* owner: (none) => nicos@

* status: new => assigned
--
Ticket URL: <https://trac.macports.org/ticket/57602#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-14 16:00:36 UTC
Permalink
#57602: kdelibs4 @4.14.3_11 on mojave: kpty.cpp:215:9: error: no member named
'openpty' in the global namespace
-----------------------+-------------------------
Reporter: rlhamil | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: kdelibs4 |
-----------------------+-------------------------
Changes (by mf2k):

* owner: nicos@
 => NicosPavlov
--
Ticket URL: <https://trac.macports.org/ticket/57602#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
MacPorts
2018-11-27 14:33:54 UTC
Permalink
#57602: kdelibs4 @4.14.3_11 on mojave: kpty.cpp:215:9: error: no member named
'openpty' in the global namespace
-----------------------+-------------------------
Reporter: rlhamil | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: kdelibs4 |
-----------------------+-------------------------

Comment (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
...
}}}
--
Ticket URL: <https://trac.macports.org/ticket/57602#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...