Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 824542 - sys-apps/dchroot-0.12.1 - cc1: all warnings being treated as errors
Summary: sys-apps/dchroot-0.12.1 - cc1: all warnings being treated as errors
Status: RESOLVED DUPLICATE of bug 722920
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-18 14:24 UTC by Toralf Förster
Modified: 2022-06-11 05:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.38 KB, text/plain)
2021-11-18 14:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,279.51 KB, text/plain)
2021-11-18 14:24 UTC, Toralf Förster
Details
environment (environment,49.20 KB, text/plain)
2021-11-18 14:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.97 KB, application/x-bzip)
2021-11-18 14:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,1.28 KB, application/x-bzip)
2021-11-18 14:24 UTC, Toralf Förster
Details
sys-apps:dchroot-0.12.1:20211118-140859.log (sys-apps:dchroot-0.12.1:20211118-140859.log,3.29 KB, text/plain)
2021-11-18 14:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,13.21 KB, application/x-bzip)
2021-11-18 14: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 2021-11-18 14:24:45 UTC
      |                         ~~~~~~~~~~~^~~~~~
dchroot.c:265:35: note: destination object of size 0 allocated by ‘malloc’
  265 |                         command = malloc(sizeof(char) * command_len);
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:15: dchroot] Error 1
 * ERROR: sys-apps/dchroot-0.12.1::gentoo failed (compile phase):
 *   emake failed
 * 

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 100489c1985c5040ff7736b6dcb9927ac2885deb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Nov 18 12:36:35 2021 +0000

    2021-11-18 12:36:32 UTC

emerge -qpvO sys-apps/dchroot
[ebuild  N    ] sys-apps/dchroot-0.12.1
Comment 1 Toralf Förster gentoo-dev 2021-11-18 14:24:46 UTC
Created attachment 752590 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-18 14:24:48 UTC
Created attachment 752594 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-18 14:24:49 UTC
Created attachment 752598 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-11-18 14:24:50 UTC
Created attachment 752602 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-11-18 14:24:51 UTC
Created attachment 752606 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-18 14:24:52 UTC
Created attachment 752610 [details]
sys-apps:dchroot-0.12.1:20211118-140859.log
Comment 7 Toralf Förster gentoo-dev 2021-11-18 14:24:53 UTC
Created attachment 752614 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-11 05:50:13 UTC

*** This bug has been marked as a duplicate of bug 722920 ***
Comment 9 Larry the Git Cow gentoo-dev 2022-06-11 05:58:19 UTC
The bug has been referenced in the following commit(s):

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

commit 5dcd1282bb88bec17d5eed2f93f4ee73b4fff978
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 05:50:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-11 05:50:43 +0000

    sys-apps/dchroot: drop Werror
    
    Bug: https://bugs.gentoo.org/824542
    Closes: https://bugs.gentoo.org/722920
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/dchroot/dchroot-0.12.1.ebuild                |  9 +++++++--
 sys-apps/dchroot/files/dchroot-0.12.1-no-werror.patch | 13 +++++++++++++
 2 files changed, 20 insertions(+), 2 deletions(-)