[MacPorts] #60690: port install kdepim4 fails: ld: library not found for -lakonadi-calendar

MacPorts noreply at macports.org
Sun Jun 21 00:23:24 UTC 2020


#60690: port install kdepim4 fails: ld: library not found for -lakonadi-calendar
------------------------+--------------------
  Reporter:  bejodavid  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------
Description changed by bejodavid:

Old description:

> (I need this for kalarm, which is part of the kdepim4 package to my best
> knowledge)
>
> 1.
>
> sudo port upgrade outdated
>
> --> [port-upgrade.log.txt]
>

>
> 
2.
>

> {{{
> XXX at YYY:~/x> sudo port install kdepim*
> Password:
> --->  Computing dependencies for kdepim4
> --->  Fetching archive for kdepim4
> --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
> https://packages.macports.org/kdepim4
> --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
> http://aus.us.packages.macports.org/macports/packages/kdepim4
> --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
> http://cph.dk.packages.macports.org/kdepim4
> --->  Fetching distfiles for kdepim4
> --->  Verifying checksums for kdepim4
> --->  Extracting kdepim4
> --->  Applying patches to kdepim4
> --->  Configuring kdepim4
> --->  Building kdepim4
> Error: Failed to build kdepim4: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port kdepim4 failed
> }}}
>

> --> [main.log]
>
> see:
> {{{
> :info:build
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim
> -4.14.3/korganizer/kodaymatrix.cpp:865:39: error: ordered comparison
> between pointer and zero ('const void *' and 'int')
> :info:build     if ( mEvents.contains( mDays[i] ) > 0 ) {
> :info:build          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
> :info:build 1 error generated.
> :info:build make[2]: ***
> [korganizer/CMakeFiles/korganizerprivate.dir/kodaymatrix.o] Error 1
> }}}
>

>
> 3.
>
> correction in
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.14.3/korganizer/kodaymatrix.cpp
> :
>
> replace
>     if ( mEvents.contains( mDays[i] ) > 0 ) {
> with
>     if ( mEvents.contains( mDays[i] )  ) {
>
> then
>
> {{{
> cd
> opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/work/build
> /usr/bin/make -j4 -w all VERBOSE=ON
> }}}
>
> --> [output2.txt]
>
> In there: **(!!! THIS IS THE ACTUAL PROBLEM !!!)**
> {{{
> ld: library not found for -lakonadi-calendar
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [lib/libkorganizerprivate.4.14.3.dylib] Error 1
> make[2]: Leaving directory `/opt/local
> }}}
>

> 4.
>
> {{{
> xxx at yyy:~/x> sudo port clean "kdepim*"
> --->  Cleaning kdepim4
> --->  Cleaning kdepim4-runtime
> --->  Cleaning kdepimlibs4
> --->  Cleaning kdepimlibs4-kioslaves
>
> xxx at yyy:~/x> sudo port install "kdepim*"
> --->  Computing dependencies for kdepim4
> --->  Fetching archive for kdepim4
> --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
> https://packages.macports.org/kdepim4
> --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
> http://aus.us.packages.macports.org/macports/packages/kdepim4
> --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
> http://cph.dk.packages.macports.org/kdepim4
> --->  Fetching distfiles for kdepim4
> --->  Verifying checksums for kdepim4
> --->  Extracting kdepim4
> --->  Applying patches to kdepim4
> --->  Configuring kdepim4
> --->  Building kdepim4
> Error: Failed to build kdepim4: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port kdepim4 failed
> }}}
>
> --> same error in main.log, then same error after the manual correction
>

> 5. No akonadi-calendar package?
>
> {{{
> xxx at yyy:~/x> sudo port search "akonadi*"
> akonadi @1.13.1.20141210_5 (devel, kde, kde4)
>     A personal information management storage service.
> [06/21/20 2:11:22] agoston at adnmachu393:~/x> sudo port install "akonadi*"
> --->  Computing dependencies for akonadi
> --->  Cleaning akonadi
> --->  Scanning binaries for linking errors
> --->  No broken files found.
> --->  No broken ports found.
> }}}
>

> 6. system info:
>
> {{{
> xxx at yyy:~/x> uname -a
> Darwin adnmachu393.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20
> 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
> }}}
>
> {{{
> System Software Overview:
>
>   System Version:       macOS 10.14.6 (18G103)
>   Kernel Version:       Darwin 18.7.0
>   Boot Volume:  Macintosh HD
>   Boot Mode:    Normal
>   Computer Name: *********
>   User Name:    ********
>   Secure Virtual Memory:        Enabled
>   System Integrity Protection:  Enabled
>   Time since boot:      1 day 17:59
> }}}

New description:

 (I need this for kalarm, which is part of the kdepim4 package to my best
 knowledge)

 1.

 sudo port upgrade outdated

 --> [port-upgrade.log.txt]



 
2.


 {{{
 XXX at YYY:~/x> sudo port install kdepim*
 Password:
 --->  Computing dependencies for kdepim4
 --->  Fetching archive for kdepim4
 --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
 https://packages.macports.org/kdepim4
 --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
 http://aus.us.packages.macports.org/macports/packages/kdepim4
 --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
 http://cph.dk.packages.macports.org/kdepim4
 --->  Fetching distfiles for kdepim4
 --->  Verifying checksums for kdepim4
 --->  Extracting kdepim4
 --->  Applying patches to kdepim4
 --->  Configuring kdepim4
 --->  Building kdepim4
 Error: Failed to build kdepim4: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port kdepim4 failed
 }}}


 --> [main.log]

 see:
 {{{
 :info:build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim
 -4.14.3/korganizer/kodaymatrix.cpp:865:39: error: ordered comparison
 between pointer and zero ('const void *' and 'int')
 :info:build     if ( mEvents.contains( mDays[i] ) > 0 ) {
 :info:build          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
 :info:build 1 error generated.
 :info:build make[2]: ***
 [korganizer/CMakeFiles/korganizerprivate.dir/kodaymatrix.o] Error 1
 }}}



 3.

 correction in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/work/kdepim-4.14.3/korganizer/kodaymatrix.cpp
 :

 replace
     if ( mEvents.contains( mDays[i] ) > 0 ) {
 with
     if ( mEvents.contains( mDays[i] )  ) {

 then

 {{{
 cd
 opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/work/build
 /usr/bin/make -j4 -w all VERBOSE=ON
 }}}

 --> [output2.txt]

 In there: **(!!! THIS IS THE ACTUAL PROBLEM !!!)**
 {{{
 ld: library not found for -lakonadi-calendar
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[2]: *** [lib/libkorganizerprivate.4.14.3.dylib] Error 1
 make[2]: Leaving directory `/opt/local
 }}}


 4.

 {{{
 xxx at yyy:~/x> sudo port clean "kdepim*"
 --->  Cleaning kdepim4
 --->  Cleaning kdepim4-runtime
 --->  Cleaning kdepimlibs4
 --->  Cleaning kdepimlibs4-kioslaves

 xxx at yyy:~/x> sudo port install "kdepim*"
 --->  Computing dependencies for kdepim4
 --->  Fetching archive for kdepim4
 --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
 https://packages.macports.org/kdepim4
 --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
 http://aus.us.packages.macports.org/macports/packages/kdepim4
 --->  Attempting to fetch kdepim4-4.14.3_5.darwin_18.x86_64.tbz2 from
 http://cph.dk.packages.macports.org/kdepim4
 --->  Fetching distfiles for kdepim4
 --->  Verifying checksums for kdepim4
 --->  Extracting kdepim4
 --->  Applying patches to kdepim4
 --->  Configuring kdepim4
 --->  Building kdepim4
 Error: Failed to build kdepim4: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdepim4/kdepim4/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port kdepim4 failed
 }}}

 --> same error in main.log, then same error after the manual correction


 5. No akonadi-calendar package?

 {{{
 xxx at yyy:~/x> sudo port search "akonadi*"
 akonadi @1.13.1.20141210_5 (devel, kde, kde4)
     A personal information management storage service.

 xxx at yyy:~/x> sudo port install "akonadi*"
 --->  Computing dependencies for akonadi
 --->  Cleaning akonadi
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 }}}


 6. system info:

 {{{
 xxx at yyy:~/x> uname -a
 Darwin *****.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Aug 20
 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64
 }}}

 {{{
 System Software Overview:

   System Version:       macOS 10.14.6 (18G103)
   Kernel Version:       Darwin 18.7.0
   Boot Volume:  Macintosh HD
   Boot Mode:    Normal
   Computer Name: *********
   User Name:    ********
   Secure Virtual Memory:        Enabled
   System Integrity Protection:  Enabled
   Time since boot:      1 day 17:59
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/60690#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list