[MacPorts] #39546: New port: Patoline

MacPorts noreply at macports.org
Thu Jun 27 05:15:06 PDT 2013


#39546: New port: Patoline
--------------------------------------+--------------------------------
  Reporter:  pierreetienne.meunier@…  |      Owner:  macports-tickets@…
      Type:  submission               |     Status:  new
  Priority:  Normal                   |  Milestone:
 Component:  ports                    |    Version:  2.1.3
Resolution:                           |   Keywords:
      Port:                           |
--------------------------------------+--------------------------------

Comment (by egall@…):

 `port -v lint --nitpick` reports the following warning:
 {{{
 Warning: Maintainer email address should be obfuscated as
 gmail.com:pierreetienne.meunier
 }}}
 Also some other things to consider:
 - Most ports have modelines for their first line nowadays, like this:
 {{{
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
 -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 }}}
 - The "`GPL`" license requires a version number. In this case, it looks
 like it's version 2 (or later? If it '''is''' "or later", use a "`+`" with
 the version of the GPL, so it would be "`GPL-2+`".)
 - If you're going to just keep the `description` and `long_description`
 the same, you can just replace the text for your `long_description` with
 the variable `${description}`
 - Since this is an ocaml port, consider using the ocaml portgroup:
 browser:trunk/dports/_resources/port1.0/group/ocaml-1.0.tcl This removes
 the need to manually specify a dependency on ocaml, among other things.
 - Ports should generally have at least two checksums; since you're already
 using `sha256`, the next-strongest one after that (that MacPorts uses, at
 least) is `rmd160`.

 Anyway, I re-did the portfile with those changes, which I'll attach next.
 Unfortunately, building it fails for me, with the error:
 {{{
 make[2]: Entering directory
 `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_ocaml_patoline/patoline/work/patoline-0.1/src/Format'
 ocamlfind ocamlopt -pp "cpp -w" -I ../Typography/_build -I ../Rbuffer
 -package camomile,camlzip,camlimages.all_formats -a -o FormatSlides.cmxa
 FormatSlides.ml
 File "FormatSlides.ml", line 970, characters 32-33:
 Error: This expression has type Typography.Document.node
        but an expression was expected of type
          Typography.OutputCommon.structure
 make[2]: *** [FormatSlides.cmxa] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_ocaml_patoline/patoline/work/patoline-0.1/src/Format'
 make[1]: *** [Format/FormatSlides.cmxa] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_ocaml_patoline/patoline/work/patoline-0.1/src'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build.build/_opt_local_var_macports_sources_LocalPorts_ocaml_patoline/patoline/work/patoline-0.1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_LocalPorts_ocaml_patoline/patoline/work/patoline-0.1"
 && /usr/bin/make -w all
 Exit code: 2
 }}}
 I'll attach my `main.log`, too.

-- 
Ticket URL: <https://trac.macports.org/ticket/39546#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list