It was crapping out (uber technical term) on the following line.
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/man/man1/cjpeg.1
Hope this helps
© 2016, O’Reilly Media, Inc.
All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.