Re: pkgsrc current dbus build failure
Thank you all for your help. I did move /usr/pkgsrc to another location and pulled in (ftp) a fresh copy of current. That worked. Again, I can’t thank you guys enough. Well, maybe I could. On Sun, May 10, 2020 at 2:38 AM Roland Illig wrote: > On 09.05.2020 12:53, Roland Illig wrote: > > On 08.05.2020 18:36, Ron Georgia wrote: > >> Thank you for pointing that out. I am updating now. > >> > >> I downloaded the NetBSD-9.99.60-amd64-install.img (date stamped May > >> 07, 2020) this morning and installed on my Lenovo X200. I did select > >> the option to download pkgsrc. I changed the path from stable to > >> current and that is what was pulled in. > > > > I didn't find NetBSD-9.99.60-amd64-install.img anywhere, therefore I > > used another ISO image. I installed NetBSD 8 in a VM and, like you, > > changed the pkgsrc path from stable to current. > > > > This way, pkgsrc was downloaded from > > https://ftp.netbsd.org/pub/pkgsrc/current/, where all files have been > > updated today in the morning. > > > > I would expect that these files are updated daily. There are exactly 7 > > days between 2020-05-02 and 2020-05-09 though, therefore it could also > > be that the files are updated weekly. I don't think that's the case, > > we'll see tomorrow. > > Indeed the archives in /pub/pkgsrc/current/ are only updated weekly. The > pkgsrc tree with the individual files is updated daily though. > > In such a case you can always "cvs update" locally since the archives > include the CVS metadata. > -- Ron Georgia “90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”
Re: pkgsrc current dbus build failure
On 09.05.2020 12:53, Roland Illig wrote: On 08.05.2020 18:36, Ron Georgia wrote: Thank you for pointing that out. I am updating now. I downloaded the NetBSD-9.99.60-amd64-install.img (date stamped May 07, 2020) this morning and installed on my Lenovo X200. I did select the option to download pkgsrc. I changed the path from stable to current and that is what was pulled in. I didn't find NetBSD-9.99.60-amd64-install.img anywhere, therefore I used another ISO image. I installed NetBSD 8 in a VM and, like you, changed the pkgsrc path from stable to current. This way, pkgsrc was downloaded from https://ftp.netbsd.org/pub/pkgsrc/current/, where all files have been updated today in the morning. I would expect that these files are updated daily. There are exactly 7 days between 2020-05-02 and 2020-05-09 though, therefore it could also be that the files are updated weekly. I don't think that's the case, we'll see tomorrow. Indeed the archives in /pub/pkgsrc/current/ are only updated weekly. The pkgsrc tree with the individual files is updated daily though. In such a case you can always "cvs update" locally since the archives include the CVS metadata.
Re: pkgsrc current dbus build failure
On Fri, May 08, 2020 at 12:36:19PM -0400, Ron Georgia wrote: > Thank you for pointing that out. I am updating now. > > I downloaded the NetBSD-9.99.60-amd64-install.img (date stamped May 07, > 2020) this morning and installed on my Lenovo X200. I did select the option > to download pkgsrc. I changed the path from stable to current and that is > what was pulled in. Hi Ron, it's possible to update pkgsrc to the latest pkgsrc-current by, cd /usr/pkgsrc; cvs update -APdC Assuming you have an Internet connection.
Re: pkgsrc current dbus build failure
On 08.05.2020 18:36, Ron Georgia wrote: Thank you for pointing that out. I am updating now. I downloaded the NetBSD-9.99.60-amd64-install.img (date stamped May 07, 2020) this morning and installed on my Lenovo X200. I did select the option to download pkgsrc. I changed the path from stable to current and that is what was pulled in. I didn't find NetBSD-9.99.60-amd64-install.img anywhere, therefore I used another ISO image. I installed NetBSD 8 in a VM and, like you, changed the pkgsrc path from stable to current. This way, pkgsrc was downloaded from https://ftp.netbsd.org/pub/pkgsrc/current/, where all files have been updated today in the morning. I would expect that these files are updated daily. There are exactly 7 days between 2020-05-02 and 2020-05-09 though, therefore it could also be that the files are updated weekly. I don't think that's the case, we'll see tomorrow. Having a pkgsrc installation from 2020-05-02 would explain everything though.
Re: pkgsrc current dbus build failure
Thank you for pointing that out. I am updating now. I downloaded the NetBSD-9.99.60-amd64-install.img (date stamped May 07, 2020) this morning and installed on my Lenovo X200. I did select the option to download pkgsrc. I changed the path from stable to current and that is what was pulled in. On 5/8/20 11:10 AM, Roland Illig wrote: On 08.05.2020 16:44, Ron Georgia wrote: Installed current NetBSD 9.99.60 (GENERIC) #0 and pkgsrc current on 05/08/2020 at about 0900 EST. I tried to build dbus but got an error when it tried to build perl5. sh: 1: Syntax error: Word "/d"p" unexpected (expecting ")") That was a bug in mk/subst.mk r1.91. It was fixed in r1.92, which is from 2020-05-02. This contradicts that you are using pkgsrc-current from 2020-05-08, which is 6 days later. -- “90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”
Re: pkgsrc current dbus build failure
On 08.05.2020 16:44, Ron Georgia wrote: Installed current NetBSD 9.99.60 (GENERIC) #0 and pkgsrc current on 05/08/2020 at about 0900 EST. I tried to build dbus but got an error when it tried to build perl5. sh: 1: Syntax error: Word "/d"p" unexpected (expecting ")") That was a bug in mk/subst.mk r1.91. It was fixed in r1.92, which is from 2020-05-02. This contradicts that you are using pkgsrc-current from 2020-05-08, which is 6 days later.
pkgsrc current dbus build failure
Installed current NetBSD 9.99.60 (GENERIC) #0 and pkgsrc current on 05/08/2020 at about 0900 EST. I tried to build dbus but got an error when it tried to build perl5. sh: 1: Syntax error: Word "/d"p" unexpected (expecting ")") *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/lang/perl5 *** Error code 1 Stop. make: stopped in /usr/pkgsrc/lang/perl5 I "fixed" the problem in the Makefile. See diff: # diff Makefile Makefile.orig 277c277 < SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask/d" --- > SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask(/d" After that it failed again with the following message: Making utilities Everything is up to date. Type '/usr/bin/make test' to run test suite. LD_LIBRARY_PATH=/usr/pkgsrc/lang/perl5/work/perl-5.30.2 ./perl -Ilib -I. installperl --destdir=/usr/pkgsrc/lang/perl5/work/.destdir Unmatched right curly bracket at ./install_lib.pl line 42, at end of line syntax error at ./install_lib.pl line 42, near "}" Compilation failed in require at installperl line 10. BEGIN failed--compilation aborted at installperl line 11. *** Error code 255 I removed the stray } and it finished building. See diff # diff work/perl-5.30.2/install_lib.pl work/perl-5.30.2/install_lib.pl.orig 41a42 > } -- “90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”