pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Question about PKG_DEVELOPER and math/py-scipy



Hello everyone,

I am facing to following problem.
Could you advise me?

When I try to install the package "math/py-scipy", I can
successfully install the package on some NetBSD systems, but I
fail on the other NetBSD systems.

I see following error messages when I fail to install the package.

---------------------------------------------------------------------------
warning: /data0/netbsd/pkgsrc/current/pkgsrc/math/py-scipy/work/.destdir/usr/pkg/lib/python3.9/site-packages/scipy/stats/tests/test_stats.py:
group-writable file.
error: /data0/netbsd/pkgsrc/current/pkgsrc/math/py-scipy/work/.destdir/usr/pkg/lib/python3.9/site-packages/scipy/stats/tests/test_stats.py:
world-writable file.
warning: /data0/netbsd/pkgsrc/current/pkgsrc/math/py-scipy/work/.destdir/usr/pkg/lib/python3.9/site-packages/scipy/stats/tests/test_tukeylambda_stats.py:
executable bit is set on non-executable file.
warning: /data0/netbsd/pkgsrc/current/pkgsrc/math/py-scipy/work/.destdir/usr/pkg/lib/python3.9/site-packages/scipy/stats/tests/test_tukeylambda_stats.py:
group-writable file.
error: /data0/netbsd/pkgsrc/current/pkgsrc/math/py-scipy/work/.destdir/usr/pkg/lib/python3.9/site-packages/scipy/stats/tests/test_tukeylambda_stats.py:
world-writable file.
595 errors and 1190 warnings.
*** Error code 1

Stop.
make[1]: stopped in /data0/netbsd/pkgsrc/current/pkgsrc/math/py-scipy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/math/py-scipy
---------------------------------------------------------------------------

I have checked difference between the systems that I can
install "math/py-scipy" and the systems that I cannot
install "math/py-scipy". It seems that the installation fails if
PKG_DEVELOPER is set to be "YES".

Could you advise me how to fix this problem under the condition
that PKG_DEVELOPER is "YES"?

I tried "umask 002", but it did not work.

For now, I have committed "wip/py-scipy". For "wip/py-scipy", I
have added following lines to Makefile.

---------------------------------------------------------------------------
post-extract:
        ${FIND} ${WRKSRC} -type f -exec ${CHMOD} go-w {} +
---------------------------------------------------------------------------

thank you in advance,

Daisuke


Home | Main Index | Thread Index | Old Index