Skip to content

texlive: fix build with clang 16#245806

Merged
drupol merged 1 commit intoNixOS:masterfrom
reckenrode:tix-clang16
Jul 29, 2023
Merged

texlive: fix build with clang 16#245806
drupol merged 1 commit intoNixOS:masterfrom
reckenrode:tix-clang16

Conversation

@reckenrode
Copy link
Copy Markdown
Contributor

@reckenrode reckenrode commented Jul 28, 2023

Description of changes

There are two instances of main with an implicit int return type. This is fixed upstream, so this patch is to allow texlive-2022 to build until texlive-2023 is merged into nixpkgs.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

There are two instances of `main` with an implicit `int` return type.
This is fixed upstream, so this patch is to allow texlive-2022 to build
until texlive-2023 is merged into nixpkgs.
@github-actions github-actions bot added the 6.topic: TeX Issues regarding texlive and TeX in general label Jul 28, 2023
@AndersonTorres AndersonTorres changed the title tix: fix build with clang 16 texlive: fix build with clang 16 Jul 28, 2023
@reckenrode
Copy link
Copy Markdown
Contributor Author

reckenrode commented Jul 28, 2023

I’m going to push a commit with the correct message. I’m also going to retarget master because texlive only has ~100 rebuilds. Edit: Also, thank you for correcting the PR title.

@reckenrode reckenrode changed the base branch from staging to master July 28, 2023 01:50
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. labels Jul 28, 2023
@reckenrode
Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 245806 run on aarch64-darwin 1

18 packages marked as broken and skipped:
  • diffoscope
  • diffoscope.dist
  • diffoscope.man
  • frescobaldi
  • frescobaldi.dist
  • giac
  • giac.doc
  • herwig
  • python310Packages.cnvkit
  • python310Packages.cnvkit.dist
  • python311Packages.cnvkit
  • python311Packages.cnvkit.dist
  • sherpa
  • therion
  • xyce
  • xyce-parallel
  • xyce-parallel.doc
  • xyce.doc
6 packages failed to build:
  • python310Packages.fpylll
  • python310Packages.fpylll.dist
  • python310Packages.paranoid-crypto
  • python310Packages.paranoid-crypto.dist
  • python311Packages.fpylll
  • python311Packages.fpylll.dist
121 packages built:
  • R
  • advi
  • asciidoc-full
  • asciidoc-full-with-plugins
  • asciidoc-full-with-plugins.dist
  • asciidoc-full.dist
  • asymptote
  • auctex
  • auctex.tex
  • auto-multiple-choice
  • blahtexml
  • blahtexml.doc
  • cddlib
  • dblatex
  • dblatexFull
  • dot2tex (python310Packages.dot2tex)
  • dot2tex.dist (python310Packages.dot2tex.dist)
  • eclib
  • evince
  • evince.dev
  • evince.devdoc
  • gap
  • gap-full
  • gap-minimal
  • gfan
  • gnu-cobol
  • gnu-cobol.bin
  • gnu-cobol.dev
  • gnu-cobol.lib
  • gp2c
  • kakounePlugins.rep
  • latte-integrale
  • lcalc
  • lilypond
  • lilypond-unstable
  • lilypond-unstable-with-fonts
  • lilypond-with-fonts
  • manga-cli
  • ne
  • nuweb
  • ocamlPackages.ocaml-r
  • pari
  • postgresql11JitPackages.plr
  • postgresql11Packages.plr
  • postgresql12JitPackages.plr
  • postgresql12Packages.plr
  • postgresql13JitPackages.plr
  • postgresql13Packages.plr
  • postgresqlJitPackages.plr (postgresql14JitPackages.plr)
  • postgresql14Packages.plr
  • postgresql15JitPackages.plr
  • postgresql15Packages.plr
  • pynac
  • python310Packages.cypari2
  • python310Packages.cypari2.dist
  • python310Packages.cysignals
  • python310Packages.cysignals.dist
  • python310Packages.pplpy
  • python310Packages.pplpy.dist
  • python310Packages.pplpy.doc
  • python310Packages.primecountpy
  • python310Packages.primecountpy.dist
  • python310Packages.pypandoc
  • python310Packages.pypandoc.dist
  • python310Packages.radian
  • python310Packages.radian.dist
  • python310Packages.rchitect
  • python310Packages.rchitect.dist
  • rivet (python310Packages.rivet)
  • python310Packages.rpy2
  • python310Packages.rpy2.dist
  • python310Packages.sphinxcontrib-bayesnet
  • python310Packages.sphinxcontrib-bayesnet.dist
  • python310Packages.sphinxcontrib-tikz
  • python310Packages.sphinxcontrib-tikz.dist
  • python310Packages.unstructured
  • python310Packages.unstructured.dist
  • python311Packages.cypari2
  • python311Packages.cypari2.dist
  • python311Packages.cysignals
  • python311Packages.cysignals.dist
  • python311Packages.dot2tex
  • python311Packages.dot2tex.dist
  • python311Packages.pplpy
  • python311Packages.pplpy.dist
  • python311Packages.pplpy.doc
  • python311Packages.primecountpy
  • python311Packages.primecountpy.dist
  • python311Packages.pypandoc
  • python311Packages.pypandoc.dist
  • python311Packages.radian
  • python311Packages.radian.dist
  • python311Packages.rchitect
  • python311Packages.rchitect.dist
  • python311Packages.rivet
  • python311Packages.rpy2
  • python311Packages.rpy2.dist
  • python311Packages.sphinxcontrib-bayesnet
  • python311Packages.sphinxcontrib-bayesnet.dist
  • python311Packages.sphinxcontrib-tikz
  • python311Packages.sphinxcontrib-tikz.dist
  • python311Packages.unstructured
  • python311Packages.unstructured.dist
  • rWrapper
  • radianWrapper
  • sagetex
  • singular
  • texlive.combined.scheme-basic
  • texlive.combined.scheme-context
  • texlive.combined.scheme-full
  • texlive.combined.scheme-gust
  • texlive.combined.scheme-infraonly
  • texlive.combined.scheme-medium
  • texlive.combined.scheme-minimal
  • texlive.combined.scheme-small
  • texlive.combined.scheme-tetex
  • thepeg
  • vimPlugins.openscad-nvim
  • wayback-machine-archiver
  • wayback-machine-archiver.dist
  • zathura

@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. and removed 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 2501-5000 This PR causes many rebuilds on Linux and should target the staging branches. labels Jul 28, 2023
@reckenrode
Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review run on x86_64-darwin 1

11 packages marked as broken and skipped:
  • frescobaldi
  • frescobaldi.dist
  • python310Packages.cnvkit
  • python310Packages.cnvkit.dist
  • python311Packages.cnvkit
  • python311Packages.cnvkit.dist
  • therion
  • xyce
  • xyce-parallel
  • xyce-parallel.doc
  • xyce.doc
5 packages failed to build:
  • diffoscope
  • diffoscope.dist
  • diffoscope.man
  • dwarf-fortress-packages.dwarf-therapist
  • dwarf-fortress-packages.dwarf-therapist-original
131 packages built:
  • R
  • advi
  • asciidoc-full
  • asciidoc-full-with-plugins
  • asciidoc-full-with-plugins.dist
  • asciidoc-full.dist
  • asymptote
  • auctex
  • auctex.tex
  • auto-multiple-choice
  • blahtexml
  • blahtexml.doc
  • cddlib
  • dblatex
  • dblatexFull
  • dot2tex (python310Packages.dot2tex)
  • dot2tex.dist (python310Packages.dot2tex.dist)
  • eclib
  • evince
  • evince.dev
  • evince.devdoc
  • gap
  • gap-full
  • gap-minimal
  • gfan
  • giac
  • giac.doc
  • gnu-cobol
  • gnu-cobol.bin
  • gnu-cobol.dev
  • gnu-cobol.lib
  • gp2c
  • herwig
  • kakounePlugins.rep
  • latte-integrale
  • lcalc
  • lilypond
  • lilypond-unstable
  • lilypond-unstable-with-fonts
  • lilypond-with-fonts
  • manga-cli
  • ne
  • nuweb
  • ocamlPackages.ocaml-r
  • pari
  • postgresql11JitPackages.plr
  • postgresql11Packages.plr
  • postgresql12JitPackages.plr
  • postgresql12Packages.plr
  • postgresql13JitPackages.plr
  • postgresql13Packages.plr
  • postgresqlJitPackages.plr (postgresql14JitPackages.plr)
  • postgresql14Packages.plr
  • postgresql15JitPackages.plr
  • postgresql15Packages.plr
  • pynac
  • python310Packages.cypari2
  • python310Packages.cypari2.dist
  • python310Packages.cysignals
  • python310Packages.cysignals.dist
  • python310Packages.fpylll
  • python310Packages.fpylll.dist
  • python310Packages.paranoid-crypto
  • python310Packages.paranoid-crypto.dist
  • python310Packages.pplpy
  • python310Packages.pplpy.dist
  • python310Packages.pplpy.doc
  • python310Packages.primecountpy
  • python310Packages.primecountpy.dist
  • python310Packages.pypandoc
  • python310Packages.pypandoc.dist
  • python310Packages.radian
  • python310Packages.radian.dist
  • python310Packages.rchitect
  • python310Packages.rchitect.dist
  • rivet (python310Packages.rivet)
  • python310Packages.rpy2
  • python310Packages.rpy2.dist
  • python310Packages.sphinxcontrib-bayesnet
  • python310Packages.sphinxcontrib-bayesnet.dist
  • python310Packages.sphinxcontrib-tikz
  • python310Packages.sphinxcontrib-tikz.dist
  • python310Packages.unstructured
  • python310Packages.unstructured.dist
  • python311Packages.cypari2
  • python311Packages.cypari2.dist
  • python311Packages.cysignals
  • python311Packages.cysignals.dist
  • python311Packages.dot2tex
  • python311Packages.dot2tex.dist
  • python311Packages.fpylll
  • python311Packages.fpylll.dist
  • python311Packages.pplpy
  • python311Packages.pplpy.dist
  • python311Packages.pplpy.doc
  • python311Packages.primecountpy
  • python311Packages.primecountpy.dist
  • python311Packages.pypandoc
  • python311Packages.pypandoc.dist
  • python311Packages.radian
  • python311Packages.radian.dist
  • python311Packages.rchitect
  • python311Packages.rchitect.dist
  • python311Packages.rivet
  • python311Packages.rpy2
  • python311Packages.rpy2.dist
  • python311Packages.sphinxcontrib-bayesnet
  • python311Packages.sphinxcontrib-bayesnet.dist
  • python311Packages.sphinxcontrib-tikz
  • python311Packages.sphinxcontrib-tikz.dist
  • python311Packages.unstructured
  • python311Packages.unstructured.dist
  • rWrapper
  • radianWrapper
  • sagetex
  • sherpa
  • singular
  • texlive.combined.scheme-basic
  • texlive.combined.scheme-context
  • texlive.combined.scheme-full
  • texlive.combined.scheme-gust
  • texlive.combined.scheme-infraonly
  • texlive.combined.scheme-medium
  • texlive.combined.scheme-minimal
  • texlive.combined.scheme-small
  • texlive.combined.scheme-tetex
  • thepeg
  • vimPlugins.openscad-nvim
  • wayback-machine-archiver
  • wayback-machine-archiver.dist
  • zathura

@reckenrode
Copy link
Copy Markdown
Contributor Author

diffoscope failed to build on x86_64-darwin because one of its tested hanged, and I killed it. I don’t know if it’s related to running under Rosetta 2 or what the issue is.

@xworld21
Copy link
Copy Markdown
Contributor

@GrahamcOfBorg build tests.texlive

for good measure

@drupol drupol merged commit 1a64695 into NixOS:master Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: TeX Issues regarding texlive and TeX in general 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants