Opened 13 years ago

Closed 13 years ago

#33665 closed defect (fixed)

xmltooling @1.4.2 Build failure

Reported by: sttournie@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: xmltooling shibboleth log4shib Cc: scantor (Scott Cantor)
Port: xmltooling

Description

Hello guys

I get this error when I try to install the xmltooling port with "port install xmltooling" :

--->  Computing dependencies for xmltooling
--->  Building xmltooling
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for xmltooling is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_xmltooling/xmltooling/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

In log file attached to this ticket, on line 249 it seems to have an error compiling correctly the log4shib dependency.

log4shib is correctly installed. I tried to uninstall log4shib and install it with "+universal" option but it doesn't work.

I tried to install both log4shib and xmltooling with "configure.compiler=llvm-gcc-4.2" option but nothing different.

Attachments (2)

main.log (25.0 KB) - added by sttournie@… 13 years ago.
xmltooling log file
main.2.log (55.4 KB) - added by sttournie@… 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by sttournie@…

Attachment: main.log added

xmltooling log file

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

Cc: scantor@… added; sttournie@… removed
Owner: changed from macports-tickets@… to snc@…

This was not a clean build attempt; please "sudo port clean xmltooling" and try again and attach the new main.log.

comment:2 Changed 13 years ago by sttournie@…

I tried again "sudo port install xmltooling" with a "sudo port clean xmltooling" before but I got the same error (on line 523 in attached log file).

--->  Computing dependencies for xmltooling
--->  Fetching archive for xmltooling
--->  Attempting to fetch xmltooling-1.4.2_1.darwin_11.x86_64.tbz2 from http://packages.macports.org/xmltooling
--->  Fetching xmltooling
--->  Verifying checksum(s) for xmltooling
--->  Extracting xmltooling
--->  Configuring xmltooling
--->  Building xmltooling
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for xmltooling is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_xmltooling/xmltooling/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

So I tried one more time "sudo port clean xmltooling" and then "sudo port install xmltooling configure.compiler=llvm-gcc-4.2" and it worked!

So to install shibboleth port, I had to install xmltooling alone first with option "configure.compiler=llvm-gcc-4.2".

I am on a MacBook Pro from April 2011, running Mac OS X Lion 10.7.3.

Changed 13 years ago by sttournie@…

Attachment: main.2.log added

comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Avoiding clang as of r90992.

Note: See TracTickets for help on using tickets.