New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25912 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

xorg-libXi: documentation build issues

Reported by: ryandesign@… Owned by: jeremyhu@…
Priority: High Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: diegotheblind+macports@…, jiminaus@…, snc@…, dports@…, oofyt@…, yasir.suhail@…, mwalz@…, adfernandes@…, sewebster@…, emanuel@…
Port: xorg-libXi

Description

I can't seem to build xorg-libXi 1.3.1 (tested on Snow Leopard x86_64 and Tiger i386). It says:

:info:build b docbook -d manpage -o XSelectExtensionEvent.xml XSelectExtensionEvent.txt
:info:build make[1]: b: No such file or directory
:info:build make[1]: [XSelectExtensionEvent.xml] Error 1 (ignored)

1.3 built fine.

Attachments

main.log (28.5 KB) - added by ryandesign@… 3 years ago.
jiminaus-main.log (32.3 KB) - added by jiminaus@… 3 years ago.
jiminaus's main.log

Change History

Changed 3 years ago by ryandesign@…

comment:1 Changed 3 years ago by diegotheblind+macports@…

  • Cc diegotheblind+macports@… added

Cc Me!

comment:2 Changed 3 years ago by jiminaus@…

  • Cc jiminaus@… added

Cc Me!

comment:3 Changed 3 years ago by jiminaus@…

I'm experiencing the same problem as ryandesign, except my log as a bunch of gsed between the "b: No such file or directory" line and the ":info:build man XSelectExtensionEvent.xml" line.

Changed 3 years ago by jiminaus@…

jiminaus's main.log

comment:4 follow-up: ↓ 5 Changed 3 years ago by ryandesign@…

That's because you are building parallel ("-j2"); I deliberately disabled parallel building for my test to get a clean build log that shows the steps in the right order.

comment:5 in reply to: ↑ 4 Changed 3 years ago by jiminaus@…

Replying to ryandesign@…:

That's because you are building parallel ("-j2"); I deliberately disabled parallel building for my test to get a clean build log that shows the steps in the right order.

Thanks ryandesign for that enlightenment. I'll remember to disable parallel builds in future before submitting logs.

comment:6 Changed 3 years ago by beta.ziliani@…

I'm having the same problem on Leopard (10.5.8), with both the last and the 1.3.0 versions of xorg-libXi.

comment:7 Changed 3 years ago by jeremyhu@…

  • Status changed from new to closed
  • Resolution set to fixed

It seems to be a problem when ASCIIDOC is not set... Rather than just not building the man pages, it errors out..

r70184

comment:8 Changed 3 years ago by software@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

It's revision r70126, not r70814.

However, your patch did not solve it for me. As you can see in the attached logfile, I synced the repository, did a port clean --all and a port install.

configure still reports:

 checking for xmlto... no
 checking for asciidoc... no

Could it be possible that macports does still not recognize the dependency because you did not increase the "revision" field in the Portfile?

I am currently installing asciidoc and xmlto by hand to see if that will work. That will take a while though, xmlto will install the following dependencies: coreutils dblatex texlive-latex-extra texlive-bin poppler openjpeg poppler-data t1lib texlive-common texlive-latex texlive-basic texlive-documentation-base texlive-pictures texlive-math-extra texlive-fonts-recommended findutils texlive texlive-bin-extra latexmk texlive-context texlive-metapost texlive-documentation-english texlive-fontutils texlive-generic-recommended texlive-lang-czechslovak texlive-lang-dutch texlive-lang-french texlive-lang-german texlive-lang-italian texlive-lang-polish texlive-lang-portuguese texlive-lang-spanish texlive-lang-ukenglish texlive-latex-recommended texlive-luatex texlive-xetex texlive-htmlxml

Again, wow. Never knew that xorg depends on texlive, but since I found out that py26-py2app-devel depends on subversion, I'm not surprised anymore.

I'll report after all these dependencies are installed.

comment:9 Changed 3 years ago by jiminaus@…

After manually editing the port file, I can report that installing xmlto and asciidoc did fix the problem for me.

comment:10 Changed 3 years ago by snc@…

  • Cc snc@… added

Cc Me!

comment:11 Changed 3 years ago by mike.mclean@…

It appears that the patch to the xorg-libXi Portfile is really: r70216 (not 70126, not 70814 as listed previously).

With r70216 applied, there is now a dependency infinite loop:

$ port deps xorg-libXi
Full Name: xorg-libXi @1.3.1_0
Build Dependencies: pkgconfig, xmlto, asciidoc
Library Dependencies: xorg-libXext, xorg-inputproto

$ port deps xmlto
Full Name: xmlto @0.0.23_1
Runtime Dependencies: coreutils, findutils, getopt, libpaper, texlive, texlive-htmlxml, libxml2, libxslt, docbook-xml, docbook-xsl, fop, dblatex

$ port deps dblatex
Full Name: dblatex @0.3_0
Library Dependencies: python26, texlive-latex-extra, texlive-math-extra, dejavu-fonts, ImageMagick, docbook-xml, docbook-xsl

$ port deps texlive-latex-extra
Full Name: texlive-latex-extra @15852_1+doc
Library Dependencies: texlive-latex, texlive-pictures, texlive-common, texlive-bin

$ port deps texlive-latex
Full Name: texlive-latex @15495_1+doc
Library Dependencies: texlive-basic, texlive-common, texlive-bin

$ port deps texlive-bin
Full Name: texlive-bin @2009_5+motif
Build Dependencies: perl5, pkgconfig
Library Dependencies: fontconfig, freetype, gd2, libpng, ncurses, zlib, t1lib, poppler, xorg-libXp, texlive-common, openmotif
Runtime Dependencies: ghostscript

$ port deps poppler
Full Name: poppler @0.14.1_0
Build Dependencies: pkgconfig
Library Dependencies: gtk2, lcms, openjpeg, poppler-data

$ port deps gtk2
Full Name: gtk2 @2.20.1_0+x11
Build Dependencies: pkgconfig
Library Dependencies: tiff, jasper, atk, pango, gettext, xorg-libXi, xorg-libXrandr, xorg-libXcursor, xorg-libXinerama, xorg-libXdamage, xorg-libXcomposite, xorg-libXfixes
Runtime Dependencies: shared-mime-info

comment:12 Changed 3 years ago by software@…

It works fine now, but given the ridiculous dependencies (gtk2 now depends on latex and python26),

I still vote to leave out these dependencies by default, and make a variant for users who want documentation.

comment:13 Changed 3 years ago by jeremyhu@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Peter's going to roll another libXi which addresses the real problem here (building without the doc tools), so I'll put that in after it's released and drop the dependency which introduces the loop.

comment:14 follow-up: ↓ 15 Changed 3 years ago by dports@…

  • Status changed from closed to reopened
  • Priority changed from Normal to High
  • Resolution fixed deleted
  • Cc dports@…, oofyt@…, yasir.suhail@… added

This dependency loop is a real problem -- it is breaking many X ports, including anything that depends on gtk2.

See duplicates #25919 and #25921 (reporters cc'd)

comment:15 in reply to: ↑ 14 Changed 3 years ago by mattvalentine@…

Replying to dports@…:

This dependency loop is a real problem -- it is breaking many X ports, including anything that depends on gtk2.

See duplicates #25919 and #25921 (reporters cc'd)

temporary fix would be to install gtk2 with +quartz variant, then install xorg-libXi, then reinstall gtk2 with +x11. This will kill the infinite loop but doesnt fix the overall problem.

comment:16 Changed 3 years ago by mwalz@…

  • Cc mwalz@… added

Cc Me!

comment:17 Changed 3 years ago by jmr@…

  • Summary changed from xorg-libXi: b: No such file or directory to xorg-libXi: documentation build issues

Reverted to 1.3 in r70234 since the dependency loop seems to be affecting a lot of people.

comment:18 Changed 3 years ago by adfernandes@…

  • Cc adfernandes@… added

Cc Me!

comment:19 Changed 3 years ago by ryandesign@…

Has duplicate #25930.

comment:20 Changed 3 years ago by sewebster@…

  • Cc sewebster@… added

Cc Me!

comment:21 Changed 3 years ago by emanuel@…

  • Cc emanuel@… added

Cc Me!

comment:22 Changed 3 years ago by jeremyhu@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Put in 1.3.2 which has the real fix. r70262

Note: See TracTickets for help on using tickets.