Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#12229 closed defect (fixed)

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

Reported by: sfiera@… Owned by: cssdev
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: cssdev, 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 (6)

comment:1 Changed 17 years ago by cssdev

Status: newassigned

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.

comment:2 Changed 17 years ago by nox@…

Cc: css@macports.org,jwiegley@gmail.comcss@macports.org, jwiegley@gmail.com
Milestone: Port Bugs
Priority: BlockerHigh
Version: 1.4.42

comment:3 Changed 17 years ago by cssdev

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

comment:4 Changed 17 years ago by markd@…

Resolution: fixed
Status: assignedclosed

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

comment:5 Changed 16 years ago by cssdev

Follow up is contained in #13156 for doxygen 1.5.4.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.