Re: [opensuse-buildservice] [Suggestion] Use pacman-git for Arch:Core with `SKIP` md5sum feature.
On Sonntag, 10. Februar 2013, 17:16:04 wrote Marguerite Su:
Seems I ran into my own world so fast that no one really understands me :-(
Two simple questions:
1. How can I know the correct md5sum/anysum of a tar_scm source like this one:
About which md5sum do speak here exactly? * of this _service file * of all sources in side of the package * of the created tar ball
<service name="tar_scm"> <param name="history-depth">1</param> <param name="url">git://github.com/sunpinyin/sunpinyin.git </param> <param name="version">2.0.4.git20130208</param> <param name="scm">git</param> </service> <service name="recompress"> <param name="file">*.tar</param> <param name="compression">bz2</param> </service> <service name="set_version" />
2. How can I use a custom `pacman` package to build for ArchLinux packages?
home:MargueriteSu:archlinux:pacman has it. and I use this in home:MargueriteSu:archlinux:
<repository name="ArchLinux"> <path project="home:MargueriteSu:archlinux:pacman" repository="ArchLinux"/> <path project="Arch:Core" repository="standard"/> <path project="Arch:Extra" repository="standard"/> <arch>x86_64</arch> <arch>i586</arch> </repository>
but it fails with:
https://build.opensuse.org/package/live_build_log?arch=x86_64&package=sunpin...
error: invalid option
So, this comes from a script of that package. One needs to check what iana-etc is trying to call. Maybe some package needs preinstalled or the install order is just wrong (maybe due to lacking package dependencies).
Thanks & Happy snake year
Marguerite
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, Adrian, "Adrian Schröter" <adrian@suse.de>写到:
About which md5sum do speak here exactly?
* of this _service file * of all sources in side of the package * of the created tar ball
I need a way to get the md5sum of the created tar ball. the 3rd case you mentioned. Here are some backgrounds explained why I need it. 1. Archlinux uses such source format: source('https://fcitx.googlecode.com/files/fcitx-4.2.7.tar.xz') and a: md5sum('asdfghjjlzxcvbnm') for an integrity check before the build . if they don't match, the build will not be started. But in OBS we actually can't download from the url in PKGBUILD during the build process, so we have to use a _service to download the url and set source to this: source('fcitx-4.2.7.tar.xz') 2 Archlinux uses git in PKGBUILD which means to git during the build: _gitsource=git://github.com/fcitx/fcitx prep( git clone _gitsource) build( cd fcitx configure & make) So the git stuff is not 'source' to Archlinux, but some middle product. So you dont need the md5sum of the git stuff. But OBS can't git clone in its VM. So we need a _service and add it as 'source' like the one in [1]. 3. but if you git outside the build and add it as a source, you have to provide its md5sum. Then I don't know how to get the md5sum of the created tar ball. Greetings Marguerite -- Sent from a stupid android without spell checking. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Marguerite