Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942367 - app-metrics/carbonapi-booking-0.3.0-r1 - vendor/.../cairo.go: error: type of gocairoReadFunc does not match original declaration [-Werror=lto-type-mismatch]
Summary: app-metrics/carbonapi-booking-0.3.0-r1 - vendor/.../cairo.go: error: type of ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-10-27 17:06 UTC by Toralf Förster
Modified: 2024-10-30 18:13 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2024-10-27 17:06 UTC, Toralf Förster
Details
app-metrics:carbonapi-booking-0.3.0-r1:20241027-124124.log.xz (app-metrics:carbonapi-booking-0.3.0-r1:20241027-124124.log.xz,64.24 KB, application/x-xz)
2024-10-27 17:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,127.85 KB, text/plain)
2024-10-27 17:06 UTC, Toralf Förster
Details
environment (environment,91.70 KB, text/plain)
2024-10-27 17:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2024-10-27 17:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.16 KB, application/x-xz)
2024-10-27 17:06 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,37.79 KB, application/x-xz)
2024-10-27 17:06 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,22.19 KB, application/x-xz)
2024-10-27 17:06 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 2024-10-27 17:06:44 UTC
too long lines were shrinked:

/usr/lib/go/pkg/tool/linux_amd64/compile -o $WORK/b260/_pkg_.a -trimpath "$WORK/b260=>" -p github.com/evmar/gocairo/cairo -lang=go1.16 -installsuffix shared -buildid FgSW0ty5CoSCt14aQGzM/FgSW0ty5CoSCt14aQGzM -goversion go1.23.2 -shared -nolocalimports -importcfg $WORK/b260/importcfg -pack ./vendor/g
cd /var/tmp/portage/app-metrics/carbonapi-booking-0.3.0-r1/work/carbonapi-0.3.0/vendor/github.com/evmar/gocairo/cairo
/usr/lib/go/pkg/tool/linux_amd64/pack r $WORK/b260/_pkg_.a $WORK/b260/preferlinkext $WORK/b260/_x001.o $WORK/b260/_x002.o $WORK/b260/_x003.o $WORK/b260/dynimportfail # internal
/usr/lib/go/pkg/tool/linux_amd64/buildid -w $WORK/b260/_pkg_.a # internal
cp $WORK/b260/_pkg_.a /var/tmp/portage/app-metrics/carbonapi-booking-0.3.0-r1/temp/go-build/8c/8c9fe47b2fa7748177a9e4cb18b2f86a7b3ef1962f61f0871063a244a244f0b0-d # internal
# github.com/evmar/gocairo/cairo
vendor/github.com/evmar/gocairo/cairo/cairo.go:38:5: error: type of gocairoReadFunc does not match original declaration [-Werror=lto-type-mismatch]
   38 | int gocairoReadFunc(int key, const unsigned char* data, unsigned int length);
      |     ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241025-164008

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang version 19.1.2
llvm-config: 19.1.2
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit fc2a5faa828f25d5a1f26d489f55125912d278ae
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 27 10:33:31 2024 +0000

    2024-10-27 10:33:30 UTC

emerge -qpvO =app-metrics/carbonapi-booking-0.3.0-r1
[ebuild  N    ] app-metrics/carbonapi-booking-0.3.0-r1
Comment 1 Toralf Förster gentoo-dev 2024-10-27 17:06:45 UTC
Created attachment 907046 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-27 17:06:46 UTC
Created attachment 907047 [details]
app-metrics:carbonapi-booking-0.3.0-r1:20241027-124124.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-27 17:06:48 UTC
Created attachment 907048 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-10-27 17:06:49 UTC
Created attachment 907049 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-10-27 17:06:50 UTC
Created attachment 907050 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-27 17:06:50 UTC
Created attachment 907051 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-27 17:06:51 UTC
Created attachment 907052 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-27 17:06:52 UTC
Created attachment 907053 [details]
temp.tar.xz
Comment 9 Fabian Groffen gentoo-dev 2024-10-30 18:13:50 UTC
note: I tried reproducing this problem with no success.  It's not go or cairo version related.