[aur-general] makepkg 3.2.1 testing
Hello, while pacman 3.2.0 release was quite good, makepkg one was a bit worse. I think the main cause is the lack of testing. I personally always use the devel versions of pacman and makepkg, but I use pacman daily, while I only use makepkg very irregularly. Anyway, the 3.2.1 release is close now, and all known makepkg bugs were fixed : - fix download functions with weird URLs (FS#11076) - fix creation of source package with local files (FS#11149) - fix error when sourcing profile scripts (FS#11179) - perform case-insensitive checksum comparison (FS#11283) For FS#11292 (handling multiple source files which have the same name), a new feature had to be introduced. it is now possible to use the filename of your choice for remote sources, like this : source=('filename::http://path/to/file') This allows to handle multiple source files with same name, and also to handle more nicely weird URLs like http://www.vim.org/scripts/download_script.php?src_id=6992. So if some of the intensive makepkg users could just grab this pre 3.2.1 release and simply check everything is still fine with their PKGBUILDs, or more specifically check that all the bugs mentioned here are fixed, or that the new filename feature correctly, that would be great. Simply gunzip the attached file, and either run it directly from where you extracted it, or put it somewhere in your path.
On Sun, Aug 24, 2008 at 3:42 AM, Xavier <shiningxc@gmail.com> wrote:
So if some of the intensive makepkg users could just grab this pre 3.2.1 release and simply check everything is still fine with their PKGBUILDs, or more specifically check that all the bugs mentioned here are fixed, or that the new filename feature correctly, that would be great.
One important point Dan just made : "speak up if you tested and things are working" Because that is very useful for us, thanks!
On Sun, 24 Aug 2008, Xavier wrote:
Hello,
while pacman 3.2.0 release was quite good, makepkg one was a bit worse. I think the main cause is the lack of testing. I personally always use the devel versions of pacman and makepkg, but I use pacman daily, while I only use makepkg very irregularly.
Anyway, the 3.2.1 release is close now, and all known makepkg bugs were fixed : - fix download functions with weird URLs (FS#11076)
I can confirm that this bug is fixed, at least for the case when an '?' is in the url.
- fix creation of source package with local files (FS#11149) - fix error when sourcing profile scripts (FS#11179) - perform case-insensitive checksum comparison (FS#11283)
the case-insensitive checksum comparison is fixed also.
For FS#11292 (handling multiple source files which have the same name), a new feature had to be introduced. it is now possible to use the filename of your choice for remote sources, like this : source=('filename::http://path/to/file') This allows to handle multiple source files with same name, and also to handle more nicely weird URLs like http://www.vim.org/scripts/download_script.php?src_id=6992.
So if some of the intensive makepkg users could just grab this pre 3.2.1 release and simply check everything is still fine with their PKGBUILDs, or more specifically check that all the bugs mentioned here are fixed, or that the new filename feature correctly, that would be great.
Simply gunzip the attached file, and either run it directly from where you extracted it, or put it somewhere in your path.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Good day Xavier, I found an old version string : ! 39: myver='3.2.0' 40: confdir='/etc' В Sun, 24 Aug 2008 03:42:05 +0200 Xavier <shiningxc@gmail.com> wrote:
Hello,
- fix creation of source package with local files (FS#11149) Work. Great! :)
-- Sincerely yours, Vitaliy Berdinskikh (Виталий Бердинских) xmpp:vitaliy@berdinskikh.in.ua
On Sun, Aug 24, 2008 at 9:12 AM, Vitaliy Berdinskikh <skipper13@root.ua> wrote:
Good day Xavier,
I found an old version string : ! 39: myver='3.2.0' 40: confdir='/etc'
That is right, the correct version will only be there in the real 3.2.1 release.
On Sunday 24 August 2008 03:42:05 Xavier wrote:
[...] For FS#11292 (handling multiple source files which have the same name), a new feature had to be introduced. it is now possible to use the filename of your choice for remote sources, like this : source=('filename::http://path/to/file') This allows to handle multiple source files with same name, and also to handle more nicely weird URLs like http://www.vim.org/scripts/download_script.php?src_id=6992.
I've tried the above feature with a modified version of my eclipse-subversive-svn-connector package (attached). I've got the following behavior from makepkg: After clearing my local makepkg source cache I try to run: $ makepkg -g ==> Retrieving Sources... -> Downloading feature.jar... --2008-08-24 10:22:46-- http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site... Resolving www.polarion.org... 212.227.210.100 Connecting to www.polarion.org|212.227.210.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 16510 (16K) [application/java-archive] Saving to: `org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar' 100%[======================================>] 16,510 --.-K/s in 0.1s 2008-08-24 10:22:47 (109 KB/s) - `org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar' saved [16510/16510] -> Downloading plugin.jar... --2008-08-24 10:22:47-- http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site... Resolving www.polarion.org... 212.227.210.100 Connecting to www.polarion.org|212.227.210.100|:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable The file is already fully retrieved; nothing to do. ==> Generating checksums for source files... md5sums=(==> ERROR: Unable to find source file feature.jar to generate checksum. Aborting... The "Saving to" Part indicates where the problem seems to occur. The content of my source directory after that: $ ls -l $srcdir feature.jar -> $SRCDEST/feature.jar plugin.jar -> $SRCDEST/plugin.jar If I then take a look at my local makepkg source cache...: $ ls $SRCDEST org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar Therefore makepkg -g cannot find feature.jar or plugin.jar and so it still cannot distinguish between the two source files. Hope the info helps!
G_Syme wrote:
On Sunday 24 August 2008 03:42:05 Xavier wrote:
[...] For FS#11292 (handling multiple source files which have the same name), a new feature had to be introduced. it is now possible to use the filename of your choice for remote sources, like this : source=('filename::http://path/to/file') This allows to handle multiple source files with same name, and also to handle more nicely weird URLs like http://www.vim.org/scripts/download_script.php?src_id=6992.
I've tried the above feature with a modified version of my eclipse-subversive-svn-connector package (attached).
I used the PKGBUILD you attached and it worked fine. I also tested with and without SRCDEST set in case that somehow caused it.
I've got the following behavior from makepkg: After clearing my local makepkg source cache I try to run:
$ makepkg -g ==> Retrieving Sources... -> Downloading feature.jar... --2008-08-24 10:22:46-- http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site... Resolving www.polarion.org... 212.227.210.100 Connecting to www.polarion.org|212.227.210.100|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 16510 (16K) [application/java-archive] Saving to: `org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar'
100%[======================================>] 16,510 --.-K/s in 0.1s
2008-08-24 10:22:47 (109 KB/s) - `org.polarion.eclipse.team.svn.connector_2.0.3.I20080814-1500.jar' saved [16510/16510]
What is really strange here is that makepkg isn't even saving the file to <name>.part. I don't understand this. Allan
On Sun, Aug 24, 2008 at 3:42 AM, Xavier <shiningxc@gmail.com> wrote:
Hello,
while pacman 3.2.0 release was quite good, makepkg one was a bit worse. I think the main cause is the lack of testing. I personally always use the devel versions of pacman and makepkg, but I use pacman daily, while I only use makepkg very irregularly.
Anyway, the 3.2.1 release is close now, and all known makepkg bugs were fixed : - fix download functions with weird URLs (FS#11076) - fix creation of source package with local files (FS#11149) - fix error when sourcing profile scripts (FS#11179) - perform case-insensitive checksum comparison (FS#11283)
For FS#11292 (handling multiple source files which have the same name), a new feature had to be introduced. it is now possible to use the filename of your choice for remote sources, like this : source=('filename::http://path/to/file') This allows to handle multiple source files with same name, and also to handle more nicely weird URLs like http://www.vim.org/scripts/download_script.php?src_id=6992.
pacman / makepkg 3.2.1 is in core now, so let's hope it received sufficient testing :)
participants (5)
-
Allan McRae
-
Eric Belanger
-
G_Syme
-
Vitaliy Berdinskikh
-
Xavier