pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56930: Build process of ninja-build overwrites /dev/null on Solaris 10
>Number: 56930
>Category: pkg
>Synopsis: Build process of ninja-build overwrites /dev/null on Solaris 10
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 17 10:00:00 +0000 2022
>Originator: Hiroshi Hakoyama
>Release: pkgsrc current
>Organization:
Institute of Freshwater Biology, Nagano University
>Environment:
SunOS ec21 5.10 Generic_147147-26 sun4u sparc SUNW,Sun-Blade-1000
>Description:
/dev/null of Solaris 10 is a symbolic link to /devices/pseudo/mm@0:null.
# ll null
lrwxrwxrwx 1 root root 27 Jul 17 18:35 null -> ../devices/pseudo/mm@0:null
Bootstrapping of ninja-build overwrites this link to normal file.
# ll null
-rw-r--r-- 1 root root 452 Jul 17 18:33 null
The norma nulll file prevents to make package of ninja-build.
# make
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.9nb1
===> Invoking ``all'' after barrier for ninja-build-1.11.0
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for ninja-build-1.11.0
cd /usr/pkgsrc/devel/ninja-build/work/ninja-1.11.0 && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS=-lpthread\ -lrt PTHREADBASE=/usr DL_CFLAGS= DL_LDFLAGS= DL_LIBS= PYTHON=/usr/pkg/bin/python3.10 CC=gcc CFLAGS=-O3\ -mcpu=ultrasparc3\ -mtune=ultrasparc3\ -DNINJA_SHELL=/bin/sh\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include CXX=g++ CXXFLAGS=-O3\ -mcpu=ultrasparc3\ -mtune=ultrasparc3\ -DNINJA_SHELL=/bin/sh\ -D_FORTIFY_SOURCE=2\ -I/usr/include\ -I/usr/pkg/include/python3.10\ -I/usr/pkg/include\ -O3\ -mcpu=ultrasparc3\ -mtune=ultrasparc3 COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 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=/usr/pkgsrc/devel/ninja-build/work/.cwrapper/bin:/usr/pkg
src/devel/ninja-build/work/.buildlink/bin:/usr/pkgsrc/devel/ninja-build/work/.gcc/bin:/usr/pkgsrc/devel/ninja-build/work/.tools/bin:/usr/pkg/bin:/usr/ccs/bin:/usr/pkg/bin:/usr/pkg/sbin:/opt/csw/bin:/usr/local/bin:/usr/local/sbin:/usr/sunvts/bin:/usr/bin:/usr/sbin:/usr/sadm/admin/bin:/usr/sadm/bin:/bin:/sbin:/usr/openwin/bin:/usr/pkg/bin:/usr/pkg/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= PKG_SYSCONFDIR=/usr/pkg/etc HOME=/usr/pkgsrc/devel/ninja-build/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/ninja-build/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/pkg/bin/bsdinstall\ -c\ -s\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/pkg/bin/bsdinstall\ -c\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_LIB=/usr/pkg/bin/bsdinstall\ -c\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_DATA=/usr/pkg/bin/bsdinstall\ -c\ -o\ root\ -g\ root\ -m\ 644 BSD_INSTALL_MAN=/u
sr/pkg/bin/bsdinstall\ -c\ -o\ root\ -g\ root\ -m\ 644 BSD_INSTALL=/usr/pkg/bin/bsdinstall BSD_INSTALL_PROGRAM_DIR=/usr/pkg/bin/bsdinstall\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/pkg/bin/bsdinstall\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/pkg/bin/bsdinstall\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/pkg/bin/bsdinstall\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/pkg/bin/bsdinstall\ -d\ -o\ root\ -g\ root\ -m\ 755 BSD_INSTALL_GAME=/usr/pkg/bin/bsdinstall\ -c\ -s\ -o\ root\ -g\ root\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/pkg/bin/bsdinstall\ -c\ -o\ root\ -g\ root\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/pkg/bin/bsdinstall\ -d\ -o\ root\ -g\ root\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/devel/ninja-build/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/usr/pkgsrc/devel/ninja-build/work/.tools/bin/itstool GDBUS_CODEGEN=/usr/pkgsrc/devel/ninja-build/work/.tools/bin/gdbus-codegen PKG_CONFIG= PKG_CONFIG_LIBDIR=/usr/pkgsrc/devel/ni
nja-build/work/.buildlink/lib/pkgconfig:/usr/pkgsrc/devel/ninja-build/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/devel/ninja-build/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/devel/ninja-build/work/.cwrapper/config /usr/pkg/bin/python3.10 ./configure.py --bootstrap
bootstrapping ninja...
>How-To-Repeat:
# cd /usr/pkgsrc/devel/ninja-build
# make
# make package
>Fix:
unknown. You can find 'MAKECONF=/dev/null' in the bootstrapping, this may be related.
workaround:
After make the package, relink /dev/null:
ln -s ../devices/pseudo/mm@0:null null
And then we can make package or make install as usual.
Home |
Main Index |
Thread Index |
Old Index