Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#25872 closed defect (fixed)

dblatex fails to build

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: yasir.suhail@…
Port: dblatex

Description

I hate python modules...

--->  Computing dependencies for dblatex.
--->  Staging dblatex into destroot
. missing (directory not created: File exists)
./Applications missing (directory not created: File exists)
./Developer missing (directory not created: File exists)
./Library missing (directory not created: File exists)
lib/dbtexmf/dblatex/grubber/util.py:8: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
running install
setup.py:280: DeprecationWarning: os.popen2 is deprecated.  Use the subprocess module.
  ios = os.popen2("kpsewhich %s.sty" % sty)
Error: not found: appendix, changebar, footmisc, multirow, overpic, subfigure, titlesec
+checking XSLT xsltproc... yes
+checking convert... yes
+checking epstopdf... yes
+checking fig2dev... yes
+checking latex... yes
+checking pdflatex... yes
+checking makeindex... yes
+checking kpsewhich... yes
+checking amsmath... yes
+checking amssymb... yes
+checking amstext... yes
+checking anysize... yes
+checking appendix... no
+checking bibtopic... found in package
+checking calc... yes
+checking changebar... no
+checking color... yes
+checking colortbl... yes
+checking courier... yes
+checking dbk_admonition... found in package
+checking dbk_annot... found in package
+checking dbk_biblio... found in package
+checking dbk_callout... found in package
+checking dbk_changebar... found in package
+checking dbk_core... found in package
+checking dbk_fonts... found in package
+checking dbk_graphic... found in package
+checking dbk_headfoot... found in package
+checking dbk_hyper... found in package
+checking dbk_item... found in package
+checking dbk_locale... found in package
+checking dbk_revision... found in package
+checking dbk_table... found in package
+checking dbk_title... found in package
+checking dbk_verbatim... found in package
+checking dummyels... found in package
+checking enumitem... found in package
+checking eucal... yes
+checking fancybox... yes
+checking fancyhdr... yes
+checking fancyvrb... yes
+checking float... yes
+checking footmisc... no
+checking graphicx... yes
+checking helvet... yes
+checking hhline... yes
+checking hyperref... yes
+checking ifpdf... yes
+checking ifthen... yes
+checking lastpage... found in package
+checking latexsym... yes
+checking listings... yes
+checking longtable... yes
+checking lscape... yes
+checking mathptmx... yes
+checking mathrsfs... yes
+checking multirow... no
+checking multirow2... found in package
+checking overpic... no
+checking palatino... yes
+checking pdfpages... yes
+checking pifont... yes
+checking ragged2e... found in package
+checking refcount... yes
+checking rotating... yes
+checking stmaryrd... yes
+checking subfigure... no
+checking tabularx... yes
+checking textcomp... yes
+checking titlesec... no
+checking wasysym... yes
+checking xecyr... found in package
shell command " cd "/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_textproc_dblatex/work/dblatex-0.2.12" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py install --root=/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_textproc_dblatex/work/destroot --catalogs==/opt/local/var/macports/build/_Users_jeremy_src_macports-trunk_dports_textproc_dblatex/work/destroot/opt/local/etc/xml/catalog " returned error 1
Error: Target org.macports.destroot returned: shell command failed
Warning: the following items did not execute (for dblatex): org.macports.activate org.macports.destroot org.macports.install
Log for dblatex is at: /opt/local/var/macports/logs/_Users_jeremy_src_macports-trunk_dports_textproc_dblatex/main.log
Error: Problem while installing dblatex
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (3)

main.log (7.0 KB) - added by jeremyhu (Jeremy Huddleston Sequoia) 14 years ago.
build log
mylog.log (3.9 KB) - added by oksmith77 14 years ago.
log file which shows the Portfile still isn't fixed
Portfile (3.4 KB) - added by oksmith77 14 years ago.
updated Portfile with dependency for port:texlive-latex-recommended

Download all attachments as: .zip

Change History (14)

Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Attachment: main.log added

build log

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

So do I; I make it a point to know as little as possible about them. :) Was there a reason I was assigned this ticket? I may have committed the last update to the port, but I don't know anything about the software. dblatex should be updated to version 0.3 now, but it doesn't seem to build any better than 0.2.12 does.

comment:2 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yeah, I assigned it to you because you made the last commit (a version bump) and it's nomaintainer. I figured you might know something ... I guess not =/

I'm fairly clueless about this. I just ran into it because I needed to fix xmlto to depends_run on this port, and I only noticed that because I had to fix its missing depends_run on xmlto. I didn't even know this port existed until a few minutes ago, so... yeah... I got nothing.

comment:3 Changed 14 years ago by jmroot (Joshua Root)

I on the other hand happen to like Python. :P

Looks like the actual error might be

Error: not found: appendix, changebar, footmisc, multirow, overpic, subfigure, titlesec

which would mean it's missing dependencies on some specific tex packages.

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Specifically texlive-latex-extra and texlive-math-extra. r70141

Changed 14 years ago by oksmith77

Attachment: mylog.log added

log file which shows the Portfile still isn't fixed

comment:5 Changed 14 years ago by oksmith77

Resolution: fixed
Status: closedreopened

I've attached a log file which shows that the Portfile still isn't fixed.

Could somebody who knows more about MacPorts kindly investigate? Please?

I don't understand why this error is happening:

sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_dblatex/work/dblatex-0.3: No such file or directory

Thanks.

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed

Your log shows you haven't cleaned dblatex before trying again. Please clean dblatex before trying again.

sudo port clean dblatex

Changed 14 years ago by oksmith77

Attachment: Portfile added

updated Portfile with dependency for port:texlive-latex-recommended

comment:7 Changed 14 years ago by oksmith77

Resolution: fixed
Status: closedreopened

I found the problem.

The dependency:

port:texlive-latex-recommended

needs to be added.

In order to test this I completely uninstalled (and cleaned) both textlive* and dblatex. Then I did an install of dblatex and let it install what it needed.

Please review

Thanks.

comment:8 Changed 14 years ago by drkp (Dan Ports)

Owner: changed from ryandesign@… to dports@…
Status: reopenednew

comment:9 Changed 14 years ago by drkp (Dan Ports)

Cc: yasir.suhail@… added

#25936 is a duplicate.

comment:10 Changed 14 years ago by drkp (Dan Ports)

Resolution: fixed
Status: newclosed

Added texlive-latex-recommended dependency in r70250, and also set the python interpreter path explicitly in bin/dblatex instead of using /usr/bin/env

comment:11 in reply to:  5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

Replying to oksmith@…:

I don't understand why this error is happening:

sh: line 0: cd: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_dblatex/work/dblatex-0.3: No such file or directory

Your log shows you haven't cleaned dblatex before trying again.

That's #29223.

Note: See TracTickets for help on using tickets.