[MacPorts] #20194: Unable to upgrade cyrus-sasl2

MacPorts noreply at macports.org
Mon Nov 30 15:22:36 PST 2009


#20194: Unable to upgrade cyrus-sasl2
-----------------------------+----------------------------------------------
 Reporter:  dimik@…          |       Owner:  jmpp@…           
     Type:  defect           |      Status:  new              
 Priority:  Normal           |   Milestone:                   
Component:  ports            |     Version:  1.7.1            
 Keywords:                   |        Port:  cyrus-sasl2      
-----------------------------+----------------------------------------------

Comment(by heiljd@…):

 Replying to [comment:26 joe@…]:[[BR]]
 > I'm having a similar problem, I have a fresh install of macports 1.8.1
 on Snow Leopard. I have set build_arch to i386 and I get this[[BR]]
 > [[BR]]
 > sudo port install cyrus-sasl2[[BR]]
 > --->  Computing dependencies for cyrus-sasl2[[BR]]
 > --->  Fetching cyrus-sasl2[[BR]]
 > --->  Verifying checksum(s) for cyrus-sasl2[[BR]]
 ...omitted...[[BR]]
 > make: *** [all] Error 2[[BR]]
 > [[BR]]
 > Error: Status 1 encountered during processing.[[BR]]
 [[BR]]
 I had this exact problem on 10.6.2 with MP 1.8.1 and XCode 3.2.1 on a
 fresh install as a dependent when I was trying to install subversion.  My
 workaround (which worked) was to install the remaining subversion
 dependencies (gettext, neon, serf) manually, then do the
 deactivate/clean/upgrade on cyrus-sasl2, which gave the following:[[BR]]


 jh:bin$ sudo port install subversion[[BR]]

 ....omitted...[[BR]]

 --->  Building cyrus-sasl2[[BR]]

 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_security_cyrus-sasl2/work/cyrus-sasl-2.1.23" &&
 /usr/bin/make -j2 all " returned error 2[[BR]]
 Command output:       _main in saslpasswd.o[[BR]]
   "_sasl_server_init", referenced from:[[BR]]
       _main in dbconverter-2.o[[BR]]
   "_sasl_server_new", referenced from:[[BR]]
       _main in dbconverter-2.o[[BR]]
 ld: symbol(s) not found[[BR]]
 ...omitted...[[BR]]
 collect2: ld returned 1 exit status[[BR]]
 make[2]: *** [saslpasswd2] Error 1[[BR]]
 make[2]: *** Waiting for unfinished jobs....[[BR]]
 make[2]: *** [dbconverter-2] Error 1[[BR]]
 make[1]: *** [all-recursive] Error 1[[BR]]
 make: *** [all] Error 2[[BR]]
 [[BR]]
 jh:bin$ sudo port install cyrus-sasl2[[BR]]
 Error: Requested variants "+kerberos" do not match original selection
 "".[[BR]]
 Please use the same variants again, perform 'port clean cyrus-sasl2' or
 specify the force option (-f).[[BR]]
 Error: Status 1 encountered during processing.[[BR]]
 [[BR]]
 jh:bin$ sudo port deactivate cyrus-sasl2[[BR]]
 Error: port deactivate failed: Registry error: cyrus-sasl2 not registered
 as installed & active.[[BR]]
 [[BR]]
 jh:bin jh$ sudo port clean cyrus-sasl2[[BR]]
 --->  Cleaning cyrus-sasl2[[BR]]
 [[BR]]
 jh:bin jh$ sudo port upgrade cyrus-sasl2[[BR]]
 Error: cyrus-sasl2 is not installed[[BR]]
 [[BR]]
 jh:bin jh$ sudo port install cyrus-sasl2[[BR]]
 --->  Computing dependencies for cyrus-sasl2[[BR]]
 --->  Fetching cyrus-sasl2[[BR]]
 --->  Verifying checksum(s) for cyrus-sasl2[[BR]]
 --->  Extracting cyrus-sasl2[[BR]]
 --->  Applying patches to cyrus-sasl2[[BR]]
 --->  Configuring cyrus-sasl2[[BR]]
 --->  Building cyrus-sasl2[[BR]]
 --->  Staging cyrus-sasl2 into destroot[[BR]]
 --->  Installing cyrus-sasl2 @2.1.23_0+kerberos[[BR]]
 --->  Activating cyrus-sasl2 @2.1.23_0+kerberos[[BR]]
 --->  Cleaning cyrus-sasl2[[BR]]
  [[BR]]
 So, I'm assuming the problem was with installing the +kerberos
 variant????? Which it built anyway???  Anyhoo, it worked and subversion
 worked. [[BR]]

-- 
Ticket URL: <http://trac.macports.org/ticket/20194#comment:27>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list