Having problems with gtk20

wblock@ said:
That comments out a section in the pkg-plist that does not apply--a list of files that are not installed--when CUPS is not enabled.

But what of a (seemingly) unsatisfied conditional -- the other errors referencing PAPI and print*?
 
adripillo said:
Sorry to insist, but this is giving me more problems each day. Now I can not install almost any program since most of them use x11-toolkits/gkt20. I am using Konqueror because I can not start www/firefox, www/opera or www/chromium.

First, update the ports tree. Show the exact command used to do that.

Make certain you have no misguided additions to /etc/make.conf, and there are no other customizations like whatever portugprade has for doing custom things to certain ports.

Install sysutils/bsdadminscripts and run
Code:
% script /tmp/pkg_libchk.log
% pkg_libchk -q
% exit

Post /tmp/pkg_libchk.log[/url] to pastebin.com. It should not show anything, or at least anything except missing libraries due to the gtk problem.

Reset the x11-toolkits/gtk20 options to default, clean, and build:
Code:
# script /tmp/gtk-build.log
# cd /usr/ports/x11-toolkits/gtk20
# make rmconfig
# make clean
# make
# exit

Post /tmp/gtk-build.log to pastebin.com.

Give the URLs to the two files here.
 
Chris_H said:
D'OH! Sorry. How about
Code:
portmaster -PP /var/db/pkg/gtk2.<your-version-here>


I deleted the version that was installed, I do not have any version installed now but it's trying to install gtk-2.24.19.
 
Do you have a /var/db/ports/gtk20/options file? If so, even if the packaged version succeeds in installing, future builds from the ports tree may well fail. As @wblock suggests, there are clearly issues with the normal ports approach to the installation of gtk20. And that problem might just lie within the options file I mentioned. You might (as @wblock mentioned) do a make config, and choose defaults. Or simply delete /var/db/ports/gtk20, which effectively does the same. But in either case, choosing the defaults when presented with the dialog, is the most important.

HTH, and Best Wishes.

--chris
 
Last edited by a moderator:
wblock@ said:
First, update the ports tree. Show the exact command used to do that.

Make certain you have no misguided additions to /etc/make.conf, and there are no other customizations like whatever portugprade has for doing custom things to certain ports.

Install sysutils/bsdadminscripts and run
Code:
% script /tmp/pkg_libchk.log
% pkg_libchk -q
% exit

Post /tmp/pkg_libchk.log[/url] to pastebin.com. It should not show anything, or at least anything except missing libraries due to the gtk problem.

Reset the x11-toolkits/gtk20 options to default, clean, and build:
Code:
# script /tmp/gtk-build.log
# cd /usr/ports/x11-toolkits/gtk20
# make rmconfig
# make clean
# make
# exit

Post /tmp/gtk-build.log to pastebin.com.

Give the URLs to the two files here.


The first you asked in two:
http://pastebin.com/jGi6CNw9
http://pastebin.com/yV3L5bpb

And the last one, I uploaded it because it was too big for http://pastebin.com/.
http://www.uploadmb.com/dw.php?id=1373910029
 
There are enough problems with the first that it's not worth looking at the second. There are some serious problems, and 1044 packages installed.

portmaster --check-depends is probably going to try to install the problem GTK port, among others.

Reinstalling all ports might be the easiest way to fix all this, although it will take a long time. Before doing that, we have figure out how it got that way or it will just happen again.
 
wblock@ said:
There are enough problems with the first that it's not worth looking at the second. There are some serious problems, and 1044 packages installed.

portmaster --check-depends is probably going to try to install the problem GTK port, among others.

Reinstalling all ports might be the easiest way to fix all this, although it will take a long time. Before doing that, we have figure out how it got that way or it will just happen again.

This is the more strange thing, this is the first time I never run a portupgrade. I mean the last times I had to delete and install the system was because portupgrade + not reading the UPDATING failed in some update. But this time I never run portupgrade, KDE was going awesome till I notice that was a new version of www/firefox, so I run

Code:
# portmaster www/firefox
and then it failed at x11-toolkit/gtk20 and now can not install more programs since almost all use x11-toolkit/gtk20.
 
Greetings,

I wouldn't be surprised that many of the errors you posted to Pastebin were a reflection of the fact that gtk20 isn't currently (listed) as installed. @@wblock Last time I ran portmaster --check-depends it merely pointed out issues it felt existed, and prompted me for action (install required port/library/version). So I felt it would be a good tool to report overall system (ports) integrity. Is it worth an attempt to simply
Code:
cd /usr/ports/x11-toolkits/gtk20
make rmconfig
make config (choose defaults [press enter])
make && if success
make install clean
?

--chris
 
Last edited by a moderator:
adripillo said:
This is the more strange thing, this is the first time I never run a portupgrade. I mean the last times I had to delete and install the system was because portupgrade + not reading the UPDATING failed in some update.
But this time I never run portupgrade, KDE was going awesome till I notice that was a new version of Firefox, so I run

Code:
# portmaster www/firefox

portmaster checks that everything a program depends on is updated. So my guess would be it upgraded something that needed a special upgrade process listed in /usr/ports/UPDATING. Then other programs that depended on whatever was upgraded were broken also.

This is one reason that before upgrading or installing new ports, always, yes always, check /usr/ports/UPDATING for things that need to be done since the last time ports were installed or upgraded.
 
For as long as this has been a problem for you, I think I'm going to say use portmaster to reinstall all ports.

There is a procedure at the end of portmaster(8). It will collect a list of ports to install, then deinstall all the existing ones, then rebuild. So other than time, it will end up with a full install.
 
wblock@ said:
For as long as this has been a problem for you, I think I'm going to say use portmaster to reinstall all ports.

There is a procedure at the end of portmaster(8). It will collect a list of ports to install, then deinstall all the existing ones, then rebuild. So other than time, it will end up with a full install.

I am at home today, as soon as I arrive at work tomorrow I will try.
 
Back
Top