On Thu, Sep 24, 2009 at 03:17:59PM +0200, Tomasz Pajor wrote: > >>> I can't rebuild gtk+2 package, I get this error. >>> >> >> You were adviced to use packages for a reason. If you can't deal with >> build infrastructure and eventual fallouts, don't do this. >> > I asked because I didn't know how to deal with this particular one. > I looked at the output of /usr/ports/infrastructure/build/out-of-date > and started updating. > Then I was adviced to use pkg_add -u, so I did. It installed the newest > ports from ftp.openbsd.org > snapshot. But in the way it downgraded already updated ports. > Nevertheless I tried to run eclipse. > It didn't start on any jdk version that is available in ports. So i > figured out that i will recompile > everything again and maybe it will start working, I was wrong. >> In the meantime, make sure you don't have remnants of old libs (ls >> /var/db/pkg/.libs-*). And remove previous version before trying to build >> another. All those kind of things you shouldn't need to know if you were >> using packages as adviced. >> > The removal of this folders didn't help, I don't know how the .libs-* > where there in the first > place.
Err... those were _references_ to installed packages with libraries from old versions, kept to be sure things still run smoothly. If you removed those folders, you basically fucked up your system, because now you have libs in usr/local referenced by no package. You were supposed to do pkg_delete `ls -1 /var/db/pkg/.libs-*` or something like that. >From now on, the better advice i could give you could be removing everything (pkg_delete *, rm -Rf /usr/local /var/db/pkg) and starting from scratch, otherwise you _will_ run into strange issues. >> Moreover, your "bug reports" are useless. we don't know if the given >> libpango is present on your system, what versions of other packages >> are installed, what version of OpenBSD you're running, etc etc. If >> you can't nor want to provide what's needed to debug your shit, don't post. >> > You are absolutly right Landry, point taken, I'm sorry. Of course I want > to provide as much feedback as possible. > So as in point 15.5 of FAQ: > > # sysctl -n kern.version > OpenBSD 4.6-current (GENERIC.MP) #3: Fri Sep 11 13:46:25 CEST 2009 > r...@x61s.puffy.pl:/usr/src/sys/arch/i386/compile/GENERIC.MP > > Port tree is -current. > > Complete build output: > http://puffy.pl/r/gtk+-2.16.6_log > http://puffy.pl/r/gtk+2-2.16.6p1_log > > pkg_info: > http://puffy.pl/r/pkginfo > > # cat /etc/mk.conf > SUDO=/usr/bin/sudo > ACCEPT_JRL_LICENSE=Yes > That's much better ! :) pango 1.24.5 provides libpangoft2-1.0.so.1801.0, while your gtk build tries to find 1800.0. You probably updated pango while building/updating gtk. Don't do this. One thing at a time, or ports dependencies will be fucked. If the only reason to compile for you is using eclipse, then just USE PACKAGES FOR EVERYTHING and compile _only_ eclipse. We're not freebsd, where using packages & ports at the same time often provides weird results. Landry