[MacPorts] #29765: mod_jk fails to build

MacPorts noreply at macports.org
Thu Jun 9 10:42:52 PDT 2011


#29765: mod_jk fails to build
-----------------------------------+----------------------------------------
 Reporter:  mlandisberg@…          |       Owner:  jberry@…           
     Type:  defect                 |      Status:  new                
 Priority:  Normal                 |   Milestone:                     
Component:  ports                  |     Version:  1.9.2              
 Keywords:                         |        Port:  mod_jk             
-----------------------------------+----------------------------------------

Comment(by mlandisberg@…):

 Even if i change in jk_util.c

     if(sizeof(pthread_t) == sizeof(jk_uint32_t)) {
         return *(jk_uint32_t *)&u.tid;
     } else if (sizeof(pthread_t) == sizeof(jk_uint64_t) ) {
         return (*(jk_uint64_t *)&u.tid) & 0xFFFFFFFF;
     } else {
         return 0;
     }

 it gets compiled, but still fails:
 i was getting:


 :info:build lipo: /var/tmp//ccwAEf6c.out and /var/tmp//ccju05hp.out have
 the same architectures (i386) and can't be in the same fat output file
 :info:build make[1]: *** [mod_jk.la] Error 1
 :info:build make: *** [all-recursive] Error 1
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_jk/work
 /tomcat-connectors-1.2.27-src/native" && /usr/bin/make -j2 all " returned
 error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 :debug:build Backtrace: shell command failed (see log for details)
     while executing
 "command_exec build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 :info:build Warning: the following items did not execute (for mod_jk):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 :notice:build Log for mod_jk is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_jk/main.log

 Sorry, i have binary MacPorts 1.9.2 installed, and still even after "sudo
 port selfupdate" i can not do "sudo port install mod_jk +universal"

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


More information about the macports-tickets mailing list