FS#19298 - [firefox-i18n] [thunderbird-i18n] source files conflict in SRCDEST

Attached to Project: Arch Linux
Opened by Sergej Pupykin (sergej) - Friday, 30 April 2010, 12:14 GMT
Last edited by Ionut Biru (wonder) - Thursday, 31 March 2011, 01:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ionut Biru (wonder)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
firefox-i18n and thunderbird-i18n use same named source files. It needs to remove $SRCDEST/*.xpi before building.

Steps to reproduce:
$ cd firefox-i18n
$ makepkg
$ cd ../thunderbird-i18n
$ makepkg

Last makepkg fails with invalid md5sums.

How to fix:
change source array to
source=($pkgname-$pkgver-af.xpi::$_url/af.xpi
$pkgname-$pkgver-ar.xpi::$_url/ar.xpi
...
This task depends upon

Closed by  Ionut Biru (wonder)
Thursday, 31 March 2011, 01:36 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Friday, 30 April 2010, 13:28 GMT
that can't be true since the source will be in firefox-i18n and thunderbird-i18n/ directory with symlinks to firefox/src and is not using the same src directory.
What can it be is that in thunderbird there is a file that has been changed since the last time was updated.
Comment by Sergej Pupykin (sergej) - Friday, 30 April 2010, 13:29 GMT
Do you use SRCDEST variable in makepkg.conf?

It points to common source cache directory.
Comment by Ionut Biru (wonder) - Friday, 30 April 2010, 13:30 GMT
no
Comment by Sergej Pupykin (sergej) - Friday, 30 April 2010, 13:33 GMT
fixed "Steps to reproduce:"

1. edit /etc/makepkg.conf and set SRCDEST to some directory, for example SRCDEST=/var/cache/pacman/src
2. ensure that user, which runs makepkg has write access to this directory
3. Do following commands:
$ cd firefox-i18n
$ makepkg
$ cd ../thunderbird-i18n
$ makepkg
Comment by Ionut Biru (wonder) - Friday, 18 June 2010, 09:56 GMT
sorry, i didn't make the modification in the 3.0.5. is to much time consuming to do the modification >400 lines
Comment by Sergej Pupykin (sergej) - Friday, 23 July 2010, 21:20 GMT
Here are patches for both firefox-i18n and thunderbird-i18n. Please apply them.
Comment by Sergej Pupykin (sergej) - Friday, 23 July 2010, 21:21 GMT
(thunderbird patch also adds ...-et.xpi to noextract array)
Comment by Sergej Pupykin (sergej) - Wednesday, 30 March 2011, 23:55 GMT

Loading...