首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能用makepkg建造码头包(码头-git)

不能用makepkg建造码头包(码头-git)
EN

Stack Overflow用户
提问于 2015-10-06 21:22:24
回答 1查看 1.2K关注 0票数 0

我正在我的archlinux () (i686)上构建接口git包。

我从https://aur.archlinux.org/cgit/aur.git/snapshot/docker-git.tar.gz下载这个包,解压缩它并运行makepkg

但我得到了以下输出:

代码语言:javascript
复制
$ makepkg
==> Making package: docker-git 1:1.9.0.dev.18703.670c488-1 (Tue Oct  6 22:27:42 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating docker git repo...
Fetching origin
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 7 (delta 5), reused 4 (delta 3), pack-reused 0
Unpacking objects: 100% (7/7), done.
From https://github.com/docker/docker
 + 382d383...29cbec5 refs/pull/16758/merge -> refs/pull/16758/merge  (forced update)
  -> Found docker.service
  -> Found docker.install
  -> Found docker.conf
==> Validating source files with md5sums...
    docker ... Skipped
    docker.service ... Passed
    docker.install ... Passed
    docker.conf ... Passed
==> Extracting sources...
  -> Creating working copy of docker git repo...
Switched to a new branch 'makepkg'
==> Starting pkgver()...
==> Starting prepare()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
# WARNING! I don't seem to be running in the Docker container.
# The result of this command might be an incorrect build, and will not be
#   officially supported.
#
# Try this instead: make all
#

bundles/1.9.0-dev already exists. Removing.

---> Making bundle: dynbinary (in bundles/1.9.0-dev/dynbinary)
Created binary: bundles/1.9.0-dev/dynbinary/dockerinit-1.9.0-dev
Building: bundles/1.9.0-dev/dynbinary/docker-1.9.0-dev
# _/home/vmonteco/Downloads/docker-git/src/docker/docker
/usr/lib/go/pkg/tool/linux_386/link: running gcc failed: exit status 1
/tmp/go-link-183610645/000007.o: In function `__udivdi3':
(.text+0x8ebc0): multiple definition of `__udivdi3'
/tmp/go-link-183610645/000003.o:(.text+0x740): first defined here
collect2: error: ld returned 1 exit status

==> ERROR: A failure occurred in build().
    Aborting...

我是不是忘了什么?我不知道这个错误意味着什么。

我还尝试了来自src/docker子目录的建议的,但是我得到了:

代码语言:javascript
复制
$ make all
docker build -t "docker-dev:makepkg" .
/bin/sh: docker: command not found
Makefile:74: recipe for target 'build' failed
make: *** [build] Error 127

注意:我还必须替换docker.service md5和在PKGBUILD文件中,它以前是无效的。

EN

回答 1

Stack Overflow用户

发布于 2015-10-07 05:51:08

尝试使用这个PKGBUILD:https://gist.github.com/grimsock/8edc7c4f38800f3f992f构建

所有的依赖程序都安装好了吗?尤其是从制造依赖的数组?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32979979

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档