Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FWD: gentoo bug 807658 - media-gfx/rawtherapee-5.8 - /.../wchar.h: error: malloc attribute argument 1 is ambiguous #6333

Closed
vivo75 opened this issue Aug 11, 2021 · 1 comment

Comments

@vivo75
Copy link

vivo75 commented Aug 11, 2021

For your interest forwarding a bug found by Toralf Förster automated builds against glibc-2.34
Full report is here: https://bugs.gentoo.org/807658

[88/284] /usr/bin/x86_64-pc-linux-gnu-g++ -DAUTO_GDK_FLUSH=0 -DMYFILE_MMAP -DNDEBUG -DRT_FFTW3F_OMP -DSTRICT_MUTEX=1 -DTRACE_MYRWMUTEX=0 -D_DNDEBUG -I/var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8_build/rtengine -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/libiptcdata -I/usr/include/lensfun -I/usr/include/librsvg-2.0  -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -std=c++11  -Werror=unused-label -Werror=delete-incomplete -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -fopenmp -Werror=unknown-pragmas -ftree-vectorize -MD -MT rtengine/CMakeFiles/rtengine.dir/myfile.cc.o -MF rtengine/CMakeFiles/rtengine.dir/myfile.cc.o.d -o rtengine/CMakeFiles/rtengine.dir/myfile.cc.o -c /var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8/rtengine/myfile.cc
FAILED: rtengine/CMakeFiles/rtengine.dir/myfile.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DAUTO_GDK_FLUSH=0 -DMYFILE_MMAP -DNDEBUG -DRT_FFTW3F_OMP -DSTRICT_MUTEX=1 -DTRACE_MYRWMUTEX=0 -D_DNDEBUG -I/var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8_build/rtengine -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/lib64/libffi/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/libiptcdata -I/usr/include/lensfun -I/usr/include/librsvg-2.0  -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -std=c++11  -Werror=unused-label -Werror=delete-incomplete -Wall -Wuninitialized -Wcast-qual -Wno-deprecated-declarations -Wno-unused-result -fopenmp -Werror=unknown-pragmas -ftree-vectorize -MD -MT rtengine/CMakeFiles/rtengine.dir/myfile.cc.o -MF rtengine/CMakeFiles/rtengine.dir/myfile.cc.o.d -o rtengine/CMakeFiles/rtengine.dir/myfile.cc.o -c /var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8/rtengine/myfile.cc
In file included from /usr/include/features.h:488,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/x86_64-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/x86_64-pc-linux-gnu/bits/c++config.h:586,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include/g++-v11/cstdio:41,
                 from /var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8/rtengine/myfile.h:21,
                 from /var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8/rtengine/myfile.cc:19:
/usr/include/wchar.h:582:24: error: ‘malloc’ attribute argument 1 is ambiguous
  582 |   __attribute_malloc__ __attr_dealloc_fclose;
      |                        ^~~~~~~~~~~~~~~~~~~~~
/usr/include/wchar.h:582:24: note: use a cast to the expected type to disambiguate
@Floessie
Copy link
Collaborator

Already reported and fixed in #6324.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants