[Pkg-phototools-devel] Bug#815594: openexr: FTBFS on !linux

Samuel Thibault sthibault at debian.org
Mon Feb 22 19:01:29 UTC 2016


Source: openexr
Version: 2.2.0-9
Severity: important
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hello,

openexr FTBFS on !linux arch like this:

main.cpp:211:27: error: 'rmdir' was not declared in this scope

I have attached the quite obvious fix.

Samuel

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.4.0 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Samuel
How do I type "for i in *.dvi do xdvi i done" in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)
-------------- next part --------------
--- ./IlmImfTest/main.cpp.original	2016-02-22 19:14:34.000000000 +0100
+++ ./IlmImfTest/main.cpp	2016-02-22 19:14:54.000000000 +0100
@@ -98,9 +98,9 @@
 #include <iostream>
 #include <string.h>
 #include <time.h>
+#include <unistd.h>
 
 #if defined(OPENEXR_IMF_HAVE_LINUX_PROCFS) || defined(OPENEXR_IMF_HAVE_DARWIN)
-    #include <unistd.h>
     #include <sstream>
 #endif
 
--- ./IlmImfUtilTest/main.cpp.original	2016-02-22 19:38:34.000000000 +0100
+++ ./IlmImfUtilTest/main.cpp	2016-02-22 19:37:51.000000000 +0100
@@ -46,9 +46,7 @@
 #include <cstring>
 #include <time.h>
 
-#if defined(OPENEXR_IMF_HAVE_LINUX_PROCFS) || defined(OPENEXR_IMF_HAVE_DARWIN)
-    #include <unistd.h>
-#endif
+#include <unistd.h>
 
 using namespace std;
 


More information about the Pkg-phototools-devel mailing list