[MacPorts] #49902: soprano fails to build on 10.11.1 (via krusader install)
#49902: soprano fails to build on 10.11.1 (via krusader install) ------------------------------+-------------------------------- Reporter: petrov@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: soprano krusader | Port: soprano ------------------------------+-------------------------------- I have new iMac and perform initial tuning for Android\iOS development. xCode installed from appStore before initial install of macports, Xcode command-line tools installed after macports instal && sync. Also, installed: - Android studio 1.5; - Android SDK; - Three versions of JVM: {{{ bash-3.2$ pwd /Library/Java/JavaVirtualMachines bash-3.2$ ls -l total 0 drwxr-xr-x 3 root wheel 102 15 июл 00:52 1.6.0.jdk drwxr-xr-x 3 root wheel 102 26 ноя 17:47 jdk1.7.0_79.jdk drwxr-xr-x 3 root wheel 102 3 дек 13:00 jdk1.8.0_65.jdk }}} what else... macports installed and synced via svn, because rsync TCP-ports is closed due to firewall restrictions -- Ticket URL: <https://trac.macports.org/ticket/49902> MacPorts <https://www.macports.org/> Ports system for OS X
#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Changes (by ryandesign@…): * keywords: soprano krusader => * owner: macports-tickets@… => pixilla@… -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Comment (by petrov@…): I think I solve the problem and soprano now builds and can be installed on Mac OS with 64x Java only. The solution is: When compile halts with message {{{ ndefined symbols for architecture i386: "_JNI_CreateJavaVM", referenced from: JNIWrapper::instance() in jniwrapper.cpp.o ld: symbol(s) not found for architecture i386 }}} go to the build directory {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_devel_soprano }}} then go inside {{{ soprano/work/build/backends/sesame2/CMakeFiles/soprano_sesame2backend.dir }}} locate the file {{{ flags.make }}} find the line in it {{{ CXX_FLAGS = -pipe -Os -stdlib=libc++ -DNDEBUG -arch x86_64 -arch i386 -mmacosx-version-min=10.11 -fPIC }}} and remove flag "-arch i386" from that line. That's it. After that port of soprano can be compiled without errors on linking java x32 libs: {{{ sudo port build soprano sudo port install soprano }}} -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Comment (by pixilla@…): Do you have +universal in prefix/etc/macports/variants.conf? -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Comment (by petrov@…): Yep: {{{ iMac-Petrov:~ A.Petrov$ cat /opt/local/etc/macports/variants.conf # -----===== Comments are skipped =====-----# # Example: # -x11 +no_x11 +quartz # +gcc48 # +universal +universal iMac-Petrov:~ A.Petrov$ }}} -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Comment (by pixilla@…): I just built soprano with +universal in variants.conf on El Capitan. Did you build any ports before adding +universal to variants.conf? -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49902: soprano fails to build on 10.11.1 (via krusader install) -----------------------+----------------------- Reporter: petrov@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: soprano | -----------------------+----------------------- Comment (by petrov@…): Timestamp of modifying the variants.conf: {{{ bash-3.2$ ls -l /opt/local/etc/macports/variants.* -rw-r--r-- 1 root admin 472 2 dec 16:37 /opt/local/etc/macports/variants.conf -r--r--r-- 1 root admin 461 1 oct 22:42 /opt/local/etc/macports/variants.conf.default bash-3.2$ }}} other timestamps: list of distfiles "chunks", sorted by date: {{{ bash-3.2$ ls -lt /opt/local/var/macports/distfiles/ total 0 drwxr-xr-x 3 macports admin 102 21 jan 12:43 krusader drwxr-xr-x 2 macports admin 68 21 jan 12:31 kde4-runtime drwxr-xr-x 3 macports admin 102 21 jan 12:28 samba3 ///--------------- drwxr-xr-x 3 macports admin 102 2 dec 17:08 attica drwxr-xr-x 3 macports admin 102 2 dec 17:08 phonon drwxr-xr-x 3 macports admin 102 2 dec 17:08 automoc drwxr-xr-x 3 macports admin 102 2 dec 16:36 qt4-mac drwxr-xr-x 3 macports admin 102 2 dec 16:34 lcms drwxr-xr-x 5 macports admin 170 2 dec 12:03 wine drwxr-xr-x 3 macports admin 102 2 dec 12:01 xorg-libXxf86vm drwxr-xr-x 3 macports admin 102 2 dec 12:01 xorg-xf86vidmodeproto drwxr-xr-x 3 macports admin 102 2 dec 12:01 libGLU //---------------- drwxr-xr-x 4 macports admin 136 1 dec 17:32 freetype drwxr-xr-x 3 macports admin 102 1 dec 17:30 m4 drwxr-xr-x 3 macports admin 102 1 dec 17:29 bison drwxr-xr-x 3 macports admin 102 1 dec 17:05 mc drwxr-xr-x 3 macports admin 102 1 dec 17:02 slang2 drwxr-xr-x 3 macports admin 102 1 dec 17:00 pkgconfig drwxr-xr-x 3 macports admin 102 1 dec 16:59 glib2 drwxr-xr-x 3 macports admin 102 1 dec 16:58 zlib }}} sort of binaries: {{{ bash-3.2$ ls -l /opt/local/bin/automoc4 -rwxr-xr-x 1 root admin 139792 3 dec 10:05 /opt/local/bin/automoc4 bash-3.2$ ls -l /opt/local/bin/wine -rwxr-xr-x 1 root admin 170 2 dec 12:10 /opt/local/bin/wine bash-3.2$ ls -l /opt/local/bin/mc -rwxr-xr-x 1 root admin 864388 1 dec 17:06 /opt/local/bin/mc }}} -- Ticket URL: <https://trac.macports.org/ticket/49902#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts