#18258 closed defect (fixed)
doxygen: invalid conversion from 'char**' to 'const char**'
Reported by: | ray.j@… | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ryandesign (Ryan Carsten Schmidt), jm@…, horst@… | |
Port: | doxygen |
Description (last modified by mf2k (Frank Schima))
sudo port -v install doxygen ---> Building doxygen /opt/local/bin/gmake -C qtools gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/qtools' /opt/local/bin/gmake -f Makefile.qtools all gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/qtools' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/qtools' gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/qtools' /opt/local/bin/gmake -C libpng gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' /opt/local/bin/gmake -f Makefile.libpng gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' /opt/local/bin/gmake -C libmd5 gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' /opt/local/bin/gmake -f Makefile.libmd5 gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' /opt/local/bin/gmake -C src gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' /opt/local/bin/gmake -f Makefile.libdoxycfg PERL=/opt/local/bin/perl all gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' /usr/bin/g++-4.0 -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:392: error: invalid conversion from 'char**' to 'const char**' portable.cpp:392: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)' gmake[2]: *** [../objects/portable.o] Error 1 gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' make: *** [all] Error 2 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.7.1" && make all " returned error 2 Command output: gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/qtools' gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/qtools' /opt/local/bin/gmake -C libpng gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' /opt/local/bin/gmake -f Makefile.libpng gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libpng' /opt/local/bin/gmake -C libmd5 gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' /opt/local/bin/gmake -f Makefile.libmd5 gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/libmd5' /opt/local/bin/gmake -C src gmake[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' /opt/local/bin/gmake -f Makefile.libdoxycfg PERL=/opt/local/bin/perl all gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' /usr/bin/g++-4.0 -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:392: error: invalid conversion from 'char**' to 'const char**' portable.cpp:392: error: initializing argument 2 of 'size_t libiconv(void*, const char**, size_t*, char**, size_t*)' gmake[2]: *** [../objects/portable.o] Error 1 gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.7.1/src' make: *** [all] Error 2 Warning: the following items did not execute (for doxygen): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Attachments (3)
Change History (51)
comment:1 Changed 16 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | doxygen removed |
Owner: | changed from macports-tickets@… to css@… |
Port: | doxygen added; doxigen removed |
comment:2 Changed 16 years ago by cssdev
comment:3 Changed 16 years ago by ray.j@…
Sorry i shoul've mentioned: Osx 10.5.6, intell xcode 3.1.2
comment:4 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:5 follow-up: 6 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
doxygen has changed since this report (r46488).
Does the following solve the problem
sudo port selfupdate sudo port upgrade outdated sudo port install doxygen
?
comment:6 Changed 16 years ago by ray.j@…
Replying to mcalhoun@…:
doxygen has changed since this report (r46488).
Does the following solve the problem
sudo port selfupdate sudo port upgrade outdated sudo port install doxygen?
Nope, it still fails to compile:
sudo port install doxygen ---> Fetching doxygen ---> Attempting to fetch doxygen-1.5.8.src.tar.gz from http://arn.se.distfiles.macports.org/doxygen ---> Attempting to fetch doxygen-1.5.8.src.tar.gz from http://trd.no.distfiles.macports.org/doxygen ---> Attempting to fetch doxygen-1.5.8.src.tar.gz from http://distfiles.macports.org/doxygen ---> Verifying checksum(s) for doxygen ---> Extracting doxygen ---> Configuring doxygen ---> Building doxygen 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.8" && make all " returned error 2 Command output: 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/inffast.o ../objects/inflate.o ../objects/inftrees.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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake libmd5.pro >Makefile.libmd5 /usr/bin/make -f Makefile.libmd5 /usr/bin/gcc-4.0 -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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake doxytag.pro >Makefile.doxytag /usr/bin/make -f Makefile.libdoxycfg PERL=/opt/local/bin/perl all flex -PconfigYY -t config.l >config.cpp /usr/bin/g++-4.0 -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/config.o config.cpp /usr/bin/g++-4.0 -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/configoptions.o configoptions.cpp /usr/bin/g++-4.0 -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:392: error: invalid conversion from 'char**' to 'const char**' portable.cpp:392: 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. }}
comment:7 follow-up: 8 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
I see that doxygen was not using the MacPorts libiconv.
This has been fixed in r46506.
Does this fix your problem?
comment:8 follow-up: 9 Changed 16 years ago by ray.j@…
Replying to mcalhoun@…:
I see that doxygen was not using the MacPorts libiconv.
This has been fixed in r46506.Does this fix your problem?
Uhm, nope i still get the same error
comment:9 follow-up: 10 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to ray.j@…:
Uhm, nope i still get the same error
Dang.
I can not reproduce this error, so you'll have to bear with me.
Could you please run
sudo port selfupdate sudo port upgrade outdated sudo port -d install doxygen
(notice the -d option)
and post the output near the error.
Something should have changed since the last update.
comment:10 Changed 16 years ago by ray.j@…
Replying to mcalhoun@…:
Replying to ray.j@…:
Uhm, nope i still get the same error
Dang.
I can not reproduce this error, so you'll have to bear with me.
Could you please runsudo port selfupdate sudo port upgrade outdated sudo port -d install doxygen(notice the -d option)
and post the output near the error.Something should have changed since the last update.
Okay here is the output:
sudo port selfupdate MacPorts base version 1.700 installed Downloaded MacPorts base version 1.700 The MacPorts installation is not outdated so it was not updated
sudo port upgrade outdated Error: No ports found
sudo port -d install doxygen DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/doxygen DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/doxygen DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant i386 is not provided by port doxygen. DEBUG: Requested variant macosx is not provided by port doxygen. DEBUG: Executing variant darwin provides darwin DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/libpng DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port libpng. DEBUG: Requested variant i386 is not provided by port libpng. DEBUG: Requested variant macosx is not provided by port libpng. DEBUG: Searching for dependency: libpng DEBUG: Found Dependency: receipt exists for libpng DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/graphviz DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/graphics/graphviz DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port graphviz. DEBUG: Requested variant i386 is not provided by port graphviz. DEBUG: Executing variant darwin_9 provides darwin_9 DEBUG: Executing variant macosx provides macosx DEBUG: Searching for dependency: graphviz DEBUG: Found Dependency: receipt exists for graphviz DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/textproc/libiconv DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: Using group file /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/group/muniversal-1.0.tcl DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant darwin is not provided by port libiconv. DEBUG: Requested variant i386 is not provided by port libiconv. DEBUG: Requested variant macosx is not provided by port libiconv. DEBUG: Searching for dependency: libiconv DEBUG: Found Dependency: receipt exists for libiconv DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/perl5 DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: 'universal_variant no' specified, so not adding the default universal variant DEBUG: Requested variant darwin is not provided by port perl5. DEBUG: Requested variant i386 is not provided by port perl5. DEBUG: Requested variant macosx is not provided by port perl5. DEBUG: Searching for dependency: perl5 DEBUG: Found Dependency: receipt exists for perl5 DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/flex DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/flex DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port flex. DEBUG: Requested variant i386 is not provided by port flex. DEBUG: Requested variant macosx is not provided by port flex. DEBUG: Searching for dependency: flex DEBUG: Didn't find receipt, going to depspec regex for: flex DEBUG: Found Dependency: path: /usr/bin filename: flex regex: ^flex$ DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/bison DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/bison DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port bison. DEBUG: Requested variant i386 is not provided by port bison. DEBUG: Requested variant macosx is not provided by port bison. DEBUG: Searching for dependency: bison DEBUG: Found Dependency: receipt exists for bison DEBUG: Found port in file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/coreutils DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/ports/sysutils/coreutils DEBUG: setting option os.universal_supported to yes DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Requested variant darwin is not provided by port coreutils. DEBUG: Requested variant i386 is not provided by port coreutils. DEBUG: Requested variant macosx is not provided by port coreutils. DEBUG: Searching for dependency: coreutils DEBUG: Found Dependency: receipt exists for coreutils DEBUG: Executing org.macports.main (doxygen) ---> Fetching doxygen DEBUG: Executing org.macports.fetch (doxygen) ---> Verifying checksum(s) for doxygen DEBUG: Executing org.macports.checksum (doxygen) ---> Checksumming doxygen-1.5.8.src.tar.gz DEBUG: Correct (md5) checksum for doxygen-1.5.8.src.tar.gz DEBUG: Correct (sha1) checksum for doxygen-1.5.8.src.tar.gz DEBUG: Correct (rmd160) checksum for doxygen-1.5.8.src.tar.gz ---> Extracting doxygen DEBUG: Executing org.macports.extract (doxygen) ---> Extracting doxygen-1.5.8.src.tar.gz DEBUG: setting option extract.args to /opt/local/var/macports/distfiles/doxygen/doxygen-1.5.8.src.tar.gz DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work" && gzip -dc /opt/local/var/macports/distfiles/doxygen/doxygen-1.5.8.src.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing org.macports.patch (doxygen) DEBUG: Executing proc-post-org.macports.patch-patch-0 ---> Configuring doxygen DEBUG: Using compiler 'Mac OS X gcc 4.0' DEBUG: Executing org.macports.configure (doxygen) DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8" && ./configure --prefix /opt/local --docdir /opt/local/share/doc --dot /opt/local/bin/dot --platform macosx-c++' -n Checking for platform macosx-c++... supported -n Checking for GNU make tool... using /usr/bin/make -n Checking for GNU install tool... using /opt/local/bin/ginstall -n Checking for dot (part of GraphViz)... using /opt/local/bin/dot -n Checking for perl... using /opt/local/bin/perl -n Checking for flex... using /usr/bin/flex -n Checking for bison... using /opt/local/bin/bison Creating VERSION file. Created doxygen.spec file, for rpm generation. Created Makefile from Makefile.in... Created qtools/Makefile from qtools/Makefile.in... Created src/Makefile from src/Makefile.in... Created examples/Makefile from examples/Makefile.in... Created doc/Makefile from doc/Makefile.in... Created addon/doxywizard/Makefile from addon/doxywizard/Makefile.in... Created addon/doxmlparser/src/Makefile from addon/doxmlparser/src/Makefile.in... Created addon/doxmlparser/test/Makefile from addon/doxmlparser/test/Makefile.in... Created addon/doxmlparser/examples/metrics/Makefile from addon/doxmlparser/examples/metrics/Makefile.in... Created libpng/Makefile from libpng/Makefile.in... Created libmd5/Makefile from libmd5/Makefile.in... Created addon/doxyapp/Makefile from addon/doxyapp/Makefile.in... Created qtools/qtools.pro from qtools/qtools.pro.in... Created src/libdoxygen.pro from src/libdoxygen.pro.in... Created src/libdoxycfg.pro from src/libdoxycfg.pro.in... Created src/doxygen.pro from src/doxygen.pro.in... Created src/doxytag.pro from src/doxytag.pro.in... Created addon/doxywizard/doxywizard.pro from addon/doxywizard/doxywizard.pro.in... Created addon/doxmlparser/src/doxmlparser.pro from addon/doxmlparser/src/doxmlparser.pro.in... Created addon/doxmlparser/test/xmlparse.pro from addon/doxmlparser/test/xmlparse.pro.in... Created addon/doxmlparser/examples/metrics/metrics.pro from addon/doxmlparser/examples/metrics/metrics.pro.in... Created libpng/libpng.pro from libpng/libpng.pro.in... Created libmd5/libmd5.pro from libmd5/libmd5.pro.in... Created addon/doxyapp/doxyapp.pro from addon/doxyapp/doxyapp.pro.in... -n Generating src/lang_cfg.h... ---> Building doxygen DEBUG: Executing org.macports.build (doxygen) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8" && make all' echo "char versionString[]=\"1.5.8\";" > src/version.cpp /usr/bin/make -C qtools env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake qtools.pro >Makefile.qtools /usr/bin/make -f Makefile.qtools all /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qbuffer.o qbuffer.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qcollection.o qcollection.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/scstring.o scstring.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qdatastream.o qdatastream.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qdatetime.o qdatetime.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qdir.o qdir.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qfile.o qfile.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qfileinfo.o qfileinfo.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qgarray.o qgarray.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qgcache.o qgcache.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qgdict.o qgdict.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qglist.o qglist.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qglobal.o qglobal.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qgstring.o qgstring.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qgvector.o qgvector.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qiodevice.o qiodevice.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qregexp.o qregexp.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qstring.o qstring.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qtextstream.o qtextstream.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qtextcodec.o qtextcodec.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qstringlist.o qstringlist.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qxml.o qxml.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qmap.o qmap.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qfile_unix.o qfile_unix.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qdir_unix.o qdir_unix.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qfileinfo_unix.o qfileinfo_unix.cpp rm -f ../lib/libqtools.a ar cq ../lib/libqtools.a ../objects/qbuffer.o ../objects/qcollection.o ../objects/scstring.o ../objects/qdatastream.o ../objects/qdatetime.o ../objects/qdir.o ../objects/qfile.o ../objects/qfileinfo.o ../objects/qgarray.o ../objects/qgcache.o ../objects/qgdict.o ../objects/qglist.o ../objects/qglobal.o ../objects/qgstring.o ../objects/qgvector.o ../objects/qiodevice.o ../objects/qregexp.o ../objects/qstring.o ../objects/qtextstream.o ../objects/qtextcodec.o ../objects/qstringlist.o ../objects/qxml.o ../objects/qmap.o ../objects/qfile_unix.o ../objects/qdir_unix.o ../objects/qfileinfo_unix.o ranlib ../lib/libqtools.a /usr/bin/make -C libpng env TMAKEPATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake libpng.pro >Makefile.libpng /usr/bin/make -f Makefile.libpng /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/adler32.o adler32.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/compress.o compress.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/crc32.o crc32.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/deflate.o deflate.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/gzio.o gzio.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/inffast.o inffast.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/inflate.o inflate.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/inftrees.o inftrees.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/png.o png.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngerror.o pngerror.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pnggccrd.o pnggccrd.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngget.o pngget.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngmem.o pngmem.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngpread.o pngpread.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngread.o pngread.c pngread.c: In function 'png_create_read_struct_2': pngread.c:38: warning: variable 'png_ptr' might be clobbered by 'longjmp' or 'vfork' /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngrio.o pngrio.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngrtran.o pngrtran.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngrutil.o pngrutil.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngset.o pngset.c pngset.c: In function 'png_set_asm_flags': pngset.c:1210: warning: unused parameter 'asm_flags' /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngtrans.o pngtrans.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngvcrd.o pngvcrd.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngwio.o pngwio.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngwrite.o pngwrite.c pngwrite.c: In function 'png_create_write_struct_2': pngwrite.c:440: warning: variable 'png_ptr' might be clobbered by 'longjmp' or 'vfork' /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngwtran.o pngwtran.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/pngwutil.o pngwutil.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/trees.o trees.c /usr/bin/gcc-4.0 -I/opt/local/include -c -pipe -Wall -W -O2 -o ../objects/uncompr.o uncompr.c /usr/bin/gcc-4.0 -I/opt/local/include -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/inffast.o ../objects/inflate.o ../objects/inftrees.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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake libmd5.pro >Makefile.libmd5 /usr/bin/make -f Makefile.libmd5 /usr/bin/gcc-4.0 -I/opt/local/include -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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake doxytag.pro >Makefile.doxytag /usr/bin/make -f Makefile.libdoxycfg PERL=/opt/local/bin/perl all flex -PconfigYY -t config.l >config.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/config.o config.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/configoptions.o configoptions.cpp /usr/bin/g++-4.0 -I/opt/local/include -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:392: error: invalid conversion from 'char**' to 'const char**' portable.cpp:392: 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: 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.8" && make all " returned error 2 Command output: 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/inffast.o ../objects/inflate.o ../objects/inftrees.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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake libmd5.pro >Makefile.libmd5 /usr/bin/make -f Makefile.libmd5 /usr/bin/gcc-4.0 -I/opt/local/include -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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/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.8/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_doxygen/work/doxygen-1.5.8/tmake/bin/tmake doxytag.pro >Makefile.doxytag /usr/bin/make -f Makefile.libdoxycfg PERL=/opt/local/bin/perl all flex -PconfigYY -t config.l >config.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/config.o config.cpp /usr/bin/g++-4.0 -I/opt/local/include -c -pipe -D__FreeBSD__=6 -Wall -W -O2 -I../qtools -o ../objects/configoptions.o configoptions.cpp /usr/bin/g++-4.0 -I/opt/local/include -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:392: error: invalid conversion from 'char**' to 'const char**' portable.cpp:392: 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 Warning: the following items did not execute (for doxygen): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
comment:11 follow-up: 12 Changed 16 years ago by cssdev
Status: | new → assigned |
---|
What are the results from:
port installed libiconv locate libiconv.h
comment:12 Changed 16 years ago by ray.j@…
Replying to css@…:
What are the results from:
port installed libiconv locate libiconv.h
port installed libiconv The following ports are currently installed: libiconv @1.12_2 (active)
locate libiconv.h /Developer/SDKs/MacOSX10.5.sdk/usr/include/php/ext/iconv/php_have_libiconv.h /usr/include/php/ext/iconv/php_have_libiconv.h /usr/local/include/php/ext/iconv/php_have_libiconv.h
comment:13 follow-up: 14 Changed 16 years ago by cssdev
Okay ... something still doesn't match. Could you try:
grep "extern size_t iconv" /usr/include/* /opt/local/include/*
It seems like libiconv somehow configures itself differently on different systems. I have to wonder what other stuff you might have in /usr/local
will interfere with MacPorts. Do you have fink or something else installed as well?
comment:14 Changed 16 years ago by ray.j@…
Replying to css@…:
Okay ... something still doesn't match. Could you try:
grep "extern size_t iconv" /usr/include/* /opt/local/include/*It seems like libiconv somehow configures itself differently on different systems. I have to wonder what other stuff you might have in
/usr/local
will interfere with MacPorts. Do you have fink or something else installed as well?
Umh yeah i do have fink installed, the path is not in my default .profile though but i guess that doesn't matter if it has installed things outside of /sw .
grep "extern size_t iconv" /usr/include/* /opt/local/include/* /opt/local/include/iconv.h:extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
comment:15 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
I see the problem too on 10.4 PPC. I don't see the problem on 10.4 Intel, 10.5 Intel or 10.5 PPC. I do not have Fink installer nor anything in /usr/local. Yes, libiconv does configure itself differently on different systems. It is a big problem. There is an m4 macro that is available for use in a configure script which detects how libiconv is configured on the current system. You can read all about it in the links from #15297.
comment:16 follow-ups: 17 18 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
This may warrant a new ticket, but is it possible to have libiconv build the same on all systems?
Attached is a proposed solution.
comment:17 Changed 16 years ago by ray.j@…
Replying to mcalhoun@…:
This may warrant a new ticket, but is it possible to have libiconv build the same on all systems?
Attached is a proposed solution.
Uhm i just port -f uninstalled libiconv and applied the patch you provided but libiconv fails to compile then:
sudo port install -d libiconv ---> Fetching libiconv ---> Verifying checksum(s) for libiconv ---> Extracting libiconv ---> Applying patches to libiconv ---> Configuring libiconv ---> Building libiconv 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_libiconv/work/libiconv-1.12" && make CC=/usr/bin/gcc-4.0 -f Makefile.devel && make all " returned error 2 Command output: /usr/bin/install -c -m 644 .libs/libcharset.1.0.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/libcharset.1.0.0.dylib (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib && { ln -s -f libcharset.1.0.0.dylib libcharset.1.dylib || { rm -f libcharset.1.dylib && ln -s libcharset.1.0.0.dylib libcharset.1.dylib; }; }) (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib && { ln -s -f libcharset.1.0.0.dylib libcharset.dylib || { rm -f libcharset.dylib && ln -s libcharset.1.0.0.dylib libcharset.dylib; }; }) /usr/bin/install -c -m 644 .libs/libcharset.lai /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/libcharset.la /usr/bin/install -c -m 644 .libs/libcharset.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/libcharset.a chmod 644 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/libcharset.a ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/libcharset.a libtool: install: warning: remember to run `libtool --finish /opt/local/lib' test -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/charset.alias && orig=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/charset.alias \ || orig=charset.alias; \ sed -f ref-add.sed $orig > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/t-charset.alias; \ /usr/bin/install -c -m 644 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/t-charset.alias /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/charset.alias; \ rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/t-charset.alias /bin/sh ./build-aux/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib /usr/bin/install -c -m 644 include/libcharset.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/libcharset.h /usr/bin/install -c -m 644 include/localcharset.h.inst /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/work/libiconv-1.12/lib/localcharset.h cd lib && make all /bin/sh ../libtool --mode=compile /usr/bin/gcc-4.0 -I. -I. -I../include -I./../include -I.. -I./.. -O2 -fvisibility=hidden -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c mkdir .libs chmod 777 .libs /usr/bin/gcc-4.0 -I. -I. -I../include -I./../include -I.. -I./.. -O2 -fvisibility=hidden -DLIBDIR=\"/opt/local/lib\" -DBUILDING_LIBICONV -DBUILDING_DLL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/opt/local/lib\" -DNO_XMALLOC -Dset_relocation_prefix=libiconv_set_relocation_prefix -Drelocate=libiconv_relocate -DHAVE_CONFIG_H -c ./iconv.c -fno-common -DPIC -o .libs/iconv.o In file included from ./loops.h:23, from ./iconv.c:130: ./loop_unicode.h: In function 'unicode_loop_convert': ./loop_unicode.h:325: warning: pointer targets in passing argument 1 of 'cd->fallbacks.mb_to_uc_fallback' differ in signedness ./iconv.c: At top level: ./iconv.c:446: error: conflicting types for 'libiconv' ../include/iconv.h:89: error: previous declaration of 'libiconv' was here make[1]: *** [iconv.lo] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing.
comment:18 follow-up: 20 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to mcalhoun@…:
This may warrant a new ticket, but is it possible to have libiconv build the same on all systems?
I can only point you to the response from the author of libiconv when I asked why libiconv compiles differently.
comment:20 Changed 16 years ago by cssdev
Replying to ryandesign@…:
Replying to mcalhoun@…:
This may warrant a new ticket, but is it possible to have libiconv build the same on all systems?
I can only point you to the response from the author of libiconv when I asked why libiconv compiles differently.
Ick. Since we're trying to rely only on MacPorts software, I like the approach to force libiconv to always build with the POSIX-style, non-const argument.
Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | Portfile.diff added |
---|
comment:22 follow-up: 32 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attached is a second attempt to make libiconv the same on all platforms, which should fix this problem.
comment:23 follow-up: 24 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
I'm not comfortable second-guessing the developer of libiconv on how it should function. If anything, such a change would only fix doxygen within MacPorts. It would not fix doxygen outside of MacPorts, since Apple's libiconv still varies on Tiger vs. Leopard. Such a change might also break other ports, or at least cause them to need to be recompiled, and the only mechanism we have in MacPorts for causing that to happen would be to bump the revision of every port that needs libiconv, so that's a bit of a mess. The correct solution is for doxygen to correctly detect the function prototype of the libiconv that is currently in use, just like all other libiconv-using software needs to.
comment:24 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to ryandesign@…:
I'm not comfortable second-guessing the developer of libiconv on how it should function.
I would respectfully suggest that the patch does make libiconv function as the developer intended.
As noted in developer response,
libiconv now follows the POSIX standard.
This behavior is overridden only because the configure script mimics whichever iconv.h it happens to find (the /usr/include/iconv.h one in this case).
Such a change might also break other ports, or at least cause them to need to be recompiled
I see your point.
This would almost certainly be an issue.
A reminder to get back to work on #17473 I suppose.
comment:25 follow-up: 27 Changed 16 years ago by jm@…
sudo port selfupdate sudo port upgrade outdated sudo port -d install doxygen
Still results on the same error. MacOs 10.4, Intel 64 bits.
grep "extern size_t iconv" /usr/include/* /opt/local/include/* /usr/include/iconv.h:extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); /opt/local/include/iconv.h:extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft);
There is a conflict, rigt?
I don't know wether fink is installed.
comment:27 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to jm@…:
I don't know wether fink is installed.
Is there a directory /sw? If so, fink is installed.
comment:28 follow-up: 29 Changed 16 years ago by jm@…
Doxygen compiles fine with libiconv patch. Platform 10.4 + intel 64. There is a /sw path! Shall it conflict? This is a remote computer, will contact the owner to ask for removal.
Thank you very much for your time and efforts, I really appreciate.
comment:29 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to jm@…:
Doxygen compiles fine with libiconv patch. Platform 10.4 + intel 64. There is a /sw path! Shall it conflict? This is a remote computer, will contact the owner to ask for removal.
Thank you very much for your time and efforts, I really appreciate.
In this particular case, it should not matter if Fink is installed or not.
The basic problem is that MacPorts libiconv 1.12 is different on different OS versions, but doxygen
assumes that libiconv 1.12 uses the Leopard behavior.
Based on previous comments, it seems unlikely that the patch you used on libiconv will be accepted.
This might cause problems for you later on down the road.
comment:30 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
I see the problem too on 10.4 PPC. I don't see the problem on 10.4 Intel, 10.5 Intel or 10.5 PPC.
I now see the problem on 10.4 Intel too, after rebuilding libiconv there. I have libiconv installed universal on both machines, and it seems r46078 changed how libiconv builds universal, specifically in regard to this function prototype. I'm testing on different systems now to consider what I should do.
comment:31 follow-up: 33 Changed 16 years ago by jm@…
I am new to MacOsX and MacPorts. Shall I remove Fink?
comment:32 Changed 16 years ago by ray.j@…
Replying to mcalhoun@…:
Attached is a second attempt to make libiconv the same on all platforms, which should fix this problem.
Compiles fine now, thanks for the patch!
comment:33 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to jm@…:
I am new to MacOsX and MacPorts. Shall I remove Fink?
You should not have both MacPorts and Fink installed at the same time because they may interfere with one another.
comment:34 follow-up: 35 Changed 16 years ago by cssdev
I'm checking upstream, as the presence of this bug indicates that building on Mac OS X 10.4 is still an upstream issue. Perhaps the ideal solution would be for doxygen to use the ICONV_CONST
patch mentioned by Ryan.
comment:35 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to css@…:
I'm checking upstream, as the presence of this bug indicates that building on Mac OS X 10.4 is still an upstream issue. Perhaps the ideal solution would be for doxygen to use the
ICONV_CONST
patch mentioned by Ryan.
Unfortunately, it is not a problem in the configure script.
The problem resides in the following code:
// libiconv is a mess. For some platforms/version the prototype of inbuf is // "const char **", for others it is "char **". C++ requires the proper cast to // avoid a compile error, that is were the CASTNEEDED is for. #if ((defined(_LIBICONV_VERSION) && (_LIBICONV_VERSION>=0x0109) && \ !((defined(_OS_MAC_) || defined(Q_OS_MACX) )&& (_LIBICONV_VERSION==0x010B))) \ || defined(_OS_SOLARIS_) \ || defined(_OS_NETBSD_) \ ) #define CASTNEEDED(x) (x) #else #define CASTNEEDED(x) (char **)(x) #endif
located in src/portable.cpp.
Using the Apple libiconv, _LIBICONV_VERSION is different on different systems.
Using MacPorts libiconv, _LIBICONV_VERSION is the same on all platforms.
MacPorts libiconv, however, is different on different platforms.
comment:36 Changed 16 years ago by jm@…
I think a patch was applied to SVN. Doxygen now compiles fine under MacOsX 10.4
comment:37 Changed 16 years ago by jm@…
Sorry, I applied the libiconv patch upsteam, which needs to be committed to SVN. Bye.
comment:38 follow-up: 45 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attached is an attempt to fix this issue with doxygen.
It does not address the universal issues raised in #18440.
Can someone with Tiger confirm that this works?
Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | doxygen-Portfile.diff added |
---|
Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | patch-portable.cpp.diff added |
---|
comment:40 Changed 16 years ago by daniel@…
To be clear, it compiles with the patch. Without it, it doesn't compile. I haven't checked the final results yet as I haven't got the whole build process working with macports yet.
comment:41 follow-up: 42 Changed 16 years ago by cssdev
I'll check this evening. Are there any packaging concerns using the if clause versus creating a separate darwin 8 variant?
comment:42 follow-up: 43 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to css@…:
I'll check this evening. Are there any packaging concerns using the if clause versus creating a separate darwin 8 variant?
Lately I tend to use ${os.major} like you're doing. Otherwise you end up duplicating code. (You'd need a "platform darwin 7" variant in addition to "platform darwin 8" for example in order to handle Panther.)
comment:43 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Replying to ryandesign@…:
Replying to css@…:
I'll check this evening. Are there any packaging concerns using the if clause versus creating a separate darwin 8 variant?
Lately I tend to use ${os.major} like you're doing. Otherwise you end up duplicating code. (You'd need a "platform darwin 7" variant in addition to "platform darwin 8" for example in order to handle Panther.)
That is the only reason I did not use "platform darwin 8" in the patch
comment:44 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | doxygen doesn't compile → doxygen: invalid conversion from 'char**' to 'const char**' |
---|
comment:45 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to mcalhoun@…:
Attached is an attempt to fix this issue with doxygen.
It does not address the universal issues raised in #18440.Can someone with Tiger confirm that this works?
Works for me on Tiger Intel with the patch, doesn't work without, when building doxygen non-universal. Have not attempted doxygen universal because I don't have all its deps (in particular graphviz) compiled universal.
comment:46 Changed 16 years ago by cssdev
This patch looks like it does the job, nicely! Thanks for helping dig into this recurring issue!
comment:47 Changed 16 years ago by cssdev
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed to r46785!
Which OS version? Which XCode version? This sounds like a dupe of the now-resolved #13156.