Opened 9 years ago

Closed 9 years ago

#47947 closed defect (worksforme)

qt5-creator-mac @3.2.2 fails to build

Reported by: harciga Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mkae (Marko Käning), carlofdtam (Carlo Tambuatco)
Port: qt5-creator-mac

Description


Attachments (3)

main.log (1.2 MB) - added by harciga 9 years ago.
qt5-creator-mac.log.zip (232.0 KB) - added by carlofdtam (Carlo Tambuatco) 9 years ago.
qt5-creator-mac log file
main.2.log (972.8 KB) - added by harciga 9 years ago.
june 19

Change History (12)

Changed 9 years ago by harciga

Attachment: main.log added

comment:1 Changed 9 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:2 Changed 9 years ago by carlofdtam (Carlo Tambuatco)

Cc: oraclmaster@… added

Cc Me!

Did a recent selfupdate/upgrade outdated and qt5-creator-mac seemed to download and install normally at first:

Computing dependencies for qt5-creator-mac

---> Fetching archive for qt5-creator-mac---> Attempting to fetch qt5-creator-mac-3.2.2_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/qt5-creator-mac

---> Attempting to fetch qt5-creator-mac-3.2.2_0.darwin_14.x86_64.tbz2.rmd160 from http://packages.macports.org/qt5-creator-mac

---> Installing qt5-creator-mac @3.2.2_0

---> Activating qt5-creator-mac @3.2.2_0

---> Cleaning qt5-creator-mac

but later on:

---> Updating database of binaries

---> Scanning binaries for linking errors

---> Found 549 broken file(s), matching files to ports

---> Found 2 broken port(s), determining rebuild order

---> Rebuilding in order

qt5-creator-mac @3.2.2

py27-pyqt5 @5.4

...

---> Computing dependencies for qt5-creator-mac

---> Fetching distfiles for qt5-creator-mac

---> Attempting to fetch qt-creator-opensource-src-3.2.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/qt5-creator-mac

---> Attempting to fetch qt-creator-opensource-src-3.2.2.tar.gz from http://distfiles.macports.org/qt5-creator-mac

---> Verifying checksums for qt5-creator-mac

---> Extracting qt5-creator-mac

---> Configuring qt5-creator-mac

---> Building qt5-creator-mac

---> Staging qt5-creator-mac into destroot

Error: org.macports.destroot for port qt5-creator-mac returned: can't read "qt_apps_dir": no such variable

Please see the log file for port qt5-creator-mac for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_qt5-creator-mac/qt5-creator-mac/main.log

Error: Unable to upgrade port: 1

Error rebuilding qt5-creator-mac

while executing

"error "Error rebuilding $portname""

(procedure "revupgrade_scanandrebuild" line 395)

invoked from within

"revupgrade_scanandrebuild broken_port_counts $opts"

(procedure "macports::revupgrade" line 5)

invoked from within

"macports::revupgrade $opts"

(procedure "action_revupgrade" line 2)

invoked from within

"action_revupgrade $action $portlist $opts"

(procedure "action_target" line 96)

invoked from within

"$action_proc $action $portlist [array get global_options]"

(procedure "process_cmd" line 103)

invoked from within

"process_cmd $remaining_args"

invoked from within

"if { [llength $remaining_args] > 0 } {

# If there are remaining arguments, process those as a command

set exit_status [process_cmd $remaining..."

(file "/opt/local/bin/port" line 5268)

I have included a log file for details of the error.

Last edited 9 years ago by carlofdtam (Carlo Tambuatco) (previous) (diff)

Changed 9 years ago by carlofdtam (Carlo Tambuatco)

Attachment: qt5-creator-mac.log.zip added

qt5-creator-mac log file

comment:3 Changed 9 years ago by mkae (Marko Käning)

Cc: mcalhoun@… removed
Owner: changed from macports-tickets@… to mcalhoun@…
Version: 2.3.3

It built here on my system, but I don't think disabling parallel building is necessary! Please change that! :)

comment:4 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

The original problem (lack of qt_apps_dir variable) should have been fixed in r137536.
Enabling parallel build in r137792.

Did r137536 in fact fix the problem?

comment:5 in reply to:  4 ; Changed 9 years ago by harciga

Replying to mcalhoun@…:

The original problem (lack of qt_apps_dir variable) should have been fixed in r137536.
Enabling parallel build in r137792.

Did r137536 in fact fix the problem?

No it didn't. I'm attaching the latest log.

:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Changed 9 years ago by harciga

Attachment: main.2.log added

june 19

comment:6 in reply to:  5 ; Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Replying to starkhalo@…:

Did r137536 in fact fix the problem?

No it didn't. I'm attaching the latest log.

:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

This seems to be a different issue from the original.

The problem seems to be linking with the libraries from botan.
Is it possible that botan is installed as an i386 while qt-creator-mac is attempting to compile as a x86_64?

comment:7 in reply to:  6 Changed 9 years ago by harciga

Replying to mcalhoun@…:

Replying to starkhalo@…:

Did r137536 in fact fix the problem?

No it didn't. I'm attaching the latest log.

:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

This seems to be a different issue from the original.

The problem seems to be linking with the libraries from botan.
Is it possible that botan is installed as an i386 while qt-creator-mac is attempting to compile as a x86_64?

Doesn't look like it.

$ port -v installed botan
The following ports are currently installed:
  botan @1.10.7_0 platform='darwin 12' archs='x86_64'
  botan @1.10.8_1 platform='darwin 12' archs='x86_64'
  botan @1.10.9_0 (active) platform='darwin 12' archs='x86_64'

$ lipo -info /opt/local/lib/libbotan-1.10.a
input file /opt/local/lib/libbotan-1.10.a is not a fat file
Non-fat file: /opt/local/lib/libbotan-1.10.a is architecture: x86_64

$ lipo -info /opt/local/lib/libbotan-1.10.dylib
Non-fat file: /opt/local/lib/libbotan-1.10.dylib is architecture: x86_64

Actually, by removing the botan flags -L/opt/local/lib -lbotan-1.10 at the point of error, I get 63 additional undefined symbols.

comment:8 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

qt5 and qt5-creator have undergone significant revisions of late.
Is this problem still occurring with the same error?

comment:9 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: worksforme
Status: newclosed

Hopefully, all the qt5 changes fixed the problem.
If not, please feel free to reopen.

Note: See TracTickets for help on using tickets.