Opened 13 years ago
Closed 13 years ago
#29765 closed defect (fixed)
mod_jk +universal fails to build
Reported by: | mlandisberg@… | Owned by: | jberry@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | ||
Port: | mod_jk |
Description (last modified by mf2k (Frank Schima))
I get following in the end of log when i do "sudo port install mod_jk +universal"
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mod_jk/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled 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' :info:build Making all in common :info:build /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.2 -I/opt/local/apache2/include -pipe -O2 -arch x86_64 -arch i386 -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -DHAVE_APR -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -pipe -O2 -arch x86_64 -arch i386 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -I /include -I /include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo :info:build /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.2 -I/opt/local/apache2/include -pipe -O2 -arch x86_64 -arch i386 -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -DHAVE_APR -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -pipe -O2 -arch x86_64 -arch i386 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -I /include -I /include/ -c jk_connect.c -o jk_connect.lo :info:build mkdir: .libs: File exists :info:build /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.2 -I/opt/local/apache2/include -pipe -O2 -arch x86_64 -arch i386 -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -DHAVE_APR -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -pipe -O2 -arch x86_64 -arch i386 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -I /include -I /include/ -c jk_msg_buff.c -o jk_msg_buff.lo :info:build /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.2 -I/opt/local/apache2/include -pipe -O2 -arch x86_64 -arch i386 -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -DHAVE_APR -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -pipe -O2 -arch x86_64 -arch i386 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -I /include -I /include/ -c jk_util.c -o jk_util.lo :info:build /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.2 -I/opt/local/apache2/include -pipe -O2 -arch x86_64 -arch i386 -pipe -O2 -arch x86_64 -arch i386 -I/opt/local/include -DHAVE_APR -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -pipe -O2 -arch x86_64 -arch i386 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -I /include -I /include/ -c jk_ajp13.c -o jk_ajp13.lo :info:build jk_util.c: In function 'jk_gettid': :info:build jk_util.c:2114: error: duplicate case value :info:build jk_util.c:2112: error: previously used here :info:build lipo: can't open input file: /var/tmp//cceZU9sF.out (No such file or directory) :info:build make[1]: *** [jk_util.lo] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :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
Attachments (1)
Change History (5)
Changed 13 years ago by mlandisberg@…
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to jberry@… |
I have fixed these issues, but in the future, please use WikiFormatting and use the Preview button. Also Cc the maintainer.
comment:2 Changed 13 years ago 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"
comment:3 Changed 13 years ago by jmroot (Joshua Root)
Summary: | mod_jk fails to build → mod_jk +universal fails to build |
---|
Again, please remember WikiFormatting (I'll fix comment:2).
comment:4 Changed 13 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
macports build log