Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Build nixpkgs with gcc 8 by default #63132

Merged
merged 2,533 commits into from
Sep 8, 2019
Merged

[WIP] Build nixpkgs with gcc 8 by default #63132

merged 2,533 commits into from
Sep 8, 2019

Conversation

vcunat
Copy link
Member

@vcunat vcunat commented Jun 14, 2019

Reopened #53760

@vcunat vcunat changed the base branch from master to staging June 14, 2019 16:03
@vcunat
Copy link
Member Author

vcunat commented Jun 14, 2019

Unfortunately it will need some work, probably a rebase after the months.

@fpletz
Copy link
Member

fpletz commented Jun 14, 2019

@vcunat Do you intend to work on this? Otherwise I'd like to try to do the rebase.

@vcunat
Copy link
Member Author

vcunat commented Jun 14, 2019

I do not, at least not immediately.

@ofborg ofborg bot added 6.topic: golang 6.topic: ruby 2.status: merge conflict This PR has merge conflicts with the target branch labels Jun 14, 2019
@FRidh FRidh added this to the 19.09 milestone Jun 15, 2019
@ofborg ofborg bot removed 6.topic: golang 2.status: merge conflict This PR has merge conflicts with the target branch labels Jun 17, 2019
@FRidh FRidh added the 2.status: work-in-progress This PR isn't done label Jun 17, 2019
@fpletz
Copy link
Member

fpletz commented Jun 17, 2019

Rebased. Here is the jobset on Hydra: https://hydra.nixos.org/jobset/nixpkgs/gcc8

@vcunat
Copy link
Member Author

vcunat commented Jun 17, 2019

BTW, gcc 9 should be already viable as well. Whole Fedora has switched months ago. Still, it might be easier to do these steps separately, for better grouping of similar problems.

@tobim
Copy link
Contributor

tobim commented Aug 13, 2019

I'd like to help with this PR, I hope there is still a chance for 19.09.
Here is a cutout of the most problematic dependencies (generated with eval-report):

name count
aarch64-linux llvm-7.1.0 4491
x86_64-linux qtscript-5.12.0 444
aarch64-linux perl5.30.0-B-C-1.55 330
x86_64-linux qt-4.8.7 229
aarch64-linux linux-4.19.51-libre-src 81
aarch64-linux xapian-1.4.11 68
aarch64-linux linux-5.2-rc4 64
x86_64-linux qtscript-5.11.3 48
aarch64-linux python2.7-httpretty-0.9.6 39
aarch64-linux linux-4.9.181 28
aarch64-linux linux-4.4.181 27
aarch64-linux python3.7-Faker-1.0.7 17
aarch64-linux python3.7-notebook-5.7.8 15
x86_64-linux python3.7-scikit-learn-0.20.3 15
aarch64-linux buildbot_www-2.3.1-py3-none-any.whl 14
x86_64-linux xen-4.8.3 14
x86_64-linux gmime-3.2.3 13
aarch64-linux libc++abi-7.1.0 12
aarch64-linux llvm-3.8.1 12
x86_64-linux python2.7-Faker-1.0.7 10
x86_64-linux arrow-cpp-0.13.0 10
aarch64-linux epson-inkjet-printer-escpr2-1.0.29-1lsb3.2.src.rpm 10
aarch64-linux python3.7-pycurl-7.43.0.2 10
x86_64-linux cwrap-5.1 6
aarch64-linux llvm-4.0.1 6
aarch64-linux ucto-v0.9.6 5
aarch64-linux buildbot-grid-view-2.3.1.tar.gz 5
aarch64-linux buildbot-waterfall-view-2.3.1.tar.gz 5
aarch64-linux nlohmann_json-3.6.1 5
aarch64-linux sbcl-1.5.3 5

@tobim
Copy link
Contributor

tobim commented Aug 13, 2019

For qt4: we could reuse the AUR patch: https://aur.archlinux.org/cgit/aur.git/plain/qt4-gcc8.patch?h=qt4, or do sed -i in postPatch.
For qt5: 5.12 is fixed in patchlevel 2, latest is 4, we are at .0.
qt-5.11 and lower are not patched and need a similar patch as qt4.

@tobim
Copy link
Contributor

tobim commented Aug 13, 2019

llvm should already be fixed thanks to #63928.

@vcunat vcunat requested a review from basvandijk as a code owner August 25, 2019 16:56
@ofborg ofborg bot added 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: haskell 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: pantheon The Pantheon desktop environment 6.topic: python 6.topic: xfce The Xfce Desktop Environment 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` labels Sep 3, 2019
doesn't support gcc 8
@globin globin mentioned this pull request Sep 3, 2019
@ofborg ofborg bot removed 6.topic: GNOME GNOME desktop environment and its underlying platform 6.topic: haskell 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: pantheon The Pantheon desktop environment 6.topic: python 6.topic: xfce The Xfce Desktop Environment 8.has: changelog 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` labels Sep 5, 2019
@FRidh
Copy link
Member

FRidh commented Sep 6, 2019

This is now in staging-next.
https://hydra.nixos.org/eval/1541002

@vcunat
Copy link
Member Author

vcunat commented Sep 8, 2019

No, it isn't, at least not the current version e729736 :-/ Bitten by the rebasing workflow?

@vcunat vcunat mentioned this pull request Sep 8, 2019
10 tasks
@vcunat
Copy link
Member Author

vcunat commented Sep 8, 2019

As I'm against history-rewriting on staging-next, I suggest we merge this commit to staging-next and have a careful look at the conflicts and the overall merge result.

@FRidh
Copy link
Member

FRidh commented Sep 8, 2019

Seems we have a gcc8 and gcc-8 branch. I merged the gcc8 branch instead of this gcc-8.

@vcunat
Copy link
Member Author

vcunat commented Sep 8, 2019

Bad luck; first GitHub decided it got merged even if it didn't, and now this naming confusion.

@FRidh FRidh merged commit e729736 into staging Sep 8, 2019
@fpletz fpletz deleted the gcc-8 branch September 9, 2019 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.