pkgsrc-Bugs archive

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

Re: pkg/54565: devel/py-importlib-metadata: file permission issues with errors



The following reply was made to PR pkg/54565; it has been noted by GNATS.

From: N <ng0%n0.is@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
	ng0%n0.is@localhost
Subject: Re: pkg/54565: devel/py-importlib-metadata: file permission issues
 with errors
Date: Tue, 24 Sep 2019 16:42:04 +0000

 Leonardo Taccari transcribed 3.3K bytes:
 > The following reply was made to PR pkg/54565; it has been noted by GNATS.
 > 
 > From: Leonardo Taccari <leot%NetBSD.org@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/54565: devel/py-importlib-metadata: file permission issues with errors
 > Date: Tue, 24 Sep 2019 17:18:00 +0200
 > 
 >  Hello ng0,
 >  
 >  ng0%n0.is@localhost writes:
 >  > >Number:         54565
 >  > >Category:       pkg
 >  > >Synopsis:       devel/py-importlib-metadata: file permission issues with errors
 >  > >Confidential:   no
 >  > >Severity:       serious
 >  > >Priority:       medium
 >  > >Responsible:    pkg-manager
 >  > >State:          open
 >  > >Class:          sw-bug
 >  > >Submitter-Id:   net
 >  > >Arrival-Date:   Tue Sep 24 12:55:00 +0000 2019
 >  > >Originator:     ng0
 >  > >Release:        current
 >  > >Organization:
 >  > >Environment:
 >  > [...]
 >  > >Description:
 >  > => Automatic manual page handling
 >  > => Generating post-install file lists
 >  > if test -d "/usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata-0.23-py3.7.egg-info"; then  /usr/bin/find /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata-0.23-py3.7.egg-info -type f  -exec /bin/chmod 644 '{}' +;  fi
 >  > => Checking file-check results for py37-importlib-metadata-0.23
 >  > => Checking for non-existent script interpreters in py37-importlib-metadata-0.23
 >  > => Checking file permissions in py37-importlib-metadata-0.23
 >  > warning: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs/changelog.rst: group-writable file.
 >  > error: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs/changelog.rst: world-writable file.
 >  > warning: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs/index.rst: group-writable file.
 >  > error: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs/index.rst: world-writable file.
 >  > warning: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs/using.rst: group-writable file.
 >  > error: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs/using.rst: world-writable file.
 >  > warning: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3-none-any.whl: group-writable file.
 >  > error: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3-none-any.whl: world-writable file.
 >  > warning: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3.6.egg: group-writable file.
 >  > error: /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/tests/data/example-21.12-py3.6.egg: world-writable file.
 >  > 5 errors and 5 warnings.
 >  > *** Error code 1
 >  > [...]
 >  
 >  Can you please share the `ls -l' output of the problematic files and
 >  their parent directories?
 
 single files:
 -rw-rw-rw-  1 root  wheel  6205 Sep 16 16:02 changelog.rst
 -rw-rw-rw-  1 root  wheel  2044 Sep 16 16:02 index.rst
 -rw-rw-rw-  1 root  wheel  9826 Sep 16 16:02 using.rst
 -rw-rw-rw-  1 root  wheel  1455 Sep 16 16:02 example-21.12-py3-none-any.whl
 -rw-rw-rw-  1 root  wheel  1497 Sep 16 16:02 example-21.12-py3.6.egg
 
 ls -l of directories:
 
 /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/docs:
 total 72
 -rw-r--r--  1 root  wheel     0 Sep 16 16:02 __init__.py
 drwxr-xr-x  2 root  wheel   512 Sep 22 13:58 __pycache__
 -rw-rw-rw-  1 root  wheel  6205 Sep 16 16:02 changelog.rst
 -rw-r--r--  1 root  wheel  5468 Sep 16 16:02 conf.py
 -rw-rw-rw-  1 root  wheel  2044 Sep 16 16:02 index.rst
 -rw-rw-rw-  1 root  wheel  9826 Sep 16 16:02 using.rst
 
 /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata/tests:
 total 80
 -rw-r--r--  1 root  wheel     0 Sep 16 16:02 __init__.py
 drwxr-xr-x  2 root  wheel  1024 Sep 22 13:58 __pycache__
 drwxr-xr-x  3 root  wheel   512 Sep 22 13:58 data
 -rw-r--r--  1 root  wheel  5004 Sep 16 16:02 fixtures.py
 -rw-r--r--  1 root  wheel  5544 Sep 16 16:02 test_api.py
 -rw-r--r--  1 root  wheel   686 Sep 16 16:02 test_integration.py
 -rw-r--r--  1 root  wheel  6213 Sep 16 16:02 test_main.py
 -rw-r--r--  1 root  wheel  2372 Sep 16 16:02 test_zip.py
 
 /usr/work/devel/py-importlib-metadata/work/.destdir/usr/pkg/lib/python3.7/site-packages/importlib_metadata:
 total 72
 -rw-r--r--  1 root  wheel  17197 Sep 16 16:02 __init__.py
 drwxr-xr-x  2 root  wheel    512 Sep 22 13:58 __pycache__
 -rw-r--r--  1 root  wheel   3004 Sep 16 16:02 _compat.py
 drwxr-xr-x  3 root  wheel    512 Sep 22 13:58 docs
 drwxr-xr-x  4 root  wheel    512 Sep 22 13:58 tests
 
   
 >  Is there anything interesting/related in mk.conf?
 
 not really..
 
 WRKOBJDIR=/usr/work
 DISTDIR=/usr/distfiles
 PKG_OPTIONS.weechat+=python
 PKG_OPTIONS.weechat+=perl
 LIBRSVG_TYPE=rust
 # PKG_OPTIONS.firefox+=widevinecdm
 # PKG_OPTIONS.firefox+=webrtc
 PKG_OPTIONS.gnunet+=tests
 #PKG_OPTIONS.gnunet+=experimental
 PKG_OPTIONS.gnunet+=-doc
 PKG_OPTIONS.gnunet+=mdoc
 PKG_OPTIONS.gnutls+=dane
 #PKG_OPTIONS.gnunet+=unbound
 PKG_OPTIONS.firefox+=webrtc
 DEPENDS_TARGET=package install clean
 UPDATE_TARGET=bin-install
 ACCEPTABLE_LICENSES+= gnu-agpl-v3
 ACCEPTABLE_LICENSES+= eclipse-license
 ACCEPTABLE_LICENSES+= sun-jdk6-license
 ACCEPTABLE_LICENSES+= sun-jre6-license
 ACCEPTABLE_LICENSES+= oracle-binary-code-license
 ACCEPTABLE_LICENSES+= lame-license
 ACCEPTABLE_LICENSES+= tarsnap-license
 ACCEPTABLE_LICENSES+= unrar-license
 ACCEPTABLE_LICENSES+= esdl-license
 ACCEPTABLE_LICENSES+= vim-license
 ACCEPTABLE_LICENSES+= opera-1200-license
 ACCEPTABLE_LICENSES+= amaya-license
 ALLOW_VULNERABLE_PACKAGES=1
 PYTHON_VERSION_DEFAULT=37
 EMACS_TYPE=emacs26nox
 PKG_DEVELOPER=yes
 MKREPRO=yes
 MKX11=yes
 # needed as building GCC alongside clang is not maintained?
 MKGCC=no
 # libraries
 MKLLVM=yes
 # libc++
 MKLIBCXX=yes
 # clang
 HAVE_LLVM=yes
 # pkgsrc with clang
 PKGSRC_COMPILER=clang
 # pkgsrc clang location
 CLANGBASE=/usr
 HASKELL_ENABLE_HADDOCK_DOCUMENTATION= no
 LOCALBASE=/usr/pkg
 .if exists(${LOCALBASE}/bin/doas)
 SU_CMD=        ${LOCALBASE}/bin/doas /bin/sh -c
 .endif
 MKDEBUG=yes
 # LOCALPATCHES=/usr/pkgsrc/localpatches/
 
   
 >  I have tried to reproduce it on NetBSD/amd64 9.99.12 but it install
 >  without any problem.
 
 I didn't know there was a bump. Thanks.  
 


Home | Main Index | Thread Index | Old Index