Skip to main content.

2001-Oct-02

Did a "make clean" under /usr/pkgsrc/. Then:
CVSROOT=:pserver:anoncvs@anoncvs.netbsd.org:/cvsroot; export CVSROOT
cvs login # used anoncvs
cvs update -d -P -D "10 Sep 2001"
For several (all?) directories I received:
cvs update: ignoring CVS/Root because it specifies a non-existent repository /cvsroot
I read some postings on the OpenBSD (and other) lists that said this message was just a warning; I also read that maybe I should delete the CVS/Root files or set them all to $CVSROOT.

I chose to use a date, because pkgsrc is current -- in other words, it is "bleeding edge" and may not work perfectly. The date I chose was when 1.5.2 was released, so I am guessing that it was frozen for a few days before that and well tested. Maybe I should have used some "update -r netbsd-1-5" tag instead of -D date?

Then I received a bunch of:

cvs update: move away x11/xworld/patches/patch-ae; it is in the way
I saw the date stamps weren't changed; I am guessing that they were not updated. I read a posting that said CVS has bugs that cause this and that I should probably remove the whole directory and start again. Also maybe the CVS/Entries file is corrupted, but it didn't look like it (but I don't know how to tell). Then I saw that the times were different (same day) due to timezone differences, but I read that is normal. I also read this happens with the -D switch (like I used). I also read I should use the -A switch to "to clear the sticky tags and get the newest stuff."

After about an hour, I aborted it with Ctrl-C. Instead of deleting everyting, I decided to try again with the -A switch.

cvs update -A -d -P -D "10 Sep 2001"

Then I quickly stopped it due to the "ignoring CVS/Root" (mentioned above). I saw that some of the files had the correct ":pserver:anoncvs@anoncvs.netbsd.org:/cvsroot" and some didn't. I used "find . -type d -name "CVS" | while read i; do echo "$CVSROOT" >$i/Root; done" (from M. Espie posting). I guess it would have been faster to just delete these; okay, I stopped it and did: "find . -type d -name "CVS" -exec rm "{}"/Root ;".

Now I have wasted over three hours on this project to install a spreadsheet program (which was installed a year ago, but ended up getting removed because of some other conflicts).

While this was going I saw some ".#Packages.txt.1.160" (and similar files). I deleted them. These are the unmodified copies after a CVS file was "merged" as indicated with "C" status during a cvs update. (See 1/Jun/2001.)

After about thirty minutes of deleting CVS/Root files I aborted it. Then I started " cvs update -d -P -D "10 Sep 2001"" (without the -A) again. But it had the error again; audio/CVS/Root had "/cvsroot". So I aborted it.

My harddrive is so slow. And my load average has been over 2.

Then in another window I started removing the Root files some more. (This took 17 minutes.) And did the cvs update in the first window (at the same time). After 150 minutes, it ended with:

cvs server: Updating x11/xwrits/pkg
cvs.netbsd.org: Connection refused
cvs [update aborted]: end of file from server (consult above messages if any)
But it looked okay (I saved the logging); except only two "it is in the way" messages -- so I deleted pkgtools/pkg_install/pkg/DESCR and pkgtools/pkg_install/pkg/PLIST and did it again. It took 77 minutes. I should have set the path (to pkgtools/pkg_install) for the cvs. (Later I should use sup.)

(Earlier I noticed that no package source tarball is available for the 1.5.2 release or for the Sept. 10 date. If there was, then this would have been a lot faster.)

(A few times, I have noticed that /var/tmp/ had left-over junk from aborted package builds or installs. I saved about 9 megs with: "rm -rf /var/tmp/instmp.19257a".)

Now I chose to do a "make TARGET=bin-install bin-install" in math/abacus (instead of gnumeric). A few seconds later I was reminded that it was marked as broken. (This was abacus-0.9.13.)

Okay, now "make TARGET=bin-install bin-install" under math/gnumeric. After eight minutes, it died when building x11/gnome-core with

/usr/pkg/lib/libORBitCosNaming.so: file not recognized: File truncated
collect2: ld returned 1 exit status
gmake[3]: *** [session-properties-capplet] Error 1

Well I did a "pkg_delete -r ORBit" which also removed gimp and other packages.

By the way, due to some problems I caused the past couple days, I can't use xv: "Shared object "libpng.so.1" not found".

So I tried a "pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/abacus" but:

pkg_add: pkg `tcl-8.0.5' required, but `tcl-8.3.2nb1' found installed.

So I did: "pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnome-core-1.0.55.1.tgz" which reinstalled libgtop, ORBit and others. About a minute later, it completed.Then I did: "pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric-0.70.tgz". It failed, because it didn't exist. Then: "pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric":

pkg_add: pkg `gnome-core>1.4.0' required, but `gnome-core-1.0.55.1' found installed.
I think I recall that the gnome-core went back to an earlier version -- so I installed the wrong version :(

So "pkg_delete -r gnome-core". And then: "pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric" again:

Package `gnumeric-0.68' depends on `{control-center,libcapplet}>=1.4.0'.
- control-center-1.4.0.1 already installed.
Then "pkg_delete -r control-center". But received:
pkg_delete: package 'xscreensaver-gnome-3.28' doesn't have a prefix
so xscreensaver-gnome didn't get removed. The /var/db/pkg/xscreensaver-gnome-3.28/+CONTENTS file was empty. Under /usr/X11R6/, I did
cat /usr/pkgsrc/x11/xscreensaver-gnome/pkg/PLIST | while read line ; do rm $line ; done
(which, of course, tried deleting non-existent stuff.) Then deleted /var/db/pkg/xscreensaver-gnome-3.28 directory.

And now again:

pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric
This is soo broken:
pkg_add: <(null)> (1) add of dependency `MesaLib-3.4.1' failed!
pkg_add: 1 package addition(s) failed
For some reason, Mesa installed even though it requires MesaLib. So I did:
pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/MesaLib-3.4.1.tgz
And again:
pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric 2>&1 | tee J
It had a few messages like:
pkg_add: Overwriting /usr/X11R6/share/pixmaps/xscreensaver.xpm - pkg xscreensaver-gnome-3.28 bogus/conflicting?
And died:
Error on unpackURL('ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnome-
core>1.4.0.t[bg]z', '/var/tmp/instmp.27725p')

So I did:

pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnome-core-1.4.0.1.tgz
And this failed with:
pkg_add: pkg `perl-base>=5.6.0nb1' required, but `perl-base-5.6.0' found installed.

Then under pkgsrc/x11/gnome-core (1.4.0.4) I did:

make TARGET=bin-install bin-install 2>&1 | tee LOG
It said: "gnome-core-1.4.0.4 successfully installed."

So back to:

pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric 2>&1 | tee J
This stopped:
pkg_add: fileGetURL('(null)', 'ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386
/All/gb>=0.0.20.t[bg]z') failed
Error on unpackURL('ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gb>=0.
0.20.t[bg]z', '/var/tmp/instmp.27886k')
Then:
pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gb-0.0.20.tgz
(This gnumeric is bloated: "Basic for Gnome"!) It was successful.

And again:

pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gnumeric 2>&1 | tee J
And a few moments later:
Package gnumeric-0.68 registered in /var/db/pkg/gnumeric-0.68

Ouch:

$ gnumeric
Shared object "libpng.so.1" not found

I see I have both png-1.0.8 and png-1.0.11 installed. png-1.0.8 is supposed to provide lib/libpng.so.1 (according to +CONTENTS). So I made a symlink:

ln -s /usr/pkg/lib/libpng.so.1.3 /usr/pkg/lib/libpng.so.1

So I ran gnumeric again and received a console message: "/usr/X11R6/share/gtkrc:29: error: scanner: unterminated string constant" and a pop-up window message: "Errors while initializing plugin system" and "Errors while activating plugins. Show details said:

Unable to open module file "/usr/X11R6/lib/gnumeric/0.68-bonobo/plugins/gb/gbnum_gb.so":
Cannot open "/usr/X11R6/lib/gnumeric/0.68-bonobo/plugins/gb/gbnum_gb.so"

Yeehaaaa! I was able to open the volleyball spreadsheet (excel) But print preview and print to postscript (and to pdf) just showed an empty page. I could successfully save it to HTML format.

I read that printing problem is caused because gnome-print doesn't know about the fonts. I see that /usr/X11R6/share/fonts/fontmap2 has some font info which I think is used by gmome-print, so I don't know.

Also now that gimp is uninstalled, I did:

pkg_add -v ftp://ftp.netbsd.org/pub/NetBSD/packages/1.5/i386/All/gimp 2>&1 | tee J
Well that worked the first time (and that was easy)!