Hi Daniel

this is fixed in -dev repo.... I don't have commit access to stable
branch ... but here is quick fix ...

edit your FOSSglib2.spec and add this line after %define src_url ....

%define src_dir         glib-%{src_ver}

Luc

On Fri, Oct 31, 2008 at 8:29 AM, Daniel Vergien
<daniel.vergien at rrz.uni-hamburg.de> wrote:
> Hi,
>
> when I try to build glib from the stable Release it break because pkgbuil
> want to cd to a dir called glib2-2.12.12 . But there is only a dir
> glib-2.12.12 .
> As a workaround I renamed the dir in the tarball. Then building glib works.
>
> Daniel
>
>
> The part of the logfile:
>
> pkgbuild: ### Configure for 64-bit ...
> pkgbuild: + cd FOSSglib2-2.12.12/amd64
> pkgbuild: + cd /nilfisk/home/dve/packages/BUILD/FOSSglib2-2.12.12/amd64
> pkgbuild: + rm -rf glib2-2.12.12
> pkgbuild: + /usr/bin/gzip -dc
> /nilfisk/home/dve/packages/SOURCES/glib-2.12.12.tar.gz
> pkgbuild: + /usr/sfw/bin/gtar xf -
> pkgbuild: + STATUS=0
> pkgbuild: + '[' 0 -ne 0 ']'
> pkgbuild: + cd glib2-2.12.12
> pkgbuild: /var/tmp/pkgbuild-dve/pkgbuild-tmp-1.24766: line 50: cd:
> glib2-2.12.12: No such file or directory
> pkgbuild: Bad exit status from /var/tmp/pkgbuild-dve/pkgbuild-tmp-1.24766
> (%prep)
> --- command output ends --- finished at Fri Oct 31 08:08:55 CET 2008
>
> _______________________________________________
> kde-discuss mailing list
> kde-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/kde-discuss
>
>



-- 
Lukas 'Luc' Oboril
IRC nickname: luc^ at freenode


When dealing with people, let us remember we are not dealing with
creatures of logic. We are dealing with creatures of emotions,
creatures bristling with prejudices and motivated by pride and vanity.
  Dale Carnegie

Reply via email to