Re: [blfs-dev] thunderbird and seamonkey broken by glibc-2.30

2019-08-18 Thread Ken Moffat via blfs-dev
On Sun, Aug 18, 2019 at 03:25:02PM -0500, Bruce Dubbs via blfs-dev wrote:
> > > 
> > Forgot to tell that I have been able to build both packages by doing:
> > sed -i '/pid_t gettid/s@^@//@' mozilla/tools/profiler/core/platform.h
> > (remove mozilla/ for thunderbid).
> > Waiting for confirmation before including into the book.
> 
> I think it will be a couple of days before I get to FF and TB.  Trying to
> get plasma and dependencies done today.
> 
>   -- Bruce
> 
The issue is with SeaMonkey (and Tnunderbird), not Firefox.  Or at
least, firefox-68.0.2 didn't give _me_ any build problems (but I
don't like "marking my own work" for such major packages).

ĸen
-- 
Adopted by dwarfs, brought up by dwarfs.  To dwarfs I'm a dwarf, sir.
I can do the rite of k'zakra, I know the secrets of h'ragna, I can
ha'lk my g'rakha correctly ... I am a dwarf
   Captain Carrot Ironfoundersson (in The Fifth Elephant)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] thunderbird and seamonkey broken by glibc-2.30

2019-08-18 Thread Pierre Labastie via blfs-dev

Bruce Dubbs via blfs-dev wrote:

On 8/18/19 2:56 PM, Pierre Labastie via blfs-dev wrote:

Pierre Labastie via blfs-dev wrote:

Hi,

When compiling seamonkey, I got an error (since I've fixed it,
I've mucked the log, sorry, so this is not the exact error message):
gettid first declared extern (in /usr/include/bits/unistd_ext.h)
then declared static (in mozilla/tools/profiler/core/platform.h).

I got the same error in thunderbird (except there is no mozilla subdir,
so the offending file is tools/profiler/core/platform.h.

The reason is the following: mozilla/tools/profiler/core/platform.h
has a comment:
// We need a definition of gettid(), but Linux libc implementations 
don't

// provide a wrapper for it
and they define it as static inline.

But according to glibc-2.30 release notes:
* On Linux, the getdents64, gettid, and tgkill functions have been 
added.


So gettid shouldn't be redefined by seamonkey/thunderbird.

Now, I am amazed nobody has seen this before me.
Maybe I have something different in my mozconfig, so I attach it
(the seamonkey one)


Forgot to tell that I have been able to build both packages by doing:
sed -i '/pid_t gettid/s@^@//@' mozilla/tools/profiler/core/platform.h
(remove mozilla/ for thunderbid).
Waiting for confirmation before including into the book.


I think it will be a couple of days before I get to FF and TB. Trying 
to get plasma and dependencies done today.




Apparently, FF is not concerned. Only TB and SM.
Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] thunderbird and seamonkey broken by glibc-2.30

2019-08-18 Thread Bruce Dubbs via blfs-dev

On 8/18/19 2:56 PM, Pierre Labastie via blfs-dev wrote:

Pierre Labastie via blfs-dev wrote:

Hi,

When compiling seamonkey, I got an error (since I've fixed it,
I've mucked the log, sorry, so this is not the exact error message):
gettid first declared extern (in /usr/include/bits/unistd_ext.h)
then declared static (in mozilla/tools/profiler/core/platform.h).

I got the same error in thunderbird (except there is no mozilla subdir,
so the offending file is tools/profiler/core/platform.h.

The reason is the following: mozilla/tools/profiler/core/platform.h
has a comment:
// We need a definition of gettid(), but Linux libc implementations don't
// provide a wrapper for it
and they define it as static inline.

But according to glibc-2.30 release notes:
* On Linux, the getdents64, gettid, and tgkill functions have been added.

So gettid shouldn't be redefined by seamonkey/thunderbird.

Now, I am amazed nobody has seen this before me.
Maybe I have something different in my mozconfig, so I attach it
(the seamonkey one)


Forgot to tell that I have been able to build both packages by doing:
sed -i '/pid_t gettid/s@^@//@' mozilla/tools/profiler/core/platform.h
(remove mozilla/ for thunderbid).
Waiting for confirmation before including into the book.


I think it will be a couple of days before I get to FF and TB.  Trying 
to get plasma and dependencies done today.


  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] thunderbird and seamonkey broken by glibc-2.30

2019-08-18 Thread Pierre Labastie via blfs-dev

Pierre Labastie via blfs-dev wrote:

Hi,

When compiling seamonkey, I got an error (since I've fixed it,
I've mucked the log, sorry, so this is not the exact error message):
gettid first declared extern (in /usr/include/bits/unistd_ext.h)
then declared static (in mozilla/tools/profiler/core/platform.h).

I got the same error in thunderbird (except there is no mozilla subdir,
so the offending file is tools/profiler/core/platform.h.

The reason is the following: mozilla/tools/profiler/core/platform.h
has a comment:
// We need a definition of gettid(), but Linux libc implementations don't
// provide a wrapper for it
and they define it as static inline.

But according to glibc-2.30 release notes:
* On Linux, the getdents64, gettid, and tgkill functions have been added.

So gettid shouldn't be redefined by seamonkey/thunderbird.

Now, I am amazed nobody has seen this before me.
Maybe I have something different in my mozconfig, so I attach it
(the seamonkey one)


Forgot to tell that I have been able to build both packages by doing:
sed -i '/pid_t gettid/s@^@//@' mozilla/tools/profiler/core/platform.h
(remove mozilla/ for thunderbid).
Waiting for confirmation before including into the book.

Pierre
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page