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



I tried 3 different tars. They all say "-rwxrwxrwx". I'll send a
message to scipy.

Daisuke

---------------------------------------------------------------------------
# where tar gtar
/bin/tar
/usr/bin/tar
/usr/pkg/bin/gtar
# /bin/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
# /usr/bin/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
# /usr/pkg/bin/gtar tzvf /usr/pkgsrc/distfiles/scipy-1.6.0.tar.gz | head
drwxrwxrwx treddy/treddy     0 2020-12-31 07:11 scipy-1.6.0/
-rwxrwxrwx treddy/treddy    40 2020-12-31 07:01 scipy-1.6.0/.coveragerc
-rwxrwxrwx treddy/treddy 14420 2020-02-14 12:26 scipy-1.6.0/HACKING.rst.txt
-rwxrwxrwx treddy/treddy  7069 2020-12-04 09:52 scipy-1.6.0/INSTALL.rst.txt
-rwxrwxrwx treddy/treddy 12650 2020-12-31 07:11 scipy-1.6.0/LICENSE.txt
-rwxrwxrwx treddy/treddy   945 2020-02-14 12:26 scipy-1.6.0/MANIFEST.in
-rwxrwxrwx treddy/treddy  2130 2020-12-31 07:11 scipy-1.6.0/PKG-INFO
-rwxrwxrwx treddy/treddy  2682 2020-05-22 10:08 scipy-1.6.0/README.rst
drwxrwxrwx treddy/treddy     0 2020-12-31 07:11 scipy-1.6.0/benchmarks/
-rwxrwxrwx treddy/treddy  3235 2020-11-05 13:02
scipy-1.6.0/benchmarks/README.rst
---------------------------------------------------------------------------

On Fri, 8 Jan 2021 at 22:45, Greg Troxel <gdt%lexort.com@localhost> wrote:
>
>
> 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.
>


Home | Main Index | Thread Index | Old Index