pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46498: [Maintainer Update] www/moodle:update to 2.1.6
The following reply was made to PR pkg/46498; it has been noted by GNATS.
From: wen heping <wenheping%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/46498: [Maintainer Update] www/moodle:update to 2.1.6
Date: Thu, 31 May 2012 20:42:15 +0800
--20cf307ca4bac398c404c1546522
Content-Type: text/plain; charset=UTF-8
2012/5/31 OBATA Akio <obache%netbsd.org@localhost>
> The following reply was made to PR pkg/46498; it has been noted by GNATS.
>
> From: "OBATA Akio" <obache%netbsd.org@localhost>
> To: gnats-bugs%netbsd.org@localhost
> Cc:
> Subject: Re: pkg/46498: [Maintainer Update] www/moodle:update to 2.1.6
> Date: Thu, 31 May 2012 21:07:51 +0900
>
> On Wed, 30 May 2012 12:30:00 +0900, <wenheping%gmail.com@localhost> wrote:
>
> >+SUBST_CLASSES+= php2
> > +SUBST_MESSAGE.php= Fixing the path of php.
> > +SUBST_STAGE.php= post-patch
> > +SUBST_FILES.php+= lib/spikephpcoverage/src/cli/instrument.php
> > +SUBST_SED.php= -e "s,/bin/php,${PREFIX}/bin/php,g"
> > +
>
> This section must be *.php2, or SUBST_FILES.php files will be handled
> twice,
> then /usr/bin/php will be replaced as /usr/pkg/pkg/bin/php :(
> Some warning will be risen with CHECK_INTERPRETER=yes (or
> PKG_DEVELOPER=yes),
> so please packaging with PKG_DEVELOPER=yes.
>
> It seems others are OK.
>
Thanks.
Would you help me another problem. lang/pear build failed on my box, I do
not know is it broken or it only failed on my box. I paste the build log
below:
nb512# cd ../../lang/pear
nb512# make clean
===> Cleaning for php53-pear-1.9.4nb3
nb512# make install
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for Archive_Tar-1.3.10.tgz
=> Checksum RMD160 OK for Archive_Tar-1.3.10.tgz
=> Checksum SHA1 OK for Console_Getopt-1.3.1.tgz
=> Checksum RMD160 OK for Console_Getopt-1.3.1.tgz
=> Checksum SHA1 OK for PEAR-1.9.4.tgz
=> Checksum RMD160 OK for PEAR-1.9.4.tgz
=> Checksum SHA1 OK for Structures_Graph-1.0.4.tgz
=> Checksum RMD160 OK for Structures_Graph-1.0.4.tgz
=> Checksum SHA1 OK for XML_Util-1.2.1.tgz
=> Checksum RMD160 OK for XML_Util-1.2.1.tgz
===> Installing dependencies for php53-pear-1.9.4nb3
=> Full dependency php>=5.3.2: found php-5.3.13
===> Overriding tools for php53-pear-1.9.4nb3
===> Extracting for php53-pear-1.9.4nb3
/bin/rm /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/INSTALL
/bin/mkdir -p /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install
/bin/mkdir -p /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle
/bin/cp /usr/pkgsrc/lang/pear/files/go-pear.php
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install
/bin/cp /usr/pkgsrc/lang/pear/files/PEAR.php
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle
===> Patching for php53-pear-1.9.4nb3
=> Fixing configuration files.
===> Creating toolchain wrappers for php53-pear-1.9.4nb3
===> Configuring for php53-pear-1.9.4nb3
=> Replacing sh interpreter in script/pear.sh.
WARNING: [replace-interpreter] Skipping non-existent file "script/pear.sh".
===> Building for php53-pear-1.9.4nb3
/usr/bin/gzcat /usr/pkgsrc/distfiles/Archive_Tar-1.3.10.tgz >
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/Archive_Tar-1.3.10.tar
/usr/bin/gzcat /usr/pkgsrc/distfiles/Console_Getopt-1.3.1.tgz >
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/Console_Getopt-1.3.1.tar
/usr/bin/gzcat /usr/pkgsrc/distfiles/PEAR-1.9.4.tgz >
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/PEAR-1.9.4.tar
/usr/bin/gzcat /usr/pkgsrc/distfiles/Structures_Graph-1.0.4.tgz >
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/Structures_Graph-1.0.4.tar
/usr/bin/gzcat /usr/pkgsrc/distfiles/XML_Util-1.2.1.tgz >
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/XML_Util-1.2.1.tar
/bin/cp /usr/pkgsrc/lang/pear/work/Archive_Tar-1.3.10/Archive/Tar.php
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle
/bin/cp /usr/pkgsrc/lang/pear/work/Console_Getopt-1.3.1/Console/Getopt.php
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle
=> Unwrapping files-to-be-installed.
===> Installing for php53-pear-1.9.4nb3
=> Creating installation directories
/usr/bin/env DESTDIR=/usr/pkgsrc/lang/pear/work/.destdir /usr/pkg/bin/php
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear.php local
PHP Warning: Module 'iconv' already loaded in Unknown on line 0
Bootstrapping Installer...................
Bootstrapping PEAR.php............(local) ok
Bootstrapping Archive/Tar.php............(local) ok
Bootstrapping Console/Getopt.php............(local) ok
Extracting installer..................
Using local package: PEAR.............ok
Using local package: Structures_Graph....ok
Using local package: XML_Util.........ok
Preparing installer..................
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
Installing selected packages..................
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST'
instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Registry.php on
line 1012
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST'
instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Registry.php on
line 1012
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST'
instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Registry.php on
line 1012
PHP Warning: date(): It is not safe to rely on the system's timezone
settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST'
instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Registry.php on
line 1012
Installing bootstrap package: PEAR...................warning: pear/PEAR
requires package "pear/Archive_Tar" (version >= 1.3.7)
warning: pear/PEAR requires package "pear/Structures_Graph" (recommended
version 1.0.4)
warning: pear/PEAR requires package "pear/Console_Getopt" (recommended
version 1.2.3)
warning: pear/PEAR requires package "pear/XML_Util" (recommended version
1.2.1)
install ok: channel://pear.php.net/PEAR-1.9.4
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based
installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based
installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
Installing bootstrap package: Structures_Graph.......install ok: channel://
pear.php.net/Structures_Graph-1.0.4
Installing local package: Archive_Tar-stable.........install ok: channel://
pear.php.net/Archive_Tar-1.3.10
Installing local package: Console_Getopt-stable.......install ok: channel://
pear.php.net/Console_Getopt-1.3.1
Installing bootstrap package: XML_Util...............install ok: channel://
pear.php.net/XML_Util-1.2.1
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/pear
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/lang/pear
--20cf307ca4bac398c404c1546522
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<br><br><div class=3D"gmail_quote">2012/5/31 OBATA Akio <span dir=3D"ltr">&=
lt;<a href=3D"mailto:obache%netbsd.org@localhost"
target=3D"_blank">obache%netbsd.org@localhost=
</a>></span><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 =
.8ex;border-left:1px #ccc solid;padding-left:1ex">
The following reply was made to PR pkg/46498; it has been noted by GNATS.<b=
r>
<br>
From: "OBATA Akio" <<a
href=3D"mailto:obache%netbsd.org@localhost">obach=
e%netbsd.org@localhost</a>><br>
To: <a
href=3D"mailto:gnats-bugs%netbsd.org@localhost">gnats-bugs%netbsd.org@localhost</a><br>
Cc:<br>
Subject: Re: pkg/46498: [Maintainer Update] www/moodle:update to 2.1.6<br>
Date: Thu, 31 May 2012 21:07:51 +0900<br>
<div class=3D"im"><br>
=C2=A0On Wed, 30 May 2012 12:30:00 +0900, <<a href=3D"mailto:wenheping@g=
mail.com">wenheping%gmail.com@localhost</a>> wrote:<br>
<br>
=C2=A0>+SUBST_CLASSES+=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0php2<br>
=C2=A0> +SUBST_MESSAGE.php=3D =C2=A0Fixing the path of php.<br>
=C2=A0> +SUBST_STAGE.php=3D =C2=A0 =C2=A0post-patch<br>
=C2=A0> +SUBST_FILES.php+=3D =C2=A0 lib/spikephpcoverage/src/cli/instrum=
ent.php<br>
=C2=A0> +SUBST_SED.php=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0-e "s,/bin/php,${PREFIX}/bin/php,g"<br>
=C2=A0> +<br>
<br>
</div>=C2=A0This section must be *.php2, or SUBST_FILES.php files will be h=
andled twice,<br>
=C2=A0then /usr/bin/php will be replaced as /usr/pkg/pkg/bin/php :(<br>
=C2=A0Some warning will be risen with CHECK_INTERPRETER=3Dyes (or PKG_DEVEL=
OPER=3Dyes),<br>
=C2=A0so please packaging with PKG_DEVELOPER=3Dyes.<br>
<br>
=C2=A0It seems others are OK.<br></blockquote><div><br></div><div><br></div=
><div>Thanks.</div><div><br></div><div>Would you help me another problem. l=
ang/pear build failed on my box, I do not know is it broken or it only fail=
ed on my box. I paste the build log below:</div>
<div><br></div><div><div>nb512# cd ../../lang/pear</div><div>nb512# make cl=
ean</div><div>=3D=3D=3D> Cleaning for php53-pear-1.9.4nb3</div><div>nb51=
2# make install</div><div>=3D> Bootstrap dependency digest>=3D2001030=
2: found digest-20080510</div>
<div>=3D=3D=3D> Skipping vulnerability checks.</div><div>WARNING: No /va=
r/db/pkg/pkg-vulnerabilities file found.</div><div>WARNING: To fix run: `/u=
sr/pkg/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.</div><=
div>
=3D> Checksum SHA1 OK for Archive_Tar-1.3.10.tgz</div><div>=3D> Check=
sum RMD160 OK for Archive_Tar-1.3.10.tgz</div><div>=3D> Checksum SHA1 OK=
for Console_Getopt-1.3.1.tgz</div><div>=3D> Checksum RMD160 OK for Cons=
ole_Getopt-1.3.1.tgz</div>
<div>=3D> Checksum SHA1 OK for PEAR-1.9.4.tgz</div><div>=3D> Checksum=
RMD160 OK for PEAR-1.9.4.tgz</div><div>=3D> Checksum SHA1 OK for Struct=
ures_Graph-1.0.4.tgz</div><div>=3D> Checksum RMD160 OK for Structures_Gr=
aph-1.0.4.tgz</div>
<div>=3D> Checksum SHA1 OK for XML_Util-1.2.1.tgz</div><div>=3D> Chec=
ksum RMD160 OK for XML_Util-1.2.1.tgz</div><div>=3D=3D=3D> Installing de=
pendencies for php53-pear-1.9.4nb3</div><div>=3D> Full dependency php>=
;=3D5.3.2: found php-5.3.13</div>
<div>=3D=3D=3D> Overriding tools for php53-pear-1.9.4nb3</div><div>=3D=
=3D=3D> Extracting for php53-pear-1.9.4nb3</div><div>/bin/rm /usr/pkgsrc=
/lang/pear/work/PEAR-1.9.4/INSTALL</div><div>/bin/mkdir -p /usr/pkgsrc/lang=
/pear/work/PEAR-1.9.4/install</div>
<div>/bin/mkdir -p /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bu=
ndle</div><div>/bin/cp /usr/pkgsrc/lang/pear/files/go-pear.php /usr/pkgsrc/=
lang/pear/work/PEAR-1.9.4/install</div><div>/bin/cp /usr/pkgsrc/lang/pear/f=
iles/PEAR.php /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle<=
/div>
<div>=3D=3D=3D> Patching for php53-pear-1.9.4nb3</div><div>=3D> Fixin=
g configuration files.</div><div>=3D=3D=3D> Creating toolchain wrappers =
for php53-pear-1.9.4nb3</div><div>=3D=3D=3D> Configuring for php53-pear-=
1.9.4nb3</div><div>
=3D> Replacing sh interpreter in script/pear.sh.</div><div>WARNING: [rep=
lace-interpreter] Skipping non-existent file "script/pear.sh".</d=
iv><div>=3D=3D=3D> Building for php53-pear-1.9.4nb3</div><div>/usr/bin/g=
zcat /usr/pkgsrc/distfiles/Archive_Tar-1.3.10.tgz > =C2=A0/usr/pkgsrc/la=
ng/pear/work/PEAR-1.9.4/install/go-pear-bundle/Archive_Tar-1.3.10.tar</div>
<div>/usr/bin/gzcat /usr/pkgsrc/distfiles/Console_Getopt-1.3.1.tgz > =C2=
=A0/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/Console_Get=
opt-1.3.1.tar</div><div>/usr/bin/gzcat /usr/pkgsrc/distfiles/PEAR-1.9.4.tgz=
> =C2=A0/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/PE=
AR-1.9.4.tar</div>
<div>/usr/bin/gzcat /usr/pkgsrc/distfiles/Structures_Graph-1.0.4.tgz > =
=C2=A0/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle/Structur=
es_Graph-1.0.4.tar</div><div>/usr/bin/gzcat /usr/pkgsrc/distfiles/XML_Util-=
1.2.1.tgz > =C2=A0/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-=
bundle/XML_Util-1.2.1.tar</div>
<div>/bin/cp /usr/pkgsrc/lang/pear/work/Archive_Tar-1.3.10/Archive/Tar.php =
/usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle</div><div>/bin=
/cp /usr/pkgsrc/lang/pear/work/Console_Getopt-1.3.1/Console/Getopt.php /usr=
/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear-bundle</div>
<div>=3D> Unwrapping files-to-be-installed.</div><div>=3D=3D=3D> Inst=
alling for php53-pear-1.9.4nb3</div><div>=3D> Creating installation dire=
ctories</div><div>/usr/bin/env DESTDIR=3D/usr/pkgsrc/lang/pear/work/.destdi=
r /usr/pkg/bin/php /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/install/go-pear.ph=
p local</div>
<div>PHP Warning: =C2=A0Module 'iconv' already loaded in Unknown on=
line 0</div><div><br></div><div>Bootstrapping Installer...................=
</div><div>Bootstrapping PEAR.php............(local) ok</div><div>Bootstrap=
ping Archive/Tar.php............(local) ok</div>
<div>Bootstrapping Console/Getopt.php............(local) ok</div><div><br><=
/div><div>Extracting installer..................</div><div>Using local pack=
age: PEAR.............ok</div><div>Using local package: Structures_Graph...=
.ok</div>
<div>Using local package: XML_Util.........ok</div><div><br></div><div>Prep=
aring installer..................</div><div>Updating channel "<a href=
=3D"http://doc.php.net">doc.php.net</a>"</div><div>Channel "<a hr=
ef=3D"http://doc.php.net">doc.php.net</a>" is up to date</div>
<div>Updating channel "<a href=3D"http://pear.php.net">pear.php.net</a=
>"</div><div>Channel "<a href=3D"http://pear.php.net">pear.php.ne=
t</a>" is up to date</div><div>Updating channel "<a href=3D"http:=
//pecl.php.net">pecl.php.net</a>"</div>
<div>Channel "<a href=3D"http://pecl.php.net">pecl.php.net</a>" i=
s up to date</div><div><br></div><div>Installing selected packages.........=
.........</div><div>PHP Warning: =C2=A0date(): It is not safe to rely on th=
e system's timezone settings. You are *required* to use the date.timezo=
ne setting or the date_default_timezone_set() function. In case you used an=
y of those methods and you are still getting this warning, you most likely =
misspelled the timezone identifier. We selected 'Asia/Chongqing' fo=
r 'CST/8.0/no DST' instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4=
/tmp/PEAR/Registry.php on line 1012</div>
<div>PHP Warning: =C2=A0date(): It is not safe to rely on the system's =
timezone settings. You are *required* to use the date.timezone setting or t=
he date_default_timezone_set() function. In case you used any of those meth=
ods and you are still getting this warning, you most likely misspelled the =
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/=
no DST' instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Regis=
try.php on line 1012</div>
<div>PHP Warning: =C2=A0date(): It is not safe to rely on the system's =
timezone settings. You are *required* to use the date.timezone setting or t=
he date_default_timezone_set() function. In case you used any of those meth=
ods and you are still getting this warning, you most likely misspelled the =
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/=
no DST' instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Regis=
try.php on line 1012</div>
<div>PHP Warning: =C2=A0date(): It is not safe to rely on the system's =
timezone settings. You are *required* to use the date.timezone setting or t=
he date_default_timezone_set() function. In case you used any of those meth=
ods and you are still getting this warning, you most likely misspelled the =
timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/=
no DST' instead in /usr/pkgsrc/lang/pear/work/PEAR-1.9.4/tmp/PEAR/Regis=
try.php on line 1012</div>
<div>Installing bootstrap package: PEAR...................warning: pear/PEA=
R requires package "pear/Archive_Tar" (version >=3D 1.3.7)</di=
v><div>warning: pear/PEAR requires package "pear/Structures_Graph"=
; (recommended version 1.0.4)</div>
<div>warning: pear/PEAR requires package "pear/Console_Getopt" (r=
ecommended version 1.2.3)</div><div>warning: pear/PEAR requires package &qu=
ot;pear/XML_Util" (recommended version 1.2.1)</div><div>install ok: ch=
annel://<a href=3D"http://pear.php.net/PEAR-1.9.4">pear.php.net/PEAR-1.9.4<=
/a></div>
<div>PEAR: Optional feature webinstaller available (PEAR's web-based in=
staller)</div><div>PEAR: Optional feature gtkinstaller available (PEAR'=
s PHP-GTK-based installer)</div><div>PEAR: Optional feature gtk2installer a=
vailable (PEAR's PHP-GTK2-based installer)</div>
<div>PEAR: To install optional features use "pear install pear/PEAR#fe=
aturename"</div><div>Installing bootstrap package: Structures_Graph...=
....install ok: channel://<a href=3D"http://pear.php.net/Structures_Graph-1=
.0.4">pear.php.net/Structures_Graph-1.0.4</a></div>
<div>Installing local package: Archive_Tar-stable.........install ok: chann=
el://<a href=3D"http://pear.php.net/Archive_Tar-1.3.10">pear.php.net/Archiv=
e_Tar-1.3.10</a></div><div>Installing local package: Console_Getopt-stable.=
......install ok: channel://<a href=3D"http://pear.php.net/Console_Getopt-1=
.3.1">pear.php.net/Console_Getopt-1.3.1</a></div>
<div>Installing bootstrap package: XML_Util...............install ok: chann=
el://<a href=3D"http://pear.php.net/XML_Util-1.2.1">pear.php.net/XML_Util-1=
.2.1</a></div><div>*** Error code 1</div><div><br></div><div>Stop.</div><di=
v>
make: stopped in /usr/pkgsrc/lang/pear</div><div>*** Error code 1</div><div=
><br></div><div>Stop.</div><div>make: stopped in /usr/pkgsrc/lang/pear</div=
></div><div><br></div></div>
--20cf307ca4bac398c404c1546522--
Home |
Main Index |
Thread Index |
Old Index