bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RPM for Icecat


From: Bruno Miguel
Subject: Re: RPM for Icecat
Date: Sat, 16 Jan 2010 18:54:46 +0000
User-agent: KMail/1.12.4 (Linux/2.6.31.9-174.fc12.i686; KDE/4.3.4; i686; ; )

On Saturday 16 January 2010 18:02:55 Giuseppe Scrivano wrote:
> Hi Bruno,
> 
> thanks for working on this.  Can you re-try using a fresh source tree
> (not `make clean`)?
> 
> Cheers,
> Giuseppe
> 
> Bruno Miguel <address@hidden> writes:
> > Actually, no. I wanted to take the chance to try learning some basic
> > stuff about RPM packaging, but I'm having no luck. After eliminating a
> > few errors, I know get this error:
> >
> > c++ -o jsgc.o -c -I./../../dist/include/system_wrappers_js -include
> > ./config/gcc_hidden.h -DFEATURE_NANOJIT -DJS_TRACER
> > -DOSTYPE=\"Linux2.6.31.9-174.fc12\" -DOSARCH=Linux -DEXPORT_JS_API
> > -DJS_USE_SAFE_ARENA  -I. -I.  -I./../../dist/include
> > -I./../../dist/include/js
> > -I/home/makerpm/rpmbuild/BUILD/icecat-3.5.7/dist/include/nspr
> > -I/sdk/include -I.    -fPIC   -fno-rtti -fno-exceptions -Wall
> > -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
> > -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
> > -Wno-long-long -pedantic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> > -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
> > -march=i686 -mtune=atom -fasynchronous-unwind-tables
> > -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED
> > -pipe -O3   -DMOZILLA_CLIENT -include ./mozilla-config.h
> > -Wp,-MD,.deps/jsgc.pp jsgc.cpp
> > In file included from jsbuiltins.h:45,
> >                  from jstracer.h:53,
> >                  from jsgc.cpp:79:
> > nanojit/nanojit.h:151:30: warning: anonymous variadic macros were
> > introduced in C99
> > nanojit/nanojit.h:198:23: warning: anonymous variadic macros were
> > introduced in C99
> > In file included from nanojit/nanojit.h:245,
> >                  from jsbuiltins.h:45,
> >                  from jstracer.h:53,
> >                  from jsgc.cpp:79:
> > nanojit/Native.h:122:22: warning: anonymous variadic macros were
> > introduced in C99
> > In file included from jsgc.cpp:100:
> > ../../memory/jemalloc/jemalloc.h:48: error: declaration of 'void*
> > malloc(size_t)' throws different exceptions
> > /usr/include/stdlib.h:471: error: from previous declaration 'void*
> > malloc(size_t) throw ()'
> > ../../memory/jemalloc/jemalloc.h:49: error: declaration of 'void*
> > valloc(size_t)' throws different exceptions
> > /usr/include/stdlib.h:502: error: from previous declaration 'void*
> > valloc(size_t) throw ()'
> > ../../memory/jemalloc/jemalloc.h:50: error: declaration of 'void*
> > calloc(size_t, size_t)' throws different exceptions
> > /usr/include/stdlib.h:473: error: from previous declaration 'void*
> > calloc(size_t, size_t) throw ()'
> > ../../memory/jemalloc/jemalloc.h:51: error: declaration of 'void*
> > realloc(void*, size_t)' throws different exceptions
> > /usr/include/stdlib.h:485: error: from previous declaration 'void*
> > realloc(void*, size_t) throw ()'
> > ../../memory/jemalloc/jemalloc.h:52: error: declaration of 'void
> > free(void*)' throws different exceptions
> > /usr/include/stdlib.h:488: error: from previous declaration 'void
> > free(void*) throw ()'
> > ../../memory/jemalloc/jemalloc.h:55: error: declaration of 'int
> > posix_memalign(void**, size_t, size_t)' throws different exceptions
> > /usr/include/stdlib.h:507: error: from previous declaration 'int
> > posix_memalign(void**, size_t, size_t) throw ()'
> > gmake[4]: *** [jsgc.o] Error 1
> > gmake[4]: Leaving directory
> > `/home/makerpm/rpmbuild/BUILD/icecat-3.5.7/js/src' gmake[3]: ***
> > [libs_tier_js] Error 2
> > gmake[3]: Leaving directory `/home/makerpm/rpmbuild/BUILD/icecat-3.5.7'
> > gmake[2]: *** [tier_js] Error 2
> > gmake[2]: Leaving directory `/home/makerpm/rpmbuild/BUILD/icecat-3.5.7'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory `/home/makerpm/rpmbuild/BUILD/icecat-3.5.7'
> > make: *** [build] Error 2
> > error: Bad exit status from /var/tmp/rpm-tmp.RWh96P (%build)
> >
> >
> > RPM build errors:
> >     Bad exit status from /var/tmp/rpm-tmp.RWh96P (%build)
> >
> > On 1/16/10, alexus / dotcommon <address@hidden> wrote:
> >> On Sat, 16 Jan 2010 16:17:35 +0000, Bruno Miguel
> >>
> >> <address@hidden> wrote:
> >>> Today, I installed Fedora 12 as my main GNU/Linux distribution (in
> >>> fact, main and only) and now I'm trying to create an RPM for Icecat.
> >>> For that, I reused Firefox spec file, but I'm getting a lot of errors
> >>> that prevent me from creating the RPM.
> >>>
> >>> I'm completely stuck with this, since it's the first time I try to
> >>> create an RPM. So, I ask if anyone managed to create one and if you
> >>> could share the instructions with me.
> >>
> >> have you tried to convert the IceCat package from DEB to RPM simply
> >> using the 'alien' command?
> >>
> >> http://linux.die.net/man/1/alien
> >> http://www.linuxdocs.org/HOWTOs/RPM-for-Unix-HOWTO-8.html
> >> http://forums.fedoraforum.org/showthread.php?t=64419
> >>
> >> hope it will help
> >>
> >> regards
> >> --
> >> Support free software! Join FSF: http://www.fsf.org/jf?referrer=7535
> >
> > --
> > http://gnuzilla.gnu.org
> 

When I start creating the RPM, the script removes the source folder, leaving 
only the tarball and then extracting it. The problem is, I think, with the 
spec file, but I'm stuck with it. :(




reply via email to

[Prev in Thread] Current Thread [Next in Thread]