Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870805 - x11-misc/xtoolwait-1.3-r2 - (.text+<snip>): undefined reference to main
Summary: x11-misc/xtoolwait-1.3-r2 - (.text+<snip>): undefined reference to main
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Desktop Misc. Team
URL:
Whiteboard: fixed in 1.3-r2
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 15:35 UTC by Toralf Förster
Modified: 2024-10-26 21:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.43 KB, text/plain)
2022-09-17 15:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,39.85 KB, text/plain)
2022-09-17 15:35 UTC, Toralf Förster
Details
environment (environment,60.05 KB, text/plain)
2022-09-17 15:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.78 KB, application/x-bzip)
2022-09-17 15:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.95 KB, application/x-bzip)
2022-09-17 15:35 UTC, Toralf Förster
Details
x11-misc:xtoolwait-1.3-r2:20220917-145052.log (x11-misc:xtoolwait-1.3-r2:20220917-145052.log,1.99 KB, text/plain)
2022-09-17 15:35 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-09-17 15:35:02 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/xtoolwait-1.3-r2/work/xtoolwait-1.3 ...
imake -DUseInstalled -I/usr/lib64/X11/config
/usr/bin/x86_64-pc-linux-gnu-ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib64/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
/usr/bin/xmkmf: line 53:    40 Aborted                 imake $imake_defines $args

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20220917-070004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit a7abb04fd6c213f3bf85ff69b1fd07d64b30626c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 13:46:46 2022 +0000

    2022-09-17 13:46:46 UTC

emerge -qpvO x11-misc/xtoolwait
[ebuild  N    ] x11-misc/xtoolwait-1.3-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-17 15:35:03 UTC
Created attachment 807832 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 15:35:05 UTC
Created attachment 807835 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 15:35:06 UTC
Created attachment 807838 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 15:35:08 UTC
Created attachment 807841 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 15:35:09 UTC
Created attachment 807844 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 15:35:10 UTC
Created attachment 807847 [details]
x11-misc:xtoolwait-1.3-r2:20220917-145052.log
Comment 7 Larry the Git Cow gentoo-dev 2022-09-30 11:02:06 UTC
The bug has been closed via the following commit(s):

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

commit 6d7ebecbe32b8fd1d3c8fc450aa949431bf77cfd
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-30 09:47:58 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-30 10:48:14 +0000

    x11-misc/xtoolwait: force gcc -E for imake's generation
    
    Requires traditional cpp support and is broken in all sort of ways
    with clang-cpp / -E. Can still use clang & friends for everything else.
    
    Ideally these packages need to be built another way or last rited,
    imake will just accumulate more problems.
    
    Closes: https://bugs.gentoo.org/870805
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-misc/xtoolwait/xtoolwait-1.3-r2.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)