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
[Packaging] Fix linux package builds #19102
Comments
Kouhei Sutou / @kou: We need an entry for the built version in debian/changelog. We can do this by running "rake version:update". |
Krisztian Szucs / @kszucs: Build link: https://travis-ci.org/kszucs/crossbow/builds/392622254 |
Kouhei Sutou / @kou: The error reason is:
It may be caused by |
Kouhei Sutou / @kou:
Yes! |
Krisztian Szucs / @kszucs: |
Kouhei Sutou / @kou: The next error:
Umm. Why is PDF document expected... |
Kouhei Sutou / @kou:
It's not related to RPM build. We can reproduce it with building with -DARROW_ORC=ON on CentOS 7. I don't know why. It isn't occurred on Debian GNU/Linux sid. It should be worked in separated JIRA ticket. |
Kouhei Sutou / @kou: FlatBuffers has build error:
Debian GNU/Linux stretch adds -Wdate-time flag by default and FlatBuffers uses -Werror flag. It causes the error. See also "timeless" value description of "reproducible" in http://man7.org/linux/man-pages/man1/dpkg-buildflags.1.html . We can disable the feature by: diff --git a/dev/tasks/linux-packages/debian/rules b/dev/tasks/linux-packages/debian/rules
index 5a3c0a31..5af70521 100755
--- a/dev/tasks/linux-packages/debian/rules
+++ b/dev/tasks/linux-packages/debian/rules
@@ -6,6 +6,8 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
+export DEB_BUILD_MAINT_OPTIONS=reproducible=-timeless
+
BUILD_TYPE=release
%: |
Kouhei Sutou / @kou: |
Kouhei Sutou / @kou: |
Krisztian Szucs / @kszucs: I've rebased, there is another issue now: https://api.travis-ci.org/v3/job/394593664/log.txt |
Kouhei Sutou / @kou: Can you apply this patch?
|
Kouhei Sutou / @kou: #2150 will fix this problem. |
Kouhei Sutou / @kou: |
Krisztian Szucs / @kszucs: debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc failed
debuild: fatal error at line 1116:
dpkg-buildpackage -rfakeroot -us -uc failed
rake aborted! Builds are here https://travis-ci.org/kszucs/crossbow/builds/396729506 |
Kouhei Sutou / @kou:
|
Kouhei Sutou / @kou:
|
Krisztian Szucs / @kszucs: For the previous patch the builds are running here https://travis-ci.org/kszucs/crossbow/builds/396755589 |
Kouhei Sutou / @kou:
|
Kouhei Sutou / @kou: |
Krisztian Szucs / @kszucs: |
Kouhei Sutou / @kou: Can you rebase and apply the following patch?
|
Krisztian Szucs / @kszucs: |
Kouhei Sutou / @kou: Can you apply the following patch for https://travis-ci.org/kszucs/crossbow/jobs/396941930 ?
|
Krisztian Szucs / @kszucs: |
Kouhei Sutou / @kou: It seems that the build is timed out. Can you apply the following patch?
|
Krisztian Szucs / @kszucs: I'll setup the deployments then. |
Kouhei Sutou / @kou: I want us to consider how to unify arrow-dist/cpp-linux/ and arrow/dev/tasks/linux-packages/ as the next step. |
Krisztian Szucs / @kszucs: Yes, I think We should maintain |
Krisztian Szucs / @kszucs: (ubuntu-xenial,ubuntu-artful have failed on this build somewhy) |
Kouhei Sutou / @kou: I've commetted about artifacts at #2162 (comment) . I think that tar.gz is better. Failure on https://travis-ci.org/kszucs/crossbow/builds/398516100 was caused by filename conflict. |
Krisztian Szucs / @kszucs: |
Build configuration: https://github.com/kszucs/arrow/tree/0d9d89b7bff32823ab68e6ec1dc7ade52511f7ee/dev/tasks/linux-packages
Failing build: https://travis-ci.org/kszucs/crossbow/builds/391894564?utm_source=github_status&utm_medium=notification
Looks like it’s waiting for a user input? There might be some hardcoded version too, because the expected is 0.9.1 instead of 0.9.0.
ping @kou
Reporter: Krisztian Szucs / @kszucs
Assignee: Kouhei Sutou / @kou
Note: This issue was originally created as ARROW-2713. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: