Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893988 - dev-libs/libtecla: configure issues with clang 16
Summary: dev-libs/libtecla: configure issues with clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-12 02:15 UTC by Sam James
Modified: 2023-03-19 16:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-12 02:15:55 UTC
```
--- /tmp/clang/home/tinderbox/img/17.1_desktop_gnome_systemd-j4-20221201-200744/var/tmp/clang/dev-libs/libtecla-1.6.3/clang16-safe.log  2023-02-11 03:38:59.610319759 +0000
+++ /tmp/clang/home/tinderbox/img/17.1_desktop_gnome_systemd-j4-20221201-200744/var/tmp/clang/dev-libs/libtecla-1.6.3/clang16-errors.log        2023-02-11 03:38:59.610319759 +0000
[...]
@@ -93,7 +93,7 @@
 /usr/include/unistd.h:799:14: note: 'ttyname' declared here
 extern char *ttyname (int __fd) __THROW;
              ^
-ignoreme: warning: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
+ignoreme: error: incompatible integer to pointer conversion initializing 'char *' with an expression of type 'int' [-Wint-conversion]
     char *name = ptsname(0);
           ^      ~~~~~~~~~~
 ignoreme: error: call to undeclared function 'grantpt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
@@ -102,7 +102,7 @@
 ignoreme: error: call to undeclared function 'unlockpt'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
     int i2 = unlockpt(0);
              ^
```
Comment 1 David Seifert gentoo-dev 2023-03-19 16:05:53 UTC
seems fixed with

commit 9ccc798ee0f285317f413cdb3ea4e9cd1eb2b874
Author:     Sam James <sam@gentoo.org>
AuthorDate: Wed Dec 7 14:30:43 2022 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: Wed Dec 7 14:30:43 2022 +0000

    dev-libs/libtecla: EAPI 8, fix configure w/ clang 16
    
    Signed-off-by: Sam James <sam@gentoo.org>