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
image/library/libtiff: build with libjpeg8-turbo #2866
Conversation
@timmooney Could you try adding ENV+= -i and check the test suite again? |
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.
Modulo the tests, OK.
components/library/tiff/Makefile
Outdated
@@ -49,8 +55,7 @@ install: $(INSTALL_32_and_64) | |||
test: $(NO_TESTS) |
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.
If the trick with ENV works then add the tests.
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.
also 'unexport SHELLOPTS' can be more polite way to fix this issue
Any update on it? |
Sorry, this week is busy with projects, it will probably be Friday before I can try what you've suggested |
@timmooney any update? |
Sorry for the delay, I continue to be busy with projects. I tried what Alexander suggested with ENV += -i and that fixed the issue -- all 78 tests in the testsuite now pass for both 32 and 64 bit builds. Should I update my pull request with that change, or does @pyhalov prefer that I use 'unexport SHELLOPTS'? After his hint about that, I see the comments in a few other Makefiles. |
unexport SHELLOPTS seems to be less rude, but in this case it doesn't matter much |
8188298
to
5e41dde
Compare
Rebuild image/library/libtiff with libjpeg8-turbo.
Besides the standard stuff (updating REQUIRED_PACKAGES, bumping COMPONENT_REVISION, adding the necessary CFLAGS/CPPFLAGS/CXXFLAGS/LDFLAGS), I updated the COMPONENT_PROJECT_URL. The old one results in a 404.
Also, the component doesn't specify any test suite, but libtiff does have a "check" target that passes for both i86 and amd64 when I run them manually from the respective build directory. I tried switching the test target to 'test: $(TEST_32_and_64)' but then all the tests fail with a libtool error, so I left the test target as it is.
Finally, after the rebuild: