<div dir="ltr">That indeed fixed issue, thank you.</div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-22 9:59 GMT+02:00 Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 21 Jun 2018, at 11:08 pm, Kálmán Viktor <<a href="mailto:viktorvector@gmail.com">viktorvector@gmail.com</a>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> I'm trying to build my application using pyqtdeploy 2.1, ndk r10e with android platform 21.<br>
> Building sysroot succeeds but building the application fails, the error I get is<br>
> <br>
> grpmodule.o:grpmodule.c:<wbr>function grp_getgrall: error: undefined reference to 'setgrent'<br>
> grpmodule.o:grpmodule.c:<wbr>function grp_getgrall: error: undefined reference to 'getgrent'<br>
> grpmodule.o:grpmodule.c:<wbr>function grp_getgrall: error: undefined reference to 'endgrent'<br>
> grpmodule.o:grpmodule.c:<wbr>function grp_getgrall: error: undefined reference to 'endgrent'<br>
> <br>
> If I manually "empty" the function (so it just creates a PyObject and returns it) things seem to work but it might bite me back later in a form of some weird errors.<br>
> <br>
> <br>
> My json file I used to build my sysroot<br>
> <br>
> {<br>
>     "Description": "A skeleton sysroot specification.",<br>
> <br>
>     "qt5": {<br>
>         "android#qt_dir":           "/home/name/Qt/*/android_<wbr>armv7"<br>
>     },<br>
>     "python": {<br>
>         "build_host_from_source":true,<br>
>         "build_target_from_source": true,<br>
>         "source": "Python-3.6.4.tar.xz"<br>
>     },<br>
> <br>
>     "sip": {<br>
>         "source": "sip-4.19.8.tar.gz"<br>
>     },<br>
> <br>
>     "pyqt5": {<br>
>         "android#disabled_features":    [<br>
>                 "PyQt_Desktop_OpenGL", "PyQt_Printer", "PyQt_PrintDialog",<br>
>                 "PyQt_PrintPreviewDialog", "PyQt_PrintPreviewWidget"<br>
>         ],<br>
>         "source": "PyQt5_gpl-5.10.1.tar.gz",<br>
>         "android#modules":              [<br>
>                 "QtCore", "QtGui", "QtNetwork", "QtQml", "QtQuick", "QtSvg", "QtWidgets",<br>
>                 "QtAndroidExtras"<br>
>         ]<br>
>     }<br>
> }<br>
<br>
</div></div>The meta-data for the 'grp' module may be incorrect for Android. Edit the 'grp' entry in pyqtdeploy/metadata/python_<wbr>metadata.py and change target='!win' to target='linux|ios|macos'<br>
<span class=""><br>
> Also somewhat not relevant question but when is the next PyPi release expected? The current one does not support Python 3.6.5 but as I saw the pyqtdeploy source it already does.<br>
<br>
</span>I'm waiting for the release of Python v3.7.<br>
<span class="HOEnZb"><font color="#888888"><br>
Phil<br>
</font></span></blockquote></div><br></div>