Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Issues with first module build

by stevieb (Canon)
on Jan 05, 2021 at 09:04 UTC ( [id://11126353]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Issues with first module build
in thread Issues with first module build

Change into the distribution's root directory, then post here (in code tags) the output of perl t/manifest.t.

Those path names shouldn't be absolute, and if they're being interpreted as such for some reason, the word boundary of the regex will definitely not match.

Replies are listed 'Best First'.
Re^4: Issues with first module build
by Leitz (Scribe) on Jan 05, 2021 at 10:22 UTC

    Not a lot of info:

    perl t/manifest.t 1..0 # SKIP Author tests not required for installation

    Addendum: More info

    export RELEASE_TESTING=1; perl t/manifest.t 1..1 not ok 1 # Failed test at /usr/local/share/perl/5.30.0/Test/CheckManifest.pm +line 190. # got: 0 # expected: 1 # The following files are not named in the MANIFEST file: /home/leam/t +mp/test_module_starter/MANIFEST.SKIP, /home/leam/tmp/test_module_star +ter/MANIFEST.SKIP.bak # MANIFEST: /home/leam/tmp/test_module_starter/MANIFEST # Looks like you failed 1 test of 1.

    Chronicler: The Domici War (domiciwar.net)

    General Ne'er-do-well (github.com/LeamHall)

      Looks like you need to add ^MANIFEST\. to the contents of MANIFEST.SKIP.


      🦛

      It looks like distcheck isn't honouring the MANIFEST.SKIP file. Let ./Build test be enough. The t/manifest.t tests check the MANIFEST anyway, and it appears it does so properly.

      Just add MANIFEST.SKIP to MANIFEST as hippo said, or do a ./Build manifest.

      I misread the code when I wrote the below. Now, I'm unsure why MANIFEST.SKIP isn't being used. Nonetheless, my above post stands.

      Module::Build::distcheck() in a round about way has this line: $self->_check_manifest_skip unless $self->invoked_action eq 'distclean';. That means the MANIFEST.SKIP file is not being used when the distcheck command is run.

      Add MANIFEST to the MANIFEST.SKIP as hippo suggested, and just let ./Build test be enough... it verifies whether MANIFEST is up-to-date with the t/manifest.t file anyway.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11126353]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-26 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found