Le 26/05/2013 12:39, Marius Cirsta a écrit :
Sorry, my mistake. If 1.8.2 is your version then the mismatch is
given by the up2date function. This checks what the latest upstream
version is. In this case as you can see it looks for the latest
version from : http://ftp.frugalware.org/pub/other/people/baste/sources/muffin/
. This happens to be 1.1.1 .
As a quick fix you can just replace the up2date function with a static 1.8.2.
For a better fix you need to talk to our Fruglaware dev Baste to
upload a new version. Also I guess if you really want to you can write
a new up2date function. This will be a good exercise. You can look at
other packages for inspiration.
On Sun, May 26, 2013 at 10:51 AM, Roelof Wobben <[email protected]> wrote:
Date: Sun, 26 May 2013 00:20:59 +0300
From: [email protected]
To: [email protected]
Subject: Re: [Frugalware-devel] problem building my first package
On Sat, May 25, 2013 at 7:26 PM, Roelof Wobben <[email protected]>
wrote:
Hello,
I want to try to update Muffin to the newest version.
So i changed the version number from 1.1.1 to 1.8.2.
Then I saved the changed build file and did repoman upd.
After that I did makepkg and I see these error :
==> Attempting to mount chroot directories...
==> Successfully mounted chroot directories.
==> Updating the '-stable' chroot environment
:: Synchronizing package databases...
frugalware is up to date
[18:20:34] warning: pacman-g2-3.8.9-5cinna2 is up to date -- skipping
:: Starting local database upgrade...
==> Copying config files to chroot
==> Copying muffin's buildscript to chroot
==> Entering chroot environment
usermod: group 'ccache' does not exist
==> Making package: muffin 1.8.2-1 (Sat May 25 18:20:35 CEST 2013)
==> Checking Buildtime Dependencies...
==> Checking Runtime Dependencies...
==> Checking for newer version...
FAILED
==> ERROR: Upstream version differs! (1.8.2 != 1.1.1)
==> Attempting to umount chroot directories...
==> Successfully umounted chroot directories.
How can I make this error away ?
Roelof
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel
Hi.
First of all welcome to the Frugalware development camp. You'll find
each frugalware package has a version and other properties
pkgver=1.1.1
pkgrel=2
where pkver is the version of the package that corresponds to the
upstream version and pkrel is the minor FW version. If modifications
are made to the Frugalware package only then pkgrel is increased but
if you want to upgrade to a new upstream version then you need to
change pkver and reset pkgrel to 1.
The error you get is because the up2date function for muffin knows
that the latest version is 1.8.2 while the pkver specified is 1.1.1.
Since when working on a package you usually want to push the latest
version of it this is considered an error.
You should read a bit in the man pages: man FrugalBuild.
Good luck.
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel
Thanks,
I did changed the version number to 1.8.2.
I will look if the pkgver us set to 1.
and I will look into the man pages.
Roelof
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel
Hi,
I'm update muffin-1.8.2.tar.gz
http://ftp.frugalware.org/pub/other/people/baste/sources/muffin/
See you later
--
Sébastien VINCENT Aka Baste
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel