Problems building:
pysam/cbcf.c: At top level:
pysam/cbcf.c:47530:67: error: unknown type name ‘htsFormatCategory’
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_htsFormatCategory(htsFormatCategory value) {
^
pysam/cbcf.c:47556:64: error: unknown type name ‘htsExactFormat’
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_htsExactFormat(htsExactFormat value) {
^
pysam/cbcf.c:47608:64: error: unknown type name ‘htsCompression’
static CYTHON_INLINE PyObject* __Pyx_PyInt_From_htsCompression(htsCompression value) {
Search Criteria
Package Details: python-pysam 0.22.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pysam.git (read-only, click to copy) |
---|---|
Package Base: | python-pysam |
Description: | Python interface for the SAM/BAM sequence alignment and mapping format |
Upstream URL: | https://github.com/pysam-developers/pysam |
Keywords: | bioinformatics |
Licenses: | MIT |
Provides: | python-pysam |
Submitter: | iosonofabio |
Maintainer: | oldherl (lilac) |
Last Packager: | oldherl |
Votes: | 12 |
Popularity: | 0.000872 |
First Submitted: | 2013-10-14 17:12 (UTC) |
Last Updated: | 2024-04-16 07:41 (UTC) |
Dependencies (4)
- python (python37AUR, python311AUR, python310AUR)
- cython (cython-gitAUR) (make)
- htslibAUR (htslib-gitAUR) (make)
- python-setuptools (make)
Required by (6)
Sources (1)
Latest Comments
« First ‹ Previous 1 2
balwierz commented on 2015-09-01 16:25 (UTC)
Stunts commented on 2014-04-16 15:57 (UTC)
Could be... regardless, it's working now...
iosonofabio commented on 2014-04-16 14:48 (UTC)
Maybe the package is precompiled for python2...
Stunts commented on 2014-04-16 13:42 (UTC)
Got it working.
Please add "cython" to the dependencies.
It's wierd that the python2 does not require this...
iosonofabio commented on 2014-04-13 16:33 (UTC)
For what it costs:
[python-pysam]$ namcap python-pysam-0.7.7-1-x86_64.pkg.tar.xz
python-pysam E: Missing custom license directory (usr/share/licenses/python-pysam)
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/samtools/win32/zlib.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/samtools/win32/zconf.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/samtools/win32/xcurses.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/samtools/bcftools/kmin.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/samtools/bcftools/bcf.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/samtools/bcftools/prob1.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/bgzf.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/khash.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/knetfile.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/kseq.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/tabix.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/kstring.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/bam_endian.h) does not have the world readable bit set.
python-pysam W: File (usr/lib/python3.4/site-packages/pysam/include/tabix/ksort.h) does not have the world readable bit set.
Stunts commented on 2014-04-13 15:33 (UTC)
All my packages are up-to-date...
Could you please try to run namcap against the built package and see if something is missing please? Thanks!
iosonofabio commented on 2014-04-13 15:06 (UTC)
Hi Stunts,
I built it today and it works for me, there might be some dependency inconsistency. Is your gcc up to date?
Fabio
Stunts commented on 2014-04-13 14:38 (UTC)
Fails to build for me...
Here's what I'm getting:
pysam/csamtools.c:3832:18: note: expected ‘struct bam_pileup1_t **’ but argument is of type ‘const struct bam_pileup1_t **’
static PyObject *__pyx_f_5pysam_9csamtools_makePileupProxy(bam_pileup1_t **__pyx_v_plp, int __pyx_v_tid, int __pyx_v_pos, int __pyx_v_n) {
^
pysam/csamtools.c: In function ‘__Pyx_TraceSetupAndCall’:
pysam/csamtools.c:45773:17: error: ‘PyFrameObject’ has no member named ‘f_tstate’
(*frame)->f_tstate = PyThreadState_GET();
^
error: command 'gcc' failed with exit status 1
python2-pysam builds and works just fine.
Pinned Comments
oldherl commented on 2024-12-22 14:13 (UTC)
@MarsSeed and anyone interested: I know this is executing setup.py which is now deprecated. But I have no interest to implement PEP 517 build+install flow. If you can make a patch, I am willing to accept it. Or if you are willing to maintain this package, I will orphan it.
But until then, I won't change it. Thanks.