pkgsrc-Users archive

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

Re: Question about PKG_DEVELOPER and math/py-scipy



Kinoshita Daisuke <kinoshita%astro.ncu.edu.tw@localhost> writes:

> Thank you for the information.
>
> Permissions of archived files are all "-rwxrwxrwx".
>
> ---------------------------------------------------------------------------
> # tar tzvf /usr/pkgsrc/distfiles/scipy-1.6.0.tar.gz | head
> drwxrwxrwx  0 treddy treddy      0 Dec 31 07:11 scipy-1.6.0/
> -rwxrwxrwx  0 treddy treddy     40 Dec 31 07:01 scipy-1.6.0/.coveragerc
> -rwxrwxrwx  0 treddy treddy  14420 Feb 14  2020 scipy-1.6.0/HACKING.rst.txt
> -rwxrwxrwx  0 treddy treddy   7069 Dec  4 09:52 scipy-1.6.0/INSTALL.rst.txt
> -rwxrwxrwx  0 treddy treddy  12650 Dec 31 07:11 scipy-1.6.0/LICENSE.txt
> -rwxrwxrwx  0 treddy treddy    945 Feb 14  2020 scipy-1.6.0/MANIFEST.in
> -rwxrwxrwx  0 treddy treddy   2130 Dec 31 07:11 scipy-1.6.0/PKG-INFO
> -rwxrwxrwx  0 treddy treddy   2682 May 22  2020 scipy-1.6.0/README.rst
> drwxrwxrwx  0 treddy treddy      0 Dec 31 07:11 scipy-1.6.0/benchmarks/
> -rwxrwxrwx  0 treddy treddy   3235 Nov  5 13:02
> scipy-1.6.0/benchmarks/README.rst
> ---------------------------------------------------------------------------
>
> It seems that adding following to Makefile fixes the problem.
>
> ---------------------------------------------------------------------------
> # for changing permission of extracted files from -rwxrwxrwx to -rwxr-xr-x
> EXTRACT_OPTS_TAR+=      --no-same-permissions
> ---------------------------------------------------------------------------

Perhaps, but the real question is if the distribution file is defective,
or if pkgsrc is using a tool that can not parse the actual format.  I
suggest trying all of the tar implementations, and if they all say the
files are writable please file a bug with the upstream.  pkgsrc in
general has a notion that upstream problems should be fixed upstream,
even though we work around them.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index