Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920788 - media-gfx/graphicsmagick-1.3.42[perl] - /.../features.h: error: operator && has no right operand
Summary: media-gfx/graphicsmagick-1.3.42[perl] - /.../features.h: error: operator && h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH
: 920787 (view as bug list)
Depends on:
Blocks: 893434
  Show dependency tree
 
Reported: 2023-12-27 08:58 UTC by Toralf Förster
Modified: 2024-01-02 05:26 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2023-12-27 08:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,196.30 KB, text/plain)
2023-12-27 08:58 UTC, Toralf Förster
Details
environment (environment,84.73 KB, text/plain)
2023-12-27 08:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,964 bytes, application/x-xz)
2023-12-27 08:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,43.12 KB, application/x-xz)
2023-12-27 08:58 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,19.25 KB, application/x-xz)
2023-12-27 08:58 UTC, Toralf Förster
Details
media-gfx:graphicsmagick-1.3.42:20231227-065156.log (media-gfx:graphicsmagick-1.3.42:20231227-065156.log,129.55 KB, text/plain)
2023-12-27 08:58 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,49.82 KB, application/x-xz)
2023-12-27 08:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.71 KB, application/x-xz)
2023-12-27 08:58 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-12-27 08:58:30 UTC
x86_64-pc-linux-gnu-gcc -c  -I../ -I..  -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -DNO_PERL_RAND_SEED -fwrapv -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -Wall -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing   -DVERSION=\"1.3.42\" -DXS_VERSION=\"1.3.42\" -fPIC "-I/usr/lib64/perl5/5.38/x86_64-linux-quadmath/CORE"  -D_FILE_OFFSET_BITS= -D_LARGE_FILES=1 -D_LARGEFILE_SOURCE=1 -DHAVE_CONFIG_H Magick.c
<command-line>: warning: "_FILE_OFFSET_BITS" redefined
<command-line>: note: this is the location of the previous definition
In file included from /usr/include/sys/types.h:25,
                 from /usr/lib64/perl5/5.38/x86_64-linux-quadmath/CORE/perl.h:1068,
                 from Magick.xs:58:
/usr/include/features.h:390:52: error: operator '&&' has no right operand
  390 | #if defined _FILE_OFFSET_BITS && _FILE_OFFSET_BITS == 64
      |                                                    ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231225-024014

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

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.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit f73b48f01328a70a75144d264f7200179b9177fe
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Dec 27 04:46:57 2023 +0000

    2023-12-27 04:46:56 UTC

emerge -qpvO media-gfx/graphicsmagick
[ebuild  N    ] media-gfx/graphicsmagick-1.3.42  USE="bzip2 lzma openmp perl postscript verify-sig webp zlib -X -cxx -debug -dynamic-loading -fpx -heif -imagemagick -jbig -jpeg -jpegxl -lcms -png -q16 -q32 -static-libs -svg -tcmalloc -tiff -truetype -wmf -zstd"
Comment 1 Toralf Förster gentoo-dev 2023-12-27 08:58:31 UTC
Created attachment 880550 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-27 08:58:32 UTC
Created attachment 880551 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-27 08:58:33 UTC
Created attachment 880552 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-27 08:58:34 UTC
Created attachment 880553 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-27 08:58:35 UTC
Created attachment 880554 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-27 08:58:36 UTC
Created attachment 880555 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-27 08:58:38 UTC
Created attachment 880556 [details]
media-gfx:graphicsmagick-1.3.42:20231227-065156.log
Comment 8 Toralf Förster gentoo-dev 2023-12-27 08:58:39 UTC
Created attachment 880557 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-27 08:58:40 UTC
Created attachment 880558 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-27 22:41:02 UTC
*** Bug 920787 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2023-12-27 22:48:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ad9b81118ada34df80b4a85208e4ec2d04a0bb

commit 53ad9b81118ada34df80b4a85208e4ec2d04a0bb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-27 22:48:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-27 22:48:18 +0000

    media-gfx/graphicsmagick: fix perl build w/ autoconf-2.72
    
    Closes: https://bugs.gentoo.org/920788
    Signed-off-by: Sam James <sam@gentoo.org>

 .../graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch      | 13 +++++++++++++
 media-gfx/graphicsmagick/graphicsmagick-1.3.42.ebuild       |  1 +
 2 files changed, 14 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504476c3b83167679845363c3c52b29bb3a71a6d

commit 504476c3b83167679845363c3c52b29bb3a71a6d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-27 22:42:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-27 22:43:10 +0000

    media-gfx/imagemagick: fix perl build w/ autoconf-2.72
    
    Bug: https://bugs.gentoo.org/920788
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/imagemagick-7.1.1.24-c99.patch           | 47 ++++++++++++++++++++++
 media-gfx/imagemagick/imagemagick-6.9.13.2.ebuild  |  4 ++
 media-gfx/imagemagick/imagemagick-7.1.1.24.ebuild  |  1 +
 3 files changed, 52 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-12-27 22:56:28 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c37bb01235c28144854631e3230c894a63621a

commit 60c37bb01235c28144854631e3230c894a63621a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-27 22:55:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-27 22:55:47 +0000

    media-gfx/graphicsmagick: enhance patch description
    
    Bug: https://bugs.gentoo.org/920788
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/graphicsmagick-1.3.42-autoconf-2.72-perl-lfs.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)