After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 515597 - Build Failure under Mac OS X 10.3.9 and 10.4.11
Build Failure under Mac OS X 10.3.9 and 10.4.11
Status: RESOLVED OBSOLETE
Product: doxygen
Classification: Other
Component: build
1.5.5
Other All
: Normal blocker
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
: 554216 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-02-10 16:26 UTC by Marius Schamschula
Modified: 2015-07-26 13:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marius Schamschula 2008-02-10 16:26:40 UTC
Please describe the problem:
c++ -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qdir.o qdir.cpp
qfiledefs_p.h:258: error: field 'st' has incomplete type
make[2]: *** [../objects/qdir.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2



Steps to reproduce:
1. ./configure
2. make
3. 


Actual results:


Expected results:


Does this happen every time?
Yes

Other information:
gcc 3.3 for 10.3.9 and 4.0.1 for 10.4.11 (Intel/PPC)
No such problem for 10.5.1 PPC
Comment 1 Dimitri van Heesch 2008-02-10 20:57:48 UTC
Can you check if it work if you replace

#elif defined(_OS_MAC_) \
  && (MAC_OS_X_VERSION_MAX_ALLOWED==MAC_OS_X_VERSION_10_5)

with

#elif defined(_OS_MAC_) 

at line 58 of qfiledefs_p.h ?


Comment 2 Marius Schamschula 2008-02-10 22:04:16 UTC
This works.

The build succeeds for 10.3.9, but the 10.4.11 builds now hang @

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:390: error: invalid conversion from 'char**' to 'const char**'
portable.cpp:390: 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
Comment 3 Marius Schamschula 2008-10-05 12:37:00 UTC
I now get

c++ -c -pipe -D__FreeBSD__=6 -DQT_NO_CODECS -DQT_LITE_UNICODE -Wall -W -O2 -I. -o ../objects/qdir.o qdir.cpp
qfiledefs_p.h:258: error: field 'st' has incomplete type
make[2]: *** [../objects/qdir.o] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
Comment 4 Marius Schamschula 2008-10-05 12:40:41 UTC
Oops. In Comment 3, I accidently undid the change for 10.4.11 and doxygen 1.5.7.1.

If not building doxygenwizard why are we building Qt related stuff?

Is there anyway of disabling this? 
Comment 5 Dimitri van Heesch 2008-10-05 19:28:33 UTC
doxygen also depends on part of an old version of Qt. 
It is included with doxygen and located in the qtools dir. This you cannot do without when building doxygen.
Comment 6 Marius Schamschula 2008-10-05 23:54:32 UTC
OK

I still cannot build the Mac 10.4.11 version, since tries to make an ill-advised universal build, and the architecture specific build fails.

When I try to force it to build for one architecture, it suddenly needs GNU install, whereas the default configure will accept BSD install. Since GNU install is part of a far-reaching GNU system utilities package, I would like to avoid overloading the BSD utilities. Is there a way out of this?
Comment 7 Dimitri van Heesch 2008-10-13 17:58:10 UTC
*** Bug 554216 has been marked as a duplicate of this bug. ***
Comment 8 albert 2015-07-20 13:52:15 UTC
Seen the change to CMake for the current release I think this bug can be set to RESOLVED OBSOLETE
Comment 9 Dimitri van Heesch 2015-07-26 13:31:07 UTC
Setting to obsolete as suggested. Please reopen this bug report if you still reproduce this issue with the new cmake based build.