mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "haosdent (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-5925) Building Mesos in Docker 1.12 on OS X fails - tar issue in Makefile
Date Sat, 08 Oct 2016 16:54:21 GMT

     [ https://issues.apache.org/jira/browse/MESOS-5925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

haosdent updated MESOS-5925:
----------------------------
    Summary: Building Mesos in Docker 1.12 on OS X fails - tar issue in Makefile  (was: Building
Mesos in Docker Beta on OS X fails - tar issue in Makefile)

> Building Mesos in Docker 1.12 on OS X fails - tar issue in Makefile
> -------------------------------------------------------------------
>
>                 Key: MESOS-5925
>                 URL: https://issues.apache.org/jira/browse/MESOS-5925
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: Radoslaw Gruchalski
>
> I am building Mesos from sources using Docker Beta OS X. I have hit an issue today while
trying to build the following versions:
> - master
> - 1.0.0
> - 0.28.2
> but this problem will most likely apply to any version where this line: https://github.com/apache/mesos/blame/master/3rdparty/Makefile.am#L132
is in effect.
> The way I'm building:
> I have the Mesos sources locally on the disk, I copy the sources to a *build temp source*
directory, start the container and attach the *build temp source* as a volume to the docker
container. Wnen executing the build with mesos-deb-packaging, I hit the following problem:
> {noformat}
> Making all in libprocess
> make[3]: Entering directory `/mesos-src/build/3rdparty/libprocess'
> Making all in 3rdparty
> make[4]: Entering directory `/mesos-src/build/3rdparty/libprocess/3rdparty'
> gzip -d -c ../../../../3rdparty/libprocess/3rdparty/ry-http-parser-1c3624a.tar.gz | tar
xf -
> test ! -e ../../../../3rdparty/libprocess/3rdparty/ry-http-parser-1c3624a.patch || patch
-d ry-http-parser-1c3624a -p1 <../../../../3rdparty/libprocess/3rdparty/ry-http-parser-1c3624a.patch
> touch ry-http-parser-1c3624a-stamp
> gzip -d -c ../../../../3rdparty/libprocess/3rdparty/gmock-1.7.0.tar.gz | tar xf -
> tar: gmock-1.7.0/CHANGES: Cannot change ownership to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/CMakeLists.txt: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/configure.ac: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/CONTRIBUTORS: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/include/gmock/gmock-actions.h: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-cardinalities.h: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-actions.h: Cannot change ownership to
uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-actions.h.pump: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-function-mockers.h: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-function-mockers.h.pump: Cannot change
ownership to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-matchers.h: Cannot change ownership to
uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-matchers.h.pump: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-nice-strict.h: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-generated-nice-strict.h.pump: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-matchers.h: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-more-actions.h: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-more-matchers.h: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock-spec-builders.h: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/gmock.h: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/include/gmock/internal/gmock-generated-internal-utils.h: Cannot change
ownership to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/internal/gmock-generated-internal-utils.h.pump: Cannot
change ownership to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/internal/gmock-internal-utils.h: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/include/gmock/internal/gmock-port.h: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/LICENSE: Cannot change ownership to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/make/Makefile: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/Makefile.am: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/msvc/2005/gmock.sln: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/msvc/2005/gmock.vcproj: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/msvc/2005/gmock_config.vsprops: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/msvc/2005/gmock_main.vcproj: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/msvc/2005/gmock_test.vcproj: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/msvc/2010/gmock.sln: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/msvc/2010/gmock.vcxproj: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/msvc/2010/gmock_config.props: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/msvc/2010/gmock_main.vcxproj: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/msvc/2010/gmock_test.vcxproj: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/README: Cannot change ownership to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/scripts/fuse_gmock_files.py: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/scripts/generator/cpp/__init__.py: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/scripts/generator/cpp/ast.py: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/scripts/generator/cpp/gmock_class.py: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/scripts/generator/cpp/keywords.py: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/scripts/generator/cpp/tokenize.py: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/scripts/generator/cpp/utils.py: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/scripts/generator/gmock_gen.py: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/scripts/generator/LICENSE: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/scripts/generator/README: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/scripts/generator/README.cppclean: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/scripts/gmock-config.in: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/src/gmock-all.cc: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/src/gmock-cardinalities.cc: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/src/gmock-internal-utils.cc: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/src/gmock-matchers.cc: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/src/gmock-spec-builders.cc: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/src/gmock.cc: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/src/gmock_main.cc: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/test/gmock-actions_test.cc: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/test/gmock-cardinalities_test.cc: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-generated-actions_test.cc: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-generated-function-mockers_test.cc: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-generated-internal-utils_test.cc: Cannot change ownership
to uid 501, gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-generated-matchers_test.cc: Cannot change ownership to uid
501, gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-internal-utils_test.cc: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-matchers_test.cc: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/test/gmock-more-actions_test.cc: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-nice-strict_test.cc: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock-port_test.cc: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock-spec-builders_test.cc: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock_all_test.cc: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_ex_test.cc: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/test/gmock_leak_test.py: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_leak_test_.cc: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_link2_test.cc: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_link_test.cc: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_link_test.h: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_output_test.py: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_output_test_.cc: Cannot change ownership to uid 501, gid
10: Permission denied
> tar: gmock-1.7.0/test/gmock_output_test_golden.txt: Cannot change ownership to uid 501,
gid 10: Permission denied
> tar: gmock-1.7.0/test/gmock_stress_test.cc: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: gmock-1.7.0/test/gmock_test.cc: Cannot change ownership to uid 501, gid 10: Permission
denied
> tar: gmock-1.7.0/test/gmock_test_utils.py: Cannot change ownership to uid 501, gid 10:
Permission denied
> tar: Exiting with failure status due to previous errors
> make[4]: *** [gmock-1.7.0-stamp] Error 2
> make[4]: Leaving directory `/mesos-src/build/3rdparty/libprocess/3rdparty'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/mesos-src/build/3rdparty/libprocess'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/mesos-src/build/3rdparty'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/mesos-src/build/3rdparty'
> make: *** [all-recursive] Error 1
> {noformat}
> I do not know where the problem is exactly. I can only assume this is something caused
by Docker itself, I'm using 1.12.0-rc4-beta20 (build: 10404). For sure, the build worked with
previous beta with Docker 1.11.x. However, what I found out is that if I add {{--no-same-owner}}
to the {{tar}} command, the build works.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message