Opened 8 years ago

Closed 8 years ago

#36379 closed defect (fixed)

arm-elf-gdb fails to build due to -Werror

Reported by: degs@… Owned by: billy@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: arm-elf-gdb

Description

An error is generated upon compile of arm-elf-gdb which I have tracked down, but I am not savvy enough to address:

/gdb-7.1/bfd/opncls.c:25:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/sysdep.h:173:10: fatal error: 
      'libintl.h' file not found
#include <libintl.h>

'libintl.h' is correctly included from the gettext package, and the header is here: $MACPORTS/local/include/libintl.h

That header just needs to be included correctly by the opncls.c file.

suimac:~ degs$ sudo port -d install arm-elf-gdb
DEBUG: Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/cross/arm-elf-gdb
DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386
DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Starting logging for arm-elf-gdb
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
DEBUG: arm-elf-gdb has no conflicts
DEBUG: Executing org.macports.main (arm-elf-gdb)
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
DEBUG: egid changed to: 501
DEBUG: euid changed to: 502
DEBUG: Skipping completed org.macports.archivefetch (arm-elf-gdb)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.fetch (arm-elf-gdb)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.checksum (arm-elf-gdb)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.extract (arm-elf-gdb)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.patch (arm-elf-gdb)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.configure (arm-elf-gdb)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Sat Sep 29 16:59:14 EDT 2012
--->  Building arm-elf-gdb
DEBUG: Executing org.macports.build (arm-elf-gdb)
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_cross_arm-elf-gdb/arm-elf-gdb/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build" && /usr/bin/make -j2 -w all'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build" && /usr/bin/make -j2 -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
make[1]: Nothing to be done for `all-target'.
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/intl'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty'
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty/testsuite'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
for f in arm-elf-standards.info configure.info; do \
	  if test -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
	    if /usr/bin/make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \
	      true; \
	    else \
	      exit 1; \
	    fi; \
	  fi; \
	done
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libdecnumber'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libdecnumber'
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
make[3]: `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/etc/configure.info' is up to date.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/readline'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/readline'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
Making info in doc
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
Making info in po
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
make[3]: Nothing to be done for `info'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
make[3]: Nothing to be done for `info-am'.
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
/usr/bin/make  all-recursive
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
Making all in doc
make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
Making all in po
make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include   -DBINDIR='"/opt/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c -o opncls.lo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/opncls.c
/bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include   -DBINDIR='"/opt/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT syms.lo -MD -MP -MF .deps/syms.Tpo -c -o syms.lo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/syms.c
libtool: compile:  /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include -DBINDIR=\"/opt/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT syms.lo -MD -MP -MF .deps/syms.Tpo -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/syms.c -o syms.o
libtool: compile:  /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include -DBINDIR=\"/opt/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/opncls.c -o opncls.o
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/opncls.c:235:5: error: expression result unused [-Werror,-Wunused-value]
    bfd_set_cacheable (nbfd, TRUE);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bfd.h:520:67: note: expanded from macro 'bfd_set_cacheable'
#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                                                  ^
./bfd.h:127:14: note: expanded from macro 'TRUE'
#define TRUE 1
             ^
1 error generated.
make[4]: *** [opncls.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/syms.Tpo .deps/syms.Plo
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build" && /usr/bin/make -j2 -w all 
Exit code: 2
Error: org.macports.build for port arm-elf-gdb returned: command execution failed
DEBUG: Error code: CHILDSTATUS 12151 2
DEBUG: Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
Warning: targets not executed for arm-elf-gdb: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port arm-elf-gdb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port arm-elf-gdb failed

Change History (5)

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

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

The log you pasted is incomplete. Please "sudo port clean arm-elf-gdb", then try again, then attach the new complete main.log to this ticket.

comment:2 in reply to:  1 Changed 8 years ago by degs@…

Attached is the "cleaned" output. It may or may not be worth noting that I did a reboot. Just today, I installed (in this order) 10.8.2, Xcode, MacPorts and then I went to install the arm tools. I do not know why I get the interesting XCode error, but perhaps that is relevant. Thank you for looking into this.

version:1
:warn:main xcodebuild exists but failed to execute
:warn:main Xcode does not appear to be installed; most ports will likely fail to build.
:debug:main arm-elf-gdb has no conflicts
:debug:main Executing org.macports.main (arm-elf-gdb)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (arm-elf-gdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (arm-elf-gdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (arm-elf-gdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (arm-elf-gdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (arm-elf-gdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (arm-elf-gdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Sat Sep 29 23:02:32 EDT 2012
:notice:build --->  Building arm-elf-gdb
:debug:build Executing org.macports.build (arm-elf-gdb)
:debug:build 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_cross_arm-elf-gdb/arm-elf-gdb/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build" && /usr/bin/make -j2 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build" && /usr/bin/make -j2 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
:info:build make[1]: Nothing to be done for `all-target'.
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/intl'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/intl'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
:info:build for f in arm-elf-standards.info configure.info; do \
:info:build 	  if test -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
:info:build 	    if /usr/bin/make "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" $f; then \
:info:build 	      true; \
:info:build 	    else \
:info:build 	      exit 1; \
:info:build 	    fi; \
:info:build 	  fi; \
:info:build 	done
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty/testsuite'
:info:build make[3]: Nothing to be done for `all'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty/testsuite'
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
:info:build make[3]: `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/etc/configure.info' is up to date.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/etc'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libiberty'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libdecnumber'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/libdecnumber'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/readline'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/readline'
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build Making info in doc
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
:info:build make[3]: Nothing to be done for `info'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
:info:build Making info in po
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
:info:build make[3]: Nothing to be done for `info'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build make[3]: Nothing to be done for `info-am'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build /usr/bin/make  all-recursive
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build Making all in doc
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/doc'
:info:build Making all in po
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
:info:build make[4]: Nothing to be done for `all'.
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd/po'
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build /bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include   -DBINDIR='"/opt/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c -o opncls.lo /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/opncls.c
:info:build /bin/sh ./libtool --tag=CC   --mode=compile /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include   -DBINDIR='"/opt/local/bin"'  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT targets.lo -MD -MP -MF .deps/targets.Tpo -c -o targets.lo -DDEFAULT_VECTOR=bfd_elf32_littlearm_vec -DSELECT_VECS='&bfd_elf32_littlearm_vec,&bfd_elf32_bigarm_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec' -DSELECT_ARCHITECTURES='&bfd_arm_arch' -DHAVE_bfd_elf32_littlearm_vec -DHAVE_bfd_elf32_bigarm_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/targets.c
:info:build libtool: compile:  /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include -DBINDIR=\"/opt/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT opncls.lo -MD -MP -MF .deps/opncls.Tpo -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/opncls.c -o opncls.o
:info:build libtool: compile:  /usr/bin/cc -DHAVE_CONFIG_H -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I. -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/../include -DBINDIR=\"/opt/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -pipe -O2 -m64 -MT targets.lo -MD -MP -MF .deps/targets.Tpo -c -DDEFAULT_VECTOR=bfd_elf32_littlearm_vec "-DSELECT_VECS=&bfd_elf32_littlearm_vec,&bfd_elf32_bigarm_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec" "-DSELECT_ARCHITECTURES=&bfd_arm_arch" -DHAVE_bfd_elf32_littlearm_vec -DHAVE_bfd_elf32_bigarm_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_big_generic_vec /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/targets.c -o targets.o
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/gdb-7.1/bfd/opncls.c:235:5: error: expression result unused [-Werror,-Wunused-value]
:info:build     bfd_set_cacheable (nbfd, TRUE);
:info:build     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build ./bfd.h:520:67: note: expanded from macro 'bfd_set_cacheable'
:info:build #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
:info:build                                                                   ^
:info:build ./bfd.h:127:14: note: expanded from macro 'TRUE'
:info:build #define TRUE 1
:info:build              ^
:info:build 1 error generated.
:info:build make[4]: *** [opncls.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:info:build mv -f .deps/targets.Tpo .deps/targets.Plo
:info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build/bfd'
:info:build make[1]: *** [all-bfd] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/work/build" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port arm-elf-gdb returned: command execution failed
:debug:build Error code: CHILDSTATUS 252 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for arm-elf-gdb: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port arm-elf-gdb for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gdb/arm-elf-gdb/main.log

Version 0, edited 8 years ago by degs@… (next)

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Summary: arm-elf-gdb does not correctly reference gettext on 10.8arm-elf-gdb fails to build due to -Werror

That's still not a complete log. The error in both logs is unrelated to gettext. I've committed a fix for this error in r99199. If the port still doesn't build for you after that, please attach a complete log (don't paste it in a comment, use the "Attach file" button).

comment:4 Changed 8 years ago by jmroot (Joshua Root)

You really should fix the Xcode error BTW. If /usr/bin/xcodebuild -version doesn't work, MacPorts can't tell what version of Xcode you have and apply bug workarounds accordingly.

comment:5 Changed 8 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Assuming fixed in the absence of a reply to the contrary.

Note: See TracTickets for help on using tickets.