tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HEADS UP: plan to switch many ports over to GCC 12 soon



On Sun, Jun 16, 2024 at 06:40:22AM +1000, Matthew Green wrote:
> enjoy and send-pr or email tech-toolchain@ for any issues.

Not sure if you're looking for these too, but I have three bigger
issues in pkgsrc with NetBSD userland with gcc 12 (the same packages
built in the last one or two weeks with gcc 10 in the same setup, I
ran a pbulk yesterday and have binary packages that are less than two
weeks old).

x11/gtk4:

[60/616] Generating gtk/Gdk-4.0.gir with a custom command (wrapped by meson to set env)
FAILED: gtk/Gdk-4.0.gir
env PKG_CONFIG_PATH=/scratch/x11/gtk4/work/gtk-4.14.4/output/meson-uninstalled PKG_CONFIG=/scratch/x11/gtk4/work/.tools/bin/pkg-config CC=gcc /usr/pkg/bin/g-ir-scanner --quiet --no-libtool --namespace=Gdk --nsversion=4.0 --warn-all --output gtk/Gdk-4.0.gir --c-include=gdk/gdk.h -DGTK_COMPILATION --quiet -I/scratch/x11/gtk4/work/gtk-4.14.4/gtk -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gtk -I/scratch/x11/gtk4/work/gtk-4.14.4/. -I/scratch/x11/gtk4/work/gtk-4.14.4/output/. -I/scratch/x11/gtk4/work/gtk-4.14.4/gdk/. -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gdk/. -I/scratch/x11/gtk4/work/gtk-4.14.4/gsk -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gsk -I/scratch/x11/gtk4/work/gtk-4.14.4/gtk -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gtk -I/scratch/x11/gtk4/work/gtk-4.14.4/gdk/x11 -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gdk/x11 -I/scratch/x11/gtk4/work/gtk-4.14.4/gdk/. -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gdk/. --filelist=/scratch/x11/gtk4/work/gtk-4.14.4/output/gtk/libgtk-4.so.1.1400.4.p/Gdk_4.0_gir_filelist --include=cairo-1.0 --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --include=PangoCairo-1.0 --symbol-prefix=gdk --identifier-prefix=Gdk --pkg-export=gtk4 --cflags-begin -DG_LOG_USE_STRUCTURED=1 -DGLIB_DISABLE_DEPRECATION_WARNINGS '-DGTK_VERSION="4.14.4"' -D_GNU_SOURCE -I/scratch/x11/gtk4/work/gtk-4.14.4/. -I/scratch/x11/gtk4/work/gtk-4.14.4/output/. -I/scratch/x11/gtk4/work/gtk-4.14.4/gdk/. -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gdk/. -I/scratch/x11/gtk4/work/gtk-4.14.4/gsk -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gsk -I/scratch/x11/gtk4/work/gtk-4.14.4/gtk -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gtk -I/scratch/x11/gtk4/work/gtk-4.14.4/gdk/x11 -I/scratch/x11/gtk4/work/gtk-4.14.4/output/gdk/x11 -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/fribidi -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng16 -I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/libdrm -I/usr/pkg/include/graphene-1.0 -I/usr/pkg/lib/graphene-1.0/include -I/usr/pkg/include/gobject-introspection-1.0 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -I/usr/pkg/include/gstreamer-1.0 -I/usr/pkg/include -I/usr/include/krb5 -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libdrm -I/usr/pkg/include/gstreamer-1.0 --cflags-end --add-include-path=/usr/pkg/share/gir-1.0 -L/scratch/x11/gtk4/work/gtk-4.14.4/output/gtk --library gtk-4 -L/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib --extra-library=gmodule-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=cairo --extra-library=fribidi --extra-library=cairo-gobject --extra-library=fontconfig --extra-library=freetype --extra-library=gdk_pixbuf-2.0 --extra-library=epoxy --extra-library=m --extra-library=graphene-1.0 --extra-library=Xi --extra-library=X11 --extra-library=pangoft2-1.0 --extra-library=drm --extra-library=png16 --extra-library=tiff --extra-library=jpeg --extra-library=Xrender --extra-library=Xext --extra-library=Xcursor --extra-library=Xdamage --extra-library=Xfixes --extra-library=Xrandr --extra-library=Xinerama --extra-library=cairo-script-interpreter --extra-library=girepository-1.0 --sources-top-dirs /scratch/x11/gtk4/work/gtk-4.14.4/ --sources-top-dirs /scratch/x11/gtk4/work/gtk-4.14.4/output/
Command '['/scratch/x11/gtk4/work/gtk-4.14.4/output/tmp-introspectha9mknqu/Gdk-4.0', '--introspect-dump=/scratch/x11/gtk4/work/gtk-4.14.4/output/tmp-introspectha9mknqu/functions.txt,/scratch/x11/gtk4/work/gtk-4.14.4/output/tmp-introspectha9mknqu/dump.xml']' died with <Signals.SIGSEGV: 11>.
[75/616] Compiling C object testsuite/gdk/array.p/array.c.o
ninja: build stopped: subcommand failed.

x11/qt5-qtwebengine:


FAILED: gen/third_party/devtools-frontend/src/front_end/main/main.js
/scratch/x11/qt5-qtwebengine/work/.buildlink/bin/python ../../3rdparty/chromium/third_party/node/node.py ../../3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup --silent --plugin terser --config ../../3rdparty/chromium/third_party/devtools-frontend/src/front_end/rollup.config.js --input gen/third_party/devtools-frontend/src/front_end/main/main.prebundle.js --file gen/third_party/devtools-frontend/src/front_end/main/main.js
Traceback (most recent call last):
  File "/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/core/release/../../3rdparty/chromium/third_party/node/node.py", line 64, in <module>
    RunNode(sys.argv[1:])
  File "/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/core/release/../../3rdparty/chromium/third_party/node/node.py", line 59, in RunNode
    raise RuntimeError('%s failed: %s' % (cmd, stderr))
RuntimeError: ['/usr/pkg/bin/node', '../../3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/bin/rollup', '--silent', '--plugin', 'terser', '--config', '../../3rdparty/chromium/third_party/devtools-frontend/src/front_end/rollup.config.js', '--input', 'gen/third_party/devtools-frontend/src/front_end/main/main.prebundle.js', '--file', 'gen/third_party/devtools-frontend/src/front_end/main/main.js'] failed: b'Error: write EPIPE\n    at ChildProcess.target._send (node:internal/child_process:879:20)\n    at ChildProcess.target.send (node:internal/child_process:752:19)\n    at ChildProcessWorker.initialize (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/jest-worker/build/workers/ChildProcessWorker.js:181:11)\n    at new ChildProcessWorker (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/jest-worker/build/workers/ChildProcessWorker.js:127:10)\n    at WorkerPool.createWorker (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/jest-worker/build/WorkerPool.js:44:12)\n    at new BaseWorkerPool (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/jest-worker/build/base/BaseWorkerPool.js:82:27)\n    at new WorkerPool (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/jest-worker/build/WorkerPool.js:30:1)\n    at new JestWorker (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/jest-worker/build/index.js:131:26)\n    at Object.renderChunk (/scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup-plugin-terser/index.js:24:23)\n    at /scratch/x11/qt5-qtwebengine/work/qtwebengine-everywhere-src-5.15.14/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules/rollup/dist/shared/rollup.js:17480:25\n'

lang/ghc98:

===> Command failed with error code: 1
[ 1 of 14] Compiling GHC.Types        ( libraries/ghc-prim/GHC/Types.hs, nothing )
[ 2 of 14] Compiling GHC.Prim.PtrEq   ( libraries/ghc-prim/GHC/Prim/PtrEq.hs, nothing )
[ 3 of 14] Compiling GHC.Prim.Ext     ( libraries/ghc-prim/GHC/Prim/Ext.hs, nothing )
[ 4 of 14] Compiling GHC.Prim.Exception ( libraries/ghc-prim/GHC/Prim/Exception.hs, nothing )
[ 5 of 14] Compiling GHC.Prim         ( _build/stage1/libraries/ghc-prim/build/GHC/Prim.hs, nothing )
[ 6 of 14] Compiling GHC.Magic.Dict   ( libraries/ghc-prim/GHC/Magic/Dict.hs, nothing )
[ 7 of 14] Compiling GHC.Magic        ( libraries/ghc-prim/GHC/Magic.hs, nothing )
[ 8 of 14] Compiling GHC.Prim.Panic   ( libraries/ghc-prim/GHC/Prim/Panic.hs, nothing )
[ 9 of 14] Compiling GHC.CString      ( libraries/ghc-prim/GHC/CString.hs, nothing )
[10 of 14] Compiling GHC.Tuple.Prim   ( libraries/ghc-prim/GHC/Tuple/Prim.hs, nothing )
[11 of 14] Compiling GHC.Tuple        ( libraries/ghc-prim/GHC/Tuple.hs, nothing )
[12 of 14] Compiling GHC.PrimopWrappers ( _build/stage1/libraries/ghc-prim/build/GHC/PrimopWrappers.hs, nothing )
[13 of 14] Compiling GHC.Debug        ( libraries/ghc-prim/GHC/Debug.hs, nothing )
[14 of 14] Compiling GHC.Classes      ( libraries/ghc-prim/GHC/Classes.hs, nothing )
haddock: internal error: Data.Text.Internal.Fusion.Common.index: Index too large
CallStack (from HasCallStack):
  error, called at libraries/text/src/Data/Text/Internal/Fusion/Common.hs:1189:24 in text-2.1.1-inplace:Data.Text.Internal.Fusion.Common
  streamError, called at libraries/text/src/Data/Text/Internal/Fusion/Common.hs:1089:33 in text-2.1.1-inplace:Data.Text.Internal.Fusion.Common
  indexI, called at libraries/text/src/Data/Text/Internal/Fusion.hs:249:9 in text-2.1.1-inplace:Data.Text.Internal.Fusion
  index, called at libraries/text/src/Data/Text.hs:1763:13 in text-2.1.1-inplace:Data.Text
  index, called at utils/haddock/haddock-library/src/Documentation/Haddock/Parser.hs:456:17 in haddock-2.30.0-inplace:Documentation.Haddock.Parser
Error when running Shake build system:
  at want, called at src/Main.hs:124:44 in main:Main
* Depends on: docs
  at need, called at src/Rules/Documentation.hs:129:9 in main:Rules.Documentation
* Depends on: _build/doc/archives/libraries.html.tar.xz
  at need, called at src/Rules/Documentation.hs:377:9 in main:Rules.Documentation
* Depends on: _build/doc/html/libraries/index.html
  at need, called at src/Rules/Documentation.hs:231:9 in main:Rules.Documentation
* Depends on: _build/doc/html/libraries/ghc-prim-0.11.0-inplace/ghc-prim.haddock
  at cmd', called at src/Builder.hs:413:5 in main:Builder
  at cmdArgs, called at src/Builder.hs:566:8 in main:Builder
  at cmdArgs, called at src/Builder.hs:590:18 in main:Builder
  at cmdArgs, called at src/Builder.hs:590:18 in main:Builder
  at cmdArgs, called at src/Builder.hs:590:18 in main:Builder
  at cmdArgs, called at src/Builder.hs:590:18 in main:Builder
  at error, called at src/Builder.hs:635:13 in main:Builder
* Raised the exception:
Command failed

 Thomas


Home | Main Index | Thread Index | Old Index