Open Bug 1892549 Opened 1 years ago Updated 1 year ago

`make cpanfile` fails on Harmony if the lib directory exists

Categories

(Bugzilla :: Installation & Upgrading, defect)

Harmony
defect

Tracking

()

People

(Reporter: justdave, Unassigned)

References

(Blocks 1 open bug)

Details

$ perl Makefile.PL
(output omitted)
$ make cpanfile
Makefile:3079: *** multiple target patterns.  Stop.

The problem is the generated Makefile contains lists of files which contain : in the filenames. This comes from files installed in the lib directory which have the actual package names in the name of the file. Deleting the lib directory fixes it.

Since Harmony uses local instead of lib for the perl modules, we should probably just nuke the lib directory if it exists in Makefile.PL (or exclude it from the path scan for files to build)

You need to log in before you can comment on or make changes to this bug.