Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935245 - media-plugins/gst-plugins-openaptx-1.22.11 - [perl-5.40] [ncurses-6.5] [meson-9999] [icu-75.1] ERROR: media-plugins/gst-plugins-openaptx-1.22.11::gentoo failed (compile phase):
Summary: media-plugins/gst-plugins-openaptx-1.22.11 - [perl-5.40] [ncurses-6.5] [meson...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-30 17:45 UTC by Toralf Förster
Modified: 2024-06-30 18:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.70 KB, text/plain)
2024-06-30 17:45 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.44 KB, text/plain)
2024-06-30 17:45 UTC, Toralf Förster
Details
environment (environment,148.91 KB, text/plain)
2024-06-30 17:45 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-06-30 17:45 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.81 KB, application/x-xz)
2024-06-30 17:45 UTC, Toralf Förster
Details
media-plugins:gst-plugins-openaptx-1.22.11:20240630-173617.log (media-plugins:gst-plugins-openaptx-1.22.11:20240630-173617.log,27.96 KB, text/plain)
2024-06-30 17:45 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,175.65 KB, text/plain)
2024-06-30 17:45 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.28 KB, application/x-xz)
2024-06-30 17:45 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-06-30 17:45:43 UTC
Found ninja-1.12.1 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-plugins/gst-plugins-openaptx-1.22.11/work/gst-plugins-bad-1.22.11 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_compile
 * Got external plugin in openaptx...
, or ] expected while parsing array, at character offset 2 (before "(end of string)") at /var/tmp/portage/media-plugins/gst-plugins-openaptx-1.22.11/work/_gstreamer_get_target_filename.pl line 7.
 * ERROR: media-plugins/gst-plugins-openaptx-1.22.11::gentoo failed (compile phase):
 *   Failed to extract target filenames from meson-info
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240629-070503

  UNMASKED:
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  <dev-build/meson-9999
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  >=sys-libs/ncurses-6.5
    Requested by sam
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0
    Requested by dilfridge and sam

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 97734d7d531fc67092f33276134a2813ba6761d7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 30 17:19:11 2024 +0000

    2024-06-30 17:19:10 UTC

emerge -qpvO media-plugins/gst-plugins-openaptx
[ebuild  N    ] media-plugins/gst-plugins-openaptx-1.22.11  ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-06-30 17:45:44 UTC
Created attachment 896671 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-30 17:45:46 UTC
Created attachment 896672 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-06-30 17:45:47 UTC
Created attachment 896673 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-06-30 17:45:48 UTC
Created attachment 896674 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-06-30 17:45:50 UTC
Created attachment 896675 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-30 17:45:51 UTC
Created attachment 896676 [details]
media-plugins:gst-plugins-openaptx-1.22.11:20240630-173617.log
Comment 7 Toralf Förster gentoo-dev 2024-06-30 17:45:52 UTC
Created attachment 896677 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-06-30 17:45:53 UTC
Created attachment 896678 [details]
temp.tar.xz
Comment 9 Eli Schwartz gentoo-dev 2024-06-30 18:06:56 UTC
My theory is that this happens due to https://github.com/mesonbuild/meson/commit/e5aed6ac8f4758f636d81e0374c0658238b90eb5

It works in stable meson, fails with the release candidate. It also fails if I format the file it tries to read, using jq.

I don't know perl so I can't confirm the hypothesis. :D
Comment 10 Eli Schwartz gentoo-dev 2024-06-30 18:10:37 UTC
Per IRC, Sam says "someone has written perl"

And linked to https://github.com/makamaka/JSON-PP/issues/85#issuecomment-1367719155 as rationale for this being a bug.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-30 18:28:16 UTC
commit d9691f1d5dd9a126804102572ac812d9c8a4ee16 (HEAD -> master, origin/master, origin/HEAD)
Author: Sam James <sam@gentoo.org>
Date:   Sun Jun 30 19:26:34 2024 +0100

    gstreamer-meson.eclass: fix handling meson-1.5's pretty-printed JSON

    meson-1.5 pretty-prints its JSON which means the target JSON file here
    spawns multiple lines. <$x> will only read one line, per
    https://github.com/makamaka/JSON-PP/issues/85#issuecomment-1367719155.

    Switch to reading the whole file like in https://stackoverflow.com/a/24959863.

    Cloess: https://bugs.gentoo.org/935245
    Signed-off-by: Sam James <sam@gentoo.org>