Discussion:
maintainer-feedback requested: [Bug 255601] harfbuzz doesn't build on FreeBSD 13.0_RELEASE
b***@freebsd.org
2021-05-04 22:38:38 UTC
Permalink
Bugzilla Automation <***@FreeBSD.org> has asked freebsd-desktop (Team)
<***@FreeBSD.org> for maintainer-feedback:
Bug 255601: harfbuzz doesn't build on FreeBSD 13.0_RELEASE
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601



--- Description ---
I have new installed FreeBSD 13.0-RELEASE. Update for harfbuzz to 2.8.1 doesn't
build on my system. I had update to Python 3.8 with follow /usr/ports/UPDATING
and there are no errors.
...
env: /usr/local/bin/python3.7: No such file or directory
[ 84% 72/85] /usr/local/bin/meson --internal symbolextractor
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build
src/libharfbuzz.so.0.20801.0 src/libharfbuzz.so.0.20801.0
src/libharfbuzz.so.0.20801.0.p/libharfbuzz.so.0.20801.0.symbols ninja:
build stopped: subcommand failed. ===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to the maintainer. *** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/harfbuzz
*** Error code 1

Stop.
make: stopped in /usr/ports/print/harfbuzz

===>>> make build failed for print/harfbuzz
===>>> Aborting update

===>>> Update for print/harfbuzz failed
===>>> Aborting update
b***@freebsd.org
2021-05-05 03:34:19 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

Kubilay Kocak <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-qa
Status|New |Open
Summary|harfbuzz doesn't build on |print/harfbuzz: Fails to
|FreeBSD 13.0_RELEASE |build on 13.0-RELEASE: env:
| |/usr/local/bin/python3.7:
| |No such file or directory
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-05 14:11:16 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

***@pyret.net changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@pyret.
| |net

--- Comment #1 from ***@pyret.net ---
What does "make -V PYTHON_CMD" say?
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-05 22:05:19 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

--- Comment #2 from ***@gmail.com ---
/usr/local/bin/python3.8
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-06 02:21:11 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

Tatsuki Makino <***@hotmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@hotmail.com

--- Comment #3 from Tatsuki Makino <***@hotmail.com> ---
If symlink of /usr/local/bin/python or /usr/local/bin/python3 exists, where
does it point to?
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-06 21:34:01 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

***@dawnsign.com <***@dawnsign.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@dawnsign.com

--- Comment #4 from ***@dawnsign.com <***@dawnsign.com> ---
Hi, I've got a very similar situation as the OP. I'm on 12.0_RELEASE-p6. I
needed to upgrade to Python3.8 from Python3.7 so followed instructions in
/usr/ports/UPDATING. The problem begins when I execute the 'portmaster
$REBUILD' step. Error message points to a missing /usr/local/bin/g-ir-scanner
file. I then rebuild /usr/ports/devel/gobject-introspection and retry the
'portmaster $REBUILD' step. The next error message is as follows:

####
/usr/local/bin/meson --internal exe --capture src/hb-gobject-enums-tmp.h --
/usr/local/bin/glib-mkenums --identifier-prefix hb_ --symbol-prefix hb_gobject
--template
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/src/hb-gobject-enums-tmp.h.tmpl
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-aat-layout.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-aat.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-blob.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-buffer.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-common.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-deprecated.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-draw.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-face.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-font.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-map.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-color.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-deprecated.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-font.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-layout.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-math.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-meta.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-metrics.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-name.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-shape.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot-var.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ot.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-set.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-shape-plan.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-shape.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-style.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-unicode.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/src/hb-version.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-ft.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-graphite2.h
/usr/ports/print/harfbuzz/work/harfbuzz-2.8.1/_build/../src/hb-glib.h
--- stderr ---
env: /usr/local/bin/python3.7: No such file or directory

ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/harfbuzz
*** Error code 1

Stop.
make: stopped in /usr/ports/print/harfbuzz

===>>> make build failed for print/harfbuzz
===>>> Aborting update

===>>> Update for print/harfbuzz failed
===>>> Aborting update

===>>> Update for opencv-4.5.1_2 failed
===>>> Aborting update

===>>> The following actions were performed:
Re-installation of meson-0.57.1_1
Re-installation of itstool-2.0.6
Re-installation of gtk-doc-1.33.2


===>>> You can restart from the point of failure with this command line:
portmaster <flags> graphics/opencv print/harfbuzz

This command has been saved to ~/portmasterfail.txt

####

"make -V PYTHON_CMD" gives me /usr/local/bin/python3.8. There are no Python
symlinks in /usr/local/bin/.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-06 21:44:54 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

--- Comment #5 from Tatsuki Makino <***@hotmail.com> ---
(In reply to ***@dawnsign.com from comment #4)

/usr/local/bin/glib-mkenums which was installed by package glib-2.66.7_1,1 has
#!/usr/bin/env /usr/local/bin/python3.8.
If this is python 3.7, reinstalling glib may solve the problem.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-06 22:56:48 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

--- Comment #6 from ***@gmail.com ---
I just change python3.7 to 3.8 in /usr/local/bin/glib-mkenums and it works.

Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-07 03:34:29 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

--- Comment #7 from ***@dawnsign.com <***@dawnsign.com> ---
(In reply to Tatsuki Makino from comment #5)

I can confirm that once devel/glib20 was reinstalled, I was able to complete
the rest of the suggested Python3.8 rebuild procedure as specified in
/usr/ports/UPDATING(In reply to Tatsuki Makino from comment #5)
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-31 20:22:00 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

--- Comment #8 from Daniel Engberg <***@pyret.net> ---
I guess this can be closed then? :-)
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-06-01 02:42:05 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255601

Li-Wen Hsu <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|Open |Closed
Resolution|--- |Overcome By Events
CC| |***@FreeBSD.org
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...