Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#37507 closed defect (fixed)

doxygen @1.8.3 build fails on Mac OS X 10.6

Reported by: mndavidoff (Monte Davidoff) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cssdev, mamoll (Mark Moll)
Port: doxygen

Description

The doxygen 1.8.3 build fails on Mac OS X 10.6.8:

$ sudo port -vs install doxygen
...
--->  Building doxygen
...
gmake[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_doxygen/doxygen/work/doxygen-1.8.3/qtools'
/usr/bin/g++-4.2 -I/opt/local/include -arch x86_64 -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -DQT_LITE_UNICODE -Wall -W -Wno-deprecated-declarations -Wno-invalid-source-encoding -O2 -I. -o ../objects/qbuffer.o qbuffer.cpp
/usr/bin/g++-4.2 -I/opt/local/include -arch x86_64 -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -DQT_LITE_UNICODE -Wall -W -Wno-deprecated-declarations -Wno-invalid-source-encoding -O2 -I. -o ../objects/qcollection.o qcollection.cpp
cc1plus: error: unrecognized command line option "-Wno-invalid-source-encoding"
cc1plus: error: unrecognized command line option "-Wno-invalid-source-encoding"
...

The problem seems to have been introduced in r101042.

Attachments (1)

main.log.gz (6.3 KB) - added by mndavidoff (Monte Davidoff) 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by mndavidoff (Monte Davidoff)

Attachment: main.log.gz added

comment:1 Changed 12 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed

Fixed in r101062.

comment:2 Changed 12 years ago by ballapete (Peter "Pete" Dyballa)

I encounter the same problem on Mac OS X 10.4.11 with GCC 4.0. I had to remove the final backslash on line #97 of the patch. Then sed succeeded to patch the files and compilation could start.

comment:3 Changed 12 years ago by mamoll (Mark Moll)

Strange, that error didn't happen to me. This should be fixed for you as well (I hope) in r101077.

Note: See TracTickets for help on using tickets.