Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880221 - dev-lang/erlang-25.1.1 fails test - my_fds.c: error: incompatible pointer to integer conversion passing FILE (aka struct _IO_FILE
Summary: dev-lang/erlang-25.1.1 fails test - my_fds.c: error: incompatible pointer to ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Davies
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-11-07 16:21 UTC by Toralf Förster
Modified: 2023-05-18 16:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.27 KB, text/plain)
2022-11-07 16:21 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,5.88 KB, application/x-bzip)
2022-11-07 16:21 UTC, Toralf Förster
Details
dev-lang:erlang-25.1.1:20221107-155451.log.bz2 (dev-lang:erlang-25.1.1:20221107-155451.log.bz2,42.13 KB, application/x-bzip)
2022-11-07 16:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,37.62 KB, text/plain)
2022-11-07 16:21 UTC, Toralf Förster
Details
environment (environment,152.45 KB, text/plain)
2022-11-07 16:21 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,17.18 KB, application/x-bzip)
2022-11-07 16:21 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,58.26 KB, application/x-bzip)
2022-11-07 16:21 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,81.37 KB, application/x-bzip)
2022-11-07 16:21 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-11-07 16:21:43 UTC
too long lines were shrinked:

make[2]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
clang -c -o my_echo.o -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -Werror=implicit-function-declaration -Werror=implicit-int -D_THREAD_SAFE -D_REENTRANT -I/var/tmp/portage/dev-lang/erlang-25.1.1/work/otp-OTP-25.1.1/lib/kernel/make_test_dir/otp/usr/include -DPACKAGE_NAME=\"\" 
clang -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -Werror=implicit-function-declaration -Werror=implicit-int -D_THREAD_SAFE -D_REENTRANT -I/var/tmp/portage/dev-lang/erlang-25.1.1/work/otp-OTP-25.1.1/lib/kernel/make_test_dir/otp/usr/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAM
clang -c -o my_fds.o -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -Werror=implicit-function-declaration -Werror=implicit-int -D_THREAD_SAFE -D_REENTRANT -I/var/tmp/portage/dev-lang/erlang-25.1.1/work/otp-OTP-25.1.1/lib/kernel/make_test_dir/otp/usr/include -DPACKAGE_NAME=\"\" -
my_fds.c:11:20: error: incompatible pointer to integer conversion passing 'FILE *' (aka 'struct _IO_FILE *') to parameter of type 'int' [-Wint-conversion]
    int res = read(stdin, buff, 1);
                   ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd-j4_test-20221107-060003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit 3d129753292bc180428ed7a73c86c714aff4a3b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Nov 7 15:16:53 2022 +0000

    2022-11-07 15:16:53 UTC

emerge -qpvO dev-lang/erlang
[ebuild  N    ] dev-lang/erlang-25.1.1  USE="kpoll ssl systemd -doc -emacs -java -odbc -sctp -tk -wxwidgets"
Comment 1 Toralf Förster gentoo-dev 2022-11-07 16:21:45 UTC
Created attachment 828459 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-07 16:21:46 UTC
Created attachment 828461 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-07 16:21:47 UTC
Created attachment 828463 [details]
dev-lang:erlang-25.1.1:20221107-155451.log.bz2
Comment 4 Toralf Förster gentoo-dev 2022-11-07 16:21:49 UTC
Created attachment 828465 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-11-07 16:21:50 UTC
Created attachment 828467 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-11-07 16:21:51 UTC
Created attachment 828469 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-07 16:21:52 UTC
Created attachment 828471 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-07 16:21:54 UTC
Created attachment 828473 [details]
temp.tar.bz2
Comment 9 Matthew Smith gentoo-dev 2023-05-18 16:49:15 UTC
Fixed in 25.3 and later.