Opened 12 years ago

Closed 12 years ago

#38186 closed defect (fixed)

juman6 @6.01 needs the standard automake1.13 fix

Reported by: cooljeanius (Eric Gallager) Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: juman6

Description

I was trying to install extractopinion, and it failed because its dependency juman6 ran into this familiar error:

--->  Configuring juman6
DEBUG: Using compiler 'Mac OS X clang'
DEBUG: Executing org.macports.configure (juman6)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_juman6/juman6/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_juman6/juman6/work/juman-6.01" && autoreconf --install'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_juman6/juman6/work/juman-6.01" && autoreconf --install 
configure.ac:7: error: 'AM_CONFIG_HEADER': this macro is obsolete.
    You should use the 'AC_CONFIG_HEADERS' macro instead.
/opt/local/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:7: the top level
autom4te: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_juman6/juman6/work/juman-6.01" && autoreconf --install 
Exit code: 1
Error: org.macports.configure for port juman6 returned: autoreconf failure: command execution failed
DEBUG: Error code: NONE
DEBUG: Backtrace: autoreconf failure: command execution failed
    while executing
"$procedure $targetname"
Warning: targets not executed for juman6: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
Error: Failed to install juman6
DEBUG: could not read "/opt/local/share/crfpp/sdk/example.cpp": no such file or directory
    while executing
"::file type $file"

Should be pretty easy to fix

Attachments (1)

juman6-fail-main.log (7.5 KB) - added by cooljeanius (Eric Gallager) 12 years ago.
full log for build failure

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: hum@… removed
Owner: changed from macports-tickets@… to hum@…

comment:2 Changed 12 years ago by cooljeanius (Eric Gallager)

juman6 is openmaintainer btw, so anyone can fix this. We don't necessarily need to wait for hum.

comment:3 Changed 12 years ago by humem (humem)

Sorry for the late reply, but I could not reproduce the error on my machines, one is Lion and the other is Mountain Lion. I believe the port does not require autoreconf...

Changed 12 years ago by cooljeanius (Eric Gallager)

Attachment: juman6-fail-main.log added

full log for build failure

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

I just tried building it again and it failed again; the full main.log from this time is now attached. My system info:

gl00b05047:~ root# uname -a
Darwin gl00b05047 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64
gl00b05047:~ root# port version
Version: 2.1.3
gl00b05047:~ root# xcodebuild -version
Xcode 4.6
Build version 4H127
gl00b05047:~ root# clang --version
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix

comment:5 Changed 12 years ago by cooljeanius (Eric Gallager)

Actually looking at the portfile I see what's the matter now; I forgot to mention that I was using the +universal variant:

if {[variant_isset universal]} {
    use_autoreconf  yes
}

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.