Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#36510 closed defect (duplicate)

port gdb returned: command execution failed

Reported by: omegabk@… Owned by: dweber@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: omegabk@…, anddam (Andrea D'Amore), evandrix (Lee Wei Yeong)
Port: gdb

Description (last modified by ci42)

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

Attachments (1)

main.log (261.1 KB) - added by omegabk@… 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by omegabk@…

Attachment: main.log added

comment:1 Changed 12 years ago by ci42

Description: modified (diff)
Owner: changed from macports-tickets@… to dweber@…
Port: gdb added

In the future please remember to use WikiFormatting, cc the maintainer and fill in the port field.

comment:2 Changed 12 years ago by omegabk@…

Cc: omegabk@… added

Cc Me!

comment:3 in reply to:  description ; Changed 12 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Did you read comment:12:ticket:36472 about the ENUM_BITFIELD issue?

comment:4 in reply to:  3 Changed 12 years ago by omegabk@…

Replying to and.damore@…:

Did you read comment:12:ticket:36472 about the ENUM_BITFIELD issue?

hello,

that's correct. the comment:12 resolved the issue.

thank you and.damore!!!!

comment:5 Changed 12 years ago by anddam (Andrea D'Amore)

Resolution: duplicate
Status: newclosed

Closing as duplicate of #36472.

comment:6 in reply to:  3 Changed 12 years ago by evandrix (Lee Wei Yeong)

doesn't work for me. YMMV

Replying to and.damore@…:

Did you read comment:12:ticket:36472 about the ENUM_BITFIELD issue?

comment:7 Changed 12 years ago by evandrix (Lee Wei Yeong)

Cc: evandrix@… added

Cc Me!

Note: See TracTickets for help on using tickets.