Re: Abnormal termination of greeter - cause is libX11 version

2010-08-02 Thread Pierre Abbat
On Monday 02 August 2010 17:48:23 Sascha Wildner wrote:
> Try "git branch -a".

That appears to have worked. Here's my modified Makefile.

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.
# Makefile.pkgsrc - installed as /usr/pkgsrc/Makefile
#
# Provides simple targets to download and maintain /usr/pkgsrc.
#
# $DragonFly: src/etc/Makefile.usr,v 1.8 2008/09/03 10:38:55 hasso Exp $

pkgsrcver = pkgsrc-2010Q1

help all:
	@echo "HELP:"
	@echo ""
.if exists(${.CURDIR}/pkgsrc/.git)
.if exists(${.CURDIR}/pkgsrc/Makefile)
	@echo "make pkgsrc-update   - update your pkgsrc repo from the net"
.else
	@echo "make pkgsrc-checkout - initial checkout of your pre-packaged"
	@echo "   pkgsrc repo."
	@echo "make pkgsrc-update   - update your pkgsrc repo from the net"
	@echo "   after the initial checkout."
.endif
.else
	@echo "make pkgsrc-create   - fetch initial pkgsrc repo from the net"
	@echo "make pkgsrc-update   - update your pkgsrc repo from the net"
.endif
	@echo ""
.if exists(${.CURDIR}/src/.git)
.if exists(${.CURDIR}/src/Makefile)
	@echo "make src-update  - update your src repo from the net"
.else
	@echo "make src-checkout- initial checkout of your pre-packaged src repo"
	@echo "make src-update  - update your src repo from the net"
	@echo "   after the initial checkout."
.endif
.else
	@echo "make src-create  - fetch initial src repo from the net"
	@echo "make src-update  - update your src repo from the net"
.endif
	@echo ""
.if exists(${.CURDIR}/src-sys.tgz)
	@echo "make release-sys-extract - extract the pre-packaged sys-only sources"
.endif
	@echo ""
	@echo "If automating please feel free to run git pull's from cron."
	@echo "We prefer once a day but you can run them more often if you"
	@echo "desire."
	@echo ""
	@echo "If you have a repo previously maintained via CVS you should"
	@echo "rm -rf it (save any local modifications) and then use the"
	@echo "make src-create and/or make pkgsrc-create to set up the initial"
	@echo "git repo."

pkgsrc-create:
	@echo "If problems occur you may have to rm -rf pkgsrc and try again."
	@echo ""
	mkdir -p ${.CURDIR}/pkgsrc
	cd ${.CURDIR}/pkgsrc && git init
	cd ${.CURDIR}/pkgsrc && \
		git remote add origin git://git.dragonflybsd.org/pkgsrc.git
	cd ${.CURDIR}/pkgsrc && git fetch origin
	cd ${.CURDIR}/pkgsrc && git branch $(pkgsrcver) origin/$(pkgsrcver)
	cd ${.CURDIR}/pkgsrc && git checkout $(pkgsrcver)
	cd ${.CURDIR}/pkgsrc && git pull

pkgsrc-checkout:
	cd ${.CURDIR}/pkgsrc && git checkout $(pkgsrcver)

pkgsrc-update:
	cd ${.CURDIR}/pkgsrc && git pull

src-create:
	@echo "If problems occur you may have to rm -rf src and try again."
	@echo ""
	mkdir -p ${.CURDIR}/src
	cd ${.CURDIR}/src && git init
	cd ${.CURDIR}/src && \
		git remote add origin git://git.dragonflybsd.org/dragonfly.git
	cd ${.CURDIR}/src && git fetch origin
	cd ${.CURDIR}/src && git branch master origin/master
	cd ${.CURDIR}/src && git checkout master
	cd ${.CURDIR}/src && git pull

src-checkout:
	cd ${.CURDIR}/src && git checkout master

src-update:
	cd ${.CURDIR}/src && git pull

release-sys-extract:
	cd ${.CURDIR} && tar xvpzf src-sys.tgz



Re: Abnormal termination of greeter - cause is libX11 version

2010-08-02 Thread Sascha Wildner

On 8/2/2010 22:03, Pierre Abbat wrote:

On Sunday 01 August 2010 21:43:45 Justin C. Sherrill wrote:

I don't know if the branches are carried through to the git repo.  If it
isn't, you will need to either switch to CVS to make sure you have the
same version, or stick to building from source for everything.  There
isn't a collection of binary packages that tracks the bleeding edge of
pkgsrc.


I ran "git branch" and got only vendor and master. Why are there both a CVS
repo and a git repo? Is it possible to copy the branches to git?


Try "git branch -a".

Sascha


Re: Abnormal termination of greeter - cause is libX11 version

2010-08-02 Thread Pierre Abbat
On Sunday 01 August 2010 21:43:45 Justin C. Sherrill wrote:
> I don't know if the branches are carried through to the git repo.  If it
> isn't, you will need to either switch to CVS to make sure you have the
> same version, or stick to building from source for everything.  There
> isn't a collection of binary packages that tracks the bleeding edge of
> pkgsrc.

I ran "git branch" and got only vendor and master. Why are there both a CVS 
repo and a git repo? Is it possible to copy the branches to git?

Pierre

-- 
La sal en el mar es más que en la sangre.
Le sel dans la mer est plus que dans le sang.



Re: Abnormal termination of greeter - cause is libX11 version

2010-08-01 Thread Justin C. Sherrill
On Sun, August 1, 2010 7:34 pm, Pierre Abbat wrote:

> I'm using git; there's a command "git checkout vendor" in /usr/Makefile.
> Should I change that to "git checkout pkgsrc-2010Q1"?

I don't know if the branches are carried through to the git repo.  If it
isn't, you will need to either switch to CVS to make sure you have the
same version, or stick to building from source for everything.  There
isn't a collection of binary packages that tracks the bleeding edge of
pkgsrc.



Re: Abnormal termination of greeter - cause is libX11 version

2010-08-01 Thread Pierre Abbat
On Sunday 01 August 2010 19:10:59 Justin C. Sherrill wrote:
> On Sat, July 31, 2010 11:58 pm, Pierre Abbat wrote:
> > I'd also like to reinstall vlc, but it's not in pkgin, and the version in
> > pkgsrc tries to install the libraries for kde4, which messes up my pkgin
> > packages. How do I downgrade pkgsrc to match pkgin?
>
> The version of pkgsrc you have installed is shown in whatever tag it's
> against - /usr/pkgsrc/CVS/Tag contains the tag.  It should be
> pkgsrc-2010Q1 to make sure that when you build manually, you're building
> the same versions as what pkgin is downloading from avalon.  If it's not,
> you can manually make it match and then update with
>
> setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
> setenv CVS_RSH ssh
> cd /usr
> cvs -q update -dP
>
> You can also delete /usr/pkgsrc and restore it with exactly the version
> you want with:
>
> setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
> setenv CVS_RSH ssh
> cd /usr
> cvs -q checkout -rpkgsrc-2010Q1 -P pkgsrc

I'm using git; there's a command "git checkout vendor" in /usr/Makefile. 
Should I change that to "git checkout pkgsrc-2010Q1"?

> You mentioned before that you are downloading 2.6 packages on a 2.7
> system.  That can work right now, but it's better to match exactly.  Look
> at the path set for pkgin.

Done.

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.



Re: Abnormal termination of greeter - cause is libX11 version

2010-08-01 Thread Justin C. Sherrill
On Sat, July 31, 2010 11:58 pm, Pierre Abbat wrote:

> I'd also like to reinstall vlc, but it's not in pkgin, and the version in
> pkgsrc tries to install the libraries for kde4, which messes up my pkgin
> packages. How do I downgrade pkgsrc to match pkgin?

The version of pkgsrc you have installed is shown in whatever tag it's
against - /usr/pkgsrc/CVS/Tag contains the tag.  It should be
pkgsrc-2010Q1 to make sure that when you build manually, you're building
the same versions as what pkgin is downloading from avalon.  If it's not,
you can manually make it match and then update with

setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
setenv CVS_RSH ssh
cd /usr
cvs -q update -dP

You can also delete /usr/pkgsrc and restore it with exactly the version
you want with:

setenv CVSROOT anon...@anoncvs.netbsd.org:/cvsroot
setenv CVS_RSH ssh
cd /usr
cvs -q checkout -rpkgsrc-2010Q1 -P pkgsrc

(notice only the last line is different.)

If there's no tag, you're building from the bleeding edge of pkgsrc, which
will get you the newest versions but also the newest issues, and is very
likely the cause of these version mismatches.  I would advise:

- Making sure you have pkgsrc-2010Q1 as your /usr/pkgsrc/

- Make sure that pkgin is pointing to the right repository of files on
avalon.  2.7 should show in the path, since you are running 2.7.

You should be able to build everything at that point.  (Look at
pkg_rolling-replace if you want something to run through every option for
you.)

I am working on new pkgsrc-2010Q2 binaries, but it will be at least a few
days before those are available, and I'll send out an announcement when
they are.  When they are available, do as before: make sure your local
/usr/pkgsrc is updated to that release, and I'll mention when the
"/stable/" link for pkgin is updated to point at packages with that newer
release.


You mentioned before that you are downloading 2.6 packages on a 2.7
system.  That can work right now, but it's better to match exactly.  Look
at the path set for pkgin.



Re: Abnormal termination of greeter - cause is libX11 version

2010-07-31 Thread Pierre Abbat
Here's the result of "ldd /usr/pkg/bin/kwrite":
libkdeinit_kwrite.so => /usr/pkg/lib/libkdeinit_kwrite.so (0x28084000)
libkatepartinterfaces.so.0 => /usr/pkg/lib/libkatepartinterfaces.so.0 
(0x28098000)
libktexteditor.so.0 => /usr/pkg/lib/libktexteditor.so.0 (0x280af000)
libkparts.so.2 => /usr/pkg/lib/libkparts.so.2 (0x280e1000)
libkabc.so.1 => /usr/pkg/lib/libkabc.so.1 (0x28122000)
libvcard.so.0 => /usr/pkg/lib/libvcard.so.0 (0x281c8000)
libkresources.so.1 => /usr/pkg/lib/libkresources.so.1 (0x281e9000)
libkateutils.so.0 => /usr/pkg/lib/libkateutils.so.0 (0x28209000)
libkio.so.4 => /usr/pkg/lib/libkio.so.4 (0x28211000)
libkdeui.so.4 => /usr/pkg/lib/libkdeui.so.4 (0x284fc000)
libkdesu.so.4 => /usr/pkg/lib/libkdesu.so.4 (0x2879e000)
libkwalletclient.so.1 => /usr/pkg/lib/libkwalletclient.so.1 
(0x287b3000)
libkdecore.so.4 => /usr/pkg/lib/libkdecore.so.4 (0x287c3000)
libDCOP.so.4 => /usr/pkg/lib/libDCOP.so.4 (0x289d7000)
libutil.so.4 => /usr/lib/libutil.so.4 (0x28a06000)
libart_lgpl_2.so.2 => /usr/pkg/lib/libart_lgpl_2.so.2 (0x28a12000)
libidn.so.11 => /usr/pkg/lib/libidn.so.11 (0x28a3)
libintl.so.3 => /usr/pkg/lib/libintl.so.3 (0x28a6)
libkdefx.so.4 => /usr/pkg/lib/libkdefx.so.4 (0x28a69000)
libqt-mt.so.3 => /usr/pkg/qt3/lib/libqt-mt.so.3 (0x28a91000)
libGL.so.1 => /usr/pkg/lib/libGL.so.1 (0x290e8000)
libXxf86vm.so.1 => /usr/pkg/lib/libXxf86vm.so.1 (0x29142000)
libXdamage.so.1 => /usr/pkg/lib/libXdamage.so.1 (0x29147000)
libdrm.so.2 => /usr/pkg/lib/libdrm.so.2 (0x2914a000)
libXmu.so.6 => /usr/pkg/lib/libXmu.so.6 (0x29152000)
libXt.so.6 => /usr/pkg/lib/libXt.so.6 (0x29166000)
libXrandr.so.2 => /usr/pkg/lib/libXrandr.so.2 (0x291b)
libXcursor.so.1 => /usr/pkg/lib/libXcursor.so.1 (0x291b7000)
libXfixes.so.3 => /usr/pkg/lib/libXfixes.so.3 (0x291c)
libXinerama.so.1 => /usr/pkg/lib/libXinerama.so.1 (0x291c5000)
libXft.so.2 => /usr/pkg/lib/libXft.so.2 (0x291c8000)
libfontconfig.so.1 => /usr/pkg/lib/libfontconfig.so.1 (0x291d8000)
libfreetype.so.6 => /usr/pkg/lib/libfreetype.so.6 (0x29204000)
libexpat.so.1 => /usr/pkg/lib/libexpat.so.1 (0x29272000)
libpng12.so.0 => /usr/pkg/lib/libpng12.so.0 (0x29291000)
libXext.so.6 => /usr/pkg/lib/libXext.so.6 (0x292b1000)
libSM.so.6 => /usr/pkg/lib/libSM.so.6 (0x292bf000)
libICE.so.6 => /usr/pkg/lib/libICE.so.6 (0x292c6000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x292db000)
librt.so.0 => /usr/lib/librt.so.0 (0x292ec000)
libXrender.so.1 => /usr/pkg/lib/libXrender.so.1 (0x292ee000)
libX11.so.6 => /usr/pkg/lib/libX11.so.6 (0x292f6000)
libXau.so.6 => /usr/pkg/lib/libXau.so.6 (0x29407000)
libXdmcp.so.6 => /usr/pkg/lib/libXdmcp.so.6 (0x2940a000)
librpcsvc.so.3 => /usr/lib/librpcsvc.so.3 (0x2940f000)
libz.so.3 => /usr/lib/libz.so.3 (0x29416000)
libstdc++.so.9 => /usr/lib/gcc41/libstdc++.so.9 (0x29427000)
libm.so.3 => /usr/lib/libm.so.3 (0x29503000)
libc.so.7 => /usr/lib/libc.so.7 (0x29516000)
libc.so.6 => /usr/lib/libc.so.6 (0x2960b000)
It doesn't specify libX11.so.6.2.0, just libX11.so.6, so I don't know why it 
didn't work without the symlink.

I'd also like to reinstall vlc, but it's not in pkgin, and the version in 
pkgsrc tries to install the libraries for kde4, which messes up my pkgin 
packages. How do I downgrade pkgsrc to match pkgin?

Pierre
-- 
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.


Re: Abnormal termination of greeter - cause is libX11 version

2010-07-30 Thread Pierre Abbat
On Friday 30 July 2010 23:37:14 Justin C. Sherrill wrote:
> On Fri, July 30, 2010 9:14 am, Pierre Abbat wrote:
> > Correction: kwrite is expecting version 6.2.0, but the version that
> > exists is
> > 6.3.0. I made a symlink and kwrite came up. So does the greeter. Could
> > someone recompile kdelibs with 6.3.0 in the pkgin repository?
>
> What version of kdelibs and (whatever package contains) kwrite is
> installed?  3.5.10 is what's on avalon, where these probably came from,
> and they should match - they were built together.  I wonder if packages
> got mixed from master and a release, somehow.

3.5.10, but kdebase somehow disappeared when I tried to install vlc (which 
isn't in pkgin but is in pkgsrc, and required upgrading qt). They match each 
other, but the version of X that's installed doesn't match what kdelibs is 
compiled against. More when I finish reinstalling kde - it's stuck 
downloading something.

Pierre

-- 
.i toljundi do .ibabo mi'afra tu'a do
.ibabo damba do .ibabo do jinga
.icu'u la ma'atman.


Re: Abnormal termination of greeter - cause is libX11 version

2010-07-30 Thread Justin C. Sherrill
On Fri, July 30, 2010 9:14 am, Pierre Abbat wrote:
> Correction: kwrite is expecting version 6.2.0, but the version that exists
> is
> 6.3.0. I made a symlink and kwrite came up. So does the greeter. Could
> someone recompile kdelibs with 6.3.0 in the pkgin repository?

What version of kdelibs and (whatever package contains) kwrite is
installed?  3.5.10 is what's on avalon, where these probably came from,
and they should match - they were built together.  I wonder if packages
got mixed from master and a release, somehow.



Re: Abnormal termination of greeter - cause is libX11 version

2010-07-30 Thread Pierre Abbat
Correction: kwrite is expecting version 6.2.0, but the version that exists is 
6.3.0. I made a symlink and kwrite came up. So does the greeter. Could 
someone recompile kdelibs with 6.3.0 in the pkgin repository?

Pierre
-- 
When a barnacle settles down, its brain disintegrates.
Já não percebe nada, já não percebe nada.