Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664698 - sci-calculators/tiemu-3.03-r1 : /.../stdlib.h:588:24: error: macro abort passed 1 arguments, but takes just 0
Summary: sci-calculators/tiemu-3.03-r1 : /.../stdlib.h:588:24: error: macro abort pass...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-27 16:48 UTC by Toralf Förster
Modified: 2020-01-26 21:39 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.37 KB, text/plain)
2018-08-27 16:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,237.67 KB, text/plain)
2018-08-27 16:48 UTC, Toralf Förster
Details
environment (environment,76.85 KB, text/plain)
2018-08-27 16:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.62 KB, application/x-bzip)
2018-08-27 16:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.44 KB, application/x-bzip)
2018-08-27 16:48 UTC, Toralf Förster
Details
sci-calculators:tiemu-3.03-r1:20180827-021457.log (sci-calculators:tiemu-3.03-r1:20180827-021457.log,145.21 KB, text/plain)
2018-08-27 16:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.21 KB, application/x-bzip)
2018-08-27 16:48 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 2018-08-27 16:48:27 UTC
                 from core/ti68k_int.h:31,
                 from core/state.c:39:
/usr/include/stdlib.h:588:24: error: macro "abort" passed 1 arguments, but takes just 0
 extern void abort (void) __THROW __attribute__ ((__noreturn__));
                        ^
core/state.c: In function ‘ti68k_state_load’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl_20180820-193302

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.8.0 [icedtea-8]
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpv sci-calculators/tiemu
[ebuild  N    ] sci-calculators/tiemu-3.03-r1  USE="dbus nls sdl -threads -xinerama"
Comment 1 Toralf Förster gentoo-dev 2018-08-27 16:48:30 UTC
Created attachment 545184 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-27 16:48:33 UTC
Created attachment 545186 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-27 16:48:36 UTC
Created attachment 545188 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-27 16:48:39 UTC
Created attachment 545190 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-27 16:48:42 UTC
Created attachment 545192 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-27 16:48:45 UTC
Created attachment 545194 [details]
sci-calculators:tiemu-3.03-r1:20180827-021457.log
Comment 7 Toralf Förster gentoo-dev 2018-08-27 16:48:48 UTC
Created attachment 545196 [details]
temp.tbz2
Comment 8 Ben 2019-02-10 22:18:41 UTC
Adding this to the tiemu-3.03-r2820.patch file allows tiemu to compile:

--- a/src/core/uae/sysdeps.h
+++ b/src/core/uae/sysdeps.h
@@ -140,6 +140,1 @@
-/* While we're here, make abort more useful.  */
-#define abort() \
-  do { \
-    fprintf (stderr, "UAE: Internal error; file %s, line %d\n", __FILE__, __LINE__); \
-    (abort) (); \
-} while (0)
+/* Removed abort function. */
Comment 9 Kobboi 2020-01-20 08:10:20 UTC
PR at https://github.com/gentoo/gentoo/pull/14355
Comment 10 Larry the Git Cow gentoo-dev 2020-01-26 21:39:46 UTC
The bug has been referenced in the following commit(s):

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

commit 3a59fc591d931e381a4a80df9586f8f46a757d5d
Author:     Christophe Lermytte <gentoo@lermytte.be>
AuthorDate: 2020-01-26 21:39:24 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-01-26 21:39:24 +0000

    sci-calculators/tiemu: fix missing include
    
    * Patch by Debian
    
    Bug: https://bugs.gentoo.org/664698
    Closes: https://github.com/gentoo/gentoo/pull/14355
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...emu-3.03-fix-ftbfs-with-customized-abort-function.patch | 14 ++++++++++++++
 sci-calculators/tiemu/tiemu-3.03-r1.ebuild                 |  1 +
 2 files changed, 15 insertions(+)