-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Migration to conda build 3 - Qt4 #94
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Related to #83 |
@conda-forge-admin , please rerender |
…nda-forge-pinning 2019.02.21
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of comments that I think will help to make the builds pass on Linux.
Removed dbus and libxcb
It seems that it needs cc: @jakirkham |
@marcelotrevisani, I think you can instruct Qt to not build the dbus bindings. They are not that important in Qt4. |
@@ -5,8 +5,8 @@ | |||
chmod +x configure | |||
|
|||
if [ $(uname) == Linux ]; then | |||
compiler_mkspec=qtbase/mkspecs/common/g++-base.conf | |||
flag_mkspec=qtbase/mkspecs/linux-g++/qmake.conf | |||
compiler_mkspec=mkspecs/common/g++-base.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change also on else
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will wait linux to finish
- {{ cdt('libxxf86vm') }} # [linux] | ||
- {{ cdt('libx11-devel') }} # [linux] | ||
- {{ cdt('libxext-devel') }} # [linux] | ||
- perl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add expat
as well to solve linux XML issues
- xorg-libx11 # [linux] | ||
- xorg-libxext # [linux] | ||
- xorg-libxrender # [linux] | ||
- xorg-libxt # [linux] | ||
|
||
test: | ||
files: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add {{ compiler('cxx') }}
otherwise the tests will fail
On windows it's compiling with |
recipe/build.sh
Outdated
export CPPFLAGS="$CPPFLAGS -DGLX_GLXEXT_PROTOTYPES" | ||
else | ||
compiler_mkspec=mkspecs/common/clang.conf | ||
flag_mkspec=mkspecs/macx-clang/qmake.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Qt4 archive we don't have this configuration, we only have:
- macx-icc
- macx-llvm
- macx-pbbuilder
- macx-xcode
- macx-xlc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do have darwin-g++
tho.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry I just checked we also have 'macx-g++', 'g++40' and 'g++42'. My eyes are failing me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a problem, anyway I'm using macx-llvm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcelotrevisani, Qt 4 probably doesn't compile with the latest Clang, so you should use g++42
(at least that's what we used in Anaconda).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! I will change it! I will just wait the CI linux to finish
Thanks!
I really don't like it, I would like to use that just if there is no other option. The reason is: in conda in general we try to avoid internal dependencies of each package, in this case |
@marcelotrevisani ooooh I see. Do we have a cdt package for that then? I see it's already included as a dependency (but not cdt) |
Yes, we have to investigate why is not finding this lib, because it is already included... which is odd |
@ccordoba12 we're having some weird issues on
|
That's very similar to https://travis-ci.org/conda-forge/pyqt-feedstock/jobs/488744479#L602 (from conda-forge/pyqt-feedstock#45) but I don't understand its cause. As far as I know, it's an XCode issue (i.e. you probably need to use an older XCode to build Qt4). |
Nice! I'll try to investigate that, thanks :) |
cc: @ocefpaf I skipped the other platforms because they are already passing and |
For some reason is trying to compile for |
If you remove the arch flag it will turn back to 64 lol |
@conda-forge-admin , please rerender |
…da-forge-pinning 2019.03.17
@ocefpaf , please review and merge it if you agree |
88 commits and 37 changed files... I guess that only the CIs will be "reviewing" this PR ;-p |
@@ -102,3 +137,4 @@ extra: | |||
- mingwandroid | |||
- gillins | |||
- msarahan | |||
- marcelotrevisani |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
recipe/meta.yaml
Outdated
files: | ||
- test | ||
commands: | ||
|
||
- conda inspect linkages -p $PREFIX qt # [not win] | ||
- conda inspect objects -p $PREFIX qt # [osx] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We no longer need these lines but let's get this merged as soon as it passes. We can remove these with a [skip ci]
PR later.
recipe/meta.yaml
Outdated
- vc9 # [win and py27] | ||
- vc10 # [win and py34] | ||
- vc14 # [win and py>=35] | ||
number: 1000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be 9
instead of 1000
not that the migration is done the 1000
has no meaning.
(Also, if it was during the migration, it should've been 1009
.)
recipe/meta.yaml
Outdated
- vc10 # [win and py34] | ||
- vc14 # [win and py>=35] | ||
number: 1000 | ||
# skipping linux for now, because it is already being packaged on Linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These comments are staled. Can you removed them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments that can be addressed now or later. It is up to you if you are in a hurry to get this merged.
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)