Re: [gentoo-user] Thunderbird build failure

2017-09-23 Thread Christoph Böhmwalder
Am 23. September 2017 20:37:09 MESZ schrieb Stefano Crocco 
:
>On Saturday, 23 September 2017 17:53:25 CEST Christoph Böhmwalder
>wrote:
>> Hey all,
>> 
>> I've been trying to get Thunderbird to build for a few days now.
>> Since I'm pretty much out of ideas at this point, I figured I'd ask
>on here
>> if someone has an idea on what my problem is.
>> 
>> I've attached the output of `emerge --info
>> '=mail-client/thunderbird-52.3.0::gentoo'`, `emerge -pqv
>> '=mail-client/thunderbird-52.3.0::gentoo'`, and the complete build
>log.
>> 
>> From the error message I can see that it likely has something to do
>with
>> either libpng or zlib. I have both of those installed:
>> 
>> $ emerge --info libpng
>> --- >8 ---
>> media-libs/libpng-1.6.29::gentoo was built with the following:
>> USE="apng (-neon) -static-libs" ABI_X86="32 (64) (-x32)"
>CPU_FLAGS_X86="sse"
>> 
>> $ emerge --info zlib
>> --- >8 ---
>> sys-libs/zlib-1.2.11::gentoo was built with the following:
>> USE="minizip -static-libs" ABI_X86="32 (64) (-x32)"
>> 
>> 
>> I noticed that I have zlib-1.2.11 installed, though Thunderbird (or
>libpng?)
>> is apparently trying to reference a symbol from zlib 1.2.9. I tried
>> downgrading to zlib 1.2.9, but...
>> 
>> # emerge --ask \=sys-libs/zlib-1.2.9
>> 
>> These are the packages that would be merged, in order:
>> 
>> Calculating dependencies... done!
>> 
>> emerge: there are no ebuilds to satisfy "=sys-libs/zlib-1.2.9".
>> 
>> 
>> I'd really appreciate any hints on what I'm doing wrong here. Thanks!
>> 
>> 
>> --
>> 
>> Regards,
>> Christoph
>
>I believe you should re-emerge libpng because it seems to have been
>built 
>against an old (and incompatible) version of zlib (1.2.9).
>
>I hope this helps
>
>Stefano

Thanks for the suggestion Stephano. I tried re-emerging libpng and running a 
clean Thunderbirs build overnight, however it still fails with the same message.

--

Regards,
Christoph

Re: [gentoo-user] gentoo on SSD

2017-09-23 Thread Stefano Crocco
On Saturday, 23 September 2017 21:27:45 CEST Canek Peláez Valdés wrote:
> On Sat, Sep 23, 2017 at 2:04 PM, Stefano Crocco 
> 
> wrote:
> > Hello to everyone,
> > I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've
> 
> read
> 
> > the Gentoo Wiki page on this and searched Google for hints on this, but
> 
> since
> 
> > I found out that much information was either contradictory or outdated,
> 
> I'm
> 
> > asking anyone with first-hand experience on this for advice.
> > 
> > My system is as follows:
> > 
> > - 250GB SSD
> > - 1TB HDD
> > - 16GB RAM
> > 
> > I'm planning to partition the SSD this way:
> > 
> > - 100 GB -> / (on my current system, / is about 70GB)
> > - 100 GB -> /home
> > - 16 GB -> swap (mainly for hibernation)
> > - 200 MB -> /boot
> > 
> > /var/tmp/portage should go into a tmpfs (12GB).
> > 
> > I've read that someone suggested putting also /tmp on a tmpfs. Right now,
> 
> on
> 
> > my system /tmp is less than 100 MB, so I believe this should cause no
> > problems, but is it necessary?
> > 
> > Large files, such as Steam games and maybe distfiles should instead go on
> 
> the
> 
> > 1TB HDD.
> > 
> > I have some doubts about the swap partition. With 16 GB of RAM I shouldn't
> > usually need swap except for hibernating (that's the reason I'm putting
> 
> it on
> 
> > the SSD); however, I fear that compiling some large packages could fill
> 
> all
> 
> > that space. Would it be bad to have the swap partition on the SSD used
> 
> this
> 
> > way every now and then? Should I create another swap partition on the HDD
> 
> and
> 
> > give it higher priority?
> > 
> > What do you think? Do you have any advice on how to best set up such a
> 
> system?
> 
> I use a similar setup. Several top-level directories in my $HOME are bind
> mounts to a large mechanical drive. My swap (16GB) is on that drive also.
> I've found that 100MB is enough for the EFI /boot partition (but I clean
> old kernels immediately after updating).
> 
> For the /tmp I use tmpfs (I use the size=100% option), and then in
> /etc/portage/make.conf I have:
> 
> PORTAGE_TMPDIR="/tmp"
> 
> This way I fully use /tmp when compiling large packages, and don't wear
> down my SSD.
> 
> Regards.
> --
> Dr. Canek Peláez Valdés
> Profesor de Carrera Asociado C
> Departamento de Matemáticas
> Facultad de Ciencias
> Universidad Nacional Autónoma de México

Thanks for the information

Stefano



Re: [gentoo-user] gentoo on SSD

2017-09-23 Thread Canek Peláez Valdés
On Sat, Sep 23, 2017 at 2:04 PM, Stefano Crocco 
wrote:
>
> Hello to everyone,
> I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've
read
> the Gentoo Wiki page on this and searched Google for hints on this, but
since
> I found out that much information was either contradictory or outdated,
I'm
> asking anyone with first-hand experience on this for advice.
>
> My system is as follows:
>
> - 250GB SSD
> - 1TB HDD
> - 16GB RAM
>
> I'm planning to partition the SSD this way:
>
> - 100 GB -> / (on my current system, / is about 70GB)
> - 100 GB -> /home
> - 16 GB -> swap (mainly for hibernation)
> - 200 MB -> /boot
>
> /var/tmp/portage should go into a tmpfs (12GB).
>
> I've read that someone suggested putting also /tmp on a tmpfs. Right now,
on
> my system /tmp is less than 100 MB, so I believe this should cause no
> problems, but is it necessary?
>
> Large files, such as Steam games and maybe distfiles should instead go on
the
> 1TB HDD.
>
> I have some doubts about the swap partition. With 16 GB of RAM I shouldn't
> usually need swap except for hibernating (that's the reason I'm putting
it on
> the SSD); however, I fear that compiling some large packages could fill
all
> that space. Would it be bad to have the swap partition on the SSD used
this
> way every now and then? Should I create another swap partition on the HDD
and
> give it higher priority?
>
> What do you think? Do you have any advice on how to best set up such a
system?

I use a similar setup. Several top-level directories in my $HOME are bind
mounts to a large mechanical drive. My swap (16GB) is on that drive also.
I've found that 100MB is enough for the EFI /boot partition (but I clean
old kernels immediately after updating).

For the /tmp I use tmpfs (I use the size=100% option), and then in
/etc/portage/make.conf I have:

PORTAGE_TMPDIR="/tmp"

This way I fully use /tmp when compiling large packages, and don't wear
down my SSD.

Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México


[gentoo-user] gentoo on SSD

2017-09-23 Thread Stefano Crocco
Hello to everyone,
I just bought a 250 GB SSD and I'm planning to install Gentoo on it. I've read 
the Gentoo Wiki page on this and searched Google for hints on this, but since 
I found out that much information was either contradictory or outdated, I'm 
asking anyone with first-hand experience on this for advice.

My system is as follows:

- 250GB SSD
- 1TB HDD
- 16GB RAM

I'm planning to partition the SSD this way:

- 100 GB -> / (on my current system, / is about 70GB)
- 100 GB -> /home
- 16 GB -> swap (mainly for hibernation)
- 200 MB -> /boot

/var/tmp/portage should go into a tmpfs (12GB).

I've read that someone suggested putting also /tmp on a tmpfs. Right now, on 
my system /tmp is less than 100 MB, so I believe this should cause no 
problems, but is it necessary?

Large files, such as Steam games and maybe distfiles should instead go on the 
1TB HDD.

I have some doubts about the swap partition. With 16 GB of RAM I shouldn't 
usually need swap except for hibernating (that's the reason I'm putting it on 
the SSD); however, I fear that compiling some large packages could fill all 
that space. Would it be bad to have the swap partition on the SSD used this 
way every now and then? Should I create another swap partition on the HDD and 
give it higher priority?

What do you think? Do you have any advice on how to best set up such a system?

Thanks in advance

Stefano



Re: [gentoo-user] Need help to compile a minimal wine

2017-09-23 Thread R0b0t1
On Sat, Sep 23, 2017 at 1:21 PM,   wrote:
> Hi,
>
> I want to compile wine to execute a single commandline tool.
> That's it.
>
> The commandline tool is the AVR-assembler made by ATmel to recompile
> a FORTH interpreter for the AVR-line of microcontrollers of
> ATMEL/Micorchip:
>

Are you sure you need the assembler as released by Atmel? Most of
their development work seems to have gone to AVR-GCC. Is the syntax of
avrasm2 unique and are there any features that are not implemented in
GNU as?

> avrasm2.exe: PE32 executable (console) Intel 80386, for MS Windows
>
> [...]
>
> (My system is not multilib.)
>

As "WINE is Not an Emulator" it seems to me like you will either need
to reinstall as a multilib system, or set up an x86 chroot or
container to run the assembler.

There is a small possibility that WINE's WOW64 support (the thing that
runs Win32 executables on Win64) does not require multilib, but if so
then they would have needed to reimplement large parts of multilib and
certain kernel facilities. It does not seem likely that they would
have done this.

Looking at https://wiki.winehq.org/Building_Wine#Shared_WoW64 it seems
like there is an implicit dependency on a multlib system. Most Linux
distributions are multilib, likely because it is necessary to support
many closed source Linux programs.

Cheers,
 R0b0t1



Re: [gentoo-user] Thunderbird build failure

2017-09-23 Thread Stefano Crocco
On Saturday, 23 September 2017 17:53:25 CEST Christoph Böhmwalder wrote:
> Hey all,
> 
> I've been trying to get Thunderbird to build for a few days now.
> Since I'm pretty much out of ideas at this point, I figured I'd ask on here
> if someone has an idea on what my problem is.
> 
> I've attached the output of `emerge --info
> '=mail-client/thunderbird-52.3.0::gentoo'`, `emerge -pqv
> '=mail-client/thunderbird-52.3.0::gentoo'`, and the complete build log.
> 
> From the error message I can see that it likely has something to do with
> either libpng or zlib. I have both of those installed:
> 
> $ emerge --info libpng
> --- >8 ---
> media-libs/libpng-1.6.29::gentoo was built with the following:
> USE="apng (-neon) -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse"
> 
> $ emerge --info zlib
> --- >8 ---
> sys-libs/zlib-1.2.11::gentoo was built with the following:
> USE="minizip -static-libs" ABI_X86="32 (64) (-x32)"
> 
> 
> I noticed that I have zlib-1.2.11 installed, though Thunderbird (or libpng?)
> is apparently trying to reference a symbol from zlib 1.2.9. I tried
> downgrading to zlib 1.2.9, but...
> 
> # emerge --ask \=sys-libs/zlib-1.2.9
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds to satisfy "=sys-libs/zlib-1.2.9".
> 
> 
> I'd really appreciate any hints on what I'm doing wrong here. Thanks!
> 
> 
> --
> 
> Regards,
> Christoph

I believe you should re-emerge libpng because it seems to have been built 
against an old (and incompatible) version of zlib (1.2.9).

I hope this helps

Stefano



Re: [gentoo-user] Need help to compile a minimal wine

2017-09-23 Thread Christoph Böhmwalder
Hi Meino,

I haven't tried this, but may I ask why you're not using the ATmel AVR 
Toolchain [0] that's readily available for Linux?

[0] http://www.atmel.com/tools/atmelavrtoolchainforlinux.aspx

--
Regards,
Christoph

Am 23. September 2017 20:21:45 MESZ schrieb tu...@posteo.de:
>Hi,
>
>I want to compile wine to execute a single commandline tool.
>That's it.
>
>The commandline tool is the AVR-assembler made by ATmel to recompile
>a FORTH interpreter for the AVR-line of microcontrollers of
>ATMEL/Micorchip:
>
>avrasm2.exe: PE32 executable (console) Intel 80386, for MS Windows
>
>Most GENTOO related tutorials on how to compile/install wine were
>made for those of us who want to use wine as kind a "bootloader" for
>games (NO pune intended!).
>
>I tried to compile wine ... but all end with an compilation error.
>
>To save time and hassle:
>Is there any wine version out there, which is currentlu compilable
>and/or recommended?
>
>Is there any tutorial which covers my intended use case for wine?
>
>(My system is not multilib.)
>
>Thanks a lot for any help in advance!
>Cheers
>Meino


[gentoo-user] Need help to compile a minimal wine

2017-09-23 Thread tuxic
Hi,

I want to compile wine to execute a single commandline tool.
That's it.

The commandline tool is the AVR-assembler made by ATmel to recompile
a FORTH interpreter for the AVR-line of microcontrollers of
ATMEL/Micorchip:

avrasm2.exe: PE32 executable (console) Intel 80386, for MS Windows

Most GENTOO related tutorials on how to compile/install wine were
made for those of us who want to use wine as kind a "bootloader" for
games (NO pune intended!).

I tried to compile wine ... but all end with an compilation error.

To save time and hassle:
Is there any wine version out there, which is currentlu compilable
and/or recommended?

Is there any tutorial which covers my intended use case for wine?

(My system is not multilib.)

Thanks a lot for any help in advance!
Cheers
Meino








[gentoo-user] Thunderbird build failure

2017-09-23 Thread Christoph Böhmwalder
Hey all,

I've been trying to get Thunderbird to build for a few days now.
Since I'm pretty much out of ideas at this point, I figured I'd ask on here if 
someone has an idea on what my problem is.

I've attached the output of `emerge --info 
'=mail-client/thunderbird-52.3.0::gentoo'`, `emerge -pqv 
'=mail-client/thunderbird-52.3.0::gentoo'`, and the complete build log.

>From the error message I can see that it likely has something to do with 
>either libpng or zlib.
I have both of those installed:

$ emerge --info libpng
--- >8 ---
media-libs/libpng-1.6.29::gentoo was built with the following:
USE="apng (-neon) -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse"

$ emerge --info zlib
--- >8 ---
sys-libs/zlib-1.2.11::gentoo was built with the following:
USE="minizip -static-libs" ABI_X86="32 (64) (-x32)"


I noticed that I have zlib-1.2.11 installed, though Thunderbird (or libpng?) is 
apparently trying to reference a symbol from zlib 1.2.9.
I tried downgrading to zlib 1.2.9, but...

# emerge --ask \=sys-libs/zlib-1.2.9

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=sys-libs/zlib-1.2.9".


I'd really appreciate any hints on what I'm doing wrong here. Thanks!


--

Regards,
Christoph

thunderbird-info.tar.gz
Description: application/compressed-tar


[gentoo-user] Balsa crashes on Send

2017-09-23 Thread Helmut Jarausch
Hi,
my standard mail client Balsa has been broken be some update or change of
settings.
Without having upgraded Balsa, it suddenly began to crash whenever I send
some email - or forward some email. It gets a segment fault within glib
(g_main_context_prepare)
Has anybody else encountered similar problems?
Many thanks for a hint,
Helmut
P.S. This email has been sent by a Python script.