New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange leading newlines when logging build progress #2418

afcowie opened this Issue Jul 28, 2016 · 2 comments


None yet
2 participants

afcowie commented Jul 28, 2016

For some reason, every time a configure step is logged, [13 spaces (?) and a] newline is preceding it. Was that on purpose?


quickcheck-io-0.1.3: configure
quickcheck-io-0.1.3: build
quickcheck-io-0.1.3: copy/register

hspec-core-2.2.3: configure
hspec-core-2.2.3: build
zlib- copy/register

zlib-bindings- configure
zlib-bindings- build
zlib-bindings- copy/register
hspec-core-2.2.3: copy/register

hspec-2.2.3: configure
hspec-2.2.3: build
hspec-2.2.3: copy/register

Not a problem, of course, just a surprise.


This comment has been minimized.


afcowie commented Aug 5, 2016

Employed git bisect and determined breaking change introduced in 6af46db.

afcowie referenced this issue Aug 5, 2016

stack unpack: Ignore pax headers (fix #2361)
* Stop trying to reset permissions on pax header entries.
* Add changelog entry.
* Output warnings for unexpected entries.
* Add testcases.

The interface of untar is designed for unit testing.

This comment has been minimized.


afcowie commented Aug 5, 2016

Referenced line has a

 $logWarn $ mconcat $ map (\(path, entryType) -> "Unexpected entry type " <> ...

thing going on. I'm guessing the result of there not being an "unexpected" condition is $logWarn being called with an empty string, resulting in our spurious newlines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment