hns - 日記自動生成システム - Version 2.19.9

先月 2021年01月
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2021年01月09日() 旧暦 [n年日記] [更新:"2021/01/09 00:11:03"]

#1 [pkgsrc]

NetBSD-9.0/20210105.0408/py36-colorama-0.4.4/build.log
Traceback (most recent call last):
  File "setup.py", line 36, in <module>
    long_description=read_file('README.rst'),
  File "setup.py", line 19, in read_file
    return fp.read()
  File "/usr/pkg/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 852: ordinal not in range(128)
*** Error code 1

Stop.
make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/comms/py-colorama
*** Error code 1
backup-u@makoto 08:38:14/210109(..current/NetBSD-9.0)% grep -lr  "UnicodeDecodeError: " .
./20200219.2303/py36-ephem-3.7.7.0/build.log
./20200219.2303/py36-test-testmon-0.9.19/build.log
./20200219.2303/py36-xmlschema-1.1.0/build.log
./20200219.2303/py36-z3-4.8.3/configure.log
CF-SX3@makoto 08:40:26/210109(..textproc/py-xmlschema)% cat patches/patch-setup.py
$NetBSD: patch-setup.py,v 1.1 2020/05/31 20:49:34 joerg Exp $

--- setup.py.orig       2020-05-31 18:07:15.361949598 +0000
+++ setup.py
@@ -8,12 +8,13 @@
 #
 # @author Davide Brunato <brunato@sissa.it>
 #
+import sys
 import importlib
 from setuptools import setup
 from setuptools.command.develop import develop
 from setuptools.command.install import install
 
-with open("README.rst") as readme:
+with open("README.rst", **({'encoding': 'UTF-8'} if sys.version_info.major>=3 else {})) as readme:
     long_description = readme.read()
./20200223.1203/py36-xmlschema-1.1.1/build.log
Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    long_description = readme.read()
  File "/usr/pkg/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 4839: ordinal not in range(128)


2021年01月02日() 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgssrc] ImportError: cannot import name 'DistutilsSetupError'

=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for py36-obspy-1.1.1nb2

(cd /tmp/geography/py-obspy/work/obspy-1.1.1/ && /usr/bin/env
USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread
PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\
-pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.6 CC=gcc CFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.6\
-I/usr/pkg/include CPPFLAGS=-I/usr/include\
-I/usr/pkg/include/python3.6\ -I/usr/pkg/include CXX=c++ CXXFLAGS=-O2\
-D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.6\
-I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran
FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C
LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\
-Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib
LINKER_RPATH_FLAG=-R
PATH=/tmp/geography/py-obspy/work/.cwrapper/bin:/tmp/geography/py-obspy/work/.buildlink/bin:/tmp/geography/py-obspy/work/.gfortran/bin:/tmp/geography/py-obspy/work/.gcc/bin:/tmp/geography/py-obspy/work/.tools/bin:/usr/pkg/bin:/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin
PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc
CXXCPP=cpp HOME=/tmp/geography/py-obspy/work/.home
CWRAPPERS_CONFIG_DIR=/tmp/geography/py-obspy/work/.cwrapper/config
CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man
PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF
USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ pbulk\
-g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install
BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\
-m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\
wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ pbulk\
-g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\
pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\
-o\ pbulk\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\
-s\ -o\ pbulk\ -g\ wheel\ -m\ 2555
BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ pbulk\ -g\ wheel\ -m\
664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ pbulk\ -g\ wheel\
-m\ 775 INSTALL_INFO=
MAKEINFO=/tmp/geography/py-obspy/work/.tools/bin/makeinfo FLEX= BISON=
PKG_CONFIG=
PKG_CONFIG_LIBDIR=/tmp/geography/py-obspy/work/.buildlink/lib/pkgconfig:/tmp/geography/py-obspy/work/.buildlink/share/pkgconfig
PKG_CONFIG_LOG=/tmp/geography/py-obspy/work/.pkg-config.log
PKG_CONFIG_PATH=
CWRAPPERS_CONFIG_DIR=/tmp/geography/py-obspy/work/.cwrapper/config
/usr/pkg/bin/python3.6 setup.py build -j4)


Traceback (most recent call last):
  File "setup.py", line 47, in <module>
    from numpy.distutils.core import DistutilsSetupError, setup
ImportError: cannot import name 'DistutilsSetupError'
*** Error code 1
Numpy released new version, 1.19, which broke the setup. The problem is that we are importing DistutilsSetupError through numpy and it just stopped working. It was working only due to the fact that <1.19 in numpy.core they were doing from distutils.core import *. In 1.19 they changed it to from distutils.core import Distribution in numpy/numpy#15465 So instead of going around, I just import DistutilsSetupError directly from distutils. Fixes #2640


2021年01月01日(金) 旧暦 [n年日記] [更新:"2004/08/09 23:43:33"]

#1 [pkgsrc][check-update] deve/R-roxygen2-7.1.1

check- update が deve/R-roxygen2-7.1.1 でうまく動いていない。 R special の debug flag は Q なので、 ONLY_ONCE という変数があるが、これは R_special 専用(らしい) 次のような表示があるが、 GetDistBase が 2 を取ってしまうらしい
1940 <main::GetDistBaseNoHyphen> distbase: roxygen2_7.1.1
2316 <main::GetDistBase> return(roxygen_7.1.1)
4816 <> back from GetDistBase (DISTBASE) roxygen_7.1.1
fc -fild -200
   10  2021-01-01 09:21  cd /export/git-work/check-update
   11  2021-01-01 09:21  git g -- .
   12  2021-01-01 09:21  git diff -- .
   13  2021-01-01 09:21  git branch
   14  2021-01-01 09:21  git diff
   15  2021-01-01 09:21  git pull
   16  2021-01-01 09:22  pushd /export/CHROOT/usr/pkgsrc/devel/R-roxygen2/
   17  2021-01-01 09:22  /export/git-work/check-update/check-update
   20  2021-01-01 09:23  pkgin search  p5-Net-DNS
   21  2021-01-01 09:23  sudo pkgin install p5-Net-DNS
   22  2021-01-01 09:33  /export/git-work/check-update/check-update
   23  2021-01-01 09:34  cvs update -dPA .
   24  2021-01-01 09:34  /export/git-work/check-update/check-update
   25  2021-01-01 09:54  /export/git-work/check-update/check-update -h
   26  2021-01-01 09:54  /export/git-work/check-update/check-update -H
   28  2021-01-01 09:55  /export/git-work/check-update/check-update -xQ
   29  2021-01-01 09:55  /export/git-work/check-update/check-update -xQl

   34  2021-01-01 09:59  grep -i special /export/git-work/check-update/check-update
   36  2021-01-01 09:59  grep -i special /export/git-work/check-update/check-update|grep R

   38  2021-01-01 10:00  grep DEBUG_R_PACKAGE /export/git-work/check-update/check-update
   39  2021-01-01 10:01  emacs  /export/git-work/check-update/check-update 

   41  2021-01-01 10:02  /export/git-work/check-update/check-update -xQl |grpe 7.1.1
   42  2021-01-01 10:02  /export/git-work/check-update/check-update 
   43  2021-01-01 10:05  (cd /export/git-work/check-update/; git diff -- check-update )
   44  2021-01-01 10:05  grep ONLY_ONCE /export/git-work/check-update/check-update

   47  2021-01-01 10:06  (cd /export/git-work/check-update/; git blame -- check-update) |less

   51  2021-01-01 10:08  (cd /export/git-work/check-update/; git show d3924505)
   52  2021-01-01 10:09  vi /export/git-work/check-update/check-update
   53  2021-01-01 10:10  /export/git-work/check-update/check-update 
   54  2021-01-01 10:24  /export/git-work/check-update/check-update  -xQ
   56  2021-01-01 10:30  cat Makefile

   58  2021-01-01 10:33  /export/git-work/check-update/check-update  -H
   59  2021-01-01 10:33  /export/git-work/check-update/check-update  -xd
   60  2021-01-01 10:34  /export/git-work/check-update/check-update  -xdQ
次の部分が問題だと判明
  1930  sub GetDistBaseNoHyphen($$$$){
  1931      my ($pkgbase)       = shift;        #
  1932      my ($pkgname)       = shift;        #
  1933      my ($pkgversion)    = shift;        #
  1934      my ($distname)      = shift;        #
  1935      
  1936      my ($value)         = $distname;    # delegate9.9.1
  1937      $value =~ s|\+|\.|;
  1938  
  1939      if ( ! ($value =~ /-/) ) {
  1940          print STDERR sprintf("%4d <", __LINE__ ), (caller 0)[3], '> distbase: ', $value, "\n" if $DEBUG_DISTBASE;
  1941          $value =~ s/[0-9.]+//;
  1942          print STDERR sprintf("%4d <", __LINE__ ), (caller 0)[3], '> distbase: ', $value, "\n" if $DEBUG_DISTBASE;
  1943      }  else { $value = '';}
  1944      return $value;
  1945  }



最近の日記
2021年01月09日

2021年01月02日
ImportError: cannot import name 'DistutilsSetupError'
2021年01月01日
deve/R-roxygen2-7.1.1
2020年12月14日
NetBSD pkgsrc binary 生活
2020年12月12日
certificate expired :-(
以上、3 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)