Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855386 - app-misc/vifm-0.12 - cc1: all warnings being treated as errors
Summary: app-misc/vifm-0.12 - cc1: all warnings being treated as errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: werror
  Show dependency tree
 
Reported: 2022-06-30 17:53 UTC by Toralf Förster
Modified: 2022-06-30 18:44 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.97 KB, text/plain)
2022-06-30 17:53 UTC, Toralf Förster
Details
app-misc:vifm-0.12:20220630-173807.log (app-misc:vifm-0.12:20220630-173807.log,55.73 KB, text/plain)
2022-06-30 17:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,110.20 KB, text/plain)
2022-06-30 17:53 UTC, Toralf Förster
Details
environment (environment,79.37 KB, text/plain)
2022-06-30 17:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.23 KB, application/x-bzip)
2022-06-30 17:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.37 KB, application/x-bzip)
2022-06-30 17:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.37 KB, application/x-bzip)
2022-06-30 17:53 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 2022-06-30 17:53:01 UTC
menus/media_menu.c:203:17: note: call to free’ here
  203 |                 free(cmd);
      |                 ^~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build-aux   -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O2 -Wall -pthread -g -O0 -Werror -Werror=sign-compare -Wno-unused-parameter  -include ../build-aux/config.h -c -o menus/undolist_menu.o menus/undolist_menu.c
cc1: all warnings being treated as errors
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../build-aux   -I/usr/include/ncursesw  -pipe -march=native -fno-diagnostics-color -O2 -Wall -pthread -g -O0 -Werror -Werror=sign-compare -Wno-unused-parameter  -include ../build-aux/config.h -c -o menus/users_menu.o menus/users_menu.c
make[1]: *** [Makefile:1825: menus/media_menu.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220629-180004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.9.13
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 34a361c0f4c3b4891dafed80cc29c4332ccb2afe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jun 30 17:16:29 2022 +0000

    2022-06-30 17:16:29 UTC

emerge -qpvO app-misc/vifm
[ebuild  N    ] app-misc/vifm-0.12  USE="developer extended-keys magic vim-syntax -X -gtk -vim"
Comment 1 Toralf Förster gentoo-dev 2022-06-30 17:53:02 UTC
Created attachment 788996 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-30 17:53:03 UTC
Created attachment 788999 [details]
app-misc:vifm-0.12:20220630-173807.log
Comment 3 Toralf Förster gentoo-dev 2022-06-30 17:53:05 UTC
Created attachment 789002 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-30 17:53:06 UTC
Created attachment 789005 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-30 17:53:07 UTC
Created attachment 789008 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-30 17:53:08 UTC
Created attachment 789011 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-30 17:53:09 UTC
Created attachment 789014 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-30 18:40:09 UTC
Huh.

commit 685cd8ea2008fd7c7b28b0e35057da2d5788686d
Author: Sam James <sam@gentoo.org>
Date:   Sat Jun 11 06:28:48 2022 +0100

    app-misc/vifm: drop Werror

    Closes: https://bugs.gentoo.org/828083
    Signed-off-by: Sam James <sam@gentoo.org>
Comment 9 Larry the Git Cow gentoo-dev 2022-06-30 18:44:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a412add73ba733143a30d9c96de2898f2fa6600

commit 1a412add73ba733143a30d9c96de2898f2fa6600
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-30 18:43:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-30 18:44:01 +0000

    app-misc/vifm: drop developer flag (just Werror, -O0)
    
    Closes: https://bugs.gentoo.org/855386
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/vifm/vifm-0.12.ebuild | 6 ++++--
 app-misc/vifm/vifm-9999.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 3 deletions(-)