python3-uharfbuzz:

Se avete problemi con l'installazione e la configurazione di Slackware64 postate qui. Non usate questo forum per argomenti che trattano la Slackware32 o generali... per quelli usate rispettivamente il forum Slackware e Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware64 usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware64, se l'argomento è Slackware32 o generale usate rispettivamente il forum Slackware o Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3975
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

python3-uharfbuzz:

Messaggio da joe »

Mi serviva uno script python che include la libreria matplotlib. Sonon su slackware64 15.0 .
Allora prendo sbopkg, sbopkg -r, sqg ecc, e alla fine lancio la coda.
Quando arriva il turno di compilare "pyton3-uharfbuzz" non riesce a compilarlo.
Non so bene cosa riportare per spiegare l'errore, provo con il pezzo di output nei pressi del messaggio:

Codice: Seleziona tutto

[05/25/25 23:14:15] ERROR    listing git files failed -       git.py:26
                             pretending there aren't any
Devo precisare che la mia slack non è proprio aggiornatissima a livello di pacchetti ufficiali, sono rimasto un po' indietro e vedo che ad esempio ci sono anche dei ca-certs più recenti che non vorrei compromettessero qualche tentativo dello slackbuild di collegarsi qua e là per procurarsi roba via git... non so cosa significa di preciso in pratica "listing git files filed" ma forse non c'entra nulla.

Va be', riporto anche la parte dello slackbuild che credo generi l'errore:

Codice: Seleziona tutto

PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH="/opt/python$PYVER/site-packages:/opt/cython/python$PYVER/site-packages"
export PATH="/opt/cython/bin:$PATH"
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
E qui il pezzo che dicevo:

Codice: Seleziona tutto

creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/__init__.py -> build/bdist.linux-x8
6_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_version.py -> build/bdist.linux-x8
6_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-li
nux-gnu.so -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-g
nu.so -> build/bdist.linux-x86_64/wheel/./uharfbuzz
running install_egg_info
running egg_info
writing src/uharfbuzz.egg-info/PKG-INFO
writing dependency_links to src/uharfbuzz.egg-info/dependency_links.txt
writing top-level names to src/uharfbuzz.egg-info/top_level.txt
[05/25/25 23:14:15] ERROR    listing git files failed -       git.py:26
                             pretending there aren't any
reading manifest file 'src/uharfbuzz.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/uharfbuzz.egg-info/SOURCES.txt'
Copying src/uharfbuzz.egg-info to build/bdist.linux-x86_64/wheel/./uharfbuzz-0.50.2-py3
.9.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/uharfbuzz-0.50.2.dist-info/WHEEL
creating '/tmp/SBo/uharfbuzz-0.50.2/dist/.tmp-jr3bnsn5/uharfbuzz-0.50.2-cp39-cp39-linux
_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'uharfbuzz/__init__.py'
adding 'uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so'
adding 'uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so'
adding 'uharfbuzz/_version.py'
adding 'uharfbuzz-0.50.2.dist-info/licenses/LICENSE'
adding 'uharfbuzz-0.50.2.dist-info/METADATA'
adding 'uharfbuzz-0.50.2.dist-info/WHEEL'
adding 'uharfbuzz-0.50.2.dist-info/top_level.txt'
adding 'uharfbuzz-0.50.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
OK, se aveste idee... grazie in anticipo! :)

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3107
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 6.16.4
Desktop: lxde
Località: Pisa
Contatta:

Re: python3-uharfbuzz:

Messaggio da ponce »

ho anch'io quel warning (non e' un errore) pero' fa il pacchetto regolarmente (anche a te non mi sembra si interrompa dopo quello).

puoi provare a postare il log completo post-scompattamento (tanto e' breve).

Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3975
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

Re: python3-uharfbuzz:

Messaggio da joe »

Ho notato che c'era anche un altro WARNING prima di quell'ERROR che ho riportato, e alla fine ci sono dei problemi anche col nome (sembr avuoto) del pacchetto creato, perché in effetti qualcosa crea: va be' metto tutto esclusa la scompattazione.

Codice: Seleziona tutto

Processing python3-uharfbuzz


uharfbuzz-0.50.2/tests/test_uharfbuzz.py
uharfbuzz-0.50.2/tox.ini
* Getting build dependencies for wheel...
Compiling src/uharfbuzz/_harfbuzz.pyx because it changed.
Compiling src/uharfbuzz/_harfbuzz_test.pyx because it changed.
[1/2] Cythonizing src/uharfbuzz/_harfbuzz.pyx
[2/2] Cythonizing src/uharfbuzz/_harfbuzz_test.pyx
* Building wheel...
[05/25/25 23:55:16] WARNING  toml section missing               pyproject_reading.py:42
                             'pyproject.toml does not contain a                        
                             tool.setuptools_scm section'                              
                             Traceback (most recent call last):                        
                               File                                                    
                             "/opt/python3.9/site-packages/setu                        
                             ptools_scm/_integration/pyproject_                        
                             reading.py", line 36, in                                  
                             read_pyproject                                            
                                 section = defn.get("tool",                            
                             {})[tool_name]                                            
                             KeyError: 'setuptools_scm'                                
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-39/uharfbuzz
copying src/uharfbuzz/__init__.py -> build/lib.linux-x86_64-cpython-39/uharfbuzz
copying src/uharfbuzz/_version.py -> build/lib.linux-x86_64-cpython-39/uharfbuzz
running build_ext
building 'uharfbuzz._harfbuzz' extension
creating build/temp.linux-x86_64-cpython-39/harfbuzz/src
creating build/temp.linux-x86_64-cpython-39/src/uharfbuzz
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/harfbuzz-subset.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/harfbuzz-subset.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-coretext-font.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-font.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-coretext-shape.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-shape.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-coretext.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-directwrite-font.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-font.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-directwrite-shape.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-shape.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-directwrite.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-uniscribe.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-uniscribe.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c src/uharfbuzz/_harfbuzz.cpp -o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -shared -march=x86-64 -mtune=generic -pipe build/temp.linux-x86_64-cpython-39/harfbuzz/src/harfbuzz-subset.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-font.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-shape.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-font.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-shape.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-uniscribe.o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so
building 'uharfbuzz._harfbuzz_test' extension
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c src/uharfbuzz/_draw_test_funcs.cc -o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_draw_test_funcs.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c src/uharfbuzz/_harfbuzz_test.cpp -o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz_test.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -shared -march=x86-64 -mtune=generic -pipe build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_draw_test_funcs.o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz_test.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/__init__.py -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_version.py -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./uharfbuzz
running install_egg_info
running egg_info
writing src/uharfbuzz.egg-info/PKG-INFO
writing dependency_links to src/uharfbuzz.egg-info/dependency_links.txt
writing top-level names to src/uharfbuzz.egg-info/top_level.txt
[05/25/25 23:56:31] ERROR    listing git files failed - pretending there      git.py:26
                             aren't any                                                
reading manifest file 'src/uharfbuzz.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/uharfbuzz.egg-info/SOURCES.txt'
Copying src/uharfbuzz.egg-info to build/bdist.linux-x86_64/wheel/./uharfbuzz-0.50.2-py3.9.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/uharfbuzz-0.50.2.dist-info/WHEEL
creating '/tmp/SBo/uharfbuzz-0.50.2/dist/.tmp-lqxpr6pl/uharfbuzz-0.50.2-cp39-cp39-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'uharfbuzz/__init__.py'
adding 'uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so'
adding 'uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so'
adding 'uharfbuzz/_version.py'
adding 'uharfbuzz-0.50.2.dist-info/licenses/LICENSE'
adding 'uharfbuzz-0.50.2.dist-info/METADATA'
adding 'uharfbuzz-0.50.2.dist-info/WHEEL'
adding 'uharfbuzz-0.50.2.dist-info/top_level.txt'
adding 'uharfbuzz-0.50.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built uharfbuzz-0.50.2-cp39-cp39-linux_x86_64.whl
'/var/lib/sbopkg/SBo/15.0/python/python3-uharfbuzz/example.py' -> '/tmp/SBo/package-python3-uharfbuzz/usr/doc/python3-uharfbuzz-0.50.2/example.py'
dirname: unrecognized option '--remove-rpaths'
Try 'dirname --help' for more information.
basename: unrecognized option '--remove-rpaths'
Try 'basename --help' for more information.

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /.tgz.tgz

./
install/
install/slack-desc
usr/
usr/doc/
usr/doc/python3-uharfbuzz-0.50.2/
usr/doc/python3-uharfbuzz-0.50.2/LICENSE
usr/doc/python3-uharfbuzz-0.50.2/README.md
usr/doc/python3-uharfbuzz-0.50.2/example.py
usr/doc/python3-uharfbuzz-0.50.2/python3-uharfbuzz.SlackBuild
usr/lib64/
usr/lib64/python3.9/
usr/lib64/python3.9/site-packages/
usr/lib64/python3.9/site-packages/uharfbuzz/
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/METADATA
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/RECORD
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/WHEEL
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/licenses/
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/licenses/LICENSE
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/top_level.txt
usr/lib64/python3.9/site-packages/uharfbuzz/__init__.py
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/__init__.cpython-39.opt-1.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/__init__.cpython-39.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/_version.cpython-39.opt-1.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/_version.cpython-39.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so
usr/lib64/python3.9/site-packages/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so
usr/lib64/python3.9/site-packages/uharfbuzz/_version.py

Slackware package /.tgz.tgz created.


python3-uharfbuzz:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?: [?2004hn
[?2004l
+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the SBo repository for Slackware 15.0
Queue Process:  Download, build, and install

python3-uharfbuzz:
  MD5SUM check for uharfbuzz-0.50.2.tar.gz ... OK
  Error occurred with build.  Please check the log.

+++++++++++++++++++++++++++++++++++++++++++

###########################################
          Queue process complete!
###########################################

Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3975
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

Re: python3-uharfbuzz:

Messaggio da joe »

Con tutta probabilità era un problema legato a pkgtools, infatti dopo il makepkg si vedeva "Creating Slackware package: /.tgz.tgz" che non ha molto senso. L'ho aggiornato con slackpkg upgrade pkgtools ed effettivamente come avevo anticipato sul sistema ne avevo una versione un po' vecchia. sono uscite delle patch nel frattempo.

Insomma alla fine sembrerebbe che il pacchetto venga creato regolarmente così.
I warnings ed error restano ma non sono importanti evidentemente.
Vediamo se arrivo in fondo alla coda e riesco ad utilizzare matplotlib...

Grazie Ponce della risposta! Buona giornata :)

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3107
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 6.16.4
Desktop: lxde
Località: Pisa
Contatta:

Re: python3-uharfbuzz:

Messaggio da ponce »

mi hai battuto sul tempo: stavo scrivendo il messaggio sotto:

---

intanto proverei ad aggiornare la Slackware: credo sia necessario per via di questo errore

Codice: Seleziona tutto

dirname: unrecognized option '--remove-rpaths'
se ricordo bene, questa opzione dovrebbe essere nei nuovi pkgtools e coreutils...
ma dovresti sempre aggiornarla alle ultime patch, gli script di SBo suppongono che siano sempre installati gli ultimi aggiornamenti.

fammi sapere poi che errori da una volta aggiornata.

Avatar utente
joe
Iper Master
Iper Master
Messaggi: 3975
Iscritto il: ven 27 apr 2007, 11:21
Slackware: 15.0
Kernel: 5.15.38
Desktop: dwm

Re: python3-uharfbuzz:

Messaggio da joe »

Ha funzionato ti metto il log come prima di seguito, solo quello di uharfbuzz o come si chiama...

Codice: Seleziona tutto

Compiling src/uharfbuzz/_harfbuzz.pyx because it changed.
Compiling src/uharfbuzz/_harfbuzz_test.pyx because it changed.
[1/2] Cythonizing src/uharfbuzz/_harfbuzz.pyx
[2/2] Cythonizing src/uharfbuzz/_harfbuzz_test.pyx
* Building wheel...
[05/26/25 16:20:40] WARNING  toml section missing               pyproject_reading.py:42
                             'pyproject.toml does not contain a                        
                             tool.setuptools_scm section'                              
                             Traceback (most recent call last):                        
                               File                                                    
                             "/opt/python3.9/site-packages/setu                        
                             ptools_scm/_integration/pyproject_                        
                             reading.py", line 36, in                                  
                             read_pyproject                                            
                                 section = defn.get("tool",                            
                             {})[tool_name]                                            
                             KeyError: 'setuptools_scm'                                
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-39/uharfbuzz
copying src/uharfbuzz/__init__.py -> build/lib.linux-x86_64-cpython-39/uharfbuzz
copying src/uharfbuzz/_version.py -> build/lib.linux-x86_64-cpython-39/uharfbuzz
running build_ext
building 'uharfbuzz._harfbuzz' extension
creating build/temp.linux-x86_64-cpython-39/harfbuzz/src
creating build/temp.linux-x86_64-cpython-39/src/uharfbuzz
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/harfbuzz-subset.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/harfbuzz-subset.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-coretext-font.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-font.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-coretext-shape.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-shape.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-coretext.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-directwrite-font.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-font.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-directwrite-shape.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-shape.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-directwrite.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c harfbuzz/src/hb-uniscribe.cc -o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-uniscribe.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c src/uharfbuzz/_harfbuzz.cpp -o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -shared -march=x86-64 -mtune=generic -pipe build/temp.linux-x86_64-cpython-39/harfbuzz/src/harfbuzz-subset.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-font.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext-shape.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-coretext.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-font.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite-shape.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-directwrite.o build/temp.linux-x86_64-cpython-39/harfbuzz/src/hb-uniscribe.o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so
building 'uharfbuzz._harfbuzz_test' extension
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c src/uharfbuzz/_draw_test_funcs.cc -o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_draw_test_funcs.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -fPIC -DHB_NO_MT=1 -DHB_EXPERIMENTAL_API=1 -DHAVE_MMAP=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -Iharfbuzz/src -I/usr/include/python3.9 -c src/uharfbuzz/_harfbuzz_test.cpp -o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz_test.o -std=c++11
g++ -pthread -march=x86-64 -mtune=generic -pipe -shared -march=x86-64 -mtune=generic -pipe build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_draw_test_funcs.o build/temp.linux-x86_64-cpython-39/src/uharfbuzz/_harfbuzz_test.o -L/usr/lib64 -o build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/__init__.py -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_version.py -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./uharfbuzz
copying build/lib.linux-x86_64-cpython-39/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/wheel/./uharfbuzz
running install_egg_info
running egg_info
writing src/uharfbuzz.egg-info/PKG-INFO
writing dependency_links to src/uharfbuzz.egg-info/dependency_links.txt
writing top-level names to src/uharfbuzz.egg-info/top_level.txt
[05/26/25 16:22:05] ERROR    listing git files failed - pretending there      git.py:26
                             aren't any                                                
reading manifest file 'src/uharfbuzz.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'src/uharfbuzz.egg-info/SOURCES.txt'
Copying src/uharfbuzz.egg-info to build/bdist.linux-x86_64/wheel/./uharfbuzz-0.50.2-py3.9.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/uharfbuzz-0.50.2.dist-info/WHEEL
creating '/tmp/SBo/uharfbuzz-0.50.2/dist/.tmp-er3qkl74/uharfbuzz-0.50.2-cp39-cp39-linux_x86_64.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'uharfbuzz/__init__.py'
adding 'uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so'
adding 'uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so'
adding 'uharfbuzz/_version.py'
adding 'uharfbuzz-0.50.2.dist-info/licenses/LICENSE'
adding 'uharfbuzz-0.50.2.dist-info/METADATA'
adding 'uharfbuzz-0.50.2.dist-info/WHEEL'
adding 'uharfbuzz-0.50.2.dist-info/top_level.txt'
adding 'uharfbuzz-0.50.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built uharfbuzz-0.50.2-cp39-cp39-linux_x86_64.whl
'/var/lib/sbopkg/SBo/15.0/python/python3-uharfbuzz/example.py' -> '/tmp/SBo/package-python3-uharfbuzz/usr/doc/python3-uharfbuzz-0.50.2/example.py'

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n


Creating Slackware package:  /tmp/sbopkg.vXgsq0/sbopkg-sbooutputdir/python3-uharfbuzz-0.50.2-x86_64-1_SBo.tgz

./
install/
install/slack-desc
usr/
usr/doc/
usr/doc/python3-uharfbuzz-0.50.2/
usr/doc/python3-uharfbuzz-0.50.2/LICENSE
usr/doc/python3-uharfbuzz-0.50.2/README.md
usr/doc/python3-uharfbuzz-0.50.2/example.py
usr/doc/python3-uharfbuzz-0.50.2/python3-uharfbuzz.SlackBuild
usr/lib64/
usr/lib64/python3.9/
usr/lib64/python3.9/site-packages/
usr/lib64/python3.9/site-packages/uharfbuzz/
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/METADATA
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/RECORD
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/WHEEL
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/licenses/
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/licenses/LICENSE
usr/lib64/python3.9/site-packages/uharfbuzz-0.50.2.dist-info/top_level.txt
usr/lib64/python3.9/site-packages/uharfbuzz/__init__.py
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/__init__.cpython-39.opt-1.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/__init__.cpython-39.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/_version.cpython-39.opt-1.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/__pycache__/_version.cpython-39.pyc
usr/lib64/python3.9/site-packages/uharfbuzz/_harfbuzz.cpython-39-x86_64-linux-gnu.so
usr/lib64/python3.9/site-packages/uharfbuzz/_harfbuzz_test.cpython-39-x86_64-linux-gnu.so
usr/lib64/python3.9/site-packages/uharfbuzz/_version.py

Slackware package /tmp/sbopkg.vXgsq0/sbopkg-sbooutputdir/python3-uharfbuzz-0.50.2-x86_64-1_SBo.tgz created.
Per cui direi che l'errore era prorpio di pkgtool vecchio.
Hai ragione anche i coreutils sono da aggiornare... ma anche aaa-libs glibc mi pare di aver visto, kernel e tanto altro.
Sono sempre restio a fare questi aggiornamenti alle fondamenta, perché tanta roba compilata sopra l'ambiente ufficiale "vecchio" e se aggiorno quello dopo devo ricompilare un sacco di software per lo più di SBo.
Ho cercato negli anni un sistema per automatizzare la gestione di questa roba ma alla fine poi le cose cambiano un filo e richiedono quasi sempre diversi interventi manuali, vuoi perché avevo personalizzato qualcoa io, vuoi per colpa di dipendenze opzionali ecc... Alla fine capita che finisco per mettere in piedi un sistema funzionante e tenermelo così anche se nel tempo non è aggiornato perfettamente. Ho anche un PC un po' troppo datato ormai il che non rende le compilazioni troppo comode e rapide oltretutto.

Se non sabglio eri tu ch

Rispondi