[MacPorts] #36510: port gdb returned: command execution failed
MacPorts
noreply at macports.org
Sun Oct 7 13:39:25 PDT 2012
#36510: port gdb returned: command execution failed
------------------------+----------------------
Reporter: omegabk@… | Owner: dweber@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: gdb |
------------------------+----------------------
Changes (by ciserlohn@…):
* owner: macports-tickets@… => dweber@…
* port: => gdb
Old description:
> Hello,
>
> while upgrading gdb to gdb-7.5_0.darwin_12.x86_64.tbz2
>
> I got the error:
> Error: org.macports.build for port gdb returned: command execution failed
>
> here is the log
> --------------
> :info:build ./symtab.h:149:3: error: type name requires a specifier or
> qualifier
> :info:build ENUM_BITFIELD(language) language : 8;
> :info:build ^
> :info:build ./symtab.h:149:3: warning: type specifier missing, defaults
> to 'int' [-Wimplicit-int]
> :info:build ENUM_BITFIELD(language) language : 8;
> :info:build ^~~~~~~~~~~~~
> :info:build ./symtab.h:149:17: error: a parameter list without types is
> only allowed in a function definition
> :info:build ENUM_BITFIELD(language) language : 8;
> :info:build ^
> :info:build ./symtab.h:149:26: error: expected ';' at end of declaration
> list
> :info:build ENUM_BITFIELD(language) language : 8;
> :info:build ^
> :info:build ;
> :info:build ./symtab.h:341:3: error: type name requires a specifier or
> qualifier
> :info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
> :info:build ^
> :info:build ./symtab.h:341:3: warning: type specifier missing, defaults
> to 'int' [-Wimplicit-int]
> :info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
> :info:build ^~~~~~~~~~~~~
> :info:build ./symtab.h:341:17: error: a parameter list without types is
> only allowed in a function definition
> :info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
> :info:build ^
> :info:build ./symtab.h:341:37: error: expected ';' at end of declaration
> list
> :info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
> :info:build ^
> :info:build ;
> :info:build ./symtab.h:586:3: error: type name requires a specifier or
> qualifier
> :info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
> :info:build ^
> :info:build ./symtab.h:586:3: warning: type specifier missing, defaults
> to 'int' [-Wimplicit-int]
> :info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
> :info:build ^~~~~~~~~~~~~
> :info:build ./symtab.h:586:17: error: a parameter list without types is
> only allowed in a function definition
> :info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
> :info:build ^
> :info:build ./symtab.h:586:33: error: expected ';' at end of declaration
> list
> :info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
> :info:build ^
> :info:build ;
> :info:build ./symtab.h:596:3: error: type name requires a specifier or
> qualifier
> :info:build ENUM_BITFIELD(address_class) aclass : 6;
> :info:build ^
> :info:build ./symtab.h:596:3: warning: type specifier missing, defaults
> to 'int' [-Wimplicit-int]
> :info:build ENUM_BITFIELD(address_class) aclass : 6;
> :info:build ^~~~~~~~~~~~~
> :info:build ./symtab.h:596:17: error: a parameter list without types is
> only allowed in a function definition
> :info:build ENUM_BITFIELD(address_class) aclass : 6;
> :info:build ^
> :info:build ./symtab.h:596:3: error: duplicate member 'ENUM_BITFIELD'
> :info:build ENUM_BITFIELD(address_class) aclass : 6;
> :info:build ^
> :info:build ./symtab.h:586:3: note: previous declaration is here
> :info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
> :info:build ^
> :info:build ./symtab.h:596:31: error: expected ';' at end of declaration
> list
> :info:build ENUM_BITFIELD(address_class) aclass : 6;
> :info:build ^
> :info:build ;
> :info:build In file included from i386-darwin-tdep.c:23:
> :info:build In file included from ./inferior.h:37:
> :info:build In file included from ./breakpoint.h:23:
> :info:build In file included from ./value.h:488:
> :info:build ./gdbtypes.h:402:3: error: type name requires a specifier or
> qualifier
> :info:build ENUM_BITFIELD(type_code) code : 8;
> :info:build ^
> :info:build ./gdbtypes.h:402:3: warning: type specifier missing, defaults
> to 'int' [-Wimplicit-int]
> :info:build ENUM_BITFIELD(type_code) code : 8;
> :info:build ^~~~~~~~~~~~~
> :info:build ./gdbtypes.h:402:17: error: a parameter list without types is
> only allowed in a function definition
> :info:build ENUM_BITFIELD(type_code) code : 8;
> :info:build ^
> :info:build ./gdbtypes.h:402:27: error: expected ';' at end of
> declaration list
> :info:build ENUM_BITFIELD(type_code) code : 8;
> :info:build ^
> :info:build ;
> :info:build ./gdbtypes.h:432:3: error: type name requires a specifier or
> qualifier
> :info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
> :info:build ^
> :info:build ./gdbtypes.h:432:3: warning: type specifier missing, defaults
> to 'int' [-Wimplicit-int]
> :info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
> :info:build ^~~~~~~~~~~~~
> :info:build ./gdbtypes.h:432:17: error: a parameter list without types is
> only allowed in a function definition
> :info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
> :info:build ^
> :info:build ./gdbtypes.h:432:3: error: duplicate member 'ENUM_BITFIELD'
> :info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
> :info:build ^
> :info:build ./gdbtypes.h:432:3: error: duplicate member 'ENUM_BITFIELD'
> :info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
> :info:build ^
> :info:build ./gdbtypes.h:402:3: note: previous declaration is here
> :info:build ENUM_BITFIELD(type_code) code : 8;
> :info:build ^
> :info:build fatal error: too many errors emitted, stopping now [-ferror-
> limit=]
> :info:build 6 warnings and 20 errors generated.
> :info:build make[2]: *** [amd64-tdep.o] Error 1
> :info:build 6 warnings and 20 errors generated.
> :info:build make[2]: *** [i386-tdep.o] Error 1
> :info:build 6 warnings and 20 errors generated.
> :info:build make[2]: *** [i386-darwin-tdep.o] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.5/gdb'
> :info:build make[1]: *** [all-gdb] Error 2
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.5'
> :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_devel_gdb/gdb/work/gdb-7.5'
> :info:build Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.5"
> && /usr/bin/make -j4 -w all
> :info:build Exit code: 2
> :error:build org.macports.build for port gdb returned: command execution
> failed
> :debug:build Error code: CHILDSTATUS 50768 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 gdb: org.macports.install
> org.macports.build org.macports.destroot
New description:
Hello,
while upgrading gdb to gdb-7.5_0.darwin_12.x86_64.tbz2
I got the error:
Error: org.macports.build for port gdb returned: command execution failed
here is the log
{{{
--------------
:info:build ./symtab.h:149:3: error: type name requires a specifier or
qualifier
:info:build ENUM_BITFIELD(language) language : 8;
:info:build ^
:info:build ./symtab.h:149:3: warning: type specifier missing, defaults to
'int' [-Wimplicit-int]
:info:build ENUM_BITFIELD(language) language : 8;
:info:build ^~~~~~~~~~~~~
:info:build ./symtab.h:149:17: error: a parameter list without types is
only allowed in a function definition
:info:build ENUM_BITFIELD(language) language : 8;
:info:build ^
:info:build ./symtab.h:149:26: error: expected ';' at end of declaration
list
:info:build ENUM_BITFIELD(language) language : 8;
:info:build ^
:info:build ;
:info:build ./symtab.h:341:3: error: type name requires a specifier or
qualifier
:info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
:info:build ^
:info:build ./symtab.h:341:3: warning: type specifier missing, defaults to
'int' [-Wimplicit-int]
:info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
:info:build ^~~~~~~~~~~~~
:info:build ./symtab.h:341:17: error: a parameter list without types is
only allowed in a function definition
:info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
:info:build ^
:info:build ./symtab.h:341:37: error: expected ';' at end of declaration
list
:info:build ENUM_BITFIELD(minimal_symbol_type) type : 8;
:info:build ^
:info:build ;
:info:build ./symtab.h:586:3: error: type name requires a specifier or
qualifier
:info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
:info:build ^
:info:build ./symtab.h:586:3: warning: type specifier missing, defaults to
'int' [-Wimplicit-int]
:info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
:info:build ^~~~~~~~~~~~~
:info:build ./symtab.h:586:17: error: a parameter list without types is
only allowed in a function definition
:info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
:info:build ^
:info:build ./symtab.h:586:33: error: expected ';' at end of declaration
list
:info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
:info:build ^
:info:build ;
:info:build ./symtab.h:596:3: error: type name requires a specifier or
qualifier
:info:build ENUM_BITFIELD(address_class) aclass : 6;
:info:build ^
:info:build ./symtab.h:596:3: warning: type specifier missing, defaults to
'int' [-Wimplicit-int]
:info:build ENUM_BITFIELD(address_class) aclass : 6;
:info:build ^~~~~~~~~~~~~
:info:build ./symtab.h:596:17: error: a parameter list without types is
only allowed in a function definition
:info:build ENUM_BITFIELD(address_class) aclass : 6;
:info:build ^
:info:build ./symtab.h:596:3: error: duplicate member 'ENUM_BITFIELD'
:info:build ENUM_BITFIELD(address_class) aclass : 6;
:info:build ^
:info:build ./symtab.h:586:3: note: previous declaration is here
:info:build ENUM_BITFIELD(domain_enum_tag) domain : 6;
:info:build ^
:info:build ./symtab.h:596:31: error: expected ';' at end of declaration
list
:info:build ENUM_BITFIELD(address_class) aclass : 6;
:info:build ^
:info:build ;
:info:build In file included from i386-darwin-tdep.c:23:
:info:build In file included from ./inferior.h:37:
:info:build In file included from ./breakpoint.h:23:
:info:build In file included from ./value.h:488:
:info:build ./gdbtypes.h:402:3: error: type name requires a specifier or
qualifier
:info:build ENUM_BITFIELD(type_code) code : 8;
:info:build ^
:info:build ./gdbtypes.h:402:3: warning: type specifier missing, defaults
to 'int' [-Wimplicit-int]
:info:build ENUM_BITFIELD(type_code) code : 8;
:info:build ^~~~~~~~~~~~~
:info:build ./gdbtypes.h:402:17: error: a parameter list without types is
only allowed in a function definition
:info:build ENUM_BITFIELD(type_code) code : 8;
:info:build ^
:info:build ./gdbtypes.h:402:27: error: expected ';' at end of declaration
list
:info:build ENUM_BITFIELD(type_code) code : 8;
:info:build ^
:info:build ;
:info:build ./gdbtypes.h:432:3: error: type name requires a specifier or
qualifier
:info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
:info:build ^
:info:build ./gdbtypes.h:432:3: warning: type specifier missing, defaults
to 'int' [-Wimplicit-int]
:info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
:info:build ^~~~~~~~~~~~~
:info:build ./gdbtypes.h:432:17: error: a parameter list without types is
only allowed in a function definition
:info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
:info:build ^
:info:build ./gdbtypes.h:432:3: error: duplicate member 'ENUM_BITFIELD'
:info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
:info:build ^
:info:build ./gdbtypes.h:432:3: error: duplicate member 'ENUM_BITFIELD'
:info:build ENUM_BITFIELD(type_specific_kind) type_specific_field : 3;
:info:build ^
:info:build ./gdbtypes.h:402:3: note: previous declaration is here
:info:build ENUM_BITFIELD(type_code) code : 8;
:info:build ^
:info:build fatal error: too many errors emitted, stopping now [-ferror-
limit=]
:info:build 6 warnings and 20 errors generated.
:info:build make[2]: *** [amd64-tdep.o] Error 1
:info:build 6 warnings and 20 errors generated.
:info:build make[2]: *** [i386-tdep.o] Error 1
:info:build 6 warnings and 20 errors generated.
:info:build make[2]: *** [i386-darwin-tdep.o] Error 1
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.5/gdb'
:info:build make[1]: *** [all-gdb] Error 2
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.5'
: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_devel_gdb/gdb/work/gdb-7.5'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gdb/gdb/work/gdb-7.5"
&& /usr/bin/make -j4 -w all
:info:build Exit code: 2
:error:build org.macports.build for port gdb returned: command execution
failed
:debug:build Error code: CHILDSTATUS 50768 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 gdb: org.macports.install
org.macports.build org.macports.destroot
}}}
--
Comment:
In the future please remember to use [wiki:WikiFormatting], cc the
maintainer and fill in the port field.
--
Ticket URL: <https://trac.macports.org/ticket/36510#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list