Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15150 - pine 4.53's ebuild could use a wee tweaking
Summary: pine 4.53's ebuild could use a wee tweaking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-04 23:15 UTC by Jon Nelson (RETIRED)
Modified: 2003-02-10 17:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
r2 to r3 diff (my local patch) (r2-r3.diff,1.62 KB, patch)
2003-02-04 23:16 UTC, Jon Nelson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson (RETIRED) 2003-02-04 23:15:37 UTC
Due to the fact that the 'all.patch.gz' will constantly be different, I suggest
incorporating the patches on a one-by-one basis.

I have already done so locally, and found that 2 of the patches don't merge
cleanly, the 'outgoing' and 'rules' patches.

Additionally, the updated Justify patch clears up a known SIGSEG problem.

If you have any questions, please contact me.
Comment 1 Jon Nelson (RETIRED) 2003-02-04 23:16:45 UTC
Created attachment 7942 [details, diff]
r2 to r3 diff (my local patch)
Comment 2 Nick Hadaway 2003-02-05 04:05:12 UTC
pine-4.53-r3 takes the patch prroblem into consideration and there is now a local mirror of the patches as of 20030203
Comment 3 Jon Nelson (RETIRED) 2003-02-05 09:15:58 UTC
It's not fixed:

honker pine # emerge pine-4.53-r3.ebuild
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/pine-4.53-r3 to /
>>> md5 ;-) pine4.53.tar.bz2
>>> Unpacking source...
>>> Unpacking pine4.53.tar.bz2

 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 *
 *   /var/tmp/portage/pine-4.53-r3/work/patch


!!! ERROR: net-mail/pine-4.53-r3 failed.
!!! Function epatch, Line -7541, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!

honker pine # 
Comment 4 Nick Hadaway 2003-02-05 14:46:42 UTC
>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2
--14:54:59--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2
           => `/usr/portage/distfiles/pine-4.53-chappa-20030203.patch.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2 [following]
--14:54:59--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2
           => `/usr/portage/distfiles/pine-4.53-chappa-20030203.patch.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80,790 [text/plain]

100%[====================================>] 80,790         7.06K/s    ETA 00:00

14:55:14 (7.06 KB/s) - `/usr/portage/distfiles/pine-4.53-chappa-20030203.patch.bz2' saved [80790/80790]

>>> md5 ;-) pine4.53.tar.bz2
>>> md5 ;-) pine-4.53-chappa-20030203.patch.bz2
>>> Unpacking source...
>>> Unpacking pine4.53.tar.bz2
 * Applying pine-4.53-chappa-20030203.patch.bz2...                        [ ok ]
 * Applying pine-4.21-fixhome.patch...                                    [ ok ]
 * Applying imap-4.7c2-flock.patch...                                     [ ok ]
 * Applying pine-4.30-ldap.patch...                                       [ ok ]
 * Applying pine-4.40-boguswarning.patch...                               [ ok ]
 * Applying pine-4.31-segfix.patch...                                     [ ok ]
 * Applying pine-4.40-lockfile-perm.patch...                              [ ok ]
 * Applying imap-2000-time.patch...                                       [ ok ]
 * Applying pine-4.33-whitespace.patch...                                 [ ok ]
>>> Source unpacked.

The file should be on your mirror soon.
Comment 5 Jon Nelson (RETIRED) 2003-02-05 16:51:40 UTC
Same problem as before, but look closely:  it's not even attempting to download the patch.

>>> emerge (1 of 1) net-mail/pine-4.53-r3 to /
>>> md5 ;-) pine4.53.tar.bz2
>>> Unpacking source...
>>> Unpacking pine4.53.tar.bz2

I wiped out the pine directory, and re-synced mere moments ago.
The md5sum of pine-4.53-r3.ebuild follows

7181be9d5d06f6a5ef2ca64b684b19e3  pine-4.53-r3.ebuild
Comment 6 Nick Hadaway 2003-02-05 21:42:20 UTC
ns1 pine # cvs commit
cvs commit: Examining .
cvs commit: Examining files
ns1 pine # cat files/digest-pine-4.53-r3 
MD5 8bc92fa7c03d48c2c6d042ad58221685 pine4.53.tar.bz2 2793349
MD5 4e9da52b9cae8d08144dc8b58ef0afc4 pine-4.53-chappa-20030203.patch.bz2 80790
ns1 pine #

Your mirror appears to be behind.  What was the last mirror you sync'd against?
Comment 7 Jon Nelson (RETIRED) 2003-02-05 22:19:33 UTC
I repeat:

 it's not even attempting to download the patch.

It has not downloaded the patch.
Is this a bug in emerge?
What's the md5sum of the ebuild?
Comment 8 Nick Hadaway 2003-02-05 22:49:24 UTC
paste the contents of your net-mail/pine/files/digest-pine-4.53-r3
Comment 9 Jon Nelson (RETIRED) 2003-02-05 22:59:31 UTC
jnelson@honker pine $ md5sum files/digest-pine-4.53-r3 
27358598df76f84ada2f6c42ee232191  files/digest-pine-4.53-r3
jnelson@honker pine $ cat !$
cat files/digest-pine-4.53-r3
MD5 8bc92fa7c03d48c2c6d042ad58221685 pine4.53.tar.bz2 2793349
MD5 4e9da52b9cae8d08144dc8b58ef0afc4 pine-4.53-chappa-20030203.patch.bz2 80790
jnelson@honker pine $ 
Comment 10 Nick Hadaway 2003-02-06 01:15:27 UTC
bash-2.05b$ md5sum /usr/portage/net-mail/pine/files/digest-pine-4.53-r3 
27358598df76f84ada2f6c42ee232191  /usr/portage/net-mail/pine/files/digest-pine-4.53-r3
i've got the same md5sum

blackie pine # emerge pine-4.53-r3.ebuild 
Calculating dependencies ...done!
>>> emerge (1 of 1) net-mail/pine-4.53-r3 to /
>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine4.53.tar.bz2
--00:11:09--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine4.53.tar.bz2
           => `/usr/portage/distfiles/pine4.53.tar.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine4.53.tar.bz2 [following]
--00:11:09--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine4.53.tar.bz2
           => `/usr/portage/distfiles/pine4.53.tar.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
00:11:09 ERROR 404: Not Found.

>>> Downloading ftp://ftp.cac.washington.edu/pine/pine4.53.tar.bz2
--00:11:09--  ftp://ftp.cac.washington.edu/pine/pine4.53.tar.bz2
           => `/usr/portage/distfiles/pine4.53.tar.bz2'
Resolving ftp.cac.washington.edu... done.
Connecting to ftp.cac.washington.edu[140.142.4.227]:21... connected.
Logging in as anonymous ... 
Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pine ... done.
==> PASV ... done.    ==> RETR pine4.53.tar.bz2 ... done.
Length: 2,793,349 (unauthoritative)

100%[====================================>] 2,793,349    217.74K/s    ETA 00:00

00:11:44 (217.74 KB/s) - `/usr/portage/distfiles/pine4.53.tar.bz2' saved [2793349]
>>> Downloading http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2
--00:11:45--  http://www.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2
           => `/usr/portage/distfiles/pine-4.53-chappa-20030203.patch.bz2'
Resolving www.ibiblio.org... done.
Connecting to www.ibiblio.org[152.2.210.81]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2 [following]
--00:11:45--  http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/pine-4.53-chappa-20030203.patch.bz2
           => `/usr/portage/distfiles/pine-4.53-chappa-20030203.patch.bz2'
Resolving distro.ibiblio.org... done.
Connecting to distro.ibiblio.org[152.2.210.109]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80,790 [text/plain]

100%[====================================>] 80,790        23.34K/s    ETA 00:00

00:11:48 (23.34 KB/s) - `/usr/portage/distfiles/pine-4.53-chappa-20030203.patch.bz2' saved [80790/80790]

>>> md5 ;-) pine4.53.tar.bz2
>>> md5 ;-) pine-4.53-chappa-20030203.patch.bz2
>>> Unpacking source...
>>> Unpacking pine4.53.tar.bz2
 * Applying pine-4.53-chappa-20030203.patch.bz2...                        [ ok ] * Applying pine-4.21-fixhome.patch...                                    [ ok ] * Applying imap-4.7c2-flock.patch...                                     [ ok ]
etc... etc... etc...

As you can see... it downloaded the file from the proper places and patched properly as well...  do you even see the patch attempting to download?  Paste info from your emerge... 
Comment 11 Jon Nelson (RETIRED) 2003-02-06 11:08:33 UTC
Please refer to comment #3, #5, and #7 where it is clear that portage is *not* either downloading or checking the md5sum of the chappa file.
Comment 12 Jon Nelson (RETIRED) 2003-02-09 19:01:15 UTC
Seems like the latest portage (2.0.46-r12?) fixes the problem.
Comment 13 Nick Hadaway 2003-02-10 17:35:49 UTC
As I have not seen any problems with this ebuild on multiple machines in both stable and unstable portage... I am going to mark it fixed.