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

Gritsuk Anton gnixua at gmail.com
Mon Mar 14 16:48:17 UTC 2011


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

my upgrade finish successful.

Please, investigate this problem.

-- 

best regards,
Anton



More information about the freebsd-ports mailing list