Bug 242927

Summary: port x11/babl update to 0.1.72doesn't build on my system
Product: Ports & Packages Reporter: lumiwa
Component: Individual Port(s)Assignee: Mark Linimon <linimon>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: lantw44, lumiwa
Priority: --- Flags: bugzilla: maintainer-feedback? (gnome)
Version: Latest   
Hardware: amd64   
OS: Any   

Description lumiwa 2019-12-27 21:58:56 UTC
My system is FreeBSD 12.1-RELEASE-p1 (amd64).

I try to update GIM and gegl needs ports babl updated to 1.72 which doesn't works for me:

On FreeBSD 12.1-RELEASE=p1 (amd64) I cannot build update for babl:

../extensions/CIE.c:1079:13: warning: explicitly assigning value of
variable of type 'float' to itself [-Wself-assign] Y = Y;
          ~ ^ ~
../extensions/CIE.c:1133:13: warning: explicitly assigning value of
variable of type 'float' to itself [-Wself-assign] Y = Y;
          ~ ^ ~
../extensions/CIE.c:1186:13: warning: explicitly assigning value of
variable of type 'float' to itself [-Wself-assign] Y = Y;
          ~ ^ ~
../extensions/CIE.c:1241:13: warning: explicitly assigning value of
variable of type 'float' to itself [-Wself-assign] Y = Y;
          ~ ^ ~
../extensions/CIE.c:1294:13: warning: explicitly assigning value of
variable of type 'float' to itself [-Wself-assign] Y = Y;
          ~ ^ ~
../extensions/CIE.c:1347:13: warning: explicitly assigning value of
variable of type 'float' to itself [-Wself-assign] Y = Y;
          ~ ^ ~
6 warnings generated.
[51/188] cc -Iextensions/20ef773@@fast-float at sha -Iextensions
-I../extensions -I. -I../ -Ibabl -I../babl -Xclang -fcolor-diagnostics
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-Wdeclaration-after-statement -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse
-mfpmath=sse -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@fast-float at sha/fast-float.c.o' -MF
'extensions/20ef773@@fast-float at sha/fast-float.c.o.d' -o
'extensions/20ef773@@fast-float at sha/fast-float.c.o' -c
../extensions/fast-float.c [52/188] cc -Iextensions/20ef773@@double at sha
-Iextensions -I../extensions -I. -I../ -Ibabl -I../babl -Xclang
-fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-O3 -Ofast -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
-Wpointer-arith -mmmx -msse -mfpmath=sse -O2 -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -isystem
/usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@double at sha/double.c.o' -MF
'extensions/20ef773@@double at sha/double.c.o.d' -o
'extensions/20ef773@@double at sha/double.c.o' -c ../extensions/double.c
[53/188] cc -Iextensions/20ef773@@half at sha -Iextensions -I../extensions
-I. -I../ -Ibabl -I../babl -Xclang -fcolor-diagnostics -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-Wdeclaration-after-statement -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse
-mfpmath=sse -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@half at sha/half.c.o' -MF
'extensions/20ef773@@half at sha/half.c.o.d' -o
'extensions/20ef773@@half at sha/half.c.o' -c ../extensions/half.c
[54/188] cc -Iextensions/20ef773@@gegl-fixups at sha -Iextensions
-I../extensions -I. -I../ -Ibabl -I../babl -Xclang -fcolor-diagnostics
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-Wdeclaration-after-statement -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse
-mfpmath=sse -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@gegl-fixups at sha/gegl-fixups.c.o' -MF
'extensions/20ef773@@gegl-fixups at sha/gegl-fixups.c.o.d' -o
'extensions/20ef773@@gegl-fixups at sha/gegl-fixups.c.o' -c
../extensions/gegl-fixups.c [55/188] cc -Iextensions/20ef773@@float at sha
-Iextensions -I../extensions -I. -I../ -Ibabl -I../babl -Xclang
-fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-O3 -Ofast -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
-Wpointer-arith -mmmx -msse -mfpmath=sse -O2 -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -isystem
/usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@float at sha/float.c.o' -MF
'extensions/20ef773@@float at sha/float.c.o.d' -o
'extensions/20ef773@@float at sha/float.c.o' -c ../extensions/float.c
[56/188] /usr/local/bin/meson --internal exe --capture babl/babl.map --
/usr/local/bin/python3.7
/usr/ports/x11/babl/work/babl-0.1.72/gen_babl_map.py
/usr/ports/x11/babl/work/babl-0.1.72/export-symbols babl.map [57/188]
cc  -o babl/libbabl-0.1.so.0.171.1
'babl/4170c83@@babl-0.1 at sha/babl-cache.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-component.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-conversion.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-core.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-cpuaccel.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-db.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-extension.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-fish-path.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-fish-reference.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-fish-simple.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-fish.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-format.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-hash-table.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-icc.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-image.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-internal.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-introspect.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-list.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-memory.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-model.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-mutex.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-palette.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-polynomial.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-ref-pixels.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-sampling.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-sanity.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-space.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-trc.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-type.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-util.c.o'
'babl/4170c83@@babl-0.1 at sha/babl-version.c.o'
'babl/4170c83@@babl-0.1 at sha/babl.c.o' -Wl,--as-needed
-Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group
-Wl,-soname,libbabl-0.1.so.0 -Wl,--whole-archive
babl/base/libbabl_base.a -Wl,--no-whole-archive -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fstack-protector-strong
-Wl,--version-script,babl.map -lm -pthread -ldl
/usr/local/lib/liblcms2.so -Wl,--end-group [58/188] cc
-Iextensions/20ef773@@gggl-table-lies at sha -Iextensions -I../extensions
-I. -I../ -Ibabl -I../babl -Xclang -fcolor-diagnostics -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-Wdeclaration-after-statement -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse
-mfpmath=sse -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@gggl-table-lies at sha/gggl-table-lies.c.o' -MF
'extensions/20ef773@@gggl-table-lies at sha/gggl-table-lies.c.o.d' -o
'extensions/20ef773@@gggl-table-lies at sha/gggl-table-lies.c.o' -c
../extensions/gggl-table-lies.c [59/188] /usr/local/bin/g-ir-scanner
-I/usr/local/include/gobject-introspection-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -pthread -I/usr/local/lib/libffi-3.2.1/include
--no-libtool --namespace=Babl --nsversion=0.1 --warn-all --output
babl/Babl-0.1.gir --c-include=babl.h
'--identifier-filter-cmd=/usr/local/bin/python3.7
/usr/ports/x11/babl/work/babl-0.1.72/babl/identfilter.py'
-DBABL_IS_BEING_COMPILED -I/usr/ports/x11/babl/work/babl-0.1.72/babl
-I/usr/ports/x11/babl/work/babl-0.1.72/_build/babl -I./. -I../.
-I./babl/base/. -I../babl/base/.
--filelist=/usr/ports/x11/babl/work/babl-0.1.72/_build/babl/4170c83@@babl-0.1 at sha/Babl_0.1_gir_filelist
--cflags-begin -Ofast -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
-Wpointer-arith -mmmx -msse -mfpmath=sse -I./. -I../. -I./babl/base/.
-I../babl/base/. -I/usr/local/include --cflags-end --library babl-0.1
-L/usr/ports/x11/babl/work/babl-0.1.72/_build/babl -lm -ldl
-L/usr/local/lib -llcms2 FAILED: babl/Babl-0.1.gir
/usr/local/bin/g-ir-scanner
-I/usr/local/include/gobject-introspection-1.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -pthread -I/usr/local/lib/libffi-3.2.1/include
--no-libtool --namespace=Babl --nsversion=0.1 --warn-all --output
babl/Babl-0.1.gir --c-include=babl.h
'--identifier-filter-cmd=/usr/local/bin/python3.7
/usr/ports/x11/babl/work/babl-0.1.72/babl/identfilter.py'
-DBABL_IS_BEING_COMPILED -I/usr/ports/x11/babl/work/babl-0.1.72/babl
-I/usr/ports/x11/babl/work/babl-0.1.72/_build/babl -I./. -I../.
-I./babl/base/. -I../babl/base/.
--filelist=/usr/ports/x11/babl/work/babl-0.1.72/_build/babl/4170c83@@babl-0.1 at sha/Babl_0.1_gir_filelist
--cflags-begin -Ofast -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wold-style-definition
-Wpointer-arith -mmmx -msse -mfpmath=sse -I./. -I../. -I./babl/base/.
-I../babl/base/. -I/usr/local/include --cflags-end --library babl-0.1
-L/usr/ports/x11/babl/work/babl-0.1.72/_build/babl -lm -ldl
-L/usr/local/lib -llcms2 env: /usr/local/bin/python3.6: No such file or
directory [60/188] cc -Iextensions/20ef773@@gggl-table at sha -Iextensions
-I../extensions -I. -I../ -Ibabl -I../babl -Xclang -fcolor-diagnostics
-pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-Wdeclaration-after-statement -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse
-mfpmath=sse -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@gggl-table at sha/gggl-table.c.o' -MF
'extensions/20ef773@@gggl-table at sha/gggl-table.c.o.d' -o
'extensions/20ef773@@gggl-table at sha/gggl-table.c.o' -c
../extensions/gggl-table.c [61/188] cc
-Iextensions/20ef773@@gggl-lies at sha -Iextensions -I../extensions -I.
-I../ -Ibabl -I../babl -Xclang -fcolor-diagnostics -pipe
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -Ofast
-Wdeclaration-after-statement -Winit-self -Wmissing-declarations
-Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse
-mfpmath=sse -O2 -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -isystem /usr/local/include -fPIC -pthread -MD -MQ
'extensions/20ef773@@gggl-lies at sha/gggl-lies.c.o' -MF
'extensions/20ef773@@gggl-lies at sha/gggl-lies.c.o.d' -o
'extensions/20ef773@@gggl-lies at sha/gggl-lies.c.o' -c
../extensions/gggl-lies.c [62/188] /usr/local/bin/meson --internal
symbolextractor babl/libbabl-0.1.so.0.171.1
'babl/4170c83@@babl-0.1 at sha/libbabl-0.1.so.0.171.1.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/x11/babl
*** Error code 1

Stop.
make: stopped in /usr/ports/x11/babl

Thank you.
Comment 1 Ting-Wei Lan 2019-12-28 04:18:06 UTC
It seems that the build failure comes from this line:

env: /usr/local/bin/python3.6: No such file or directory

Your g-ir-scanner is probably still using Python 3.6 but you have removed Python 3.6 from your system. I think you have to rebuild devel/gobject-introspection, so it can switch to the current Python version installed on your system.
Comment 2 lumiwa 2019-12-28 10:22:01 UTC
Yes, it works.
Thank you.