Eugene wrote:
> For some strange reason Ubuntu users ask way more questions then users of rpm
> based distributions.
>
> Here is the rpm package rebuild instructions (Fedora 19), may be you can do
> similar for Ubuntu.
>
>
> Create local rpm build environment by creating the following single line
> ~/.rpmmacros file:
>
> %_topdir %(echo $HOME/localrpm)
>
> create minimum rpm directory structure
>
> $ mkdir -p ~/localrpm/{SPECS,SOURCES}
>
> install latest (as of now) source rpm into local rpm structure
>
> $ rpm -ivh
> http://yum.savoirfairelinux.com/sflphone/f19/SRPMS/sflphone-1.2.3-2.fc19.src.rpm
>
> get latest sources
>
> $ cd ~
> $ git clone http://git.sflphone.org/sflphone.git sflphone-1.2.3
> $ cd sflphone-1.2.3
> $ git clone git://anongit.kde.org/sflphone-kde kde
> $ cd ~
> $ tar --exclude=.git -cvzf localrpm/SOURCES/sflphone-1.2.3.tar.gz
> sflphone-1.2.3
>
> recreate source rpm with latest sources
>
> $ rpmbuild -bs localrpm/SPECS/sflphone.spec
>
> rebuild using mock
>
> $ mock [--no-clean -v] --rebuild
> $HOME/localrpm/SRPMS/sflphone-1.2.3-2.fc19.src.rpm
>
> Currently last steps fails on x86_64 because some kde libraries show up in
> /usr/lib instead of /usr/lib64, I had to modify sflphone.spec file.
>
> Eugene.
Given a lack of further suggestions, I attempted today to follow your
recipe. Things appeared to work properly until mock was called.
entering the line as noted above yields:
ERROR: [Errno 1] Operation not permitted
ERROR: The most common cause for this error is trying to run
/usr/sbin/mock as an unprivileged user.
ERROR: Check your path to make sure that /usr/bin/ is listed before
/usr/sbin, or manually run /usr/bin/mock to see if that fixes this problem.
I added the /usr/bin/ prefix, which results in a pop-up error message
"The password you typed is invalid. Please try again." with only a
"Close" button available.
So I am once again at a dead-end attempting to build locally.
Dave
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone