pkgsrc-Bugs archive

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

Re: pkg/48157: pkgsrc 2013Q2 make-system exeeds max. command line length



Hi,

my /etc/mk.conf:

#
# NC installation generated config file
#

# do not register any new shell - may be a security whole
PKG_REGISTER_SHELLS=NO

# do not download any binaries from anywhere - always compile the sources
BINPKG_SITES=



so nothing special, just killed binary downloads and avoid adding shells automatically.

I have the following binary packages "preinstalled" into packages/All:

bash-4.2nb3.tgz
bison-2.7.1.tgz
bmon-2.0.1nb2.tgz
bsdtar-2.8.4nb1.tgz
cmake-2.8.11.tgz
getopt-1.1.5.tgz
gmake-3.82nb7.tgz
gtar-base-1.26nb2.tgz
help2man-1.43.2.tgz
jpeg-9.tgz
libgcrypt-1.5.2.tgz
libpaper-1.1.24.tgz
m4-1.4.16nb3.tgz
mysql-client-5.5.32.tgz
mysql-server-5.5.32.tgz
p5-gettext-1.05nb9.tgz
p7zip-9.20.1.tgz
perl-5.18.0nb1.tgz
php-5.4.16.tgz
pkg-config-0.28.tgz
poppler-0.22.4nb2.tgz
poppler-utils-0.22.4nb2.tgz
re2c-0.13.5.tgz
readline-6.2.tgz
screen-4.0.3nb5.tgz
tcl-8.5.14.tgz
tcl-expect-5.45.0nb2.tgz
tcsh-6.18.01nb4.tgz
tiff-4.0.3nb3.tgz
unzip-6.0nb1.tgz
xtail-2.1.tgz
xz-5.0.4.tgz
zip-3.0nb2.tgz


This list ist for 2013Q2. But it also happens when no binary packages are pre-installed in packages/All.

The first "make" I've tried ist the make reported in math/R:
make -D ALLOW_VULNERABLE_PACKAGES bin-install

remark: This is "normaly" run during automated system setup, but the problem is also present on a fresh system - just installed the binary packages. If you have some dependand packages already installed, then it may be, that the recursive build of packages does not reach the "critical" depth. One way to work around this was to installed the failed package by hand and the other build will than work too.

The "-D ALLOW_VULNERABLE_PACKAGES" (and some other options) are placed on the command line for each recursive package build again and again and again. So triggering the problem needs a deep recursion tree. There should be some checks prior calling make for a dependant package to filter out duplicate options.

Currently I've recognised this problem only with the reported packages:
math/R
print/teTex3-bin
pinrt/teTex
But there may be more ..

Best regards

W. Stukenbrock


OBATA Akio wrote:

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

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Subject: Re: pkg/48157: pkgsrc 2013Q2 make-system exeeds max. command line
 length
Date: Fri, 13 Dec 2013 19:53:58 +0900

 I cannot reproduce the issue.
Do you have any relevant settings in mk.conf or environment variable?


--


Dr. Nagler & Company GmbH
Hauptstraße 9
92253 Schnaittenbach

Tel. +49 9622/71 97-42
Fax +49 9622/71 97-50

Wolfgang.Stukenbrock%nagler-company.com@localhost
http://www.nagler-company.com


Hauptsitz: Schnaittenbach
Handelregister: Amberg HRB
Gerichtsstand: Amberg
Steuernummer: 201/118/51825
USt.-ID-Nummer: DE 273143997
Geschäftsführer: Dr. Martin Nagler




Home | Main Index | Thread Index | Old Index