pkgsrc-Bugs archive

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

Re: pkg/53227 (lang/python36 broken)



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53227 (lang/python36 broken)
Date: Sun, 29 Apr 2018 09:00:34 +0200

 On Sun, Apr 29, 2018 at 06:57:18AM +0000, wiz%NetBSD.org@localhost wrote:
 > Synopsis: lang/python36 broken
 >=20
 > State-Changed-From-To: open->closed
 > State-Changed-By: wiz%NetBSD.org@localhost
 > State-Changed-When: Sun, 29 Apr 2018 06:57:17 +0000
 > State-Changed-Why:
 > It's a warning, but it's fine.
 
 Maybe, but it is broken:
 
 Hmm...  Looks like a unified diff to me...
 The text leading up to this was:
 --------------------------
 |$NetBSD: patch-setup.py,v 1.4 2017/12/19 09:37:14 adam Exp $
 |
 |Disable modules, so they can be built as separate packages.
 |
 |--- setup.py.orig      2017-12-19 04:53:56.000000000 +0000
 |+++ setup.py
 --------------------------
 Patching file setup.py using Plan A...
 Hunk #1 failed at 8.
 No such line 42 in input file, ignoring
 Hunk #2 failed at 44.
 Hunk #3 failed at 514.
 Hunk #4 failed at 844.
 Hunk #5 failed at 855.
 Hunk #6 failed at 874.
 Hunk #7 failed at 1274.
 Hunk #8 failed at 1309.
 Hunk #9 failed at 2128.
 Hunk #10 failed at 2365.
 10 out of 10 hunks failed--saving rejects to setup.py.rej
 done
 =3D=3D=3D> Creating toolchain wrappers for py36-expat-3.6.5
 =3D=3D=3D> Configuring for py36-expat-3.6.5
 =3D> Checking for portability problems in extracted files
 =3D=3D=3D> Building for py36-expat-3.6.5
 (cd /work/pkgobj/textproc/py-expat/work/Python-3.6.5/ && /usr/bin/env USETO=
 OLS=3Dno PTHREAD_CFLAGS=3D\ -pthread\  PTHREAD_LDFLAGS=3D\ -pthread PTHREAD=
 _LIBS=3D PTHREADBASE=3D/usr DL_CFLAGS=3D\ -pthread\  DL_LDFLAGS=3D\ -pthrea=
 d DL_LIBS=3D PYTHON=3D/usr/pkg/bin/python3.6 CC=3Dgcc CFLAGS=3D-O2\ -pipe\ =
 -D_FORTIFY_SOURCE=3D2\ -I/usr/include\ -I/usr/pkg/include/python3.6 CPPFLAG=
 S=3D-I/usr/include\ -I/usr/pkg/include/python3.6 CXX=3Dc++ CXXFLAGS=3D-O2\ =
 -pipe\ -D_FORTIFY_SOURCE=3D2\ -I/usr/include\ -I/usr/pkg/include/python3.6 =
 COMPILER_RPATH_FLAG=3D-Wl,-R F77=3Dg77 FC=3Dg77 FFLAGS=3D-O LANG=3DC LC_ALL=
 =3DC LC_COLLATE=3DC LC_CTYPE=3DC LC_MESSAGES=3DC LC_MONETARY=3DC LC_NUMERIC=
 =3DC LC_TIME=3DC LDFLAGS=3D-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib L=
 INKER_RPATH_FLAG=3D-R PATH=3D/work/pkgobj/textproc/py-expat/work/.cwrapper/=
 bin:/work/pkgobj/textproc/py-expat/work/.buildlink/bin:/work/pkgobj/textpro=
 c/py-expat/work/.gcc/bin:/work/pkgobj/textproc/py-expat/work/.tools/bin:/us=
 r/pkg/bin:/root/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bi=
 n:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/u=
 sr/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=3D/usr/pkg MAKELEVEL=3D0 CONFIG_S=
 ITE=3D PKG_SYSCONFDIR=3D/usr/pkg/etc CXXCPP=3Dcpp HOME=3D/work/pkgobj/textp=
 roc/py-expat/work/.home CWRAPPERS_CONFIG_DIR=3D/work/pkgobj/textproc/py-exp=
 at/work/.cwrapper/config CPP=3Dcpp LOCALBASE=3D/usr/pkg X11BASE=3D/usr/X11R=
 7 PKGMANDIR=3Dman PKGINFODIR=3Dinfo PKGGNUDIR=3Dgnu/ MAKECONF=3D/dev/null O=
 BJECT_FMT=3DELF USETOOLS=3Dno BSD_INSTALL_PROGRAM=3D/usr/bin/install\ -c\ -=
 s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=3D/usr/bin/install\ -c\ =
 -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=3D/usr/bin/install\ -c\ -o\ ro=
 ot\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=3D/usr/bin/install\ -c\ -o\ root\ -=
 g\ wheel\ -m\ 644 BSD_INSTALL_MAN=3D/usr/bin/install\ -c\ -o\ root\ -g\ whe=
 el\ -m\ 644 BSD_INSTALL=3D/usr/bin/install BSD_INSTALL_PROGRAM_DIR=3D/usr/b=
 in/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=3D/usr/=
 bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=3D/usr/bi=
 n/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=3D/usr/bin=
 /install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=3D/usr/bin/i=
 nstall\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=3D/usr/bin/instal=
 l\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=3D/usr/bin/i=
 nstall\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=3D/usr/bin/in=
 stall\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO=3D MAKEINFO=3D/work/pk=
 gobj/textproc/py-expat/work/.tools/bin/makeinfo FLEX=3D BISON=3D TARGET_ARC=
 H=3D PKG_CONFIG=3D PKG_CONFIG_LIBDIR=3D/work/pkgobj/textproc/py-expat/work/=
 =2Ebuildlink/lib/pkgconfig:/work/pkgobj/textproc/py-expat/work/.buildlink/s=
 hare/pkgconfig PKG_CONFIG_LOG=3D/work/pkgobj/textproc/py-expat/work/.pkg-co=
 nfig.log PKG_CONFIG_PATH=3D CWRAPPERS_CONFIG_DIR=3D/work/pkgobj/textproc/py=
 -expat/work/.cwrapper/config /usr/pkg/bin/python3.6  setup.py  build  -j8)
 Fatal Python error: Py_Initialize: can't initialize sys standard streams
 OSError: [Errno 9] Bad file descriptor
 
 Current thread 0x0000788cecbf0800 (most recent call first):
 [1]   Abort trap (core dumped) (cd /work/pkgobj...
 *** Error code 134
 
 
 And rejected patches should not be allowed, IMHO.
 
 Martin
 


Home | Main Index | Thread Index | Old Index