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

media-gfx/cura-4.2.1: version bump #12618

Closed
wants to merge 7 commits into from

Conversation

Perlovka
Copy link
Contributor

@Perlovka Perlovka commented Aug 4, 2019

Cura 4.2.1 and dependencies version bump

@Perlovka Perlovka changed the title Media gfx/cura media-gfx/cura-4.2.1: version bump Aug 4, 2019
@gentoo-bot
Copy link

Copyright policy change

Please note that on 2018-09-15 Trustees have approved new Gentoo copyright policy. All contributions made to Gentoo need to follow this policy. If you include the Signed-off-by line in your commit message, you indicate that you have read the policy and agree to its terms. For more detailed explanation, please see the new Gentoo copyright policy explained article.

Pull Request assignment

Submitter: @Perlovka
Areas affected: ebuilds
Packages affected: dev-libs/libarcus, dev-libs/libcharon, dev-libs/libsavitar, dev-python/uranium, media-gfx/cura...

dev-libs/libarcus: @gentoo/3dprint, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka
dev-libs/libcharon: @gentoo/3dprint, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka
dev-libs/libsavitar: @gentoo/3dprint, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka
dev-python/uranium: @gentoo/3dprint, @gentoo/python, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka
media-gfx/cura: @gentoo/3dprint, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka
media-gfx/curaengine: @gentoo/3dprint, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka
media-gfx/fdm-materials: @gentoo/3dprint, @alexxy, @gentoo/proxy-maint, @MathyV, @Perlovka

Linked bugs

Bugs linked: 691144, 687324, 680988, 691398


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else) assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Aug 4, 2019
@Perlovka
Copy link
Contributor Author

Perlovka commented Aug 4, 2019

@Amynka FYI, PR is already here 😉 (#9199 (comment))

@juippis
Copy link
Member

juippis commented Aug 10, 2019

 * ERROR: dev-python/uranium-4.2.0 failed (test phase):
 *   emake failed

could you look into this?

@juippis
Copy link
Member

juippis commented Aug 10, 2019

Seems like I can't even build curaengine,

FAILED: CMakeFiles/_CuraEngine.dir/src/layerPart.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DARCUS -DBUILD_TESTS -DBUILD_TESTS=1 -DVERSION=\"master\" -I/usr/include/stb -I. -I/tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/libs -I/tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/libs/clipper  -DNDEBUG -O3 -DNDEBUG -Wall -static-libstdc++ -fopenmp   -std=gnu++11 -MD -MT CMakeFiles/_CuraEngine.dir/src/layerPart.cpp.o -MF CMakeFiles/_CuraEngine.dir/src/layerPart.cpp.o.d -o CMakeFiles/_CuraEngine.dir/src/layerPart.cpp.o -c /tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/src/layerPart.cpp
/tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/src/layerPart.cpp: In function 'void cura::createLayerParts(cura::SliceMeshStorage&, cura::Slicer*)':
/tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/src/layerPart.cpp:57:5: error: 'total_layers' not specified in enclosing 'parallel'
   57 |     for (int layer_nr = 0; layer_nr < static_cast<int>(total_layers); layer_nr++)
      |     ^~~
/tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/src/layerPart.cpp:55:9: error: enclosing 'parallel'
   55 | #pragma omp parallel for default(none) shared(mesh, slicer) schedule(dynamic)
      |         ^~~
ninja: build stopped: subcommand failed.

any ideas?

@MathyV
Copy link
Contributor

MathyV commented Aug 18, 2019

@juippis are you using gcc-9? https://bugs.gentoo.org/685178

@MathyV
Copy link
Contributor

MathyV commented Aug 18, 2019

I can confirm everything builds for me with gcc-8.3.0. Sadly some functionality is still broken running as a regular user as described here Ultimaker/Cura#5488

@juippis
Copy link
Member

juippis commented Aug 19, 2019

Yes. You then have to fix the "broken" ebuild to depend on a working gcc, and make a check that such version of gcc is being used when trying to compile that package.
(EDIT: Or find a patch that makes it work with gcc-9)

@MathyV
Copy link
Contributor

MathyV commented Aug 20, 2019

Upstream apparently still is discussing the best way to tackle this, I think depending on gcc-8 is the best solution for now. @Perlovka can you update the PR?

@Perlovka
Copy link
Contributor Author

@MathyV <=gcc-8 for all ebuilds? gcc-9 is masked on my machines, can't check right now.
I'll try to fix ebuilds tomorrow.

@juippis
Copy link
Member

juippis commented Aug 21, 2019

Remember that you need to use either gcc-*version checks from toolchain-funcs.eclass or has_version to make it work. There are multiple examples in the tree.

@MathyV
Copy link
Contributor

MathyV commented Aug 21, 2019 via email

@Perlovka
Copy link
Contributor Author

could you look into this?

Well, I have no idea why src_test() is in ebuild, probably from ancient version.
I'll drop this.

@Perlovka
Copy link
Contributor Author

Perlovka commented Aug 21, 2019

Seems like only curaengine can't be built with gcc-9 or clang-8 (Ultimaker/CuraEngine#984 (comment)), so added checks for clang as well.

Fixed BDEPENDs where applicable.

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-08-21 16:41 UTC
Newest commit scanned: 4b5b705
Status: ❌ broken

There are too many broken packages to determine whether the breakages were added by the pull request. If in doubt, please rebase.

Issues:https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-accessibility/brltty
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-accessibility/speech-dispatcher
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-emulation/crossover-bin
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-emulation/xen-tools
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-eselect/eselect-opencascade
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-i18n/mozc
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#app-misc/vifm
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-ada/aunit
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-ada/gprbuild
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-db/sqlite
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-lang/python-exec
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-libs/libpwquality
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-libs/xapian
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-php/PEAR-PEAR
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-php/swoole
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-python/django-taggit
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-python/libtmux
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-python/pure-sasl
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-util/edb-debugger
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#dev-util/gyp
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#gnome-extra/gnome-commander
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#gui-apps/swayidle
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#mail-client/mutt
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#mail-client/neomutt
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#mail-mta/postfix
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#media-sound/ncmpcpp
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#media-video/griffith
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-analyzer/ettercap
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-firewall/ufw
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-fs/autofs
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-fs/netatalk
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-irc/anope
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-libs/daq
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-libs/neon
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-libs/nodejs
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-mail/mailbase
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-p2p/xmr-stak
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#net-proxy/haproxy
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sci-libs/tensorflow
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sci-libs/tensorflow-estimator
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sci-physics/vgm
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sci-visualization/tensorboard
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-apps/dstat
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-apps/nix
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-apps/openrc
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-apps/util-linux
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-cluster/corosync
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-devel/clang
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#sys-kernel/ck-sources
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#www-servers/lighttpd
https://qa-reports.gentoo.org/output/gentoo-ci/807c186/output.html#x11-wm/stumpwm

@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-08-21 17:22 UTC
Newest commit scanned: 01c5732
Status: ❌ broken

There are too many broken packages to determine whether the breakages were added by the pull request. If in doubt, please rebase.

Issues:https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-accessibility/brltty
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-accessibility/speech-dispatcher
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-emulation/crossover-bin
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-emulation/xen-tools
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-eselect/eselect-opencascade
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-i18n/mozc
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#app-misc/vifm
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-ada/aunit
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-ada/gprbuild
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-db/sqlite
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-lang/python-exec
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-libs/libpwquality
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-libs/xapian
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-php/PEAR-PEAR
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-php/swoole
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-python/django-taggit
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-python/libtmux
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-python/pure-sasl
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-util/edb-debugger
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#dev-util/gyp
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#gnome-extra/gnome-commander
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#gui-apps/swayidle
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#mail-client/mutt
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#mail-client/neomutt
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#mail-mta/postfix
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#media-sound/ncmpcpp
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#media-video/griffith
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-analyzer/ettercap
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-firewall/ufw
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-fs/autofs
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-fs/netatalk
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-irc/anope
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-libs/daq
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-libs/neon
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-libs/nodejs
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-mail/mailbase
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-p2p/xmr-stak
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#net-proxy/haproxy
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sci-libs/tensorflow
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sci-libs/tensorflow-estimator
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sci-physics/vgm
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sci-visualization/tensorboard
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-apps/dstat
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-apps/nix
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-apps/openrc
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-apps/util-linux
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-cluster/corosync
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-devel/clang
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#sys-kernel/ck-sources
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#www-servers/lighttpd
https://qa-reports.gentoo.org/output/gentoo-ci/7b9e6da/output.html#x11-wm/stumpwm

Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Closes: https://bugs.gentoo.org/691398
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Closes: https://bugs.gentoo.org/680988
Closes: https://bugs.gentoo.org/687324
Closes: https://bugs.gentoo.org/691144

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka@gmail.com>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2019-08-21 23:01 UTC
Newest commit scanned: b886bc7
Status: ✅ good

Issues already there before the PR (double-check them):
https://qa-reports.gentoo.org/output/gentoo-ci/b655fe3/output.html#sci-mathematics/rstudio

@juippis
Copy link
Member

juippis commented Aug 25, 2019

3 packages failed to compile with FEATURES="test" USE="test". I expect you to fix or RESTRICT them.

0% tests passed, 4 tests failed out of 4

Total Test time (real) =   0.33 sec

The following tests FAILED:
	  1 - pytest-main (Failed)
	  2 - pytest-OBJReader (Failed)
	  3 - pytest-STLReader (Failed)
	  4 - code-style (Failed)
Errors while running CTest
 * ERROR: dev-python/uranium-4.2.0::testworld failed (test phase):
Cloning into 'gmock'...
fatal: unable to access 'https://github.com/google/googletest.git/': Couldn't resolve host 'github.com'
Cloning into 'gmock'...
fatal: unable to access 'https://github.com/google/googletest.git/': Couldn't resolve host 'github.com'
Cloning into 'gmock'...
fatal: unable to access 'https://github.com/google/googletest.git/': Couldn't resolve host 'github.com'
CMake Error at /tmp/portage/media-gfx/curaengine-4.2.0/work/curaengine-4.2.0_build/gmock/tmp/gmock-gitclone.cmake:31 (message):
  Failed to clone repository: 'https://github.com/google/googletest.git'


-- Had to git clone more than once:
          3 times.

/tmp/portage/media-gfx/curaengine-4.2.0/work/CuraEngine-4.2.0/libs/clipper/clipper.cpp:66:8: note: ‘struct ClipperLib::TEdge’ declared here
 struct TEdge {
        ^~~~~
ninja: build stopped: subcommand failed.
 * ERROR: media-gfx/curaengine-4.2.0::testworld failed (compile phase):
10% tests passed, 9 tests failed out of 10

Total Test time (real) =   0.44 sec

The following tests FAILED:
	  1 - pytest-main (Failed)
	  2 - pytest-FirmwareUpdateChecker (Failed)
	  3 - pytest-LegacyProfileReader (Failed)
	  4 - pytest-UM3NetworkPrinting (Failed)
	  5 - pytest-VersionUpgrade25to26 (Failed)
	  6 - pytest-VersionUpgrade26to27 (Failed)
	  7 - pytest-VersionUpgrade27to30 (Failed)
	  8 - pytest-VersionUpgrade34to35 (Failed)
	  9 - code-style (Failed)
Errors while running CTest
 * ERROR: media-gfx/cura-4.2.1::testworld failed (test phase):

Then there's this:

 * Messages for package media-gfx/curaengine-4.2.0:

 * QA Notice: Files built without respecting CFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/bin/CuraEngine

I'll open bug reports for these errors later when I have more time, but for now, let's get this merged. Thanks!

thebitpit pushed a commit to thebitpit/gentoo that referenced this pull request Aug 30, 2019
Closes: https://bugs.gentoo.org/680988
Closes: https://bugs.gentoo.org/687324
Closes: https://bugs.gentoo.org/691144

Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Michael Perlov <perlovka@gmail.com>
Closes: gentoo#12618
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
@Perlovka Perlovka deleted the media-gfx/cura branch September 28, 2019 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. self-maintained The PR changes only packages that are maintained by the submitter (i.e. no need to ask anybody else)
Projects
None yet
5 participants