Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870484 - x11-misc/xcalendar-4.0-r2:0 - (.text+<snip>): undefined reference to main
Summary: x11-misc/xcalendar-4.0-r2:0 - (.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: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-16 19:31 UTC by Toralf Förster
Modified: 2022-09-28 02:35 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.23 KB, text/plain)
2022-09-16 19:31 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,63.68 KB, application/x-bzip)
2022-09-16 19:31 UTC, Toralf Förster
Details
environment (environment,57.58 KB, text/plain)
2022-09-16 19:31 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,39.44 KB, application/x-bzip)
2022-09-16 19:31 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.41 KB, application/x-bzip)
2022-09-16 19:31 UTC, Toralf Förster
Details
x11-misc:xcalendar-4.0-r2:20220916-181909.log (x11-misc:xcalendar-4.0-r2:20220916-181909.log,1.82 KB, text/plain)
2022-09-16 19:31 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-16 19:31:30 UTC
>>> Configuring source in /var/tmp/portage/x11-misc/xcalendar-4.0-r2/work/xcalendar ...
mv -f Makefile Makefile.bak
imake -DUseInstalled -I/usr/lib64/X11/config
/usr/bin/xmkmf: line 53:    39 Aborted                 imake $imake_defines $args
 * ERROR: x11-misc/xcalendar-4.0-r2::gentoo failed (configure phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220912-150005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.2.1 *
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:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	OpenJDK 8.345_p01 [openjdk-8]
3)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
5)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
6)	Eclipse Temurin JRE 17.0.4.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-8 
  [2]   openjdk-17 
  [3]   openjdk-bin-8 
  [4]   openjdk-bin-11 
  [5]   openjdk-bin-17  system-vm
  [6]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3

  HEAD of ::gentoo
commit 0d22bb6c1d6dd9122872e6479a56f3fee85ea69a
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 18:02:06 2022 +0000

    2022-09-16 18:02:06 UTC

emerge -qpvO x11-misc/xcalendar
[ebuild  N    ] x11-misc/xcalendar-4.0-r2  USE="-motif"
Comment 1 Toralf Förster gentoo-dev 2022-09-16 19:31:31 UTC
Created attachment 806134 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 19:31:32 UTC
Created attachment 806137 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-09-16 19:31:33 UTC
Created attachment 806140 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-09-16 19:31:35 UTC
Created attachment 806143 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-09-16 19:31:36 UTC
Created attachment 806146 [details]
temp.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 19:31:37 UTC
Created attachment 806149 [details]
x11-misc:xcalendar-4.0-r2:20220916-181909.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-17 00:20:17 UTC
imake -DUseInstalled -I/usr/lib64/X11/config
/usr/bin/xmkmf: line 53:    39 Aborted                 imake $imake_defines $args
 * ERROR: x11-misc/xcalendar-4.0-r2::gentoo failed (configure phase):
 *   (no error message)
Comment 8 Larry the Git Cow gentoo-dev 2022-09-28 02:35:24 UTC
The bug has been closed via the following commit(s):

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

commit c0938940d7ee60ef15e893947b734162ba88e7bc
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-28 02:21:48 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-28 02:34:36 +0000

    x11-misc/xcalendar: fix build with clang16
    
    Replace old implicits patch in the process given it adds
    an implicit int declaration itself.
    
    Closes: https://bugs.gentoo.org/870484
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../xcalendar/files/xcalendar-4.0-clang16.patch    | 40 ++++++++++++++++++++++
 .../xcalendar/files/xcalendar-4.0-implicits.patch  | 22 ------------
 x11-misc/xcalendar/xcalendar-4.0-r3.ebuild         |  2 +-
 3 files changed, 41 insertions(+), 23 deletions(-)