PostHeaderIcon firefox — python

При очереднм обновлении firefox сборка начала прерываться с сообщением

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
gmake -C xpcom export
gmake[3]: Вход в каталог `/usr/ports/www/firefox/work/mozilla-release/xpcom'
gmake -C idl-parser export
gmake[4]: Вход в каталог `/usr/ports/www/firefox/work/mozilla-release/xpcom/idl-parser'
/usr/local/bin/python2.6 ../../config/pythonpath.py \
  -I../../other-licenses/ply \
  -I../../xpcom/idl-parser \
  ../../xpcom/idl-parser/header.py --cachedir=. --regen
/usr/ports/www/firefox/work/mozilla-release/other-licenses/ply/ply/yacc.py:2800: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import md5
Traceback (most recent call last):
  File "../../config/pythonpath.py", line 52, in <module>
    main(sys.argv[1:])
  File "../../config/pythonpath.py", line 44, in main
    execfile(script, frozenglobals)
  File "../../xpcom/idl-parser/header.py", line 503, in <module>
    p = xpidl.IDLParser(outputdir=options.cachedir)
  File "/usr/ports/www/firefox/work/mozilla-release/xpcom/idl-parser/xpidl.py", line 1457, in __init__
    optimize=1)
  File "/usr/ports/www/firefox/work/mozilla-release/other-licenses/ply/ply/yacc.py", line 3065, in yacc
    signature = pinfo.signature()
  File "/usr/ports/www/firefox/work/mozilla-release/other-licenses/ply/ply/yacc.py", line 2800, in signature
    from <a href="http://anthillfilms.com/films/">cialis vs viagra</a> md5 import md5
  File "/usr/local/lib/python2.6/md5.py", line 10, in <module>
    from hashlib import md5
  File "/usr/local/lib/python2.6/hashlib.py", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/usr/local/lib/python2.6/hashlib.py", line 63, in __get_builtin_constructor
    import _md5
ImportError: No module named _md5
gmake[4]: *** [export] Ошибка 1
gmake[4]: Выход из каталога `/usr/ports/www/firefox/work/mozilla-release/xpcom/idl-parser'
gmake[3]: *** [export] Ошибка 2
gmake[3]: Выход из каталога `/usr/ports/www/firefox/work/mozilla-release/xpcom'
gmake[2]: *** [export_tier_platform] Ошибка 2
gmake[2]: Выход из каталога `/usr/ports/www/firefox/work/mozilla-release'
gmake[1]: *** [tier_platform] Ошибка 2
gmake[1]: Выход из каталога `/usr/ports/www/firefox/work/mozilla-release'
gmake: *** [default] Ошибка 2
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Stop in /usr/ports/www/firefox.

===>>> make failed for www/firefox
===>>> Aborting update

Разбираться не стал, пересобрал python (у меня стоит python26, менять не стал)

1
$ sudo portmaster -d www/firefox

заработало.

Оставить комментарий

PR-CY.ru