Opened 12 years ago

Closed 11 years ago

#35144 closed defect (fixed)

kdepim4: Undefined symbols: KLDAP::LdapClientSearch::config etc.

Reported by: FGasper (Felipe Gasper) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: bjoern.ricks@…, geekosaur
Port: kdepim4

Description

Here’s the end of the debug log:

cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build/kalarm && /opt/local/bin/cmake -D_filename=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build/kalarm/kalarm_bin.app/Contents/MacOS/kalarm_bin.shell -D_library_path_variable=DYLD_LIBRARY_PATH -D_ld_library_path="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build/lib/./:/opt/local/lib" -D_executable=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build/kalarm/kalarm_bin.app/Contents/MacOS/kalarm_bin -P /opt/local/share/apps/cmake/modules/kde4_exec_via_sh.cmake
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build/CMakeFiles  27 28 29 30
[ 28%] Built target kalarm_bin
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/work/build" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: org.macports.build for port kdepim4 returned: command execution failed
DEBUG: Error code: CHILDSTATUS 10967 2
DEBUG: Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: targets not executed for kdepim4: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port kdepim4 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdepim4/kdepim4/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port kdepim4 failed

Attachments (1)

main.log (4.4 MB) - added by geekosaur 12 years ago.

Change History (8)

comment:1 Changed 12 years ago by FGasper (Felipe Gasper)

Cc: felipe@… added

Cc Me!

comment:2 Changed 12 years ago by geekosaur

Attaching a real log (with build.jobs=1 configure.compiler=llvm-gcc-4.2).

Changed 12 years ago by geekosaur

Attachment: main.log added

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

Cc: sharky@… bjoern.ricks@… allbery.b@… added; felipe@… removed
Owner: changed from macports-tickets@… to snc@…
Summary: kdepim4 fails to build while executing “system -nice 0 $fullcmdstring”kdepim4: Undefined symbols: KLDAP::LdapClientSearch::config etc.

Thanks for the main.log. It says:

:info:build Undefined symbols for architecture x86_64:
:info:build   "KLDAP::LdapClientSearch::config()", referenced from:
:info:build       KCMLdap::save()     in kcmldap.o
:info:build       KCMLdap::load()     in kcmldap.o
:info:build   "KLDAP::LdapClientSearch::writeConfig(KLDAP::LdapServer const&, KConfigGroup&, int, bool)", referenced from:
:info:build       KCMLdap::save()     in kcmldap.o
:info:build   "KLDAP::LdapClientSearch::readConfig(KLDAP::LdapServer&, KConfigGroup const&, int, bool)", referenced from:
:info:build       KCMLdap::load()     in kcmldap.o
:info:build ld: symbol(s) not found for architecture x86_64

comment:4 Changed 12 years ago by nerdling (Jeremy Lavergne)

Cc: michaelld@… added; sharky@… removed
Owner: changed from snc@… to sharky@…

comment:5 Changed 12 years ago by michaelld (Michael Dickens)

Cc: michaelld@… removed

Cc Me!

comment:6 Changed 11 years ago by sharky@…

Owner: changed from sharky@… to nicos@…

comment:7 Changed 11 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Closing the ticket as llvm-gcc-4.2 has been blacklisted in the portfile several versions ago.

Note: See TracTickets for help on using tickets.