Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16882 closed defect (fixed)

i386-rtems-binutils Build failure: can't find libintl.h

Reported by: ggruener Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: i386-rtems-binutils

Description

Can't build i386-rtems-binutils even using a fresh install of XCode 3.1.1 and MacPorts 1.6. The actual error is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/sysdep.h:173:21: error: libintl.h: No such file or directory

The complete log is:

$ sudo port install i386-rtems-binutils
Password:
--->  Building i386-rtems-binutils with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/build" && make all " returned error 2
Command output: make[3]: Nothing to be done for `all'.
make[2]: Nothing to be done for `all'.
Making info in doc
make[3]: Nothing to be done for `info'.
Making info in po
make[3]: Nothing to be done for `info'.
make[3]: Nothing to be done for `info-am'.
make  all-recursive
Making all in doc
make[4]: Nothing to be done for `all'.
Making all in po
make[4]: Nothing to be done for `all'.
/bin/sh ./libtool --tag=CC --mode=compile cc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/../include     -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -c -o archive.lo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c
libtool: compile:  cc -no-cpp-precomp -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd -I. -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c -o archive.o
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c:132:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/sysdep.h:173:21: error: libintl.h: No such file or directory
cc1: warnings being treated as errors
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c: In function '_bfd_write_archive_contents':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c:1766: warning: implicit declaration of function 'dgettext'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c:1766: warning: incompatible implicit declaration of built-in function 'dgettext'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c: In function '_bfd_archive_bsd_update_armap_timestamp':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c:2029: warning: incompatible implicit declaration of built-in function 'dgettext'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_i386-rtems-binutils/work/binutils-2.18/bfd/archive.c:2053: warning: incompatible implicit declaration of built-in function 'dgettext'
make[4]: *** [archive.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.

Change History (3)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to pguyot@…

Assigning to maintainer.

comment:2 Changed 16 years ago by pguyot (Paul Guyot)

Resolution: fixed
Status: newclosed

This port depends on gettext, and the dependency wasn't declared. It's fixed in r41418.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.