Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791370 - x11-misc/compose-tables-1.8.4-r1: configure: x86_64-pc-linux-gnu-gcc -E defines unix with or without -undef
Summary: x11-misc/compose-tables-1.8.4-r1: configure: x86_64-pc-linux-gnu-gcc -E defin...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-22 01:08 UTC by tastytea
Modified: 2023-03-22 07:51 UTC (History)
2 users (show)

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


Attachments
Build log (x11-misc:compose-tables-1.7.1:20210522-005445.log,11.34 KB, text/plain)
2021-05-22 01:08 UTC, tastytea
Details
Configure log (config.log,56.04 KB, text/plain)
2021-05-22 01:09 UTC, tastytea
Details
emerge --info (emerge--info.txt,15.78 KB, text/plain)
2021-05-22 01:10 UTC, tastytea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tastytea 2021-05-22 01:08:08 UTC
From the build log:
checking if x86_64-pc-linux-gnu-gcc -E requires -undef... x86_64-pc-linux-gnu-gcc: fatal error: no input files

  From the configure log:
configure:19527: checking if x86_64-pc-linux-gnu-gcc -E requires -undef
configure:19547: error: x86_64-pc-linux-gnu-gcc -E defines unix with or without -undef.  I don't know what to do.

Reproducible: Always

Steps to Reproduce:
1. emerge '=x11-misc/compose-tables-1.7.1'



~amd64, GCC-11.
Comment 1 tastytea 2021-05-22 01:08:37 UTC
Created attachment 710130 [details]
Build log
Comment 2 tastytea 2021-05-22 01:09:16 UTC
Created attachment 710133 [details]
Configure log
Comment 3 tastytea 2021-05-22 01:10:30 UTC
Created attachment 710136 [details]
emerge --info
Comment 4 tastytea 2021-05-22 01:18:14 UTC
x11-misc/compose-tables-1.7.1 compiles on my amd64 system (GCC-10)
x11-misc/compose-tables-1.7.0 compiles in my ~amd64 chroot (GCC-11)
Comment 5 Ionen Wolkens gentoo-dev 2021-05-22 02:33:06 UTC
checking for cpp... no

Are you using [-native-symlinks]?
Comment 6 Ionen Wolkens gentoo-dev 2021-05-22 02:42:32 UTC
I see libX11 already has a fix for this, but compose-tables didn't inherit it.

Just needs CPP="$(tc-getPROG CPP cpp)" added to CONFIGURE_OPTIONS + inherit
Comment 7 Ionen Wolkens gentoo-dev 2021-05-22 02:46:30 UTC
(In reply to Ionen Wolkens from comment #6)
> Just needs CPP="$(tc-getPROG CPP cpp)" added to CONFIGURE_OPTIONS + inherit
And uh, not in global scope in case anyone went too quick with this.
Comment 8 tastytea 2021-05-22 03:03:33 UTC
> Are you using [-native-symlinks]?

Yes, but it fails with symlinks too.
Comment 9 Ionen Wolkens gentoo-dev 2021-05-22 03:19:29 UTC
(In reply to tastytea from comment #8)
> > Are you using [-native-symlinks]?
> 
> Yes, but it fails with symlinks too.
Are you sure? Is it still not finding cpp?

1.7.1 + gcc11 + ~amd64 + symlinks is fine for me, only fails if I remove /lib/cpp and /usr/bin/cpp
Comment 10 tastytea 2021-05-22 03:51:46 UTC
Oh right, I overlooked /usr/bin/cpp in my workaround-script. 🤦 It works with /usr/bin/cpp.
Comment 11 Agostino Sarubbo gentoo-dev 2023-03-22 07:51:05 UTC
ci has reproduced this issue with version 1.8.4-r1 - Updating summary.