Bug 204750 - accessibility/orca error for installing gnome 3
Summary: accessibility/orca error for installing gnome 3
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-22 16:24 UTC by Andy Hidayat
Modified: 2016-04-14 22:36 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Hidayat 2015-11-22 16:24:03 UTC
when i tried to installed gnome3, i always get this error. first i tried with gnome3 directly and error. then i tried to install from orca, then i get this error too. 

this is the error :

&& \
touch "es/es.stamp"
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
Traceback (most recent call last):
  File "/usr/local/bin/itstool", line 25, in <module>
  File "/usr/local/bin/itstool", line 25, in <module>
  File "/usr/local/bin/itstool", line 25, in <module>
  File "/usr/local/bin/itstool", line 25, in <module>
    import libxml2
      File "/usr/local/lib/python2.7/site-packages/libxml2.py", line 1, in <module>
import libxml2
    import libxml2
  File "/usr/local/lib/python2.7/site-packages/libxml2.py", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/libxml2.py", line 1, in <module>
        import libxml2
import libxml2mod
  File "/usr/local/lib/python2.7/site-packages/libxml2.py", line 1, in <module>
ImportError: dynamic module does not define init function (initlibxml2mod)
    import libxml2mod
ImportError: dynamic module does not define init function (initlibxml2mod)
    import libxml2mod
ImportError: dynamic module does not define init function (initlibxml2mod)
    import libxml2mod
ImportError: dynamic module does not define init function (initlibxml2mod)
Makefile:542: recipe for target 'es/es.stamp' failed
gmake[2]: *** [es/es.stamp] Error 1
gmake[2]: *** Waiting for unfinished jobs....
Makefile:542: recipe for target 'de/de.stamp' failed
gmake[2]: *** [de/de.stamp] Error 1
Makefile:542: recipe for target 'el/el.stamp' failed
gmake[2]: *** [el/el.stamp] Error 1
Makefile:542: recipe for target 'cs/cs.stamp' failed
gmake[2]: *** [cs/cs.stamp] Error 1
gmake[2]: Leaving directory '/usr/ports/accessibility/orca/work/orca-3.16.2/help'
Makefile:465: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/accessibility/orca/work/orca-3.16.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

i already try to use MAKE_JOBS_UNSAFE=yes and the result is the same. 

cheers,

andy
Comment 1 Koop Mast freebsd_committer freebsd_triage 2015-11-23 22:32:46 UTC
Which versions of py27-libxml2, py34-libxml2 and libxml2 do you have installed?

Hmm I wonder why it using python2 instead of pyton3.
Comment 2 fossette 2016-04-14 21:09:42 UTC
I have a similar problem with the same init function error.  I'm trying to build the port accessibility/accerciser on a freshly installed FreeBSD 10.3.  Since the initial 'make install clean' on /usr/ports hasn't been completed yet (no portmaster nor portupgrade yet), it's hard to tell you which version I have.  You may assume the current PORT TREE as of today (April 14, 2016).
Comment 3 fossette 2016-04-14 22:36:36 UTC
(In reply to fossette from comment #2)
*Update* Workaround

I located the port that installed libxml2.py, in my case textproc/py-libxml2.
make deinstall
make clean
make install clean
Version before and after the fresh build, 2.9.3

After, I was able to build accessibility/accerciser 3.14.0_1

Puzzeling!