Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807658 - media-gfx/rawtherapee-5.8 - /.../wchar.h: error: malloc attribute argument 1 is ambiguous
Summary: media-gfx/rawtherapee-5.8 - /.../wchar.h: error: malloc attribute argument 1 ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Francesco Riosa
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.34
  Show dependency tree
 
Reported: 2021-08-11 07:08 UTC by Toralf Förster
Modified: 2021-08-11 15:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.19 KB, text/plain)
2021-08-11 07:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,334.02 KB, text/plain)
2021-08-11 07:08 UTC, Toralf Förster
Details
environment (environment,91.25 KB, text/plain)
2021-08-11 07:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,36.83 KB, application/x-bzip)
2021-08-11 07:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.74 KB, application/x-bzip)
2021-08-11 07:08 UTC, Toralf Förster
Details
media-gfx:rawtherapee-5.8:20210810-204612.log (media-gfx:rawtherapee-5.8:20210810-204612.log,171.60 KB, text/plain)
2021-08-11 07:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.47 KB, application/x-bzip)
2021-08-11 07:08 UTC, Toralf Förster
Details
RT-bug807658.patch (RT-bug807658.patch,32.46 KB, text/x-diff)
2021-08-11 14:21 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-08-11 07:08:13 UTC
[89/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/panasonic_decoders.cc.o -MF rtengine/CMakeFiles/rtengine.dir/panasonic_decoders.cc.o.d -o rtengine/CMakeFiles/rtengine.dir/panasonic_decoders.cc.o -c /var/tmp/portage/media-gfx/rawtherapee-5.8/work/rawtherapee-5.8/rtengine/panasonic_decoders.cc

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j3_test-20210805-210811

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 3f437efcbe29222b8ba16ba06c3dbe62c35686e8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 10 19:07:54 2021 +0000

    2021-08-10 19:07:54 UTC

emerge -qpvO media-gfx/rawtherapee
[ebuild  N    ] media-gfx/rawtherapee-5.8  USE="openmp -tcmalloc"
Comment 1 Toralf Förster gentoo-dev 2021-08-11 07:08:15 UTC
Created attachment 732100 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-11 07:08:16 UTC
Created attachment 732103 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-11 07:08:18 UTC
Created attachment 732106 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-11 07:08:19 UTC
Created attachment 732109 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-11 07:08:20 UTC
Created attachment 732112 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-11 07:08:22 UTC
Created attachment 732115 [details]
media-gfx:rawtherapee-5.8:20210810-204612.log
Comment 7 Toralf Förster gentoo-dev 2021-08-11 07:08:23 UTC
Created attachment 732118 [details]
temp.tar.bz2
Comment 8 Francesco Riosa 2021-08-11 13:17:30 UTC
forwarded upstream:
https://github.com/Beep6581/RawTherapee/issues/6333
Comment 9 Francesco Riosa 2021-08-11 13:47:20 UTC
and fixed in 
https://github.com/Beep6581/RawTherapee/issues/6324
Comment 10 Francesco Riosa 2021-08-11 14:21:33 UTC
Created attachment 732274 [details]
RT-bug807658.patch

media-gfx/rawtherapee: import some fedora patches to fix gcc:11 compilation

GCC 11 in combination with glibc-2.34 braek overloading some functions
see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101747

Closes: https://bugs.gentoo.org/807658

Add a 5.8-r1 ebuild and two patches already applied by Fedora

Be warned, I'm not using a Gentoo desktop at the moment, so only compile test has been done
Comment 11 Larry the Git Cow gentoo-dev 2021-08-11 15:18:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e84258847804bd1073a078b1a5881accad9d2ee

commit 5e84258847804bd1073a078b1a5881accad9d2ee
Author:     Francesco Riosa <vivo75@gmail.com>
AuthorDate: 2021-08-11 15:09:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2021-08-11 15:18:18 +0000

    media-gfx/rawtherapee: import some fedora patches to fix gcc:11 comp
    
    GCC 11 in combination with glibc-2.34 braek overloading some functions
    see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101747
    
    Closes: https://bugs.gentoo.org/807658
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-gfx/rawtherapee/files/RT_5.8_fix_crop.patch | 221 +++++++
 media-gfx/rawtherapee/files/RT_5.8_glibc234.patch | 683 ++++++++++++++++++++++
 media-gfx/rawtherapee/rawtherapee-5.8-r1.ebuild   |  78 +++
 3 files changed, 982 insertions(+)