Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871468 - app-emulation/x48-0.6.4-r2 - serial.c: error: call to undeclared function grantpt; ISO C99 and later
Summary: app-emulation/x48-0.6.4-r2 - serial.c: error: call to undeclared function gra...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-18 15:08 UTC by Toralf Förster
Modified: 2024-05-12 22:35 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.45 KB, text/plain)
2022-09-18 15:08 UTC, Toralf Förster
Details
app-emulation:x48-0.6.4-r2:20220918-144731.log (app-emulation:x48-0.6.4-r2:20220918-144731.log,16.61 KB, text/plain)
2022-09-18 15:08 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.44 KB, application/x-bzip)
2022-09-18 15:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.65 KB, text/plain)
2022-09-18 15:08 UTC, Toralf Förster
Details
environment (environment,77.50 KB, text/plain)
2022-09-18 15:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.41 KB, application/x-bzip)
2022-09-18 15:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.18 KB, application/x-bzip)
2022-09-18 15:08 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-18 15:08:06 UTC
      sprintf(p, hp48_trans_tbl[c].trans);
                 ^
                 "%s", 
clang -DHAVE_CONFIG_H -I. -I..     -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o timer.o timer.c
serial.c:179:11: error: call to undeclared function 'grantpt'; ISO C99 and later
      do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]

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

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

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

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:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

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

  HEAD of ::gentoo
commit 72d116c2f0bbea9182d6346cbd9efc0bd87933c7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Sep 18 14:16:53 2022 +0000

    2022-09-18 14:16:53 UTC

emerge -qpvO app-emulation/x48
[ebuild  N    ] app-emulation/x48-0.6.4-r2  USE="readline"
Comment 1 Toralf Förster gentoo-dev 2022-09-18 15:08:08 UTC
Created attachment 811882 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-18 15:08:09 UTC
Created attachment 811885 [details]
app-emulation:x48-0.6.4-r2:20220918-144731.log
Comment 3 Toralf Förster gentoo-dev 2022-09-18 15:08:10 UTC
Created attachment 811888 [details]
clang.tar.bz2
Comment 4 Toralf Förster gentoo-dev 2022-09-18 15:08:12 UTC
Created attachment 811891 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-09-18 15:08:13 UTC
Created attachment 811894 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-09-18 15:08:14 UTC
Created attachment 811897 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-09-18 15:08:15 UTC
Created attachment 811900 [details]
logs.tar.bz2
Comment 8 NHO 2024-05-12 12:08:33 UTC
Site is dead, upstream is https://sourceforge.net/projects/x48.berlios/ now?
Comment 9 Bernard Cafarelli gentoo-dev 2024-05-12 22:29:41 UTC
Yes berlios was shut down some years ago - metadata.xml and SRC_URI are up to date but HOMEPAGE was not. Thanks for patch, configure.ac change is small and we already had eautoreconf

Google also mentions https://github.com/gwenhael-le-moine/x48 though the more interesting one will probably be the mentioned x48ng
Comment 10 Larry the Git Cow gentoo-dev 2024-05-12 22:35:07 UTC
The bug has been closed via the following commit(s):

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

commit a63ca21efdd5a67c58bbfa9b0ae2013dc471ba1d
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2024-05-12 12:08:10 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2024-05-12 22:34:53 +0000

    app-emulation/x48: Enable feature-macro locked libc extensions
    
    Closes: https://bugs.gentoo.org/871468
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/36653
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 app-emulation/x48/files/x48-0.6.4-configure.patch | 11 ++++
 app-emulation/x48/x48-0.6.4-r3.ebuild             | 70 +++++++++++++++++++++++
 2 files changed, 81 insertions(+)