Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882363 - media-gfx/transfig-3.2.5e-r1 - imake: Exit code 1.
Summary: media-gfx/transfig-3.2.5e-r1 - imake: Exit code 1.
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: mario.haustein
URL:
Whiteboard:
Keywords:
Depends on: 917003
Blocks:
  Show dependency tree
 
Reported: 2022-11-21 09:27 UTC by Toralf Förster
Modified: 2024-01-24 13:39 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.99 KB, text/plain)
2022-11-21 09:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,30.93 KB, text/plain)
2022-11-21 09:27 UTC, Toralf Förster
Details
environment (environment,69.31 KB, text/plain)
2022-11-21 09:27 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,734 bytes, application/x-bzip)
2022-11-21 09:27 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.37 KB, application/x-bzip)
2022-11-21 09:27 UTC, Toralf Förster
Details
media-gfx:transfig-3.2.5e-r1:20221121-092507.log (media-gfx:transfig-3.2.5e-r1:20221121-092507.log,3.77 KB, text/plain)
2022-11-21 09:27 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.13 KB, application/x-bzip)
2022-11-21 09:27 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-11-21 09:27:49 UTC
<scratch space>:3:1: note: expanded from here
< X11 .rules>
^~~~~~~~~~~~~
1 warning and 1 error generated.
imake: Exit code 1.
  Stop.
 * ERROR: media-gfx/transfig-3.2.5e-r1::gentoo failed (configure phase):

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4_stable-20221121-030004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.3.0 *
clang/llvm (if any):
clang version 15.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.3
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
php cli (if any):

  HEAD of ::gentoo
commit 18e7305c2860cf124aa012cb50a168bc971ee7fa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 21 08:46:51 2022 +0000

    2022-11-21 08:46:51 UTC

emerge -qpvO media-gfx/transfig
[ebuild  N    ] media-gfx/transfig-3.2.5e-r1
Comment 1 Toralf Förster gentoo-dev 2022-11-21 09:27:50 UTC
Created attachment 835423 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-21 09:27:52 UTC
Created attachment 835425 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-21 09:27:53 UTC
Created attachment 835427 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-21 09:27:54 UTC
Created attachment 835429 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-21 09:27:55 UTC
Created attachment 835431 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-21 09:27:56 UTC
Created attachment 835433 [details]
media-gfx:transfig-3.2.5e-r1:20221121-092507.log
Comment 7 Toralf Förster gentoo-dev 2022-11-21 09:27:57 UTC
Created attachment 835435 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2022-11-21 10:18:48 UTC
This is caused by the bashrc hook, it's trying to use gcc -E for imake's traditional cpp (aka never clang, gcc is in BDEPEND), but there's a wrapper named "${CHOST}-gcc" that's actually clang which doesn't support this.

            for alias in ${CHOST}-gcc gcc ${CHOST}-clang;
            do
                ln -s "${T}"/clang-wrappers/clang "${T}"/clang-wrappers/${alias} || exit 1;
                chmod +x "${T}"/clang-wrappers/${alias};
            done;

Imagine this will cause about every imake packages to fail.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-11-22 00:11:59 UTC
I'm minded to just skip imake for these given how fragile it is.
Comment 10 Pacho Ramos gentoo-dev 2023-07-29 09:56:50 UTC
Fedora killed imake completely long time ago
https://src.fedoraproject.org/rpms/transfig/blob/rawhide/f/transfig.spec

But they user a newer version too