Opened 12 years ago

Last modified 10 years ago

#101 new enhancement

pm_to_blib is really really loud

Reported by: andersk@mit.edu Owned by: nelhage@mit.edu
Priority: trivial Milestone:
Component: internals Keywords:
Cc:

Description

I’ve been working on quieting down the build system output so that warnings are more obvious. A third of the output is this spew from pm_to_blib:

make[3]: Entering directory `/home/anders/wd/barnowl/perl/modules/Jabber'
cp lib/Net/Jabber.pm blib/lib/Net/Jabber.pm
cp lib/Net/XMPP.pm blib/lib/Net/XMPP.pm
cp lib/Net/XMPP/Message.pm blib/lib/Net/XMPP/Message.pm
cp lib/Net/Jabber/Protocol.pm blib/lib/Net/Jabber/Protocol.pm
cp lib/Net/Jabber/JID.pm blib/lib/Net/Jabber/JID.pm
cp lib/XML/Stream/XPath/Query.pm blib/lib/XML/Stream/XPath/Query.pm
cp lib/Net/Jabber/XDB.pm blib/lib/Net/Jabber/XDB.pm
cp lib/Net/Jabber/Dialback/Verify.pm blib/lib/Net/Jabber/Dialback/Verify.pm
cp lib/XML/Stream/Node.pm blib/lib/XML/Stream/Node.pm
cp lib/Net/Jabber/Server.pm blib/lib/Net/Jabber/Server.pm
cp lib/Net/Jabber/Message.pm blib/lib/Net/Jabber/Message.pm
cp lib/Net/XMPP/Protocol.pm blib/lib/Net/XMPP/Protocol.pm
cp lib/Net/XMPP/Stanza.pm blib/lib/Net/XMPP/Stanza.pm
cp lib/Net/Jabber/Client.pm blib/lib/Net/Jabber/Client.pm
cp lib/Net/XMPP/IQ.pm blib/lib/Net/XMPP/IQ.pm
cp lib/Net/XMPP/JID.pm blib/lib/Net/XMPP/JID.pm
cp lib/XML/Stream/XPath.pm blib/lib/XML/Stream/XPath.pm
cp lib/XML/Stream/XPath/Op.pm blib/lib/XML/Stream/XPath/Op.pm
cp lib/XML/Stream/Parser.pm blib/lib/XML/Stream/Parser.pm
cp lib/Net/Jabber/Namespaces.pm blib/lib/Net/Jabber/Namespaces.pm
cp lib/Net/Jabber/Stanza.pm blib/lib/Net/Jabber/Stanza.pm
cp lib/XML/Stream/XPath/Value.pm blib/lib/XML/Stream/XPath/Value.pm
cp lib/XML/Stream.pm blib/lib/XML/Stream.pm
cp lib/BarnOwl/Module/Jabber/Connection.pm blib/lib/BarnOwl/Module/Jabber/Connection.pm
cp lib/Net/Jabber/Dialback/Result.pm blib/lib/Net/Jabber/Dialback/Result.pm
cp lib/Net/Jabber/Debug.pm blib/lib/Net/Jabber/Debug.pm
cp lib/Net/Jabber/Key.pm blib/lib/Net/Jabber/Key.pm
cp lib/Net/Jabber/Component.pm blib/lib/Net/Jabber/Component.pm
cp lib/Net/Jabber/MUC.pm blib/lib/Net/Jabber/MUC.pm
cp lib/XML/Stream/Parser/DTD.pm blib/lib/XML/Stream/Parser/DTD.pm
cp lib/Net/XMPP/Connection.pm blib/lib/Net/XMPP/Connection.pm
cp lib/XML/Stream/Namespace.pm blib/lib/XML/Stream/Namespace.pm
cp lib/Net/XMPP/Debug.pm blib/lib/Net/XMPP/Debug.pm
cp lib/BarnOwl/Module/Jabber.pm blib/lib/BarnOwl/Module/Jabber.pm
cp lib/Net/XMPP/Client.pm blib/lib/Net/XMPP/Client.pm
cp lib/Net/Jabber/Presence.pm blib/lib/Net/Jabber/Presence.pm
cp lib/Net/XMPP/Presence.pm blib/lib/Net/XMPP/Presence.pm
cp lib/BarnOwl/Module/Jabber/ConnectionManager.pm blib/lib/BarnOwl/Module/Jabber/ConnectionManager.pm
cp lib/Net/Jabber/Dialback.pm blib/lib/Net/Jabber/Dialback.pm
cp lib/Net/Jabber/Data.pm blib/lib/Net/Jabber/Data.pm
cp lib/Net/Jabber/Log.pm blib/lib/Net/Jabber/Log.pm
cp lib/Net/Jabber/IQ.pm blib/lib/Net/Jabber/IQ.pm
cp lib/Net/XMPP/Roster.pm blib/lib/Net/XMPP/Roster.pm
cp lib/XML/Stream/Tree.pm blib/lib/XML/Stream/Tree.pm
cp lib/BarnOwl/Message/Jabber.pm blib/lib/BarnOwl/Message/Jabber.pm
cp lib/Net/XMPP/PrivacyLists.pm blib/lib/Net/XMPP/PrivacyLists.pm
cp lib/Net/XMPP/Namespaces.pm blib/lib/Net/XMPP/Namespaces.pm
cd blib; zip -q ../Jabber.par -r arch lib
make[3]: Leaving directory `/home/anders/wd/barnowl/perl/modules/Jabber'

Change History (2)

comment:1 Changed 12 years ago by nelhage@mit.edu

This is basically an upstream bug; There's no way to suppress that spew.

I've filed a bug asking for an option, but we'd probably have better luck with a patch as well.

​https://rt.cpan.org/Ticket/Display.html?id=53068

comment:2 Changed 10 years ago by jgross@mit.edu

If someone wants to try to write a patch, the (current) source is at ​http://cpansearch.perl.org/src/ANDYD/perl5.003_07/lib/ExtUtils/Install.pm. I might try to figure out how options are typically handled in this module, and then it'd just be a matter of sticking an if $we_should after two print statements.

Note: See TracTickets for help on using tickets.