Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111432 - pose-3.5-r6.ebuild (updated ebuild)
Summary: pose-3.5-r6.ebuild (updated ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 138399
  Show dependency tree
 
Reported: 2005-11-03 17:40 UTC by Terry Markovich
Modified: 2006-08-25 22:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pose-3.5-r6.ebuild (pose-3.5-r6.ebuild,2.05 KB, text/plain)
2005-11-03 17:43 UTC, Terry Markovich
Details
patches for pose-3.5-r6.ebuild (pose-3.5-genpatches.tar.bz2,10.43 KB, patch)
2005-11-03 17:45 UTC, Terry Markovich
Details | Diff
pose-3.5-r6.ebuild diff (pose-3.5-r6.ebuild.diff,780 bytes, text/plain)
2005-11-11 09:43 UTC, Terry Markovich
Details
pose-zlib diff (pose-zlib.diff,7.70 KB, text/plain)
2005-11-11 09:45 UTC, Terry Markovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terry Markovich 2005-11-03 17:40:08 UTC
Here is an updated ebuild for the Palm OS Emulator and patches to fix an issue
with app-emulation/pose which is caused by pose using an old version of gzip. 
Nate Eldridge submitted a patch to Debian to fix this, his explanation: "pose
incorporates an ancient version of gzip, which includes an `inflate' function. 
But the font libraries which pose get linked with also call `inflate', expecting
the modern zlib implementation (which is incompatible).  The old version gets
called instead; it has an entirely different interface involving global
variables which needed to be initialized.  They aren't, so pose crashes."  This
ebuild incorporates his fix.  I have submitted an ebuild diff and a new
pose-3.5-genpatches.tar.bz2 file (which includes patch pose-zlib.diff).
Comment 1 Terry Markovich 2005-11-03 17:43:53 UTC
Created attachment 72081 [details]
pose-3.5-r6.ebuild
Comment 2 Terry Markovich 2005-11-03 17:45:03 UTC
Created attachment 72082 [details, diff]
patches for pose-3.5-r6.ebuild
Comment 3 George Shapovalov (RETIRED) gentoo-dev 2005-11-11 06:29:30 UTC
Hi Terry. 
 
Thanks for your fixes! 
Unfortunately I have no means to test this atm, as I am on amd64 and this is 
strictly x86 thing apparently. I might get back to see this bug again when I 
setup 32 bit chroot. Meanwhile lets hope somebody gets interested enough and 
picks up this ebuild.. 
 
Some generic comments: 
 
1. Please attach a diff with the changes to the ebuild. Not only this makes it 
easy to immediately see the changes proposed, but it it the only way to make 
sure everything is tested as suggested if there are any other changes made in 
parallel.. 
 
2. It is really better to supply only the relevant patch as a plain text. The 
way you did it anybody processing this bug will have to check that nothing was 
changed in any of the other patches. 
 
The patch is looking reasonable, but I only shortly glanced at it and have no 
means to test.. 
 
George 
Comment 4 Terry Markovich 2005-11-11 09:43:39 UTC
Created attachment 72675 [details]
pose-3.5-r6.ebuild diff
Comment 5 Terry Markovich 2005-11-11 09:45:11 UTC
Created attachment 72676 [details]
pose-zlib diff

patch for gzip problem
Comment 6 David Fannin 2005-12-27 00:34:52 UTC
These changes don't work for me.  I applied the patches.  Any ideas on what may be going on?

Here is the last portion of the emerge compile:
===========================================================

make[1]: Leaving directory `/var/tmp/portage/pose-3.5-r6/work/Emulator_Src_3.5/build-normal/espws-2.0'
make[1]: Entering directory `/var/tmp/portage/pose-3.5-r6/work/Emulator_Src_3.5/build-normal'
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\ "\" -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H =1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ENDIAN_H=1  -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TYPE_SOCKLEN_ T=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_MKDIR=1 -DHAVE_MKSTEMP=1 -DHAVE_TEMPNAM=1 -DHAVE_LIBFLTK=1  -I. -I.. /BuildUnix  -I../BuildUnix/../SrcShared -I../BuildUnix/../SrcShared/Hardware -I../BuildUnix/../SrcShared/Hardware /TRG -I../BuildUnix/../SrcShared/Palm/Device -I../BuildUnix/../SrcShared/Palm/Platform -I../BuildUnix/../SrcShare d/Palm/Platform/Core/Hardware/IncsPrv -I../BuildUnix/../SrcShared/Palm/Platform/Core/System/IncsPrv -I../BuildUni x/../SrcShared/Palm/Platform/Incs -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core -I../BuildUnix/../SrcShared /Palm/Platform/Incs/Core/Hardware -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core/System -I../BuildUnix/../Sr cShared/Palm/Platform/Incs/Core/UI -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Libraries -I../BuildUnix/../Src Shared/jpeg -I../BuildUnix/../SrcShared/omnithread -I../BuildUnix/../SrcShared/Patches -I../BuildUnix/../SrcShare d/UAE -I../BuildUnix/../SrcUnix -I../BuildUnix/../SrcUnix/espws-2.0  -I/var/tmp/portage/pose-3.5-r6/work/Emulator _Src_3.5/install-fltk/include  -DFLTK_1_0_COMPAT -DPLATFORM_UNIX=1 -D__PALMOS_TRAPS__=0 -DEMULATION_LEVEL=EMULATI ON_UNIX -O2 -fno-strict-aliasing  -DHAS_PROFILING=0 -DNDEBUG  -fexceptions -Wall -Wno-multichar -Wno-unknown-prag mas -Wno-conversion    -D_REENTRANT -DNoNanoSleep -DPthreadDraftVersion=10  -c ../BuildUnix/../SrcUnix/EmApplicat ionFltk.cpp
In file included from ../BuildUnix/../SrcShared/CGremlins.h:17,
                 from ../BuildUnix/../SrcShared/Hordes.h:19,
                 from ../BuildUnix/../SrcShared/Logging.h:17,
                 from ../BuildUnix/../SrcShared/EmDlg.h:23,
                 from ../BuildUnix/../SrcUnix/EmDlgFltk.h:17,
                 from ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:17:
../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator>>(std::deque<T, std::alloc ator<_CharT> >&)':
../BuildUnix/../SrcShared/EmStream.h:93: error: expected `;' before "iter"
../BuildUnix/../SrcShared/EmStream.h:94: error: `iter' undeclared (first use this function)
../BuildUnix/../SrcShared/EmStream.h:94: error: (Each undeclared identifier is reported only once for each functi on it appears in.)
../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator>>(std::list<T, std::alloca tor<_CharT> >&)':
../BuildUnix/../SrcShared/EmStream.h:111: error: expected `;' before "iter"
../BuildUnix/../SrcShared/EmStream.h:112: error: `iter' undeclared (first use this function)
../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator>>(std::vector<T, std::allo cator<_CharT> >&)':
../BuildUnix/../SrcShared/EmStream.h:129: error: expected `;' before "iter"
../BuildUnix/../SrcShared/EmStream.h:130: error: `iter' undeclared (first use this function)
../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator<<(const std::deque<T, std: :allocator<_CharT> >&)':
../BuildUnix/../SrcShared/EmStream.h:146: error: expected `;' before "iter"
../BuildUnix/../SrcShared/EmStream.h:147: error: `iter' undeclared (first use this function)
../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator<<(const std::list<T, std:: allocator<_CharT> >&)':
../BuildUnix/../SrcShared/EmStream.h:163: error: expected `;' before "iter"
../BuildUnix/../SrcShared/EmStream.h:164: error: `iter' undeclared (first use this function)
../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator<<(const std::vector<T, std ::allocator<_CharT> >&)':
../BuildUnix/../SrcShared/EmStream.h:180: error: expected `;' before "iter"
../BuildUnix/../SrcShared/EmStream.h:181: error: `iter' undeclared (first use this function)
../BuildUnix/../SrcUnix/EmApplicationFltk.h: In constructor `EmApplicationFltk::EmApplicationFltk()':
../BuildUnix/../SrcUnix/EmApplicationFltk.h:44: warning: `EmApplicationFltk::fClipboardWidget' will be initialize d after
../BuildUnix/../SrcUnix/EmApplicationFltk.h:43: warning:   `EmWindowFltk*EmApplicationFltk::fAppWindow'
../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:120: warning:   when initialized here
make[1]: *** [EmApplicationFltk.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pose-3.5-r6/work/Emulator_Src_3.5/build-normal'
make: *** [all-recursive] Error 1

!!! ERROR: app-emulation/pose-3.5-r6 failed.
!!! Function src_compile, Line 60, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 7 Terry Markovich 2005-12-27 03:06:53 UTC
(In reply to comment #6)

David, it looks like there is a problem with file EmStream.h line 94), which is odd since this file is not patched.

Terry

> These changes don't work for me.  I applied the patches.  Any ideas on what may
> be going on?
> 
> Here is the last portion of the emerge compile:
> ===========================================================
> 
> make[1]: Leaving directory
> `/var/tmp/portage/pose-3.5-r6/work/Emulator_Src_3.5/build-normal/espws-2.0'
> make[1]: Entering directory
> `/var/tmp/portage/pose-3.5-r6/work/Emulator_Src_3.5/build-normal'
> g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\ "\" -DHAVE_DIRENT_H=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H =1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ENDIAN_H=1  -DHAVE_FCNTL_H=1
> -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_TYPE_SOCKLEN_ T=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_MKDIR=1
> -DHAVE_MKSTEMP=1 -DHAVE_TEMPNAM=1 -DHAVE_LIBFLTK=1  -I. -I.. /BuildUnix 
> -I../BuildUnix/../SrcShared -I../BuildUnix/../SrcShared/Hardware
> -I../BuildUnix/../SrcShared/Hardware /TRG
> -I../BuildUnix/../SrcShared/Palm/Device
> -I../BuildUnix/../SrcShared/Palm/Platform -I../BuildUnix/../SrcShare
> d/Palm/Platform/Core/Hardware/IncsPrv
> -I../BuildUnix/../SrcShared/Palm/Platform/Core/System/IncsPrv -I../BuildUni
> x/../SrcShared/Palm/Platform/Incs
> -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core -I../BuildUnix/../SrcShared
> /Palm/Platform/Incs/Core/Hardware
> -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core/System -I../BuildUnix/../Sr
> cShared/Palm/Platform/Incs/Core/UI
> -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Libraries -I../BuildUnix/../Src
> Shared/jpeg -I../BuildUnix/../SrcShared/omnithread
> -I../BuildUnix/../SrcShared/Patches -I../BuildUnix/../SrcShare d/UAE
> -I../BuildUnix/../SrcUnix -I../BuildUnix/../SrcUnix/espws-2.0 
> -I/var/tmp/portage/pose-3.5-r6/work/Emulator _Src_3.5/install-fltk/include 
> -DFLTK_1_0_COMPAT -DPLATFORM_UNIX=1 -D__PALMOS_TRAPS__=0
> -DEMULATION_LEVEL=EMULATI ON_UNIX -O2 -fno-strict-aliasing  -DHAS_PROFILING=0
> -DNDEBUG  -fexceptions -Wall -Wno-multichar -Wno-unknown-prag mas
> -Wno-conversion    -D_REENTRANT -DNoNanoSleep -DPthreadDraftVersion=10  -c
> ../BuildUnix/../SrcUnix/EmApplicat ionFltk.cpp
> In file included from ../BuildUnix/../SrcShared/CGremlins.h:17,
>                  from ../BuildUnix/../SrcShared/Hordes.h:19,
>                  from ../BuildUnix/../SrcShared/Logging.h:17,
>                  from ../BuildUnix/../SrcShared/EmDlg.h:23,
>                  from ../BuildUnix/../SrcUnix/EmDlgFltk.h:17,
>                  from ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:17:
> ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream&
> EmStream::operator>>(std::deque<T, std::alloc ator<_CharT> >&)':
> ../BuildUnix/../SrcShared/EmStream.h:93: error: expected `;' before "iter"
> ../BuildUnix/../SrcShared/EmStream.h:94: error: `iter' undeclared (first use
> this function)
> ../BuildUnix/../SrcShared/EmStream.h:94: error: (Each undeclared identifier is
> reported only once for each functi on it appears in.)
> ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream&
> EmStream::operator>>(std::list<T, std::alloca tor<_CharT> >&)':
> ../BuildUnix/../SrcShared/EmStream.h:111: error: expected `;' before "iter"
> ../BuildUnix/../SrcShared/EmStream.h:112: error: `iter' undeclared (first use
> this function)
> ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream&
> EmStream::operator>>(std::vector<T, std::allo cator<_CharT> >&)':
> ../BuildUnix/../SrcShared/EmStream.h:129: error: expected `;' before "iter"
> ../BuildUnix/../SrcShared/EmStream.h:130: error: `iter' undeclared (first use
> this function)
> ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream&
> EmStream::operator<<(const std::deque<T, std: :allocator<_CharT> >&)':
> ../BuildUnix/../SrcShared/EmStream.h:146: error: expected `;' before "iter"
> ../BuildUnix/../SrcShared/EmStream.h:147: error: `iter' undeclared (first use
> this function)
> ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream&
> EmStream::operator<<(const std::list<T, std:: allocator<_CharT> >&)':
> ../BuildUnix/../SrcShared/EmStream.h:163: error: expected `;' before "iter"
> ../BuildUnix/../SrcShared/EmStream.h:164: error: `iter' undeclared (first use
> this function)
> ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream&
> EmStream::operator<<(const std::vector<T, std ::allocator<_CharT> >&)':
> ../BuildUnix/../SrcShared/EmStream.h:180: error: expected `;' before "iter"
> ../BuildUnix/../SrcShared/EmStream.h:181: error: `iter' undeclared (first use
> this function)
> ../BuildUnix/../SrcUnix/EmApplicationFltk.h: In constructor
> `EmApplicationFltk::EmApplicationFltk()':
> ../BuildUnix/../SrcUnix/EmApplicationFltk.h:44: warning:
> `EmApplicationFltk::fClipboardWidget' will be initialize d after
> ../BuildUnix/../SrcUnix/EmApplicationFltk.h:43: warning:  
> `EmWindowFltk*EmApplicationFltk::fAppWindow'
> ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:120: warning:   when initialized
> here
> make[1]: *** [EmApplicationFltk.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/pose-3.5-r6/work/Emulator_Src_3.5/build-normal'
> make: *** [all-recursive] Error 1
> 
> !!! ERROR: app-emulation/pose-3.5-r6 failed.
> !!! Function src_compile, Line 60, Exitcode 2
> !!! (no error message)
> !!! If you need support, post the topmost build error, NOT this status message.
> 

Comment 8 Terry Markovich 2006-01-05 04:36:45 UTC
The patch for gcc-3.4.4 in bug 91501 fixes this compile problem for me.  In fact, with the newest stable (x86) fltk-1.1.6 the issues I had with fonts has now gone away.  The pose-3.5-r4 ebuild with -only- the gcc-3.4.4 patch compiles clean and works well for me.

Terry

(In reply to comment #7)
> (In reply to comment #6)
> 
> David, it looks like there is a problem with file EmStream.h line 94), which is
> odd since this file is not patched.
> 
> Terry
> 
Comment 9 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-08-25 22:36:29 UTC
Removed