Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 186409
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias <n1ghtmare@freenet.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 186409 depends on: Show dependency tree
Bug 186409 blocks: 170220
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-07-24 01:44 0000
eclean -d deletes 2 needed distfiles for openoffice-2.2.1 that must be
refetched everytime after i cleanup my distfiles directory and choose to
rebuild openoffice-2.2.1.

these files are :

libwpg-0.1.0~cvs20070608.tar.gz
libwps-0.1.0~svn20070129.tar.gz

emerge -pv openoffice lists the following info :

[ebuild   R   ] app-office/openoffice-2.2.1  USE="branding cairo cups gtk pam
sound webdav -binfilter -dbus -debug -eds -firefox -gnome -gstreamer -java -kde
-ldap -mono -odk -seamonkey" LINGUAS="de en -af -ar -as_IN -be_BY -bg -bn -br
-bs -ca -cs -cy -da -dz -el -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga
-gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb
-ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS
-ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi
-xh -zh_CN -zh_TW -zu" 804 kB 


I admit its is a strange bug. I think it is an error in the ebuild of
openoffice-2.2.1. No other problems like this on my customized system.



Reproducible: Always

Steps to Reproduce:
1.emerge -f openoffice
2.eclean -dp distfiles OR eclean -d distfiles
3.

Actual Results:  
deleted distfiles as desribed

Expected Results:  
not deleted these 2 needed files

------- Comment #1 From Jakub Moc (RETIRED) 2007-07-24 06:49:52 0000 -------
# this regexp extracts files names from SRC_URI. It is not very precise,
# but we don't care (may return empty strings, etc.), since it is fast.
        file_regexp = re.compile('([a-zA-Z0-9_,\.\-\+]*)[\s\)]')

So, if you replace ~ with - in the filename and ebuild, it should work...

------- Comment #2 From Paul Varner 2007-07-24 16:33:19 0000 -------
$ svn commit -m "Fix bug #186409, where eclean was removing files with a ~
character"
Sending        eclean/eclean
Transmitting file data .
Committed revision 422.

Jakub, thanks for the pointer. I've added ~ to the list of valid characters.

------- Comment #3 From Paul Varner 2007-07-27 21:39:54 0000 -------
Released in gentoolkit-0.2.4_pre6

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug