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

Jeremy Messenger mezz.freebsd at gmail.com
Mon Mar 14 21:52:05 UTC 2011


On Mon, Mar 14, 2011 at 11:26 AM, Gritsuk Anton <gnixua at gmail.com> wrote:
> HI!
>
> Now i'm using FreeBSD 8.2 (r219048):
>  # uname -srm
>  FreeBSD 8.2-STABLE i386
>
> 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.
>
> Let's see:
>
>  # portupgrade webkit-gtk2-1.2.7
>  .......................................
>  CCLD   Programs/unittests/testhttpbackend
>  CCLD   Programs/unittests/testloading
>  CCLD   Programs/unittests/testglobals
>  CCLD   Programs/unittests/testmimehandling
>  CCLD   Programs/unittests/testnetworkrequest
>  CCLD   Programs/unittests/testnetworkresponse
>  CCLD   Programs/unittests/testwebframe
>  CCLD   Programs/unittests/testwebbackforwardlist
>  CCLD   Programs/unittests/testwebhistoryitem
>  CCLD   Programs/unittests/testwindow
>  CCLD   Programs/unittests/testdownload
>  CCLD   Programs/unittests/testatk
>  CCLD   Programs/unittests/testhittestresult
>  CCLD   Programs/unittests/testwebsettings
>  CCLD   Programs/unittests/testwebresource
>  CCLD   Programs/unittests/testwebdatasource
>  CCLD   Programs/unittests/testwebview
>  CCLD   Programs/unittests/testkeyevents
>  GEN    WebKit-1.0.gir
>  /usr/local/bin/g-ir-scanner: not found
>  gmake[1]:***  [WebKit-1.0.gir]  ??????127
>  gmake[1]:***  ???????? ?????????? ???????...
>  gmake[1]: Leaving directory `/usr/ports/www/webkit-gtk2/work/webkit-1.2.7'
>  gmake:***  [all]  ??????2
>  **  Command failed[exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20110313-72168-1mkl71b-0  env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=webkit-gtk2-1.2.7  UPGRADE_PORT_VER=1.2.7  make
>  **  Fix  the problem and try again.
>  **  Listing the failed packages (-:ignored/  *:skipped/  !:failed)
>    !  www/webkit-gtk2 (webkit-gtk2-1.2.7)    (unknown build error)
>
>
> If I replace first string in /usr/local/bin/g-ir-scanner:
>  #!/usr/local/bin/python2.6 to #!/usr/local/bin/python2.7

Reinstall gobject-introspection is a best solution. I don't follow the
UPDATING complete about Python upgrade, which I just follow on -o part
then did the portmaster -r python27-2.7.1_1. I did it because I know
that it will work a lot better than upgrade-site-packages by 99%. The
shortcut usually bite.

Cheers,
Mezz


> my upgrade finish successful.
>
> Please, investigate this problem.
>
> --
>
> best regards,
> Anton


-- 
mezz.freebsd at gmail.com - mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/ - gnome at FreeBSD.org


More information about the freebsd-ports mailing list