Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871204 - media-sound/flac123-0.0.12 - remote.c: error: flac123.c:132:19: warning: using the result of an assignment as a condition
Summary: media-sound/flac123-0.0.12 - remote.c: error: flac123.c:132:19: warning: usin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 871483 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 09:15 UTC by Toralf Förster
Modified: 2022-10-13 07:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2022-09-18 09:15 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.02 KB, application/x-bzip)
2022-09-18 09:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,209.72 KB, text/plain)
2022-09-18 09:15 UTC, Toralf Förster
Details
environment (environment,75.75 KB, text/plain)
2022-09-18 09:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.03 KB, application/x-bzip)
2022-09-18 09:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.80 KB, application/x-bzip)
2022-09-18 09:15 UTC, Toralf Förster
Details
media-sound:flac123-0.0.12:20220918-091449.log (media-sound:flac123-0.0.12:20220918-091449.log,8.94 KB, text/plain)
2022-09-18 09:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.79 KB, application/x-bzip)
2022-09-18 09:16 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-09-18 09:15:50 UTC
too long lines were shrinked:

make -j4 
clang -DPACKAGE_NAME=\"flac123\" -DPACKAGE_TARNAME=\"flac123\" -DPACKAGE_VERSION=\"0.0.12\" -DPACKAGE_STRING=\"flac123\ 0.0.12\" -DPACKAGE_BUGREPORT=\"hoesterholt-at-users-dot-sourceforge-dot-net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flac123\" -DVERSION=\"0.0.12\" -DAUDIO_DEFAULT=\"oss\" -DHAVE_DLOPEN=1 
clang -DPACKAGE_NAME=\"flac123\" -DPACKAGE_TARNAME=\"flac123\" -DPACKAGE_VERSION=\"0.0.12\" -DPACKAGE_STRING=\"flac123\ 0.0.12\" -DPACKAGE_BUGREPORT=\"hoesterholt-at-users-dot-sourceforge-dot-net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flac123\" -DVERSION=\"0.0.12\" -DAUDIO_DEFAULT=\"oss\" -DHAVE_DLOPEN=1 
clang -DPACKAGE_NAME=\"flac123\" -DPACKAGE_TARNAME=\"flac123\" -DPACKAGE_VERSION=\"0.0.12\" -DPACKAGE_STRING=\"flac123\ 0.0.12\" -DPACKAGE_BUGREPORT=\"hoesterholt-at-users-dot-sourceforge-dot-net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"flac123\" -DVERSION=\"0.0.12\" -DAUDIO_DEFAULT=\"oss\" -DHAVE_DLOPEN=1 
remote.c:38:11: error: flac123.c:132:19: warning: using the result of an assignment as a condition
      without parentheses [-Wparentheses]
            if (filename = poptGetArg(pc))

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [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 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit 5f2fa9b1a32565dcaa7598b8076fc7af1e205e0b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 08:16:58 2022 +0000

    2022-09-18 08:16:58 UTC

emerge -qpvO media-sound/flac123
[ebuild  N    ] media-sound/flac123-0.0.12
Comment 1 Toralf Förster gentoo-dev 2022-09-18 09:15:51 UTC
Created attachment 810433 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 09:15:52 UTC
Created attachment 810436 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-18 09:15:54 UTC
Created attachment 810439 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-18 09:15:55 UTC
Created attachment 810442 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-18 09:15:56 UTC
Created attachment 810445 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-18 09:15:57 UTC
Created attachment 810448 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 09:15:58 UTC
Created attachment 810451 [details]
media-sound:flac123-0.0.12:20220918-091449.log
Comment 8 Toralf Förster gentoo-dev 2022-09-18 09:16:00 UTC
Created attachment 810454 [details]
temp.tar.bz2
Comment 9 Larry the Git Cow gentoo-dev 2022-10-09 03:48:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=047d2189bbf1475e8130ac36ff6b2a16e2da4f29

commit 047d2189bbf1475e8130ac36ff6b2a16e2da4f29
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-10-09 03:25:03 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-10-09 03:45:48 +0000

    media-sound/flac123: fix build with upcoming clang16
    
    (revbumped at same time in previous commit for other compilers)
    
    Closes: https://bugs.gentoo.org/871204
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-sound/flac123/files/flac123-0.0.12-clang16.patch | 7 +++++++
 media-sound/flac123/flac123-0.0.12-r1.ebuild           | 4 ++++
 2 files changed, 11 insertions(+)
Comment 10 Ionen Wolkens gentoo-dev 2022-10-13 07:30:24 UTC
*** Bug 871483 has been marked as a duplicate of this bug. ***