You are not logged in.

#1 2013-07-05 19:56:23

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

[solved]making aur package md5deep returns validity check

when I attempt to create a installable package from the aur md5deep, I get this error:

Validating source files with md5sums...
    md5deep-4.3.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!

In detail, this is what I did as non root user:
1. downloaded this https://aur.archlinux.org/packages/md/m … eep.tar.gz
2. put it in ~/builds
3. tar xvzf md5deep-4.3.tar.gz in above dir
3. changed into the md5deep dir.
4. makepkg -s
5. got the error above.

I have successfully built other packages using aur.

Anyone see what I am doing wrong?
Maybe someone try to build this and let me know if the problem appears for others?

Any tip or help appreciated.
Steve.

Last edited by stevepa (2013-07-05 22:21:51)


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

#2 2013-07-05 20:06:29

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,491
Website

Re: [solved]making aur package md5deep returns validity check

I think the irony attracted me to this one - a checksum failing for a checksum tool wink

But I just tried it and it worked fine, it looks like you just had a corrupted download.  Have you tried downloading it again fresh?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#3 2013-07-05 20:08:49

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,392

Re: [solved]making aur package md5deep returns validity check

stevepa wrote:

Anyone see what I am doing wrong?
Maybe someone try to build this and let me know if the problem appears for others?

Any tip or help appreciated.
Steve.

You are doing nothing wrong.  You are being protected as intended.

What has happened is that a source file you have downloaded is not the same file that was downloaded by he who created the PKGBUILD.

One of a few things have happened:

The upstream author has changed something (bug fix) and replaced the original file.  In this case, you are trying to build something that is different than that which was tested by the packager.

-or-

There is a man in the middle who is attempting to trick you into running a version of the program with malicious code in it.  Either you have to find a real version, or verify by reading the code that it is okay (not recommended)

-or-

The file you downloaded is just corrupted.  Try deleting the downloaded source and try again.


What can you do?  If you trust the downloaded file, perform a makepkg -g.
It will download the source (if necessary) and will spit out the MD5 checksums for the files.  Take those md5sums and edit the PKGBUIKLD; replace the md5sums in the file with the new ones you generated.  Then, try a makepkg again to build it this time.

Also, be sure to file a bug report in the AUR.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#4 2013-07-05 20:28:18

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

Re: [solved]making aur package md5deep returns validity check

@Trilby, I noticed the irony also! See below :-(

@ewaller, i removed all previous work, redownloaded, with same results. I will take a stab atthe makepkg -g option as it might be a good learning opportunity.

To see if my system is suffering some kind of overall issue, I built a high popularity AUR package libjepg6 WITHOUT ISSUE !


Crazy stuff here!
Steve.


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

#5 2013-07-05 20:44:28

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 321

Re: [solved]making aur package md5deep returns validity check

first of all, what doe's the maintainer say about it?

second, i do makepkg -g  and replace it in PKGBUILD in these cases

just like you.

ezik

Offline

#6 2013-07-05 20:50:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: [solved]making aur package md5deep returns validity check

shulamy wrote:

i do makepkg -g  and replace it in PKGBUILD in these cases

Or use 'updpkgsums':

$ updpkgsums -h
usage: updpkgsums [buildfile]

    -h, --help        display this help message and exit
    -V, --version     display version information and exit

updpkgsums will perform an in place update the checksums in the
path specified by [buildfile], defaulting to PKGBUILD in the current
working directory.

Offline

#7 2013-07-05 22:24:38

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

Re: [solved]making aur package md5deep returns validity check

performed these steps
1. makepkg -g
2. updpkgsums
3. makepkg
4. #pacman -U [pkg name]

and it installed.

Thanks to all.
Steve.

Last edited by stevepa (2013-07-05 22:25:06)


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

#8 2013-07-05 22:25:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: [solved]making aur package md5deep returns validity check

I think it's enough to run either 'makepkg -g' or 'updpkgsums' :-)

Offline

#9 2013-07-05 23:40:45

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,491
Website

Re: [solved]making aur package md5deep returns validity check

Oh, my curiosity is getting the best of me.  Why do I not get an error building this on either my i686 or 64 computer?  How can the same checksum for the same tarball work on one computer and fail on another?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#10 2013-07-05 23:44:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: [solved]making aur package md5deep returns validity check

I have no issues either:

==> Retrieving sources...
  -> Downloading md5deep-4.3.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1382k  100 1382k    0     0   429k      0  0:00:03  0:00:03 --:--:--  683k
==> Validating source files with md5sums...
    md5deep-4.3.tar.gz ... Passed
==> Validating source files with sha1sums...
    md5deep-4.3.tar.gz ... Passed
==> Validating source files with sha256sums...
    md5deep-4.3.tar.gz ... Passed
==> Validating source files with sha512sums...
    md5deep-4.3.tar.gz ... Passed
==> Extracting sources...
  -> Extracting md5deep-4.3.tar.gz with bsdtar
==> Starting build()...

Evey checksum is correct.

Offline

#11 2013-07-06 04:16:52

stevepa
Member
From: Texas USA
Registered: 2012-02-12
Posts: 113

Re: [solved]making aur package md5deep returns validity check

To make a long story short, it finally built normally.

I removed the md5deep build directory.
I uninstalled binary with pacman -R
I un-tar'ed and makepkg -s it, and it ran without error.
I installed it with pacman -U <pkg>

I don't really have a good feeling about all this but things seem ok now.

Thanks for the help on this issue.
Steve.


Arch - LVM - ext4 - gnome (T60p 14.1 1400p  x86_64), (T60 15 flexview 1400p i686)

Offline

Board footer

Powered by FluxBB