Your message dated Tue, 19 Oct 2010 11:03:16 +0000
with message-id <[email protected]>
and subject line Bug#600120: Removed package(s) from unstable
has caused the Debian Bug report #501929,
regarding pose: FTBFS with gcc 4.3: missing header includes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
501929: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=501929
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pose
Version: 3.5-9.1
Severity: important
Tags: patch
Justification: fails to build from source

Hi,

Compiling the pose package on a relatively up-to-date lenny, the following
types of errors pop up in various places:

../BuildUnix/../SrcUnix/EmDirRefUnix.cpp: In member function ‘void 
EmDirRef::GetChildren(EmFileRefList*, EmDirRefList*) const’:
../BuildUnix/../SrcUnix/EmDirRefUnix.cpp:325: error: ‘strcmp’ was not declared 
in this scope
../BuildUnix/../SrcUnix/EmDirRefUnix.cpp:328: error: ‘strcmp’ was not declared 
in this scope
../BuildUnix/../SrcUnix/EmDirRefUnix.cpp: In static member function ‘static 
EmDirRef EmDirRef::GetEmulatorDirectory()’:
../BuildUnix/../SrcUnix/EmDirRefUnix.cpp:458: error: ‘getenv’ was not declared 
in this scope
make[2]: *** [EmDirRefUnix.o] Error 1

The attached patch fixes this by adding the missing includes.

Cheers, Fabian

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (800, 'testing'), (3, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pose depends on:
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libfltk1.1             1.1.9-6           Fast Light Toolkit - shared librar
ii  libgcc1                1:4.3.1-9         GCC support library
ii  libstdc++6             4.3.1-9           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.5-1         X11 client-side library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

pose recommends no packages.

Versions of packages pose suggests:
ii  pilot-link                    0.12.3-5   tools to communicate with a PalmOS
ii  pose-doc                      3.5-9.1    emulates the hardware for most Pal
pn  pose-profile                  <none>     (no description available)
pn  pose-skins                    <none>     (no description available)

-- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run
# vim: ft=diff
## 50_gcc43_includes.dpatch by Fabian Knittel <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: fails to build from source with GCC 4.3 due to missing includes

@DPATCH@
diff -ur pose-3.5.orig/SrcShared/ChunkFile.cpp pose-3.5/SrcShared/ChunkFile.cpp
--- pose-3.5.orig/SrcShared/ChunkFile.cpp	2002-03-29 14:11:13.000000000 +0100
+++ pose-3.5/SrcShared/ChunkFile.cpp	2008-10-02 21:24:33.000000000 +0200
@@ -17,6 +17,8 @@
 #include "Byteswapping.h"		// Canonical
 #include "Platform.h"			// ReallocMemory
 
+#include <string.h>			// memmove, memcpy, strlen
+
 
 /***********************************************************************
  *
diff -ur pose-3.5.orig/SrcShared/EmException.cpp pose-3.5/SrcShared/EmException.cpp
--- pose-3.5.orig/SrcShared/EmException.cpp	2002-03-29 14:11:14.000000000 +0100
+++ pose-3.5/SrcShared/EmException.cpp	2008-10-02 21:25:23.000000000 +0200
@@ -21,6 +21,8 @@
 #include "Platform.h"			// Platform::GetString
 #include "Strings.r.h"			// kStr_InternalErrorException
 
+#include <string.h>			// strlen
+
 
 // ---------------------------------------------------------------------------
 //		� EmException::EmException
diff -ur pose-3.5.orig/SrcShared/EmPixMap.cpp pose-3.5/SrcShared/EmPixMap.cpp
--- pose-3.5.orig/SrcShared/EmPixMap.cpp	2002-03-29 14:11:14.000000000 +0100
+++ pose-3.5/SrcShared/EmPixMap.cpp	2008-10-02 21:27:19.000000000 +0200
@@ -16,6 +16,8 @@
 
 #include "Platform.h"			// Platform::AllocateMemory
 
+#include <string.h>			// memcpy, memset
+
 /*
 	EmPixMap is a simple class for managing pixmaps (multi-bpp bitmap)
 	in a cross-platform fashion.
diff -ur pose-3.5.orig/SrcShared/EmQuantizer.cpp pose-3.5/SrcShared/EmQuantizer.cpp
--- pose-3.5.orig/SrcShared/EmQuantizer.cpp	2002-03-29 14:11:14.000000000 +0100
+++ pose-3.5/SrcShared/EmQuantizer.cpp	2008-10-02 21:27:40.000000000 +0200
@@ -17,6 +17,8 @@
 #include "EmPixMap.h"
 #include "Platform.h"			// Platform::AllocateMemory
 
+#include <string.h>			// memset
+
 
 struct NODE
 {
diff -ur pose-3.5.orig/SrcShared/EmROMTransfer.cpp pose-3.5/SrcShared/EmROMTransfer.cpp
--- pose-3.5.orig/SrcShared/EmROMTransfer.cpp	2002-03-29 14:11:14.000000000 +0100
+++ pose-3.5/SrcShared/EmROMTransfer.cpp	2008-10-02 21:28:26.000000000 +0200
@@ -22,6 +22,9 @@
 #include "Platform.h"				// Platform::GetMilliseconds
 #include "Strings.r.h"				// kStr_Waiting
 
+#include <stdlib.h>				// atoi
+#include <string.h>				// strlen, memcpy
+
 
 /*
 	Notes on the XModem/YModem implementation used in this file:
diff -ur pose-3.5.orig/SrcShared/EmStream.cpp pose-3.5/SrcShared/EmStream.cpp
--- pose-3.5.orig/SrcShared/EmStream.cpp	2002-03-29 14:11:14.000000000 +0100
+++ pose-3.5/SrcShared/EmStream.cpp	2008-10-02 21:29:08.000000000 +0200
@@ -10,6 +10,8 @@
 
 #include "Byteswapping.h"		// Canonical
 
+#include <string.h>			// memmove, strlen
+
 
 #pragma mark --- Construction & Destruction ---
 
diff -ur pose-3.5.orig/SrcShared/EmTransportSocket.cpp pose-3.5/SrcShared/EmTransportSocket.cpp
--- pose-3.5.orig/SrcShared/EmTransportSocket.cpp	2002-03-29 14:11:15.000000000 +0100
+++ pose-3.5/SrcShared/EmTransportSocket.cpp	2008-10-02 21:30:05.000000000 +0200
@@ -35,6 +35,8 @@
 #include <arpa/inet.h>			// inet_addr
 #endif
 
+#include <stdlib.h>			// atoi
+
 #ifndef INADDR_NONE
 #define INADDR_NONE		0xffffffff
 #endif
diff -ur pose-3.5.orig/SrcShared/Hardware/TRG/EmTRGSD.cpp pose-3.5/SrcShared/Hardware/TRG/EmTRGSD.cpp
--- pose-3.5.orig/SrcShared/Hardware/TRG/EmTRGSD.cpp	2002-03-29 14:11:06.000000000 +0100
+++ pose-3.5/SrcShared/Hardware/TRG/EmTRGSD.cpp	2008-10-02 21:41:50.000000000 +0200
@@ -14,6 +14,9 @@
 #include "EmCommon.h"
 #include "EmTRGSD.h"
 
+#include <string.h>			// memset
+
+
 /************************************************************************
  * This class handles the SPI SD controller interface used in the 
  * HandEra 330.
diff -ur pose-3.5.orig/SrcShared/Hordes.cpp pose-3.5/SrcShared/Hordes.cpp
--- pose-3.5.orig/SrcShared/Hordes.cpp	2002-03-29 14:11:15.000000000 +0100
+++ pose-3.5/SrcShared/Hordes.cpp	2008-10-02 21:30:38.000000000 +0200
@@ -36,6 +36,7 @@
 
 #include <math.h>				// sqrt
 #include <time.h>				// time, localtime
+#include <string.h>				// strcpy
 
 ////////////////////////////////////////////////////////////////////////////////////////
 // HORDES CONSTANTS
diff -ur pose-3.5.orig/SrcShared/HostControl.cpp pose-3.5/SrcShared/HostControl.cpp
--- pose-3.5.orig/SrcShared/HostControl.cpp	2008-10-02 22:18:19.000000000 +0200
+++ pose-3.5/SrcShared/HostControl.cpp	2008-10-02 21:31:28.000000000 +0200
@@ -43,6 +43,7 @@
 #include "Strings.r.h"			// kStr_ProfileResults
 
 #include <ctype.h>				// isdigit
+#include <stdlib.h>				// mkstemp, getenv
 
 #if HAS_TRACER
 #include "TracerPlatform.h"		// Tracer
diff -ur pose-3.5.orig/SrcShared/Patches/EmPatchModule.cpp pose-3.5/SrcShared/Patches/EmPatchModule.cpp
--- pose-3.5.orig/SrcShared/Patches/EmPatchModule.cpp	2002-03-29 14:11:07.000000000 +0100
+++ pose-3.5/SrcShared/Patches/EmPatchModule.cpp	2008-10-02 21:41:02.000000000 +0200
@@ -20,6 +20,8 @@
 #include "EmStructs.h"
 #include "EmPalmFunction.h"		// SysTrapIndex, IsLibraryTrap
 
+#include <string.h>			// memset
+
 
 /***********************************************************************
  *
diff -ur pose-3.5.orig/SrcShared/Platform_NetLib_Sck.cpp pose-3.5/SrcShared/Platform_NetLib_Sck.cpp
--- pose-3.5.orig/SrcShared/Platform_NetLib_Sck.cpp	2002-03-29 14:11:15.000000000 +0100
+++ pose-3.5/SrcShared/Platform_NetLib_Sck.cpp	2008-10-02 21:32:31.000000000 +0200
@@ -48,6 +48,8 @@
 #include <unistd.h>				// close
 #endif
 
+#include <string.h>			// strcpy, mempcy, memset, strlen
+
 #if defined(__svr4__)
 #include <sys/filio.h>			// FIONBIO
 #endif
diff -ur pose-3.5.orig/SrcShared/PreferenceMgr.cpp pose-3.5/SrcShared/PreferenceMgr.cpp
--- pose-3.5.orig/SrcShared/PreferenceMgr.cpp	2002-03-29 14:11:17.000000000 +0100
+++ pose-3.5/SrcShared/PreferenceMgr.cpp	2008-10-02 21:32:57.000000000 +0200
@@ -26,6 +26,7 @@
 
 #include <algorithm>			// find()
 #include <ctype.h>				// isdigit
+#include <string.h>			// memcmp, strcpy, strlen
 
 Preferences*			gPrefs;
 EmulatorPreferences*	gEmuPrefs;
diff -ur pose-3.5.orig/SrcShared/SocketMessaging.cpp pose-3.5/SrcShared/SocketMessaging.cpp
--- pose-3.5.orig/SrcShared/SocketMessaging.cpp	2002-03-29 14:11:17.000000000 +0100
+++ pose-3.5/SrcShared/SocketMessaging.cpp	2008-10-02 21:36:51.000000000 +0200
@@ -18,6 +18,7 @@
 #include "EmSession.h"			// EmSessionStopper
 #include "Logging.h"			// LogAppendMsg
 
+#include <string.h>			// memset
 #include <algorithm>			// find()
 
 #if PLATFORM_MAC
diff -ur pose-3.5.orig/SrcShared/StringConversions.cpp pose-3.5/SrcShared/StringConversions.cpp
--- pose-3.5.orig/SrcShared/StringConversions.cpp	2002-03-29 14:11:17.000000000 +0100
+++ pose-3.5/SrcShared/StringConversions.cpp	2008-10-02 21:37:36.000000000 +0200
@@ -21,6 +21,7 @@
 
 #include <ctype.h>				// isprint
 #include <stdio.h>				// sscanf, sprintf
+#include <string.h>				// strcpy
 
 // Handy macro for performing some common unsigned string compares.
 
diff -ur pose-3.5.orig/SrcUnix/EmDirRefUnix.cpp pose-3.5/SrcUnix/EmDirRefUnix.cpp
--- pose-3.5.orig/SrcUnix/EmDirRefUnix.cpp	2002-03-29 14:11:19.000000000 +0100
+++ pose-3.5/SrcUnix/EmDirRefUnix.cpp	2008-10-02 21:19:28.000000000 +0200
@@ -22,6 +22,8 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <dirent.h>
+#include <string.h>
+#include <stdlib.h>
 
 
 /***********************************************************************
diff -ur pose-3.5.orig/SrcUnix/EmDocumentUnix.cpp pose-3.5/SrcUnix/EmDocumentUnix.cpp
--- pose-3.5.orig/SrcUnix/EmDocumentUnix.cpp	2008-10-02 22:18:18.000000000 +0200
+++ pose-3.5/SrcUnix/EmDocumentUnix.cpp	2008-10-02 21:20:27.000000000 +0200
@@ -20,6 +20,8 @@
 #include <FL/filename.H>		// filename_setext
 
 #include <stdio.h>				// fopen, fprintf, fwrite, fclose, FILE
+#include <stdlib.h>			// malloc, free
+#include <string.h>			// strcpy
 
 
 EmDocumentUnix*	gHostDocument;
diff -ur pose-3.5.orig/SrcUnix/EmFileRefUnix.cpp pose-3.5/SrcUnix/EmFileRefUnix.cpp
--- pose-3.5.orig/SrcUnix/EmFileRefUnix.cpp	2002-03-29 14:11:19.000000000 +0100
+++ pose-3.5/SrcUnix/EmFileRefUnix.cpp	2008-10-02 21:21:50.000000000 +0200
@@ -20,6 +20,7 @@
 #include <errno.h>				// ENOENT
 #include <sys/stat.h>
 #include <unistd.h>
+#include <string.h>				// strlen
 
 
 static const char*	kExtension[] =
diff -ur pose-3.5.orig/SrcUnix/EmTransportSerialUnix.cpp pose-3.5/SrcUnix/EmTransportSerialUnix.cpp
--- pose-3.5.orig/SrcUnix/EmTransportSerialUnix.cpp	2008-10-02 22:18:19.000000000 +0200
+++ pose-3.5/SrcUnix/EmTransportSerialUnix.cpp	2008-10-02 21:21:55.000000000 +0200
@@ -23,7 +23,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>				// open(), close()
 #include <termios.h>			// struct termios
-
+#include <string.h>			// strerror
 
 #if DEBUG > 0
 #include <sys/time.h>
diff -ur pose-3.5.orig/SrcUnix/EmWindowFltk.cpp pose-3.5/SrcUnix/EmWindowFltk.cpp
--- pose-3.5.orig/SrcUnix/EmWindowFltk.cpp	2002-03-29 14:11:19.000000000 +0100
+++ pose-3.5/SrcUnix/EmWindowFltk.cpp	2008-10-02 21:22:25.000000000 +0200
@@ -31,6 +31,7 @@
 #include <FL/fl_draw.H>			// fl_color
 
 #include <ctype.h>				// isprint, isxdigit
+#include <string.h>				// strlen
 
 #include "DefaultSmall.xpm"
 #include "DefaultLarge.xpm"
diff -ur pose-3.5.orig/SrcUnix/Platform_Unix.cpp pose-3.5/SrcUnix/Platform_Unix.cpp
--- pose-3.5.orig/SrcUnix/Platform_Unix.cpp	2002-03-29 14:11:19.000000000 +0100
+++ pose-3.5/SrcUnix/Platform_Unix.cpp	2008-10-02 21:23:28.000000000 +0200
@@ -27,6 +27,8 @@
 #include <sys/stat.h>			// mkdir
 #include <time.h>
 #include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
 
 #include "omnithread.h"			// omni_mutex
 #include <FL/x.H>				// XKeyboardControl

--- End Message ---
--- Begin Message ---
Version: 3.5-9.1+rm

Dear submitter,

as the package pose has just been removed from the Debian archive
unstable we hereby close the assiciated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see http://bugs.debian.org/600120

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Alexander Reichle-Schmehl (the ftpmaster behind the curtain)


--- End Message ---

Reply via email to