You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`
...
Using internal sqlite3
/home/mua/dev/venas/lib/python3.12/site-packages/setuptools/init.py:94: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
/home/mua/dev/venas/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
/home/mua/dev/venas/lib/python3.12/site-packages/setuptools/dist.py:330: InformationOnly: Normalizing '2.10.03.2' to '2.10.3.2'
...
`
should i use py.3.11 or wait for fix ?
Collecting pyswisseph
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/66/a6/db70d67a00dda42ebd033538c086879328f4c17f670eafe8aca2f11abfef/pyswisseph-2.10.3.2.tar.gz
Collecting some-package
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/e7/a2/d318a685319c3801db1ae0002fc8e095663a55546c62a6e30d9d0fc3289b/some-package-0.1.zip
Installing collected packages: pyswisseph, some-package
Running setup.py install for pyswisseph ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-b8xejzni/pyswisseph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-36f010kv-record/install-record.txt --single-version-externally-managed --compile:
Searching for pkg-config...
Found pkg-config
Searching for libswe-dev...
pkg-config has not found libswe-dev 2.10.3
Using internal libswe
Searching for libsqlite3-dev
pkg-config has found libsqlite3-dev
/usr/lib/python3.6/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '2.10.03.2' to '2.10.3.2'
normalized_version,
running install
running build
running build_ext
building 'swisseph' extension
creating build
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/libswe
creating build/temp.linux-x86_64-3.6/swephelp
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c pyswisseph.c -o build/temp.linux-x86_64-3.6/pyswisseph.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swecl.c -o build/temp.linux-x86_64-3.6/libswe/swecl.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swedate.c -o build/temp.linux-x86_64-3.6/libswe/swedate.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swehel.c -o build/temp.linux-x86_64-3.6/libswe/swehel.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swehouse.c -o build/temp.linux-x86_64-3.6/libswe/swehouse.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swejpl.c -o build/temp.linux-x86_64-3.6/libswe/swejpl.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swemmoon.c -o build/temp.linux-x86_64-3.6/libswe/swemmoon.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swemplan.c -o build/temp.linux-x86_64-3.6/libswe/swemplan.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/sweph.c -o build/temp.linux-x86_64-3.6/libswe/sweph.o
libswe/sweph.c: In function ‘search_star_in_list’:
libswe/sweph.c:6705:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (sp - sstar != strlen(sstar) - 1) {
^
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c libswe/swephlib.c -o build/temp.linux-x86_64-3.6/libswe/swephlib.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhdatetime.c -o build/temp.linux-x86_64-3.6/swephelp/swhdatetime.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhmisc.c -o build/temp.linux-x86_64-3.6/swephelp/swhmisc.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhaspect.c -o build/temp.linux-x86_64-3.6/swephelp/swhaspect.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhsearch.c -o build/temp.linux-x86_64-3.6/swephelp/swhsearch.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhgeo.c -o build/temp.linux-x86_64-3.6/swephelp/swhgeo.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhraman.c -o build/temp.linux-x86_64-3.6/swephelp/swhraman.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhtimezone.c -o build/temp.linux-x86_64-3.6/swephelp/swhtimezone.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhdb.c -o build/temp.linux-x86_64-3.6/swephelp/swhdb.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhatlas.c -o build/temp.linux-x86_64-3.6/swephelp/swhatlas.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhformat.c -o build/temp.linux-x86_64-3.6/swephelp/swhformat.o
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Ilibswe -Iswephelp -I/usr/include/python3.6m -c swephelp/swhdbxx.cpp -o build/temp.linux-x86_64-3.6/swephelp/swhdbxx.o
swephelp/swhdbxx.cpp: In member function ‘int swh::db::User::drop()’:
swephelp/swhdbxx.cpp:206:69: error: ‘to_string’ was not declared in this scope
string sql = "delete from Users where _idx = " + to_string(m_idx) + ";";
^
swephelp/swhdbxx.cpp: In function ‘int _swhxx_db_user_save_cb(void*, int, char**, char**)’:
swephelp/swhdbxx.cpp:222:53: error: ‘strtoul’ was not declared in this scope
(unsigned long)arg = strtoul(argv[0], NULL, 10);
^
swephelp/swhdbxx.cpp: In member function ‘int swh::db::User::save()’:
swephelp/swhdbxx.cpp:258:30: error: ‘to_string’ was not declared in this scope
+ to_string(m_idx) + ";";
^
swephelp/swhdbxx.cpp: In function ‘int _swhxx_db_user_cb(void*, int, char**, char**)’:
swephelp/swhdbxx.cpp:278:41: error: ‘strtoul’ was not declared in this scope
if (u->idx(strtoul(argv[0], NULL, 10))
^
swephelp/swhdbxx.cpp: In static member function ‘static int swh::db::User::select(long unsigned int, swh::db::User**, char*)’:
swephelp/swhdbxx.cpp:303:53: error: ‘snprintf’ was not declared in this scope
snprintf(err, 511, "invalid idx (%lu)", uidx);
^
swephelp/swhdbxx.cpp:306:70: error: ‘to_string’ was not declared in this scope
string sql = "select * from Users where _idx = " + to_string(uidx) + ";";
^
swephelp/swhdbxx.cpp: In static member function ‘static int swh::db::User::select(const char*, swh::db::User**, char*)’:
swephelp/swhdbxx.cpp:328:53: error: ‘snprintf’ was not declared in this scope
snprintf(err, 512, "invalid name (%s)", name);
^
error: command 'gcc' failed with exit status 1
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-b8xejzni/pyswisseph/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-36f010kv-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-b8xejzni/pyswisseph/
The text was updated successfully, but these errors were encountered: