Permission denied

Hi !

It’s a long time I work on Nightingale now and I have another problem but I don’t understand what is it.
Nightingale is a fork of songbird and they removed some files won’t be necessary because dependencies will be compile by ourself. So I had re-add a script necessary you can found here: SUSE Paste
After upload on OBS I define a command, MSYS_CP like to be the script but during build process I get this:

make: execvp: …/msys-recursive-cp: Permission denied

Had anyone an idea how to solve this ?
Thanks
@+
Posophe

Check the permissions of the script. Probably no execute bit.

Permissions ok (chmod a+x [script]). Perhaps we can’t execute scripts during build process, no ?
@+
Posophe

On Tue, 22 May 2012 11:46:02 +0000, posophe wrote:

> Permissions ok (chmod a+x [script]). Perhaps we can’t execute scripts
> during build process, no ?
> @+
> Posophe

I don’t think that’s the case - what is the content of the script? (Post
between code tags, please)

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

#!/bin/bash
#
# This seems like a really stupid script, but it is a replacement for MSYS’s
# wonky and anemic “cp” command; on large recursive copies, it is common
# to get errors about “will not create hard link foo' to directory bar’”,
# when foo and bar aren’t even related. Mook gave the idea that using tar
# for large copies like this is a workaround that proves to be reliable.
#
# It still makes me cry, though.

SRCDIR="$1"  
DESTDIR="$2"  
SRCTARARGS="$3"  
DESTTARARGS="$4"  
 
MKDIR=${MKDIR:=mkdir -p}  
TAR=${TAR:=tar}  
 
if test -z "$SRCDIR"; then  
   echo Source directory missing  
   echo $0 [source dir] [dest dir] [src tar cmd args] [dest tar cmd args]  
   exit 1  
fi  
 
if test -z "$DESTDIR"; then  
   echo Destination directory missing  
   echo $0 [source dir] [dest dir] [src tar cmd args] [dest tar cmd args]  
   exit 1  
fi  
 
if ! test -d "$DESTDIR"; then  
   echo Creating $DESTDIR...  
   $MKDIR "$DESTDIR"  
fi  
 
echo Running $TAR c $SRCTARARGS -C "$SRCDIR" . \| $TAR x $DESTTARARGS -C "$DESTDIR"  
$TAR c $SRCTARARGS -C "$SRCDIR" . | $TAR x $DESTTARARGS -C "$DESTDIR"

On Fri, 25 May 2012 09:56:02 +0000, posophe wrote:

> MKDIR=${MKDIR:=mkdir -p}
> TAR=${TAR:=tar}

So my first thought is this script uses the mkdir and tar commands. Are
those running OK on their system?

(BTW, I suggested using code tags so the script would be more readable -
I should have mentioned you have to “Go Advanced” in the editor in order
to get that option)

Jim

Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Sorry I didn’t show it
I don’t know if it works but I will midify this like TAR?=,…

On Fri, 25 May 2012 19:46:02 +0000, posophe wrote:

> Sorry I didn’t show it I don’t know if it works but I will midify this
> like TAR?=,…

Don’t make a change, just get to a command prompt and try executing the
commands ‘mkdir’ and ‘tar’ and see if you get a response.

Jim


Jim Henderson, CNA6, CDE, CNI, LPIC-1, CLA10, CLP10
Novell Knowledge Partner

Hi !
Commands into the script are working without any errors. The script is working with my pc.

I solved this one finally by using directly commands into spec file. But now cmake talk me about: ‘Could not create named generator’ i.e Unix Makefiles
I searched on google for a long time without founding any solution. An idea Perhaps ?

Thanks
@+
Posophe

On Thu, 31 May 2012 20:36:03 +0000, posophe wrote:

> But now cmake talk me about: ‘Could not create named generator’ i.e Unix
> Makefiles I searched on google for a long time without founding any
> solution. An idea Perhaps ?

What’s the specific output you get? That context could be important for
someone to see.

Be sure to post inside code tags (in the advanced message editor).

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Hi !

...]cmake  $'-DWITH_MP4=ON\342\200\202-DCMAKE_BUILD_TYPE=Release' -DWITH_ASF=ON  -DENABLE_STATIC=ON  $'-DCMAKE_C_FLAGS=-fPIC\342\200\202-fno-stack-protector'  $'-DCMAKE_CXX_FLAGS=-fPIC\342\200\202-fno-stack-protector'  $'-DCMAKE_C_FLAGS_DEBUG=-g\342\200\202-gstabs+'  $'-DCMAKE_CXX_FLAGS_DEBUG=-g\342\200\202-gstabs+'  -DCMAKE_C_FLAGS_RELEASE=-gstabs+ -DCMAKE_CXX_FLAGS_RELEASE=-gstabs+  -DCMAKE_VERBOSE_MAKEFILE=1  -DCMAKE_INSTALL_PREFIX=/usr/src/packages/BUILD/nightingale1.11.0/dependencies/vendor/linux-i686/taglib/release  -DCMAKE_DEBUG_POSTFIX= $'-G\342\200\202Unix\342\200\202Makefiles' ..
CMake Error: Could not create named generator  Unix Makefiles

@+
Posophe

Up with expect for reply

On Mon, 11 Jun 2012 18:46:02 +0000, posophe wrote:

> Up with expect for reply

No need to “bump”, if someone knows the answer, they’ll answer - if not,
then in general they won’t.

If nobody here knows the answer, you can try the build service mailing
list - info available at http://lists.opensuse.org

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C