Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870739 - x11-misc/xxkb-1.11.1-r1 - (.text+<snip>): undefined reference to main
Summary: x11-misc/xxkb-1.11.1-r1 - (.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 (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-17 14:15 UTC by Toralf Förster
Modified: 2022-09-30 04:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.97 KB, text/plain)
2022-09-17 14:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,21.79 KB, text/plain)
2022-09-17 14:15 UTC, Toralf Förster
Details
environment (environment,60.74 KB, text/plain)
2022-09-17 14:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.63 KB, application/x-bzip)
2022-09-17 14:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.27 KB, application/x-bzip)
2022-09-17 14:15 UTC, Toralf Förster
Details
x11-misc:xxkb-1.11.1-r1:20220917-121955.log (x11-misc:xxkb-1.11.1-r1:20220917-121955.log,1.99 KB, text/plain)
2022-09-17 14:15 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 14:15:27 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-misc/xxkb-1.11.1-r1/work/xxkb-1.11.1 ...
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:    41 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)
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 2be4f11d1103e9d0fe6cdcf770492a7d6c7ab1e5
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 17 11:01:50 2022 +0000

    2022-09-17 11:01:49 UTC

emerge -qpvO x11-misc/xxkb
[ebuild  N    ] x11-misc/xxkb-1.11.1-r1  USE="-svg"
Comment 1 Toralf Förster gentoo-dev 2022-09-17 14:15:28 UTC
Created attachment 807490 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-17 14:15:29 UTC
Created attachment 807493 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-09-17 14:15:30 UTC
Created attachment 807496 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-17 14:15:31 UTC
Created attachment 807499 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-17 14:15:32 UTC
Created attachment 807502 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-17 14:15:33 UTC
Created attachment 807505 [details]
x11-misc:xxkb-1.11.1-r1:20220917-121955.log
Comment 7 Larry the Git Cow gentoo-dev 2022-09-30 04:05:43 UTC
The bug has been closed via the following commit(s):

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

commit a384d56453397172dff9faab2beff6bf47ab9e16
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-30 03:45:19 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-30 04:05:14 +0000

    x11-misc/xxkb: 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/870739
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 x11-misc/xxkb/xxkb-1.11.1-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)