Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 874546 - app-text/texlive-core-2021-r4 - /.../prepmx.c: error: return type defaults to int [-Werror=implicit-int]
Summary: app-text/texlive-core-2021-r4 - /.../prepmx.c: error: return type defaults to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
: 874555 (view as bug list)
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-03 08:13 UTC by Toralf Förster
Modified: 2023-02-28 03:01 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.21 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
app-text:texlive-core-2021-r4:20221003-055752.log.bz2 (app-text:texlive-core-2021-r4:20221003-055752.log.bz2,18.38 KB, application/x-bzip)
2022-10-03 08:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,73.49 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
environment (environment,126.89 KB, text/plain)
2022-10-03 08:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.76 KB, application/x-bzip)
2022-10-03 08:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,178.77 KB, application/x-bzip)
2022-10-03 08:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.46 KB, application/x-bzip)
2022-10-03 08:13 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-10-03 08:13:36 UTC
too long lines were shrinked:

  188 |     fgets(S, 256, stylefile);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"m-tx\ \(TeX\ Live\)\" -DPACKAGE_TARNAME=\"m-tx--tex-live-\" -DPACKAGE_VERSION=\"0.63a\" -DPACKAGE_STRING=\"m-tx\ \(TeX\ Live\)\ 0.63a\" -DPACKAGE_BUGREPORT=\"tex-k@tug.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"m-tx--tex-live-\" -DVERSION=\"0.63a\" -DSTDC_HEADERS=1
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"m-tx\ \(TeX\ Live\)\" -DPACKAGE_TARNAME=\"m-tx--tex-live-\" -DPACKAGE_VERSION=\"0.63a\" -DPACKAGE_STRING=\"m-tx\ \(TeX\ Live\)\ 0.63a\" -DPACKAGE_BUGREPORT=\"tex-k@tug.org\" -DPACKAGE_URL=\"\" -DPACKAGE=\"m-tx--tex-live-\" -DVERSION=\"0.63a\" -DSTDC_HEADERS=1
/var/tmp/portage/app-text/texlive-core-2021-r4/work/texlive-20210325-source/utils/m-tx/mtx-src/prepmx.c:772:1: error: return type defaults to 'int' [-Werror=implicit-int]
  772 | main(int argc, Char *argv[])
      | ^~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit af50553c502d12d3163e7ed114fc3646f1d1afd7
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 05:33:59 2022 +0000

    2022-10-03 05:33:58 UTC

emerge -qpvO app-text/texlive-core
[ebuild  N    ] app-text/texlive-core-2021-r4  USE="X luajittex tk -cjk -doc -source -xetex -xindy"
Comment 1 Toralf Förster gentoo-dev 2022-10-03 08:13:37 UTC
Created attachment 817252 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-03 08:13:39 UTC
Created attachment 817255 [details]
app-text:texlive-core-2021-r4:20221003-055752.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-03 08:13:40 UTC
Created attachment 817258 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-03 08:13:41 UTC
Created attachment 817261 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-03 08:13:42 UTC
Created attachment 817264 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-03 08:13:44 UTC
Created attachment 817267 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-03 08:13:45 UTC
Created attachment 817270 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-03 08:37:47 UTC
*** Bug 874555 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2022-11-24 08:16:16 UTC
The bug has been closed via the following commit(s):

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

commit 1483bf15cabed049b131eb44cfb409a84d06aa4c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-24 08:15:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-24 08:15:55 +0000

    app-text/texlive-core: fix build w/ clang 16
    
    wrt -D_GNU_SOURCE: this should be upstreamed but I want to revisit
    this once we've actually bumped to 2022.
    
    Closes: https://bugs.gentoo.org/874546
    Closes: https://bugs.gentoo.org/882245
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/texlive-core-2021-clang-16.patch         | 172 +++++++++++++++++++++
 ...-2021-r4.ebuild => texlive-core-2021-r5.ebuild} |   4 +
 2 files changed, 176 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2023-02-28 03:01:32 UTC
The bug has been referenced in the following commit(s):

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

commit b970182de2a6a6da4748572295e4a6e46f16736c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-02-28 02:56:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-28 03:01:16 +0000

    app-text/texlive-core: fix another Clang 16 configure issue
    
    Bug: https://bugs.gentoo.org/882245
    Bug: https://bugs.gentoo.org/874546
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/texlive-core-2021-clang-16.patch         | 49 ++++++++++++++++++++++
 ...-2021-r5.ebuild => texlive-core-2021-r6.ebuild} |  2 +-
 2 files changed, 50 insertions(+), 1 deletion(-)