FS#36236 - [a2ps] fails to package docs

Attached to Project: Arch Linux
Opened by Kevin Mihelich (kmihelich) - Monday, 22 July 2013, 00:18 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 30 July 2013, 06:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Build fails in packaging docs on x86-64

Additional info:
* package version: 4.14-3
* log:

make[1]: Entering directory `/build/a2ps/src/a2ps-4.14/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /build/a2ps/src/a2ps-4.14/auxdir/missing makeinfo --version) >/dev/null 2>&1; then \
for f in a2ps.info a2ps.info-[0-9] a2ps.info-[0-9][0-9] a2ps.i[0-9] a2ps.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /build/a2ps/src/a2ps-4.14/auxdir/missing makeinfo -I . \
-o a2ps.info a2ps.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./a2ps.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
a2ps.texi:47: warning: redefining Texinfo language command: @LaTeX
a2ps.texi:422: @uref missing close brace (possibly involving @href)
a2ps.texi:420: @uref missing close brace (possibly involving @href)
a2ps.texi:435: misplaced }
a2ps.texi:521: @uref missing close brace (possibly involving @href)
a2ps.texi:2800: misplaced }
a2ps.texi:4122: misplaced }
a2ps.texi:5669: @end example seen before @var closing brace
a2ps.texi:5677: @var missing close brace
a2ps.texi:5871: @end example seen before @var closing brace
a2ps.texi:5876: @var missing close brace
a2ps.texi:6219: @end quotation seen before @i closing brace
a2ps.texi:6348: @end quotation seen before @i closing brace
a2ps.texi:6588: @end quotation seen before @i closing brace
make[1]: *** [a2ps.info] Error 1
make[1]: Leaving directory `/build/a2ps/src/a2ps-4.14/doc'
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().


Steps to reproduce: Build from a clean chroot.
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 30 July 2013, 06:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  a2ps-4.14-4
Comment by Eric Belanger (Snowman) - Monday, 22 July 2013, 04:01 GMT
I can't repoduce. Are you using a modified PKGBUILD?

Making install in doc
make[1]: Entering directory `/build/a2ps/src/a2ps-4.14/doc'
make[2]: Entering directory `/build/a2ps/src/a2ps-4.14/doc'
make[2]: Nothing to be done for `install-exec-am'.
/usr/bin/mkdir -p '/build/a2ps/pkg/a2ps/usr/share/info'
/usr/bin/install -c -m 644 ./a2ps.info ./regex.info '/build/a2ps/pkg/a2ps/usr/share/info'
install-info --info-dir='/build/a2ps/pkg/a2ps/usr/share/info' '/build/a2ps/pkg/a2ps/usr/share/info/a2ps.info'
install-info --info-dir='/build/a2ps/pkg/a2ps/usr/share/info' '/build/a2ps/pkg/a2ps/usr/share/info/regex.info'
make[2]: Leaving directory `/build/a2ps/src/a2ps-4.14/doc'
make[1]: Leaving directory `/build/a2ps/src/a2ps-4.14/doc'
Comment by Kevin Mihelich (kmihelich) - Monday, 22 July 2013, 04:16 GMT
Not using a modified PKGBUILD. Recreated my chroot to verify, same errors.
Comment by Eric Belanger (Snowman) - Monday, 22 July 2013, 06:00 GMT
Can you attach the build logs?
Comment by Kevin Mihelich (kmihelich) - Monday, 22 July 2013, 15:07 GMT
Here's the log.
   a2ps.log (246 KiB)
Comment by Ashley Whetter (AWhetter) - Wednesday, 24 July 2013, 20:18 GMT
I can't reproduce either. What version of texinfo are you using?
Comment by Kevin Mihelich (kmihelich) - Wednesday, 24 July 2013, 20:21 GMT
$ pacman -Qiir chroot/root texinfo
Name : texinfo
Version : 5.1-1
Description : Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file
Architecture : x86_64
URL : http://www.gnu.org/software/texinfo/
Licenses : GPL3
Groups : base base-devel
Provides : None
Depends On : ncurses findutils gzip perl sh
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 8824.00 KiB
Packager : Allan McRae <allan@archlinux.org>
Build Date : Wed Mar 13 00:06:31 2013
Install Date : Sun Jul 21 22:14:00 2013
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
Comment by Eric Belanger (Snowman) - Wednesday, 24 July 2013, 20:56 GMT
Looking at your log I see:
make[2]: Entering directory `/build/a2ps/src/a2ps-4.14/doc'
Updating ./version.texi
make[2]: Leaving directory `/build/a2ps/src/a2ps-4.14/doc'

I don't have this. For some reason in your case, it updates version.texi which explain why you get hit by the bug when it tries to regenerate the texinfo files. This is why I'm not getting the bug.

For your chroot, are you using the staging-x86_64-build script from devtools?

I can trigger the bug manually by running 'make maintainer-clean-vti;make' in the a2ps-4.14/doc directory but I haven't had success in finding a patch so far.
Comment by Kevin Mihelich (kmihelich) - Wednesday, 24 July 2013, 21:03 GMT
Not using that build script, just the normal clean chroot build process with makechrootpkg. It doesn't appear that there is anything special or different being done by the staging-x86_64-build script compared to just issuing commands manually.
Comment by Eric Belanger (Snowman) - Wednesday, 24 July 2013, 22:07 GMT
Do you remove the old src directory before building? If not, you could try doing that.
Comment by Kevin Mihelich (kmihelich) - Wednesday, 24 July 2013, 22:09 GMT
Well, yes, everything old is removed with makechrootpkg, which creates a clean working copy based on the untouched (aside from -Syu) root chroot. All previous build materials are removed in that process.

Loading...