Opened 7 years ago

Closed 7 years ago

#55046 closed defect (fixed)

Configuring nepomuk-core failed

Reported by: riccardobrasca Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: nepomuk-core

Description

I got the following error building nepomuk-core after upgrading to High Sierra (and following the migration guide)

--->  Fetching archive for nepomuk-core
--->  Attempting to fetch nepomuk-core-4.14.3_7.darwin_17.x86_64.tbz2 from https://packages.macports.org/nepomuk-core
--->  Attempting to fetch nepomuk-core-4.14.3_7.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/nepomuk-core
--->  Attempting to fetch nepomuk-core-4.14.3_7.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/nepomuk-core
--->  Fetching distfiles for nepomuk-core
--->  Verifying checksums for nepomuk-core
--->  Extracting nepomuk-core
--->  Applying patches to nepomuk-core
--->  Configuring nepomuk-core
Error: Failed to configure nepomuk-core: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_nepomuk-core/nepomuk-core/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

main.log (1.3 MB) - added by riccardobrasca 7 years ago.

Download all attachments as: .zip

Change History (11)

Changed 7 years ago by riccardobrasca

Attachment: main.log added

comment:1 Changed 7 years ago by riccardobrasca

Configuring now works, but I get the following while building

--->  Fetching archive for nepomuk-core
--->  Attempting to fetch nepomuk-core-4.14.3_7.darwin_17.x86_64.tbz2 from https://packages.macports.org/nepomuk-core
--->  Attempting to fetch nepomuk-core-4.14.3_7.darwin_17.x86_64.tbz2 from http://lil.fr.packages.macports.org/nepomuk-core
--->  Attempting to fetch nepomuk-core-4.14.3_7.darwin_17.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/nepomuk-core
--->  Fetching distfiles for nepomuk-core
--->  Verifying checksums for nepomuk-core
--->  Extracting nepomuk-core
--->  Applying patches to nepomuk-core
--->  Configuring nepomuk-core
--->  Building nepomuk-core
Error: Failed to build nepomuk-core: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_nepomuk-core/nepomuk-core/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: NicosPavlov removed
Owner: set to NicosPavlov
Status: newassigned

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Please attach the new main.log file so we can see the error.

comment:4 Changed 7 years ago by riccardobrasca

I already attached the new file (overriding the old one, sorry if this was not clear).

comment:5 Changed 7 years ago by mf2k (Frank Schima)

I see now. Thank you.

comment:6 Changed 7 years ago by barry-scott (Barry)

I see the failed ld failure as well.

comment:7 Changed 7 years ago by NicosPavlov

:info:build /usr/bin/clang++  -pipe -Os -stdlib=libc++ -fno-common -Wnon-virtual-dtor -Wno-long-long -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -Woverloaded-virtual -fno-common -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -Wno-return-type-c-linkage -O2 -DNDEBUG -DQT_NO_DEBUG -arch x86_64 -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names CMakeFiles/nepomukserver.dir/nepomukserver_dummy.cpp.o  -o nepomukserver.app/Contents/MacOS/nepomukserver -Wl,-rpath,/opt/local/lib ../lib/libkdeinit4_nepomukserver.dylib /opt/local/lib/libkdeui.5.14.3.dylib /opt/local/lib/libkdecore.5.14.3.dylib /opt/local/libexec/qt4/lib/libQtDBus.dylib /opt/local/libexec/qt4/lib/libQtCore.dylib -framework Carbon /opt/local/libexec/qt4/lib/libQtGui.dylib /opt/local/libexec/qt4/lib/libQtSvg.dylib /opt/local/lib/libsoprano.dylib /opt/local/lib/libsopranoserver.dylib 
[snip]
:info:build Undefined symbols for architecture x86_64:
:info:build   "_kdemain", referenced from:
:info:build       _kdeinitmain in nepomukserver_dummy.cpp.o
:info:build       _main in nepomukserver_dummy.cpp.o
: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)

The symbol is located in libkdeinit4_nepomukserver.dylib, but the symbol _kdemain is not declared as external.

comment:8 Changed 7 years ago by riccardobrasca

I don't understand, sorry. Is there a workaround (or a solution) to the problem? Thank's!

comment:9 Changed 7 years ago by NicosPavlov

Sorry, the comments above were mostly a note to myself, explaining what I gathered from the issue. I am looking into solving it.

comment:10 Changed 7 years ago by NicosPavlov

Resolution: fixed
Status: assignedclosed

In b262f9edd1353eff34f759b0fc476d31aad9dc44/macports-ports:

nepomuk-core: fix symbols visibility (fix: #55046)

Note: See TracTickets for help on using tickets.