Summary: | graphics/gdk-pixbuf2: Build fails when value of WRKDIRPREFIX matches '^/usr[^/]+(/[^/]+)*$' | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Yasuhiro Kimura <yasu> |
Component: | Individual Port(s) | Assignee: | freebsd-gnome (Nobody) <gnome> |
Status: | Closed DUPLICATE | ||
Severity: | Affects Only Me | CC: | ajacoutot, gergely.czuczy, riggs, w.schwarzenfeld |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gnome) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234784 |
Description
Yasuhiro Kimura
2018-10-05 01:50:06 UTC
(In reply to Yasuhiro KIMURA from comment #0) > After ports r480951 build fails when value of WRKDIRPREFIX matches '^/usr.+(/.+)*$'. This pattern is wrong. Correct one is '^/usr[^/]+(/[^/]+)*$'. I'm also getting this on 13-CURRENT on aarch64: Failing build line: cc -Itests/tests@@cve-2015-4491@exe -Itests -I../tests -I. -I../ -Igdk-pixbuf -I../gdk-pixbuf -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -pthread -Wpointer-arith -Wformat=2 -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -fno-strict-aliasing -Wno-int-conversion -Wno-uninitialized -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=empty-body -fvisibility=hidden -MD -MQ 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o' -MF 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o.d' -o 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o' -c tests/resources.c cc: error: no such file or directory: 'tests/resources.c' cc: error: no input files All config options are unchecked. The complete failing section. Something else is failing as well: ===> Building for gdk-pixbuf2-2.36.12 [1/72] /usr/local/bin/g-ir-compiler gdk-pixbuf/GdkPixbuf-2.0.gir --output gdk-pixbuf/GdkPixbuf-2.0.typelib [2/72] /usr/bin/env python3 /usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/build-aux/gen-resources.py --pixdata=/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/_build/gdk-pixbuf/gdk-pixbuf-pixdata --loaders=/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/_build/gdk-pixbuf/loaders.cache --sourcedir=/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests --source ../tests/resources.gresource.xml tests/resources.c failed to load "/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests/icc-profile.png": Couldn?t recognize the image file format for file ?/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests/icc-profile.png? ../tests/resources.gresource.xml: Child process exited with code 1. [3/72] /usr/bin/env python3 /usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/build-aux/gen-resources.py --pixdata=/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/_build/gdk-pixbuf/gdk-pixbuf-pixdata --loaders=/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/_build/gdk-pixbuf/loaders.cache --sourcedir=/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests --header ../tests/resources.gresource.xml tests/resources.h failed to load "/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests/icc-profile.png": Couldn?t recognize the image file format for file ?/usr/ports/graphics/gdk-pixbuf2/work/gdk-pixbuf-2.36.12/tests/icc-profile.png? ../tests/resources.gresource.xml: Child process exited with code 1. [4/72] cc -Itests/tests@@cve-2015-4491@exe -Itests -I../tests -I. -I../ -Igdk-pixbuf -I../gdk-pixbuf -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -pthread -Wpointer-arith -Wformat=2 -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -fno-strict-aliasing -Wno-int-conversion -Wno-uninitialized -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=empty-body -fvisibility=hidden -MD -MQ 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o' -MF 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o.d' -o 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o' -c tests/resources.c FAILED: tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o cc -Itests/tests@@cve-2015-4491@exe -Itests -I../tests -I. -I../ -Igdk-pixbuf -I../gdk-pixbuf -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -O2 -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -pthread -Wpointer-arith -Wformat=2 -Wstrict-prototypes -Wnested-externs -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wcast-align -Wmissing-noreturn -Wmissing-format-attribute -fno-strict-aliasing -Wno-int-conversion -Wno-uninitialized -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=empty-body -fvisibility=hidden -MD -MQ 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o' -MF 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o.d' -o 'tests/tests@@cve-2015-4491@exe/meson-generated_.._resources.c.o' -c tests/resources.c cc: error: no such file or directory: 'tests/resources.c' cc: error: no input files ninja: build stopped: subcommand failed. *** Error code 1 (In reply to gergely.czuczy from comment #3) This one is not related to the WRKDIRPRFIX issue, but a concurrency problem. Have a look at bug #234784. I have described a workaround that happened to work on my machine. *** This bug has been marked as a duplicate of bug 234784 *** |