Opened 10 years ago

Closed 10 years ago

#41274 closed defect (worksforme)

libiconv @1.14_0: 'stdarg.h' file not found

Reported by: chema.torrelles@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: libiconv

Description

On Mavericks, running sudo port outdated it fails on libiconv (receiving the following message: Error: org.macports.build for port libiconv returned: command execution failed).

Attached is the main.log

Thank you

Jose

Attachments (2)

main.log (69.6 KB) - added by chema.torrelles@… 10 years ago.
main.log for liviconv
main.2.log (5.7 KB) - added by chema.torrelles@… 10 years ago.
new main.log

Download all attachments as: .zip

Change History (13)

Changed 10 years ago by chema.torrelles@…

Attachment: main.log added

main.log for liviconv

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to ryandesign@…
Port: libiconv added; liviconv removed
Summary: error for port libiconv (mavericks)libiconv @1.14_0: 'stdarg.h' file not found

In the future, please Cc relevant port maintainers (e.g., port info --maintainers libiconv).

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

libiconv builds fine for me on Mavericks.

What version of Xcode and clang do you have?

comment:3 in reply to:  2 Changed 10 years ago by chema.torrelles@…

Replying to ryandesign@…:

libiconv builds fine for me on Mavericks.

What version of Xcode and clang do you have?

I have Xcode version 5.0.1. With respect to clang this is the information that appears with "port search clang"

clang-2.9 @2.9_13 (lang)
    C, C++, Objective C and Objective C++ compiler

clang-3.0 @3.0_12 (lang)
    C, C++, Objective C and Objective C++ compiler

clang-3.1 @3.1_7 (lang)
    C, C++, Objective C and Objective C++ compiler

clang-3.2 @3.2_2 (lang)
    C, C++, Objective C and Objective C++ compiler

clang-3.3 @3.3_2 (lang)
    C, C++, Objective C and Objective C++ compiler

clang-3.4 @3.4-r193941 (lang)
    C, C++, Objective C and Objective C++ compiler

Thank you,

Jose

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Not what versions of clang are in MacPorts; what version of clang is provided by your Xcode command line tools? To find out, run:

/usr/bin/clang -v

comment:5 in reply to:  4 Changed 10 years ago by chema.torrelles@…

Replying to ryandesign@…:

Not what versions of clang are in MacPorts; what version of clang is provided by your Xcode command line tools? To find out, run:

/usr/bin/clang -v

This is the information:

Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix

Thank you.

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Your configure output includes this line:

:info:configure checking for ANSI C header files... no

whereas mine says "yes". Are you sure you've installed the command line tools by running xcode-select --install?

comment:7 in reply to:  6 Changed 10 years ago by chema.torrelles@…

Replying to ryandesign@…:

Your configure output includes this line:

:info:configure checking for ANSI C header files... no

whereas mine says "yes". Are you sure you've installed the command line tools by running xcode-select --install?

I thought it was installed. I have just tried to install it by "xcode-select --install", but now I receive the following message after the system tries to download it

"Can't install the software because it is not currently available from the Software Update server"

Thanks.

comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

We've seen a lot of that message, but don't know what it means. You could try downloading the command line tools from the Apple developer site.

Changed 10 years ago by chema.torrelles@…

Attachment: main.2.log added

new main.log

comment:9 in reply to:  8 Changed 10 years ago by chema.torrelles@…

Replying to ryandesign@…:

We've seen a lot of that message, but don't know what it means. You could try downloading the command line tools from the Apple developer site.

Thanks. I downloaded the command line tools from apple and installed. However, when running again "sudo port upgrade outdated" I receive the same message

Error: org.macports.build for port libiconv returned: command execution failed
Please see the log file for port libiconv for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_libiconv/libiconv/main.log
Error: Unable to upgrade port: 1

I am attaching the new main.log

I am sorry...

Jose

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

That log is not from a clean attempt. Please clean and try again.

comment:11 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

We took the discussion of this bug to private email while Trac was down. The final resolution was to reinstall Xcode 5.0.1.

Note: See TracTickets for help on using tickets.