Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731030 - media-libs/sdl2-image calls commands that do not exist (./libtool: line 46: -c: command not found)
Summary: media-libs/sdl2-image calls commands that do not exist (./libtool: line 46: -...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-07-06 09:30 UTC by Agostino Sarubbo
Modified: 2024-11-14 09:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,46.50 KB, text/plain)
2020-07-06 09:30 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-07-06 09:30:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-libs/sdl2-image calls commands that do not exist.
Discovered on: amd64
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-06 09:30:38 UTC
Created attachment 647898 [details]
build.log

build log and emerge --info
Comment 2 James Le Cuirot gentoo-dev 2020-09-30 15:27:20 UTC
I'm unable to reproduce this and I can't figure out what's going on here. What's on line 46 of your libtool? For me, it's just AS=as.
Comment 3 Agostino Sarubbo gentoo-dev 2020-10-01 07:37:11 UTC
I'll try to figure out if it is still reproducible
Comment 4 Sv. Lockal 2024-11-14 09:10:30 UTC
The issue is still reproducible with latest sdl2-image-2.8.2.ebuild.

The precondition to reproduce is to add to make.conf:

  AS="/usr/lib/llvm/19/bin/clang -c"

Reason: SDL-image is shipped with old vendored 2.2.6a libtool.m4 - https://github.com/libsdl-org/SDL_image/blob/release-2.8.2/acinclude/ltoptions.m4#L137

This issue was fixed in autotools 2.5.3 - https://github.com/autotools-mirror/libtool/commit/16988b353264adf6ef21f123e7d9e0dd125f60e9 in 2009

The problem seems to be not fatal; message `./libtool: line 46: -c` can safely be ignored.

The long-term fix would be to migrate ebuild to CMake (sdl-image provides supports it too).