Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273104 - New QA check: installed OSX fork files (if I got the name right)
Summary: New QA check: installed OSX fork files (if I got the name right)
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Conceptual/Abstract Ideas (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 268497
  Show dependency tree
 
Reported: 2009-06-07 20:20 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2021-02-21 07:17 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-07 20:20:51 UTC
This might not work altogether too well with Gentoo/Alt OSX portage, but it would be a nice idea to check that ._* files are not installed in ${D}; while we use them for etc-update, OSX uses the same naming scheme for data fork files.

At least Ruby packages tend to keep these around.
Comment 1 Fabian Groffen gentoo-dev 2009-06-08 08:06:21 UTC
It's called a "resource fork", you might also want to exclude .DS_Store files, which I think you'll find more often in sources than ._<filename> resource forks.

Anyway, packages that install those things on non-Mac OS X systems are seriously screwed up.  (the .DS_Store file can *always* safely be thrown away)
Comment 2 Fabian Groffen gentoo-dev 2009-06-08 08:19:22 UTC
By the way, the ._<filename> files are actually workarounds to store the resource fork data, that normally the filesystem would cater for.  Note that nowadays, resource forks are seldom used anymore.  (Instead, on OSX the use of "packages" is now custom, where the finder represents a directory with a given substructure as a file)
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-08 09:54:30 UTC
You should look at the ruby packages tarballs... no .DS_Store, but lots of ._* to the point I remove them from ${S} in the eclass.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2009-06-08 10:45:13 UTC
For perl distributions with ._* files I've filed bug 268497