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!

Version 0, edited 9 years ago by carlofdtam (Carlo Tambuatco) (next)

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.