[opensuse-packaging] fcitx-rime OBS strange behavior (execuate permission denied, fail to use executables in the build created during the build)
Hi, I'm struggling to build fcitx-rime in home:MargueriteSu:branches:M17N There's a line in the source code data/CMakeLists.txt: COMMAND cd ${GEN_RIME_DATADIR} && "${PROJECT_BINARY_DIR}/src/build_yaml" It looks promising, but when I tried to build, it always came to a : build_yaml permission denied. The most interesting thing is, it can be built without any problem locally, using: osc build openSUSE_12.2 x86_64 fcitx-rime.spec --local So what happened? how can I get out of this? By the way, what is "SUSE_ASNEEDED"? I'm new to openSUSE, thus I have no chance to see its meaning on "old" en wiki, but seems it's the only place where there's its definition as AJ's user page said. Thanks, Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi Marguerite,
On 7/23/2012 at 08:03 AM, Marguerite Su wrote:
By the way, what is "SUSE_ASNEEDED"?
See http://en.opensuse.org/openSUSE:Packaging_Perl and http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap2 Thanks, Joey Zheng -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, Am Montag, 23. Juli 2012 schrieb Marguerite Su:
COMMAND cd ${GEN_RIME_DATADIR} && "${PROJECT_BINARY_DIR}/src/build_yaml"
It looks promising, but when I tried to build, it always came to a :
build_yaml permission denied.
I'd guess you should do a chmod +x before calling it. Other reasons migt be that you don't have permissions on the file (unlikely if you just built it), the filesystem is mounted noexec (also unlikely in OBS) or there's an AppArmor profile for the calling process (even more unlikely for "make" ;-) Regards, Christian Boltz --
That's the part where we create a flame war and then try to collect some useful ideas afterwards. ;-) Let's collect ideas directly ;-) Humm.. interesting.. never thought about that approach. :-) [> Andreas Jaeger and (>>) Gustavo Niemeyer in opensuse-packaging]
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Mon, Jul 23, 2012 at 8:15 PM, Christian Boltz
I'd guess you should do a chmod +x before calling it.
Other reasons migt be that you don't have permissions on the file (unlikely if you just built it), the filesystem is mounted noexec (also unlikely in OBS) or there's an AppArmor profile for the calling process (even more unlikely for "make" ;-)
Hi, Christian, Thanks for help. I just built it earlier in the same build...and it has +x permission. I noticed its owner isn't "root" but a serial number in a local build (I don't know how to check that on OBS) I built it locally (not in /usr/src/packages, but using osc build), it should be just the same situation as on OBS server, but actually it's not. I can build it successfully in a local build, but online build fails. Marguerite -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Quoting Marguerite Su :
Hi,
I'm struggling to build fcitx-rime in home:MargueriteSu:branches:M17N
There's a line in the source code data/CMakeLists.txt:
COMMAND cd ${GEN_RIME_DATADIR} && "${PROJECT_BINARY_DIR}/src/build_yaml"
It looks promising, but when I tried to build, it always came to a :
build_yaml permission denied.
A very wild guess: your Makefile is not able to be processed in parallel execution. Dominqiue -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Christian Boltz
-
Dominique Leuenberger a.k.a DimStar
-
Joey Zheng
-
Marguerite Su