Opened 13 years ago

Last modified 13 years ago

#29765 closed defect

mod_jk fails to build — at Version 1

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

Change History (2)

Changed 13 years ago by mlandisberg@…

Attachment: main.log added

macports build log

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.

Note: See TracTickets for help on using tickets.