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:
#!/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)
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 ?
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).