Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953253 - media-libs/harfbuzz-11.0.1: error: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Werror=sign-compare
Summary: media-libs/harfbuzz-11.0.1: error: comparison of integer expressions of diffe...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-05 18:31 UTC by Conrad Kostecki
Modified: 2025-04-06 07:18 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,125.13 KB, text/plain)
2025-04-05 18:36 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Conrad Kostecki gentoo-dev 2025-04-05 18:31:42 UTC Comment hidden (obsolete)
Comment 1 Conrad Kostecki gentoo-dev 2025-04-05 18:35:02 UTC
x86_64-pc-linux-gnu-g++ -m32 -mfpmath=sse -Isrc/libharfbuzz-subset.so.0.61101.0.p -Isrc -I../harfbuzz-11.0.1/src -I. -I../harfbuzz-11.0.1 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++11 -fno-exceptions -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=c++17 -DU_DISABLE_RENAMING=1 -DHAVE_CONFIG_H -march=native -O2 -pipe -DHB_NDEBUG -fPIC -MD -MQ src/libharfbuzz-subset.so.0.61101.0.p/hb-subset.cc.o -MF src/libharfbuzz-subset.so.0.61101.0.p/hb-subset.cc.o.d -o src/libharfbuzz-subset.so.0.61101.0.p/hb-subset.cc.o -c ../harfbuzz-11.0.1/src/hb-subset.cc
../harfbuzz-11.0.1/src/hb-subset.cc: In instantiation of ‘hb_blob_t* get_charstrings_data(accel_t&, hb_codepoint_t) [with accel_t = const OT::cff1_accelerator_t; hb_blob_t = hb_blob_t; hb_codepoint_t = unsigned int]’:
../harfbuzz-11.0.1/src/hb-subset.cc:772:30:   required from here
  772 |   return get_charstrings_data(*face->table.cff1, glyph_index);
      |          ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../harfbuzz-11.0.1/src/hb-subset.cc:733:28: error: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Werror=sign-compare]
  733 |   if (offset < 0 || offset > UINT32_MAX) {
      |                            ^
../harfbuzz-11.0.1/src/hb-subset.cc: In instantiation of ‘hb_blob_t* get_charstrings_index(accel_t&) [with accel_t = const OT::cff1_accelerator_t; hb_blob_t = hb_blob_t]’:
../harfbuzz-11.0.1/src/hb-subset.cc:785:32:   required from here
  785 |   return get_charstrings_index (*face->table.cff1);
      |          ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../harfbuzz-11.0.1/src/hb-subset.cc:754:28: error: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Werror=sign-compare]
  754 |   if (offset < 0 || offset > UINT32_MAX) {
      |                            ^
../harfbuzz-11.0.1/src/hb-subset.cc: In instantiation of ‘hb_blob_t* get_charstrings_data(accel_t&, hb_codepoint_t) [with accel_t = const OT::cff2_accelerator_t; hb_blob_t = hb_blob_t; hb_codepoint_t = unsigned int]’:
../harfbuzz-11.0.1/src/hb-subset.cc:799:30:   required from here
  799 |   return get_charstrings_data(*face->table.cff2, glyph_index);
      |          ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../harfbuzz-11.0.1/src/hb-subset.cc:733:28: error: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Werror=sign-compare]
  733 |   if (offset < 0 || offset > UINT32_MAX) {
      |                            ^
../harfbuzz-11.0.1/src/hb-subset.cc: In instantiation of ‘hb_blob_t* get_charstrings_index(accel_t&) [with accel_t = const OT::cff2_accelerator_t; hb_blob_t = hb_blob_t]’:
../harfbuzz-11.0.1/src/hb-subset.cc:812:32:   required from here
  812 |   return get_charstrings_index (*face->table.cff2);
      |          ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../harfbuzz-11.0.1/src/hb-subset.cc:754:28: error: comparison of integer expressions of different signedness: ‘long int’ and ‘unsigned int’ [-Werror=sign-compare]
  754 |   if (offset < 0 || offset > UINT32_MAX) {
      |                            ^
cc1plus: some warnings being treated as errors
ninja: build stopped: subcommand failed.
 * ERROR: media-libs/harfbuzz-11.0.1::gentoo failed (compile phase):
 *   ninja -v -j9 -l8 failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 3156:  Called meson-multilib_src_compile
 *   environment, line 1788:  Called multilib-minimal_src_compile
 *   environment, line 1982:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
 *   environment, line 2249:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1942:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
 *   environment, line 1940:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
 *   environment, line  538:  Called multilib-minimal_abi_src_compile
 *   environment, line 1976:  Called multilib_src_compile
 *   environment, line 2469:  Called meson_src_compile
 *   environment, line 1855:  Called eninja
 *   environment, line 1253:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 *
 * If you need support, post the output of `emerge --info '=media-libs/harfbuzz-11.0.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/harfbuzz-11.0.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/harfbuzz-11.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/harfbuzz-11.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/harfbuzz-11.0.1/work/harfbuzz-11.0.1-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/harfbuzz-11.0.1/work/harfbuzz-11.0.1'
Comment 2 Conrad Kostecki gentoo-dev 2025-04-05 18:36:01 UTC
Created attachment 923597 [details]
build.log
Comment 3 Conrad Kostecki gentoo-dev 2025-04-05 18:36:25 UTC
Portage 3.0.67 (python 3.12.9-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.41-r1, 6.14.0-gentoo x86_64)
=================================================================
System uname: Linux-6.14.0-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1275_v6_@_3.80GHz-with-glibc2.41
KiB Mem:    65572656 total,  54765992 free
KiB Swap:   34078716 total,  34078716 free
Timestamp of repository gentoo: Sat, 05 Apr 2025 17:45:00 +0000
Head commit of repository gentoo: 72a62efa4196528982b1fc5aec8891c130ad5b7d
Timestamp of repository guru: Sat, 05 Apr 2025 07:50:17 +0000
Head commit of repository guru: d1b1cdb5b4b911d15658cab16b9aca1b3af973f2

sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.11.2 [disabled]
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo, 1.17-r2::gentoo
dev-build/cmake:           3.31.6-r1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.7.2::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.1::gentoo
dev-lang/python:           3.11.11_p2::gentoo, 3.12.9::gentoo, 3.13.2::gentoo, 3.13.2-r100::gentoo
dev-lang/rust:             1.82.0-r102::gentoo, 1.83.0-r2::gentoo, 1.84.0-r1::gentoo, 1.84.1-r1::gentoo, 1.85.0-r1::gentoo, 1.85.1::gentoo
dev-util/ccache:           4.11.2::gentoo
llvm-core/clang:           15.0.7-r3::gentoo, 19.1.7::gentoo, 20.1.2::gentoo
llvm-core/lld:             15.0.7::gentoo, 19.1.7::gentoo
llvm-core/llvm:            15.0.7-r7::gentoo, 16.0.6-r5::gentoo, 19.1.7::gentoo, 20.1.2::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.61::gentoo
sys-apps/sandbox:          2.46::gentoo
sys-devel/binutils:        2.44::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20250301::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.14::gentoo (virtual/os-headers)
sys-libs/glibc:            2.41-r1::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: --compress --exclude-from=/etc/portage/rsync_excludes --new-compress

galactica
    location: /usr/local/portage
    masters: gentoo
    volatile: True

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/bind /var/lib/unifi"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.3/ext-active/ /etc/php/apache2-php8.4/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cgi-php8.4/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/cli-php8.4/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/fpm-php8.4/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/php/phpdbg-php8.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -Werror=strict-aliasing"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sign strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=native -mfpmath=sse,387 -mtune=intel -O3 -frecord-gcc-switches -fomit-frame-pointer -malign-data=abi -mtls-dialect=gnu2 -pipe -Werror=strict-aliasing"
GENTOO_MIRRORS="https://packages.hetzner.com/gentoo/"
INSTALL_MASK="/etc/grub.d /etc/systemd /etc/xinetd.d"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--sort-common -Wl,-z,now"
LEX="flex"
LINGUAS="de de_DE"
MAKEOPTS="-j9 -l8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BUNZIP2_COMMAND="pbunzip2"
PORTAGE_BZIP2_COMMAND="pbzip2"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9e"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--compress --exclude-from=/etc/portage/rsync_excludes --new-compress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/zsh"
USE="X acl alsa amd64 ao appindicator asm avif bash-completion berkdb bzip2 cairo calendar caps cddb cgi cjk colord cracklib crypt cups curl cvs cxx dbus dga dri dvb dvd egl elogind encode exif expat fbcon ffmpeg filecaps fontconfig fortran ftp gd gdbm geoip gif git gles2 gmp gnutls gpm gps gsm gstreamer iconv icu idn ieee1394 imap imlib inotify introspection ipv6 java javascript jbig jemalloc jit joystick jpeg jpeg2k kerberos lame latex lcms ldap libass libcaca libnotify libsamplerate lm-sensors lto lua lz4 lzma lzo magic maildir man mbox mhash mikmod modplug modules-compress modules-sign mp3 mysql mysqli ncurses nls nntp offensive ogg openal opencl openexr opengl openmp opus orc oss pam pcre pdf perl pie png policykit posix postgres postscript pulseaudio python raw readline rtmp samba sasl scanner sctp sdl seccomp secureboot session slang smartcard sndfile snmp soap sockets sound speex spell split-usr sqlite ssl startup-notification strip subversion suid svg symlink syslog tcl test-rust theora threads tiff truetype udev uefi unicode usb v4l vaapi vdpau verify-sig vim-syntax vorbis vpx vulkan wayland webp x264 xattr xft xinetd xml xpm xscreensaver xv xvid zeroconf zlib zstd" ABI_X86="32 64" COLLECTD_PLUGINS="apcups battery buddyinfo cgroups check_uptime connectivity conntrack contextswitch cpu cpufreq cpusleep df disk dns entropy ethstat exec fhcount filecount hddtemp hugepages interface ipc ipmi iptables irq java load mcelog md memory mysql netlink nfs nginx ntpd openldap openvpn pcie_errors ping postgresql processes protocols rrdcached sensors serial smart snmp swap syslog tcpconns thermal turbostat unixsock uptime users wireless" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_QUIC="openssl" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt nmea0183" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" INPUT_DEVICES="libinput synaptics" KERNEL="linux" L10N="de de_DE" LCD_DEVICES="cfontzpacket crystalfontz glcd2usb hd44780 lcd2usb" LLVM_SLOT="19" LUA_SINGLE_TARGET="lua5-4" LUA_TARGETS="lua5-4" NGINX_MODULES_HTTP="access addition auth_basic autoindex brotli browser charset fancyindex fastcgi geo geoip geoip2 gunzip gzip gzip_static headers_more image_filter javascript limit_conn limit_req map metrics proxy realip referer rewrite secure_link sticky stub_status upload_progress upstream_keepalive vhost_traffic_status xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip geoip2 javascript limit_conn map realip return ssl_preread" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-3" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12 python3_13" RUBY_TARGETS="ruby33" SANE_BACKENDS="hp net" VIDEO_CARDS="ast intel"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS