Opened 9 years ago

Last modified 9 years ago

#49074 closed defect

qt5-mac @5.4.2: error: declaration of anonymous struct must be a definition — at Version 1

Reported by: fpvvd1@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc:
Port: qt5-mac

Description (last modified by ryandesign (Ryan Carsten Schmidt))

OS X El Capitan (10.11)

Error: org.macports.build for port qt5-mac returned: command execution failed
Please see the log file for port qt5-mac for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port qt5-mac failed

main.log (tail):

macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.4.2/qtbase/lib -framework QtCore -framework DiskArbitration -framework IOKit -framework Security -lz -framework SystemConfiguration -framework CoreFoundation -framework CoreServices -lssl -lcrypto 
:info:build mv -f QtNetwork ../../lib/QtNetwork.framework/Versions/5/QtNetwork
:info:build ln -s Versions/Current/QtNetwork ../../lib/QtNetwork.framework/QtNetwork
:info:build rm -f ../../lib/QtNetwork.framework/Versions/Current
:info:build ln -s 5 ../../lib/QtNetwork.framework/Versions/Current
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.4.2/qtbase/src/network'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.4.2/qtbase/src'
:info:build make[1]: *** [sub-src-make_first] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.4.2/qtbase'
:info:build make: *** [module-qtbase-make_first] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.4.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/work/qt-everywhere-opensource-src-5.4.2" && /usr/bin/make -j2 -w 
:info:build Exit code: 2
:error:build org.macports.build for port qt5-mac returned: command execution failed
:debug:build Error code: CHILDSTATUS 55341 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
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for qt5-mac: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port qt5-mac for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt5-mac/qt5-mac/main.log

Change History (2)

Changed 9 years ago by fpvvd1@…

Attachment: main.log added

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: elcapitan added; QT removed
Owner: changed from macports-tickets@… to mcalhoun@…
Summary: Error: Processing of port qt5-mac failedqt5-mac @5.4.2: error: declaration of anonymous struct must be a definition

Maybe updating to 5.5.0 would help.

Note: See TracTickets for help on using tickets.