Opened 17 years ago

Closed 17 years ago

#13008 closed defect (fixed)

BUG: doxygen 1.5.3 fails to build (under leopard)

Reported by: johan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: cssdev
Port:

Description

output:

--->  Building doxygen with target all pdf
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3" && make all pdf " returned error 2
Command output: cc -c -pipe -Wall -W -O2  -o ../objects/zutil.o zutil.c
rm -f ../lib/libpng.a
ar cq ../lib/libpng.a ../objects/adler32.o ../objects/compress.o ../objects/crc32.o ../objects/deflate.o ../objects/gzio.o ../objects/infblock.o ../objects/infcodes.o ../objects/inffast.o ../objects/inflate.o ../objects/inftrees.o ../objects/infutil.o ../objects/png.o ../objects/pngerror.o ../objects/pnggccrd.o ../objects/pngget.o ../objects/pngmem.o ../objects/pngpread.o ../objects/pngread.o ../objects/pngrio.o ../objects/pngrtran.o ../objects/pngrutil.o ../objects/pngset.o ../objects/pngtrans.o ../objects/pngvcrd.o ../objects/pngwio.o ../objects/pngwrite.o ../objects/pngwtran.o ../objects/pngwutil.o ../objects/trees.o ../objects/uncompr.o ../objects/zutil.o 
ranlib: file: ../lib/libpng.a(pnggccrd.o) has no symbols
ranlib: file: ../lib/libpng.a(pngvcrd.o) has no symbols
ranlib ../lib/libpng.a
ranlib: file: ../lib/libpng.a(pnggccrd.o) has no symbols
ranlib: file: ../lib/libpng.a(pngvcrd.o) has no symbols
/usr/bin/make -C libmd5
env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/lib/macosx-c++ /usr/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/bin/tmake libmd5.pro >Makefile.libmd5
/usr/bin/make -f Makefile.libmd5
cc -c -pipe -Wall -W -O2  -o ../objects/md5.o md5.c
rm -f ../lib/libmd5.a
ar cq ../lib/libmd5.a ../objects/md5.o 
ranlib ../lib/libmd5.a
/usr/bin/make -C src
env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/lib/macosx-c++ /usr/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/bin/tmake libdoxygen.pro >Makefile.libdoxygen
env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/lib/macosx-c++ /usr/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/bin/tmake libdoxycfg.pro >Makefile.libdoxycfg
env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/lib/macosx-c++ /usr/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/bin/tmake doxygen.pro >Makefile.doxygen
env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/lib/macosx-c++ /usr/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.3/tmake/bin/tmake doxytag.pro >Makefile.doxytag
/usr/bin/make -f Makefile.libdoxycfg PERL=/usr/bin/perl all
flex -PconfigYY -t config.l >config.cpp 
c++ -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/config.o config.cpp
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 'const char**' to 'char**'
portable.cpp:381: error:   initializing argument 2 of 'size_t iconv(void*, char**, size_t*, char**, size_t*)'
make[2]: *** [../objects/portable.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2

Error: The following dependencies failed to build: doxygen
Error: Status 1 encountered during processing.

Attachments (1)

patch-portable.cpp (618 bytes) - added by afb@… 17 years ago.
patch-portable.cpp

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by afb@…

Attachment: patch-portable.cpp added

patch-portable.cpp

comment:1 Changed 17 years ago by afb@…

Had it been me, I would have just cast the silly thing to (void*) always...

But patching "works" too.

comment:2 Changed 17 years ago by afb@…

Resolution: fixed
Status: newclosed

Patch applied in r30467.

Note: See TracTickets for help on using tickets.