Opened 15 months ago

Last modified 15 months ago

#66923 new defect

a2ps install from source fails now due text syntax errors

Reported by: kwolcott Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: a2ps

Description (last modified by jmroot (Joshua Root))

Excerpt from install log:

a2ps.texi:47: warning: redefining Texinfo language command: @LaTeX
a2ps.texi:422: @uref missing closing brace (possibly involving @href)
a2ps.texi:420: @uref missing closing brace (possibly involving @href)
a2ps.texi:435: misplaced }
a2ps.texi:521: @uref missing closing 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 closing brace
a2ps.texi:5871: @end example seen before @var closing brace
a2ps.texi:5876: @var missing closing 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

Attachments (2)

a2ps_install_from_source_using_Ventura_with_M1_chip_on_14Feb2023_after_selfupdate_fails.log.bz2 (18.9 KB) - added by kwolcott 15 months ago.
a2ps-fail.log (251.7 KB) - added by kencu (Ken) 15 months ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 15 months ago by kencu (Ken)

see #47881 for the original ticket about this.

comment:2 Changed 15 months ago by kwolcott

What do I need to do on my end? I just run selfupdate again and clean and install from source and get the same errors.

comment:3 Changed 15 months ago by kencu (Ken)

it's broken.

someone will need to fix it.

there's nothing you can do at present.

comment:4 Changed 15 months ago by kencu (Ken)

Oh, one thing you can do is disable the texinfo port.

Then all will be well -- you can re-enable it after you build this.

comment:5 Changed 15 months ago by kwolcott

That worked :-)

comment:6 Changed 15 months ago by jmroot (Joshua Root)

Cc: ryandesign added
Description: modified (diff)

As I mentioned in #66916, I wasn't able to reproduce the problem noted in #47881. I built a2ps successfully with the texinfo port active. The situation must be a little more complicated.

comment:7 Changed 15 months ago by kencu (Ken)

build fails 100% of the time for me if texinfo is active.

comment:8 Changed 15 months ago by jmroot (Joshua Root)

In a0182b7395222b075f63b8f290bcd03c5e8b116b/macports-ports (master):

a2ps: disable rebuilding of docs with makeinfo

See: #66923

comment:9 Changed 15 months ago by kencu (Ken)

still not working, unfortunately:

 % port -v installed | grep active
  db48 @4.8.30_4 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T21:21:15-0800'
  gdbm @1.23_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:25:50-0800'
  gettext @0.21_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:25:28-0800'
  gettext-runtime @0.21_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:19:55-0800'
  gettext-tools-libs @0.21_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-29T15:34:36-0800'
  libiconv @1.17_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:19:19-0800'
  libtextstyle @0.21_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:21:08-0800'
  ncurses @6.4_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2023-01-04T23:32:54-0800'
  perl5.34 @5.34.1_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T21:24:10-0800'
  psutils @p17_1 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-27T13:43:32-0800'
  readline @8.1.2.000_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2022-12-25T19:25:40-0800'
  texinfo @7.0.2_0 (active) requested_variants='' platform='darwin 22' archs='arm64' date='2023-02-04T23:08:11-0800'
Making install in doc
make[1]: Entering directory `/opt/local/var/macports/build/_opt_macportsofficial_macports-ports_print_a2ps/a2ps/work/a2ps-4.14/doc'
restore=: && backupdir=".am$$" && \
	am__cwd=`pwd` && cd . && \
	rm -rf $backupdir && mkdir $backupdir && \
	if (/bin/sh /opt/local/var/macports/build/_opt_macportsofficial_macports-ports_print_a2ps/a2ps/work/a2ps-4.14/auxdir/missing --run 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 /opt/local/var/macports/build/_opt_macportsofficial_macports-ports_print_a2ps/a2ps/work/a2ps-4.14/auxdir/missing --run makeinfo   -I . \
	 -o a2ps.info a2ps.texi; \
	then \
	  rc=0; \
	  cd .; \
	else \
	  rc=$?; \
	  cd . && \
	  $restore $backupdir/* `echo "./a2ps.info" | sed 's|[^/]*$||'`; \
	fi; \
	rm -rf $backupdir; exit $rc
encoding.texi:113: input error: utf8 "\xCB" does not map to Unicode at /opt/local/share/texinfo/Texinfo/ParserNonXS.pm line 2074, <FH> line 113.
sheets.texi:385: input error: utf8 "\xFC" does not map to Unicode at /opt/local/share/texinfo/Texinfo/ParserNonXS.pm line 2074, <FH> line 385.
a2ps.texi:47: warning: redefining Texinfo language command: @LaTeX
a2ps.texi:422: @uref missing closing brace (possibly involving @href)
a2ps.texi:420: @uref missing closing brace (possibly involving @href)
a2ps.texi:435: misplaced }
a2ps.texi:521: @uref missing closing 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 closing brace
a2ps.texi:5871: @end example seen before @var closing brace
a2ps.texi:5876: @var missing closing 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

Changed 15 months ago by kencu (Ken)

Attachment: a2ps-fail.log added

comment:10 Changed 15 months ago by kencu (Ken)

maybe someone out there in some linux distro has come up with patches for this, to support newer texinfo versions.

I tried the ones in archlinux, but they didn't fix the build with our texinfo 7.0.2.0 installation.

for now, all we can do is conflicts_build I think.

comment:11 Changed 15 months ago by kencu (Ken)

Keywords: ventura removed
Note: See TracTickets for help on using tickets.