Package Details: python-pytaglib 2.1.0-1

Git Clone URL: https://aur.archlinux.org/python-pytaglib.git (read-only, click to copy)
Package Base: python-pytaglib
Description: Python audio tagging library
Upstream URL: https://github.com/supermihi/pytaglib
Keywords: metadata python taglib tags
Licenses: GPL3
Submitter: arojas
Maintainer: carlosal1015 (supermihi)
Last Packager: carlosal1015
Votes: 3
Popularity: 0.000002
First Submitted: 2021-12-03 21:58 (UTC)
Last Updated: 2023-11-18 14:14 (UTC)

Latest Comments

1 2 Next › Last »

vegasd commented on 2024-02-07 08:15 (UTC) (edited on 2024-02-15 14:02 (UTC) by vegasd)

Getting this error when I try to build it:

building 'taglib' extension
creating build/temp.linux-x86_64-cpython-311
creating build/temp.linux-x86_64-cpython-311/src
gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -I/home/vorter/.cache/paru/clone/python-pytaglib/src/pytaglib-2.1.0/build/taglib/Linux-x64-py3.11.6/include -I/usr/include/python3.11 -c src/taglib.cpp -o build/temp.linux-x86_64-cpython-311/src/taglib.o
src/taglib.cpp: In function ‘TagLib::File* __pyx_f_6ctypes_create_wrapper(PyObject*)’:
src/taglib.cpp:3431:34: error: ‘create’ is not a member of ‘TagLib::FileRef’
 3431 |     __pyx_t_3 = TagLib::FileRef::create(__pyx_t_2);
      |                                  ^~~~~~
src/taglib.cpp: In function ‘PyObject* __pyx_pf_6taglib_4File_6length___get__(__pyx_obj_6taglib_File*)’:
src/taglib.cpp:5421:82: warning: ‘virtual int TagLib::AudioProperties::length() const’ is deprecated [-Wdeprecated-declarations]
 5421 |   __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->cFile->audioProperties()->length()); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 176, __pyx_L1_error)
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from src/taglib.cpp:1249:
/usr/include/taglib/audioproperties.h:82:17: note: declared here
   82 |     virtual int length() const;
      |                 ^~~~~~
error: command '/usr/bin/gcc' failed with exit code 1

Tried with taglib from extra, and tablib-git from AUR, same result.

lahwaacz commented on 2023-03-28 18:04 (UTC)

cython is missing in makedepends

carlosal1015 commented on 2022-09-10 04:31 (UTC)

You're welcome.

GuestOne commented on 2022-09-09 17:30 (UTC) (edited on 2022-09-09 17:30 (UTC) by GuestOne)

Hi @carlosal1015, now it builds perfectly! sorry for the late reply but i was busy in these days. Thanks for your work man!

carlosal1015 commented on 2022-09-04 20:52 (UTC)

Hi @GuestOne, I changed the build system, I can not test in pamac because the build is failing from my side. But, with makepkg is working fine.

GuestOne commented on 2022-09-04 16:16 (UTC)

Hi @carlosal1015. Here the full log: https://pastebin.com/6C9YSG4D Thanks!

carlosal1015 commented on 2022-09-04 14:54 (UTC)

Hi @GuestOne. no errors from my side.

Could you help us for take a look, like /etc/makepkg.conf or running with makepkg or full log.

GuestOne commented on 2022-09-04 11:40 (UTC)

Fails with:

E ModuleNotFoundError: No module named 'taglib' =========================== short test summary info ============================ ERROR tests/test_bytes_unicode.py ERROR tests/test_flac_remove_tags.py ERROR tests/test_flacunicode.py ERROR tests/test_io.py ERROR tests/test_m4a.py ERROR tests/test_mp3.py ERROR tests/test_strval.py !!!!!!!!!!!!!!!!!!! Interrupted: 7 errors during collection !!!!!!!!!!!!!!!!!!!! ============================== 7 errors in 0.27s ===============================

carlosal1015 commented on 2021-12-15 13:12 (UTC)

Thank you very much @supermih !