Opened 11 years ago

Last modified 5 years ago

#39249 assigned defect

qt3-mac is not able to build on MAC OSX (darwin) — at Initial Version

Reported by: parecejiit@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: qt3-mac

Description

Hi ,

I am having trouble installing qt3-mac using macports

here is command line logs>>

-MacBook-Air:~ Pravy$ sudo port install qt3-mac Password: ---> Computing dependencies for qt3-mac ---> Building qt3-mac Error: org.macports.build for port qt3-mac returned: command execution failed Please see the log file for port qt3-mac for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt3-mac/qt3-mac/main.log

To report a bug, follow the instructions in the guide:

http://guide.macports.org/#project.tickets

Error: Processing of port qt3-mac failed Parveen-Aryas-MacBook-Air:~ Pravy$

here is what i see in the log file >>>

info:build kernel/qpngio.cpp:505: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:520: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:521: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:522: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:538: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:539: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:540: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp:558: error: invalid use of incomplete type ‘struct png_info_def’ :info:build /opt/local/include/png.h:736: error: forward declaration of ‘struct png_info_def’ :info:build kernel/qpngio.cpp: In member function ‘virtual int QPNGFormat::decode(QImage&, QImageConsumer*, const uchar*, int)’: :info:build kernel/qpngio.cpp:1044: error: invalid use of incomplete type ‘struct png_struct_def’ :info:build /opt/local/include/png.h:863: error: forward declaration of ‘struct png_struct_def’ :info:build kernel/qpngio.cpp:1071: error: invalid use of incomplete type ‘struct png_struct_def’ :info:build /opt/local/include/png.h:863: error: forward declaration of ‘struct png_struct_def’ :info:build kernel/qpngio.cpp: In member function ‘void QPNGFormat::end(png_struct*, png_info*)’: :info:build kernel/qpngio.cpp:1131: error: invalid use of incomplete type ‘struct png_struct_def’ :info:build /opt/local/include/png.h:863: error: forward declaration of ‘struct png_struct_def’ :info:build kernel/qpngio.cpp: In function ‘void qt_zlib_compression_hack()’: :info:build kernel/qpngio.cpp:1246: error: ‘compress’ was not declared in this scope :info:build kernel/qpngio.cpp:1247: error: ‘uncompress’ was not declared in this scope :info:build make[1]: * [.obj/release-shared-mt/qpngio.o] Error 1 :info:build make[1]: * Waiting for unfinished jobs.... :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt3-mac/qt3-mac/work/qt-mac-free-3.3.8b/src' :info:build make: * [sub-src] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt3-mac/qt3-mac/work/qt-mac-free-3.3.8b' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt3-mac/qt3-mac/work/qt-mac-free-3.3.8b" && /usr/bin/make -j2 -w symlinks src-qmake src-moc sub-src sub-tools :info:build Exit code: 2 :error:build org.macports.build for port qt3-mac returned: command execution failed :debug:build Error code: CHILDSTATUS 213 2 :debug:build Backtrace: command execution failed

while executing

"system -nice 0 $fullcmdstring"

("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

invoked from within

Environment info: Macport version: 2.1.3 OS: 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

please suggest what is wrong, i tried reading some very old thread on this issue but none of them were able to help me.

Thanks.

Change History (0)

Note: See TracTickets for help on using tickets.