Date: Wed, 23 Oct 2024 16:31:12 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 279692] '#include <csetjmp>' is broken: error: "If libc++ starts defining <setjmp.h>, the __has_include check should move to libc++'s <setjmp.h>" Message-ID: <bug-279692-29464-GLqaTQz3SG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-279692-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-279692-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279692 bagas <bagas1983@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bagas1983@mail.ru --- Comment #12 from bagas <bagas1983@mail.ru> --- I get a similar error when installing the libheif port. How can I fix it? My system FreeBSD 14.1-RELEASE-p5 amd64 root@test_site:/usr/ports/graphics/libheif # make MAKE_JOBS_UNSAFE=3Dyes in= stall clean =3D=3D=3D> Building for libheif-1.18.2 [ 6% 1/15] /usr/bin/c++ -DENABLE_MULTITHREADING_SUPPORT=3D1 -DENABLE_PARALLEL_TILE_DECODING=3D1 -DENABLE_PLUGIN_LOADING=3D1 -DHAVE_AOM_DECODER=3D1 -DHAVE_AOM_ENCODER=3D1 -DHAVE_FFMPEG_DECODER=3D1 -DHAVE_JPEG_DECODER=3D1 -DHAVE_JPEG_ENCODER=3D1 -DHAVE_LIBSHARPYUV=3D1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=3D1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/usr/ports/graphics/libheif/work/.build -I/usr/ports/graphics/libheif/work/libheif-1.18.2/libheif -I/usr/ports/graphics/libheif/work/libheif-1.18.2/libheif/api -I/usr/ports/graphics/libheif/work/libheif-1.18.2/include/libheif -I/usr/ports/graphics/libheif/work/libheif-1.18.2/include -I/usr/local/include/webp -O2 -pipe -march=3Dnocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/inclu= de -O2 -pipe -march=3Dnocona -fstack-protector-strong -isystem /usr/local/incl= ude -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=3Dc++11 -f= PIC -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=3Dconversion -Wno-error=3Dunused-parameter -Wno-error=3Ddeprecated-declarations -Wno-error=3Dtautological-compare -Wno-error=3Dtautological-constant-out-of-range-compare -Wno-error=3Dpotentially-evaluated-expression -MD -MT libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o -MF libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o.d -o libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o -c /usr/ports/graphics/libheif/work/libheif-1.18.2/libheif/plugins/encoder_jpe= g.cc FAILED: libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o=20 /usr/bin/c++ -DENABLE_MULTITHREADING_SUPPORT=3D1 -DENABLE_PARALLEL_TILE_DECODING=3D1 -DENABLE_PLUGIN_LOADING=3D1 -DHAVE_AOM_DECODER=3D1 -DHAVE_AOM_ENCODER=3D1 -DHAVE_FFMPEG_DECODER=3D1 -DHAVE_JPEG_DECODER=3D1 -DHAVE_JPEG_ENCODER=3D1 -DHAVE_LIBSHARPYUV=3D1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=3D1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/usr/ports/graphics/libheif/work/.build -I/usr/ports/graphics/libheif/work/libheif-1.18.2/libheif -I/usr/ports/graphics/libheif/work/libheif-1.18.2/libheif/api -I/usr/ports/graphics/libheif/work/libheif-1.18.2/include/libheif -I/usr/ports/graphics/libheif/work/libheif-1.18.2/include -I/usr/local/include/webp -O2 -pipe -march=3Dnocona -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/inclu= de -O2 -pipe -march=3Dnocona -fstack-protector-strong -isystem /usr/local/incl= ude -fno-strict-aliasing -isystem /usr/local/include -DNDEBUG -std=3Dc++11 -f= PIC -fvisibility=3Dhidden -fvisibility-inlines-hidden -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=3Dconversion -Wno-error=3Dunused-parameter -Wno-error=3Ddeprecated-declarations -Wno-error=3Dtautological-compare -Wno-error=3Dtautological-constant-out-of-range-compare -Wno-error=3Dpotentially-evaluated-expression -MD -MT libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o -MF libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o.d -o libheif/CMakeFiles/heif.dir/plugins/encoder_jpeg.cc.o -c /usr/ports/graphics/libheif/work/libheif-1.18.2/libheif/plugins/encoder_jpe= g.cc In file included from /usr/ports/graphics/libheif/work/libheif-1.18.2/libheif/plugins/encoder_jpe= g.cc:30: /usr/include/c++/v1/csetjmp:40:6: error: "If libc++ starts defining <setjmp= .h>, the __has_include check should move to libc++'s <setjmp.h>" 40 | # error "If libc++ starts defining <setjmp.h>, the __has_include check should move to libc++'s <setjmp.h>" | ^ 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/ports/graphics/libheif *** Error code 1 Stop. make: stopped in /usr/ports/graphics/libheif --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279692-29464-GLqaTQz3SG>