[MacPorts] #53542: highlight 3.34

classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[MacPorts] #53542: highlight 3.34

MacPorts
#53542: highlight 3.34
---------------------+-----------------------
 Reporter:  1-61803  |      Owner:
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  highlight
---------------------+-----------------------
 I tried updating it but it fails building. It seems a problem with the
 `boost` library.

--
Ticket URL: <https://trac.macports.org/ticket/53542>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
#53542: highlight 3.34
------------------------+-----------------
  Reporter:  1-61803    |      Owner:
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-----------------
Changes (by 1-61803):

 * Attachment "log_extract.txt" added.


--
Ticket URL: <https://trac.macports.org/ticket/53542>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  fixed      |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by Schamschula):

 * owner:   => Schamschula
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"bcd7d59784419c6c9a48dbdf79925e7e46ab3700/macports-ports"
 bcd7d59/macports-ports]:
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="bcd7d59784419c6c9a48dbdf79925e7e46ab3700"
 highlight: update to version 3.34

 Closes: https://trac.macports.org/ticket/53542
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  fixed      |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by 1-61803):

 Could you comment on the log I attached?

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by 1-61803):

 * status:  closed => reopened
 * resolution:  fixed =>


--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by 1-61803):

 * Attachment "main.log" added.

 2nd try, full log

--
Ticket URL: <https://trac.macports.org/ticket/53542>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by Schamschula):

 * Attachment "patch-src-core-rtfgenerator.cpp.diff" added.


--
Ticket URL: <https://trac.macports.org/ticket/53542>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by Schamschula):

 * Attachment "Portfile" added.


--
Ticket URL: <https://trac.macports.org/ticket/53542>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by Schamschula):

 I've attached a patch and a modified Portfile. I have no machine running
 OS X 10.8 (I don't see this build issue under El Capitan and Sierra), so I
 cannot test this.

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by Schamschula):

 I tried building highlight 3.34 under Leopard (10.5). It gets past this
 particular issue, but runs into a problem as unique_ptr is not defined
 (c++ library is too old).

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by ballapete):

 On Snow Leopard, Mac OS X 10.6.8, the same error is presented as:

 {{{
 ./core/rtfgenerator.cpp: In member function ‘virtual std::string
 highlight::RtfGenerator::maskCharacter(unsigned char)’:
 ./core/rtfgenerator.cpp:279: error: ‘to_string’ was not declared in this
 scope
 make[1]: *** [rtfgenerator.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/ansigenerator.cpp
 ./core/rtfgenerator.cpp: In member function ‘virtual std::string
 highlight::RtfGenerator::maskCharacter(unsigned char)’:
 ./core/rtfgenerator.cpp:279: error: ‘to_string’ was not declared in this
 scope
 make[1]: *** [rtfgenerator.o] Error 1
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by 1-61803):

 * Attachment "main.2.log" added.

 3rd try, problem with unique_ptr as you mentioned

--
Ticket URL: <https://trac.macports.org/ticket/53542>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by 1-61803):

 I tried your fix on 10.8.5 and ran into the same problem with unique_ptr.

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by ballapete):

 With the patch applied build went with `CXX="/usr/bin/llvm-g++-4.2"` a bit
 further:

 {{{
 ./cli/main.cpp: In member function ‘int HLCmdLineApp::run(int, const
 char**)’:
 ./cli/main.cpp:411: error: ‘unique_ptr’ was not declared in this scope
 ./cli/main.cpp:411: error: expected primary-expression before ‘>’ token
 ./cli/main.cpp:411: error: ‘generator’ was not declared in this scope
 make[1]: *** [main.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 }}}

 I also observed that some files seem to have been compiled twice (just a
 block from the beginning):

 {{{
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_textproc_highlight/highlight/work/highlight-3.34/src'
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/stylecolour.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/stylecolour.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/stringtools.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/stringtools.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/xhtmlgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/xhtmlgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/latexgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/latexgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/texgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/texgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/rtfgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/rtfgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/htmlgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/htmlgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/ansigenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/ansigenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/svggenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/svggenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/codegenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/codegenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/xterm256generator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/xterm256generator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/pangogenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/bbcodegenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/odtgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/pangogenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/bbcodegenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/odtgenerator.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/syntaxreader.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/syntaxreader.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/elementstyle.cpp
 /usr/bin/llvm-g++-4.2 -Os -arch x86_64 -c -I ./include/
 -I/opt/local/include ./core/elementstyle.cpp
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by Schamschula):

 Unfortunately, 10.8 (and below) don't provide libc++. See:

 https://trac.macports.org/wiki/LibcxxOnOlderSystems

 for your options.

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by 1-61803):

 Could this still be patched, if I correctly understood
 [http://stackoverflow.com/questions/31655462/no-type-named-unique-ptr-in-
 namespace-std-when-compiling-under-llvm-clang this post], with `auto_ptr`?

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  highlight  |
------------------------+-------------------------

Comment (by 1-61803):

 See #53994 re v3.36.

--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:12>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [MacPorts] #53542: highlight 3.34

MacPorts
In reply to this post by MacPorts
#53542: highlight 3.34
------------------------+-------------------------
  Reporter:  1-61803    |      Owner:  Schamschula
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:  wontfix    |   Keywords:
      Port:  highlight  |
------------------------+-------------------------
Changes (by Schamschula):

 * status:  reopened => closed
 * resolution:   => wontfix


--
Ticket URL: <https://trac.macports.org/ticket/53542#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
Loading...