Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #12229 (closed defect: fixed)

Opened 17 months ago

Last modified 12 months ago

BUG: doxygen-1.5.2 fails to compile with char**/const char** error

Reported by: sfiera@… Owned by: css@…
Priority: High Milestone: Port Bugs
Component: ports Version:
Keywords: Cc: css@…, jwiegley@…
Port:

Description

I'm posting this on behalf of johnw on irc. Questions should be directed to him.

doxygen-1.5.2 does not compile, and gives this warning:

$ sudo port install doxygen
--->  Building doxygen with target all pdf
Error: Target com.apple.build returned: shell command " cd "/usr/local/var/db/dports/build/_usr_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_textproc_doxygen/work/doxygen-1.5.2" && make all pdf " returned error 2
Command output: /usr/bin/make -C qtools
/usr/bin/make -f Makefile.qtools    all
make[2]: Nothing to be done for `all'.
/usr/bin/make -C libpng
/usr/bin/make -f Makefile.libpng
make[2]: Nothing to be done for `all'.
/usr/bin/make -C libmd5
/usr/bin/make -f Makefile.libmd5
make[2]: Nothing to be done for `all'.
/usr/bin/make -C src
/usr/bin/make -f Makefile.libdoxycfg PERL=/usr/bin/perl all
c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/portable.o portable.cpp
portable.cpp: In function 'size_t portable_iconv(void*, const char**, size_t*, char**, size_t*)':
portable.cpp:381: error: invalid conversion from 'char**' to 'const char**'
portable.cpp:381: error:   initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)'
make[2]: *** [../objects/portable.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
 
Error: Status 1 encountered during processing.
$

Change History

Changed 17 months ago by css@…

  • status changed from new to assigned

What version of the OS are you using? PPC or Intel? Also, which version of libiconv is installed?

port installed libiconv

I'll see if I can track it down, but I'll need more details on the system setup given that doxygen 1.5.2 compiled and installed fine on my MBP.

Changed 16 months ago by nox@…

  • cc changed from css@macports.org,jwiegley@gmail.com to css@macports.org, jwiegley@gmail.com
  • priority changed from Blocker to High
  • version 1.4.42 deleted
  • milestone set to Port Bugs

Changed 15 months ago by css@…

Can you verify whether you still have this error with the latest doxygen 1.5.3 port?

Changed 13 months ago by markd@…

  • status changed from assigned to closed
  • resolution set to fixed

No response so we'll have to assume the 1.5.3 update fixed it. Reopen if necessary.

Changed 12 months ago by css@…

Follow up is contained in #13156 for doxygen 1.5.4.

Note: See TracTickets for help on using tickets.