Date: Sat, 13 May 2023 23:25:35 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 271400] print/py-fonttools: NO_ARCH is wrong if cython is used (and REPACKER is effectively on even if explicitly turned off) Message-ID: <bug-271400-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271400 Bug ID: 271400 Summary: print/py-fonttools: NO_ARCH is wrong if cython is used (and REPACKER is effectively on even if explicitly turned off) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) If you build print/py-fonttools (currently at 4.93.3) with either of the following two conditions... - REPACKER option on - or just the cython package installed (even if REPACKER is off) ... then 'make stage-qa' fails with this: =3D=3D=3D=3D> Running Q/A tests (stage-qa) Warning: 'lib/python3.9/site-packages/fontTools/pens/momentsPen.cpython-39.= so' is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD} Warning: 'lib/python3.9/site-packages/fontTools/qu2cu/qu2cu.cpython-39.so' = is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRI= P_CMD} Warning: 'lib/python3.9/site-packages/fontTools/cu2qu/cu2qu.cpython-39.so' = is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRI= P_CMD} Warning: 'lib/python3.9/site-packages/fontTools/misc/bezierTools.cpython-39= .so' is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD} Warning: 'lib/python3.9/site-packages/fontTools/varLib/iup.cpython-39.so' is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRI= P_CMD} Warning: 'lib/python3.9/site-packages/fontTools/feaLib/lexer.cpython-39.so'= is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRI= P_CMD} Error: '/usr/local/lib/python3.9/site-packages/fontTools/cu2qu/cu2qu.cpython-39.so= ' is a architecture specific binary file and you have set NO_ARCH. Either remove NO_ARCH or add 'cu2qu.cpython-39.so' to NO_ARCH_IGNORE. Error: '/usr/local/lib/python3.9/site-packages/fontTools/feaLib/lexer.cpython-39.s= o' is a architecture specific binary file and you have set NO_ARCH. Either re= move NO_ARCH or add 'lexer.cpython-39.so' to NO_ARCH_IGNORE. Error: '/usr/local/lib/python3.9/site-packages/fontTools/misc/bezierTools.cpython-= 39.so' is a architecture specific binary file and you have set NO_ARCH. Either re= move NO_ARCH or add 'bezierTools.cpython-39.so' to NO_ARCH_IGNORE. Error: '/usr/local/lib/python3.9/site-packages/fontTools/pens/momentsPen.cpython-3= 9.so' is a architecture specific binary file and you have set NO_ARCH. Either re= move NO_ARCH or add 'momentsPen.cpython-39.so' to NO_ARCH_IGNORE. Error: '/usr/local/lib/python3.9/site-packages/fontTools/qu2cu/qu2cu.cpython-39.so= ' is a architecture specific binary file and you have set NO_ARCH. Either remove NO_ARCH or add 'qu2cu.cpython-39.so' to NO_ARCH_IGNORE. Error: '/usr/local/lib/python3.9/site-packages/fontTools/varLib/iup.cpython-39.so'= is a architecture specific binary file and you have set NO_ARCH. Either remove NO_ARCH or add 'iup.cpython-39.so' to NO_ARCH_IGNORE. *** Error code 1 There are two problems here: (1) The build should not be different just because cython is installed.=20 Putting it another way, even if REPACKER is off, py-fonttools is built exac= tly as if REPACKER is on when lang/cython is installed - that is, having lang/cython installed effectively turns on the REPACKER option. (2) NO_ARCH=3Dyes is no longer correct if .so files are being built and packaged. You would not notice this in a poudriere environment unless REPACKER is on (it's off by default) - or if you do a bulk build that included both lang/cython and print/py-fonttools. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271400-7788>