Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918908 - media-sound/alsa-scarlett-gui-0.3.3-r1 - adds -Werror in its own -> error: "_FORTIFY_SOURCE" redefined
Summary: media-sound/alsa-scarlett-gui-0.3.3-r1 - adds -Werror in its own -> error: "_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason A. Donenfeld
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-30 17:24 UTC by Toralf Förster
Modified: 2024-03-30 09:22 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.13 KB, text/plain)
2023-11-30 17:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.24 KB, text/plain)
2023-11-30 17:24 UTC, Toralf Förster
Details
environment (environment,23.69 KB, text/plain)
2023-11-30 17:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.07 KB, application/x-xz)
2023-11-30 17:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.28 KB, application/x-xz)
2023-11-30 17:24 UTC, Toralf Förster
Details
media-sound:alsa-scarlett-gui-0.3.2.0.0.20231129:20231130-000415.log (media-sound:alsa-scarlett-gui-0.3.2.0.0.20231129:20231130-000415.log,6.50 KB, text/plain)
2023-11-30 17:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,54.41 KB, application/x-xz)
2023-11-30 17:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-11-30 17:24:07 UTC
In file included from /usr/include/gtk-4.0/gtk/gtk.h:189,
                 from error.h:6,
                 from error.c:4:
/usr/include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h:81:12: note: declared here
   81 | GtkWidget* gtk_message_dialog_new      (GtkWindow      *parent,
      |            ^~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
make: *** [Makefile:40: about.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-20231125-151036

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 7c1c53e97d0662024ae8b1eae614491c032f28df
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 29 22:47:03 2023 +0000

    2023-11-29 22:47:02 UTC

emerge -qpvO media-sound/alsa-scarlett-gui
[ebuild  N    ] media-sound/alsa-scarlett-gui-0.3.2.0.0.20231129
Comment 1 Toralf Förster gentoo-dev 2023-11-30 17:24:08 UTC
Created attachment 875957 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-30 17:24:09 UTC
Created attachment 875958 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-30 17:24:10 UTC
Created attachment 875959 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-30 17:24:11 UTC
Created attachment 875960 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-30 17:24:12 UTC
Created attachment 875961 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-30 17:24:13 UTC
Created attachment 875962 [details]
media-sound:alsa-scarlett-gui-0.3.2.0.0.20231129:20231130-000415.log
Comment 7 Toralf Förster gentoo-dev 2023-11-30 17:24:14 UTC
Created attachment 875963 [details]
qlist-info.txt.xz
Comment 8 Jason A. Donenfeld gentoo-dev 2023-12-01 20:09:28 UTC
Hm. I'm seeing, for example:

cc -MT file.o -MMD -MP -MF .deps/file.d -march=native -fomit-frame-pointer -O2 -pipe -Wall -Werror -D_FORTIFY_SOURCE=2 -DVERSION=\"Unknown\" -Wno-error=deprecated-declarations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/graphene-1.0 -I/usr/lib64/graphene-1.0/include -mfpmath=sse -msse -msse2 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/fribidi -pthread -I/usr/include/libmount  -c -o file.o file.c
file.c: In function ‘add_state_filter’:
file.c:65:3: warning: ‘gtk_file_chooser_add_filter’ is deprecated [-Wdeprecated-declarations]
   65 |   gtk_file_chooser_add_filter(GTK_FILE_CHOOSER(native), filter);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-4.0/gtk/gtk.h:128,
                 from alsa.h:7,
                 from file.c:4:
/usr/include/gtk-4.0/gtk/deprecated/gtkfilechooser.h:136:22: note: declared here
  136 | void                 gtk_file_chooser_add_filter          (GtkFileChooser       *chooser,
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~


Is there something wrong with `-Wno-error=deprecated-declarations` on your machine? Or did this get fixed otherwise with the recent bump?
Comment 9 Agostino Sarubbo gentoo-dev 2024-02-10 14:44:20 UTC
tinderbox_musl has reproduced this issue with version 0.3.3-r1 - Updating summary.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-30 09:22:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0523d4eea9887ae0a160560f2b913b9a3724ddca

commit 0523d4eea9887ae0a160560f2b913b9a3724ddca
Author:     Miroslav Šulc <fordfrog@gentoo.org>
AuthorDate: 2024-03-30 09:22:18 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-03-30 09:22:18 +0000

    media-sound/alsa-scarlett-gui: bump to 0.4.0, dropped 0.3.3-r1
    
    Closes: https://bugs.gentoo.org/925843
    Closes: https://bugs.gentoo.org/918908
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/alsa-scarlett-gui/Manifest             |  2 +-
 ....3-r1.ebuild => alsa-scarlett-gui-0.4.0.ebuild} |  8 ++++--
 .../files/alsa-scarlett-gui-0.3.3-cflags.patch     | 32 ---------------------
 .../files/alsa-scarlett-gui-0.3.3-fabs.patch       | 33 ----------------------
 .../files/alsa-scarlett-gui-0.4.0-no-Werror.patch  | 11 ++++++++
 5 files changed, 17 insertions(+), 69 deletions(-)