webkit-gtk2-1.2.7 doesn't upgrade after changing python to 2.7

Michal Varga varga.michal at gmail.com
Mon Mar 14 17:43:14 UTC 2011

On Mon, 2011-03-14 at 18:26 +0200, Gritsuk Anton wrote:

> I upgraded and replaced my Python 2.6 to 2.7 and all packages is related 
> of this. I use instruction from /usr/ports/UPDATING:
>    # portupgrade -o lang/python27 lang/python26
>    # cd /usr/ports/lang/python && make upgrade-site-packages
> After this  update, installation/upgading of webkit-gtk2 is failed.

> If I replace first string in /usr/local/bin/g-ir-scanner:
>   #!/usr/local/bin/python2.6 to #!/usr/local/bin/python2.7
> my upgrade finish successful.
> Please, investigate this problem.

I'm using python 2.7 along with webkit-gtk2-1.2.7 and there are no
poblems during webkit build and/or use. From your description it seems
to me more like your gobject-introspection-0.9.12_1 didn't get properly
rebuilt after Python upgrade.

Btw, as upgrading Python has always been a non-trivial task (I don't use
upgrade-site-packages so I can't comment on that step - I found it flaky
once and didn't bother anymore after), I always make sure to rebuild
every Python based port during the next step before anything else (same
goes with major Perl upgrades). There are not many of them directly
depending on Python and it always saves from trouble like these.


Michal Varga,
Stonehenge (Gmail account)

More information about the freebsd-ports mailing list