Opened 12 years ago

Closed 12 years ago

#37555 closed defect (fixed)

doxygen 1.8.3 doesn't build +universal

Reported by: jeremyhu (Jeremy Huddleston Sequoia) Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: universal Cc: moala@…, maehne (Torsten Maehne)
Port: doxygen

Description

On Snow Leopard, doxygen 1.8.3 fails to build +universal. 1.8.1.1 built +universal just fine. It looks like libdoxycfg.a and libmd5.a are not getting built universal:

/usr/bin/g++-4.2 -I/opt/local/include -arch x86_64 -arch i386 -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -Wall -W -Wno-deprecated-declarations -O2 -I../qtools -I../libmd5 -I. -o ../objects/main.o main.cpp
/usr/bin/g++-4.2 -L/opt/local/lib -arch x86_64 -arch i386 -Wl,-search_paths_first -o ../bin/doxygen ../objects/main.o  -L../lib -ldoxygen -ldoxycfg -lqtools ../lib/libmd5.a -lpthread -liconv -framework CoreServices
ld: warning: in ../lib/libdoxycfg.a, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in ../lib/libmd5.a, file was built for unsupported file format which is not the architecture being linked (i386)

Attachments (1)

main.log (379.5 KB) - added by jeremyhu (Jeremy Huddleston Sequoia) 12 years ago.
main.log - Snow Leopard

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Attachment: main.log added

main.log - Snow Leopard

comment:1 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yep:

gmake[2]: Entering directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/libmd5'
cc -c -pipe -Wall -W -Wno-deprecated-declarations  -g -fstack-protector -I/usr/local/include -o ../objects/md5.o md5.c
rm -f ../lib/libmd5.a
ar cq ../lib/libmd5.a ../objects/md5.o 
ranlib ../lib/libmd5.a
gmake[2]: Leaving directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/libmd5'
gmake[1]: Leaving directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/libmd5'
/opt/local/bin/gmake -C src
gmake[1]: Entering directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/src'
env TMAKEPATH=/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/tmake/bin/tmake libdoxygen.pro >Makefile.libdoxygen
env TMAKEPATH=/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/tmake/lib/macosx-c++ /opt/local/bin/perl /opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/tmake/bin/tmake doxygen.pro >Makefile.doxygen
/opt/local/bin/gmake -f Makefile.libdoxycfg PERL=/opt/local/bin/perl all
gmake[2]: Entering directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/work/doxygen-1.8.3/src'
/usr/bin/flex -PconfigYY -t config.l >config.cpp 
c++ -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -Wall -W -Wno-deprecated-declarations  -g -fstack-protector -I../qtools -I/usr/local/include -o ../objects/config.o config.cpp
c++ -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -Wall -W -Wno-deprecated-declarations  -g -fstack-protector -I../qtools -I/usr/local/include -o ../objects/configoptions.o configoptions.cpp
c++ -c -pipe -D__FreeBSD__=6 -DYY_TYPEDEF_YY_SIZE_T -Dyy_size_t=int -Wall -W -Wno-deprecated-declarations  -g -fstack-protector -I../qtools -I/usr/local/include -o ../objects/portable.o portable.cpp
cc -c -pipe -Wall -W -Wno-deprecated-declarations  -g -fstack-protector -I../qtools -I/usr/local/include -o ../objects/portable_c.o portable_c.c
rm -f ../lib/libdoxycfg.a
ar cq ../lib/libdoxycfg.a ../objects/config.o ../objects/configoptions.o ../objects/portable.o ../objects/portable_c.o 
ranlib ../lib/libdoxycfg.a
gmake[2]: Leaving directory `/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_textproc_doxygen/doxygen/

It's ignoring ${configure.cc} and ${configure.cflags}

comment:2 Changed 12 years ago by moala@…

Cc: moala@… added

Cc Me!

comment:3 Changed 12 years ago by maehne (Torsten Maehne)

Cc: Torsten.Maehne@… added

Cc Me!

comment:4 Changed 12 years ago by g5pw (Aljaž Srebrnič)

Related to #37522, see if provided patch works!

comment:5 Changed 12 years ago by moala@…

Yes! it works with #37522's patch!

comment:6 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.