Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#15409 - [krusader] 2.0.0-2 compile from ABS fails

Attached to Project: Arch Linux
Opened by Lee Jackson (ProfessorTomoe) - Monday, 06 July 2009, 17:20 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 04 August 2009, 19:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Building Krusader 2.0.0-2 from ABS fails with the following error:

~/abs/local/krusader/src/krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp: In member function ‘void KIOJobWrapper::createJob()’:
~/abs/local/krusader/src/krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp:123: error: ‘stderr’ was not declared in this scope
~/abs/local/krusader/src/krusader-2.0.0/krusader/VFS/kiojobwrapper.cpp:123: error: ‘fprintf’ was not declared in this scope
make[2]: *** [krusader/VFS/CMakeFiles/VFS.dir/kiojobwrapper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
~/abs/local/krusader/src/krusader-2.0.0/krusader/VFS/preserveattrcopyjob.cpp:618: warning: unused parameter ‘slave_url’
~/abs/local/krusader/src/krusader-2.0.0/krusader/VFS/preserveattrcopyjob.cpp: In member function ‘void KIO::PreserveAttrCopyJob::slotFinished()’:
~/abs/local/krusader/src/krusader-2.0.0/krusader/VFS/preserveattrcopyjob.cpp:1886: warning: comparison between signed and unsigned integer expressions
make[2]: Leaving directory `~/abs/local/krusader/src/build'
make[1]: *** [krusader/VFS/CMakeFiles/VFS.dir/all] Error 2
make[1]: Leaving directory `~/abs/local/krusader/src/build'
make: *** [all] Error 2
==> ERROR: Build Failed.

(note: home directory in above error changed to ~ to protect the innocent)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 04 August 2009, 19:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  patch for gcc 4.4 added
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 06 July 2009, 18:18 GMT
  • Field changed: Summary (Krusader 2.0.0-2 compile from ABS fails → [krusader] 2.0.0-2 compile from ABS fails)
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Severity (High → Medium)
  • Task assigned to Andrea Scarpino (BaSh)
@Lee: For stderr and fprintf in C++ add #include <cstdio> or #include <stdio.h> in the .cpp depending of what type of headers use the code, anyways both works.
Do the same for other errors, others typical missing headers are string.h stdlib.h

Loading...