Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#15726 closed defect (fixed)

llvm: ".dir" files considered weird

Reported by: ryandesign (Ryan Schmidt) Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port:

Description

llvm installs files called ".dir" into several directories:

$ port contents llvm | grep \.dir
  /mp/bin/.dir
  /mp/etc/llvm/.dir
  /mp/lib/.dir
  /mp/lib/llvm/obj/Release/bin/.dir
  /mp/lib/llvm/obj/Release/lib/.dir
$

What's up with those? They only contain a date/time:

$ port contents llvm | grep \.dir | xargs cat
Mon Jun 23 05:15:50 CDT 2008
Mon Jun 23 05:15:54 CDT 2008
Mon Jun 23 05:15:39 CDT 2008
Mon Jun 23 05:06:09 CDT 2008
Mon Jun 23 05:05:57 CDT 2008
$

Are those files needed for llvm to function? If not, we should remove them in post-destroot. If that change is made to the portfile, the portfile revision should be incremented so everyone gets the change.

Change History (3)

comment:1 Changed 12 years ago by ryandesign (Ryan Schmidt)

In the llvm-2.3 source directory in the file utils/buildit/build_llvm there is code to remove the .dir files. Although we do not use that script to build llvm, this implies that these files aren't needed. We could use fs-traverse to remove these files after destroot.

comment:2 Changed 12 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r38413.

comment:3 Changed 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.