Bug 237865 - sysutils/mate-system-monitor: Fails to build: ImportError: No module named libxml2
Summary: sysutils/mate-system-monitor: Fails to build: ImportError: No module named li...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2019-05-13 05:13 UTC by davidPlanner
Modified: 2019-05-13 11:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)
koobs: merge-quarterly?


Attachments
pkg info (66.26 KB, text/plain)
2019-05-13 05:13 UTC, davidPlanner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description davidPlanner 2019-05-13 05:13:13 UTC
Created attachment 204346 [details]
pkg info

Hi,
i have some problems to update mate-system-monitor port. 


 uname -a
FreeBSD wst00029 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64

ine     -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes     -Wnested-externs -Wpointer-arith     -Wcast-align -Wsign-compare     -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -fstack-protector-strong  -o msm-kill msm_kill-msm_execute_helper.o -L/usr/local/lib -lglib-2.0 -lintl  -lutil
libtool: link: cc -DCOMMAND=\"kill\" -Wall -Winline -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fstack-protector-strong -o msm-kill msm_kill-msm_execute_helper.o  -L/usr/local/lib -lglib-2.0 -lintl -lutil
gmake[3]: Leaving directory '/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1/tools'
Making all in help
gmake[3]: Entering directory '/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1/help'
if ! test -d "ku/"; then mkdir "ku/"; fi
msgfmt -o "ku/ku.mo" "ku/ku.po"
if ! test -d "ku/"; then mkdir "ku/"; fi
if test -d "C"; then d="../"; else d="/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1/help/"; fi; \
mo="ku/ku.mo"; \
if test -f "${mo}"; then mo="../${mo}"; else mo="/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1/help/${mo}"; fi; \
(cd "ku/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \
touch "ku/ku.stamp"
Traceback (most recent call last):
  File "/usr/local/bin/itstool", line 27, in <module>
    import libxml2
ImportError: No module named libxml2
gmake[3]: *** [Makefile:565: ku/ku.stamp] Error 1
gmake[3]: Leaving directory '/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1/help'
gmake[2]: *** [Makefile:618: all-recursive] Error 1
gmake[2]: Leaving directory '/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1'
gmake[1]: *** [Makefile:442: all] Error 2
gmake[1]: Leaving directory '/usr/ports/sysutils/mate-system-monitor/work/mate-system-monitor-1.22.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/mate-system-monitor

===>>> make build failed for sysutils/mate-system-monitor
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> sysutils/mate-system-monitor 

This command has been saved to /tmp/portmasterfail.txt
Comment 1 Eric Turgeon freebsd_committer 2019-05-13 11:49:07 UTC
This error is not related to sysutils/mate-system-monitor it is related to textproc/itstool missing textproc/py-libxml2.

File "/usr/local/bin/itstool", line 27, in <module>
    import libxml2


You could try to rebuild textproc/itstool or install textproc/py-libxml2.