Source: edb-debugger
Version: 0.9.21-1
Severity: important
Tags: upstream
Justification: fails to build from source

Builds of edb-debugger for kFreeBSD and the Hurd (admittedly not
release architectures) have been failing due to assorted small
formalities:

- On hurd-i386:

    /<<PKGBUILDDIR>>/src/Debugger.cpp: In member function 'void 
Debugger::attach(pid_t)':
    /<<PKGBUILDDIR>>/src/Debugger.cpp:2915:27: error: 'getpid' was not declared 
in this scope
      edb::pid_t current_pid = getpid();

  Please #include <unistd.h> on all Unix platforms, not just Linux and
  OpenBSD.  I'm not sure offhand whether <fcntl.h> will be needed here
  as well, but it's certainly also available.

- On kfreebsd-amd64:

    /«PKGBUILDDIR»/include/Types.h:318:10: fatal error: ArchTypes.h: No such 
file or directory

  (as in #873775), presumably because uname reports amd64 rather than
  x86_64.

- On kfreebsd-i386 (and presumably also kfreebsd-amd64 once you've
  taken care of the include path):

    /«PKGBUILDDIR»/plugins/HeapAnalyzer/DialogHeap.cpp:383:4: error: #error 
"Unsupported Platform"
       #error "Unsupported Platform"
        ^~~~~
    /«PKGBUILDDIR»/plugins/HeapAnalyzer/DialogHeap.cpp:491:4: error: #error 
"Unsupported Platform"
       #error "Unsupported Platform"
        ^~~~~
  These are probably over-conservative and OK to loosen.

Could you please take a look?

Thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to