Opened 10 years ago

Closed 21 months ago

#45219 closed defect (fixed)

soprano build fails (via kmymoney install)

Reported by: bricklemacho@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: soprano

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

I am trying to install kmymoney4 and it is fails whilst trying to build saprono. Best I can tell is it is a linker problem. Log file attached.

Environment:
10.9.5, Xcode 6.0.1, CLT 6.0

Process:

sudo port selfupdate
sudo port upgrade outdated
sudo port install kmymoney4

Appreciate any help.

Attachments (2)

main.log (416.9 KB) - added by bricklemacho@… 10 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_soprano/soprano/main.log
main.2.log (569.5 KB) - added by bricklemacho@… 10 years ago.
New log file after deleting symlink as per http://bugs.python.org/issue14018

Download all attachments as: .zip

Change History (17)

Changed 10 years ago by bricklemacho@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_soprano/soprano/main.log

comment:1 Changed 10 years ago by bricklemacho@…

Cc: bricklemacho@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: bricklemacho@… removed
Owner: changed from macports-tickets@… to pixilla@…

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:4 Changed 10 years ago by pixilla (Bradley Giesbrecht)

bricklemacho: is "/Library/Frameworks/Frameworks" a symlink on your system?

Building with the same environment in your description I do not get the same result as your log from this block:

/opt/local/share/cmake-3.0/Modules/Platform/Darwin.cmake:313

if(CMAKE_OSX_SYSROOT)
  get_property(_IN_TC GLOBAL PROPERTY IN_TRY_COMPILE)
  if(NOT _IN_TC AND
     NOT IS_SYMLINK "${CMAKE_OSX_SYSROOT}/Library/Frameworks"
     AND IS_SYMLINK "${CMAKE_OSX_SYSROOT}/Library/Frameworks/Frameworks")
    message(WARNING "The SDK Library/Frameworks path\n"
      " ${CMAKE_OSX_SYSROOT}/Library/Frameworks\n"
      "is not set up correctly on this system.  "
      "This is known to occur when installing Xcode 3.2.6:\n"
      " http://bugs.python.org/issue14018\n"
      "The problem may cause build errors that report missing system frameworks.  "
      "Fix your SDK symlinks to resolve this issue and avoid this warning."
      )
  endif()
endif()

comment:5 in reply to:  4 Changed 10 years ago by bricklemacho@…

Replying to pixilla@…:

bricklemacho: is "/Library/Frameworks/Frameworks" a symlink on your system?

Yes.

lrwxr-xr-x  1 root  wheel  19 24 Mar  2011 /Library/Frameworks/Frameworks -> /Library/Frameworks

From http://bugs.python.org/issue14018\n"

it ends up with an extra Frameworks directory so that
 
/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks/Frameworks/ -> /Library/Frameworks
 
The solution is to manually go in and fix the symlinks in 
/Developer/SDKs/MacOSX10.6.sdk, and remember to do so again if you have 
to reinstall Xcode 3.2.6.  AFAIK, this bug is unique to Xcode 3.2.6, not 
earlier versions of 3.2.x.

Assume "fix" meant to delete the symlink. Deleted symlink, then:

sudo port clean soprano
sudo port install soprano

Build fails, with what appears to be a linker error. New log file attached. The above warning is no longer present but still getting linker error.

Changed 10 years ago by bricklemacho@…

Attachment: main.2.log added

New log file after deleting symlink as per http://bugs.python.org/issue14018

comment:6 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Did you upgrade OS X after installing MacPorts? If so, did you follow the migration guide?

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 in reply to:  6 Changed 10 years ago by bricklemacho@…

Replying to pixilla@…:

Did you upgrade OS X after installing MacPorts? If so, did you follow the migration guide?

At the time of the OS upgrade I did a complete reinstall of macports. Saved list of ports, deleted all macports directories, downloaded and installed Macports for Mavericks.

Obviously I have broken something, Kmymoney builds fine on my Mountain Lion box, just this Mavericks laptop causing problems.

Last edited 8 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:8 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Do you have any need for the Xcode 3.2.6 dev tools? If not, you might try (re)moving the Xcode 3.2.6 /Developer dir and repeat the migration guide.

Last edited 10 years ago by pixilla (Bradley Giesbrecht) (previous) (diff)

comment:9 in reply to:  8 ; Changed 10 years ago by bricklemacho@…

I am getting confused. Aside form the bug report relating to Xcode 3.2.6 what makes you think I have that version installed. I can't see it mentioned in the log file? How can I determine the version of developer tools?

Xcode -> About -> Version 6.0.1 (6A317)
pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 6.0.0.0.1.1410400753
volume: /
location: /
install-time: 1411999526
groups: com.apple.FindSystemFiles.pkg-group com.apple.DevToolsBoth.pkg-group com.apple.DevToolsNonRelocatableShared.pkg-group

comment:10 in reply to:  9 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Replying to bricklemacho@…:

I am getting confused. Aside form the bug report relating to Xcode 3.2.6 what makes you think I have that version installed.

The report is all I was going on. Xcode 3.x by default installed to /Developer, if you have that directory on your system move it aside and see if it makes a difference.

comment:11 Changed 10 years ago by bricklemacho@…

Ahh... ok. No don't have that directory.

comment:12 Changed 6 years ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

comment:13 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

soprano has since been updated to 2.9.4_4. Is this ticket still relevant or can it be closed?

comment:14 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:15 Changed 21 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed

builds on 10.9 now

Note: See TracTickets for help on using tickets.