Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926600 - media-gfx/graphviz-10.0.1 fails to build: ./configure: 26789: Bad substitution
Summary: media-gfx/graphviz-10.0.1 fails to build: ./configure: 26789: Bad substitution
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: nonbash
  Show dependency tree
 
Reported: 2024-03-09 13:51 UTC by look
Modified: 2024-03-10 15:28 UTC (History)
3 users (show)

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


Attachments
The build log. (build.log,15.33 KB, text/x-log)
2024-03-09 19:00 UTC, look
Details
The configure log. (config.log,200.79 KB, text/x-log)
2024-03-09 19:00 UTC, look
Details
The build environment. (environment,93.92 KB, text/plain)
2024-03-09 19:01 UTC, look
Details
The emerge --info output (emerge-info.log,18.40 KB, text/x-log)
2024-03-09 20:11 UTC, look
Details

Note You need to log in before you can comment on or make changes to this bug.
Description look 2024-03-09 13:51:53 UTC
Hello. The latest update of graphviz fails to build on my computer.

Build log: https://0x0.st/HhNh.txt
config.log: https://0x0.st/HhNF.txt (this is where the error is!)
environment: https://0x0.st/HhNC.txt

This is the configure error:

configure:19803: checking for mach-o/dyld.h
configure:19803: x86_64-pc-linux-gnu-gcc -c -march=native -O3 -flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -pipe -Wall -Wextra -Wmissing-include-dirs -Wswitch-default -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wtrampolines -Wlogical-op -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall  conftest.c >&5
conftest.c:98:10: fatal error: mach-o/dyld.h: No such file or directory
   98 | #include <mach-o/dyld.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-09 17:17:10 UTC
Please don't link to pastebins in bug reports. They expire and may not be accessible behind firewalls etc. please use attachments
Comment 2 look 2024-03-09 19:00:38 UTC
Created attachment 887187 [details]
The build log.
Comment 3 look 2024-03-09 19:00:51 UTC
Created attachment 887188 [details]
The configure log.
Comment 4 look 2024-03-09 19:01:06 UTC
Created attachment 887189 [details]
The build environment.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-09 20:06:11 UTC
emerge --info too please
Comment 6 look 2024-03-09 20:11:29 UTC
Created attachment 887191 [details]
The emerge --info output
Comment 7 Petr Šabata 2024-03-09 21:38:25 UTC
The configure script includes a bashism and which fails with dash as /bin/sh.
Comment 8 Larry the Git Cow gentoo-dev 2024-03-10 15:24:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe010c3433f0b88a916563473136e8edf10173c

commit dbe010c3433f0b88a916563473136e8edf10173c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-10 15:23:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-10 15:24:23 +0000

    media-gfx/graphviz: temporarily force bash
    
    The change has been reverted upstream, but just force Bash temporarily rather than
    add a patch we know we'll have to remove on the next release anyway.
    
    See https://gitlab.com/graphviz/graphviz/-/merge_requests/3636.
    
    Closes: https://bugs.gentoo.org/926600
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/graphviz/graphviz-10.0.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)