Opened 13 years ago

Closed 13 years ago

#31627 closed defect (invalid)

apple-gcc42, Xcode 4.2: stdio.h: No such file or directory

Reported by: rinderknecht@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: lion Cc:
Port: apple-gcc42

Description (last modified by ryandesign (Ryan Carsten Schmidt))

My configuration is a fresh Lion release on a new Mac Mini:

~$ uname -a 
Darwin dorongnyong.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

~$ sudo port install texlive

leads to

[...]
--->  Fetching apple-gcc42
--->  Attempting to fetch gcc-5666.3.tar.gz from http://distfiles.macports.org/apple-gcc42
--->  Verifying checksum(s) for apple-gcc42
--->  Extracting apple-gcc42
--->  Applying patches to apple-gcc42
--->  Configuring apple-gcc42
--->  Building apple-gcc42
Error: Target org.macports.build returned: shell command failed (see log for details)
Error: Failed to install apple-gcc42
Log for apple-gcc42 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/main.log
Error: The following dependencies were not installed: [...]

Thanks for your help.

Christian

Attachments (2)

main.log (14.9 MB) - added by rinderknecht@… 13 years ago.
main.2.log (274.6 KB) - added by rinderknecht@… 13 years ago.

Change History (6)

Changed 13 years ago by rinderknecht@…

Attachment: main.log added

comment:1 Changed 13 years ago by drkp (Dan Ports)

Description: modified (diff)
Keywords: GCC42 Xcode4.2 removed
Owner: changed from macports-tickets@… to jeremyhu@…
Port: apple-gcc42 added; texlive removed
Priority: HighNormal
Summary: texlive fails to build due to apple-gcc42 failure to build with Xcode 4.2 (Lion)apple-gcc42 fails to build with Xcode 4.2 (Lion)

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

Description: modified (diff)

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

Keywords: lion added
Summary: apple-gcc42 fails to build with Xcode 4.2 (Lion)apple-gcc42, Xcode 4.2: stdio.h: No such file or directory

A relevant excerpt from the log:

:info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/config/darwin-crt2.c:35:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/tsystem.h:90:19: error: stdio.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/tsystem.h:93:23: error: sys/types.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/tsystem.h:96:19: error: errno.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/tsystem.h:103:20: error: string.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/tsystem.h:104:20: error: stdlib.h: No such file or directory
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_apple-gcc42/apple-gcc42/work/objroot/src/gcc/tsystem.h:105:20: error: unistd.h: No such file or directory

comment:4 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

You need to install XCode. You probably just downloaded it.

Changed 13 years ago by rinderknecht@…

Attachment: main.2.log added
Note: See TracTickets for help on using tickets.