Firefox doesn't build...

2017-11-10 Thread Patrick Dorion
... on amd-64.

simd doesn't build: sse2 not found in x86.  i tried a bunch of options, didn't 
work.


Patrick Dorion
📱 +1 438 345-4575

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: Firefox doesn't build...

2017-11-10 Thread Kurt Jaeger
Hi!

> ... on amd-64.
> 
> simd doesn't build: sse2 not found in x86.  i tried a bunch of options, 
> didn't work.

Can you provide a link to the build log ?

It builds here using poudriere, btw.

-- 
p...@opsec.eu+49 171 3101372 3 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox doesn't build...

2017-11-10 Thread Walter Schwarzenfeld

I had the same problem.
Set LLVM_PORT in lang/rust to off and
recompile rust.
This solved the problem with firefox.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox doesn't build...

2017-11-10 Thread Dimitry Andric
On 10 Nov 2017, at 22:43, Patrick Dorion  wrote:
> 
> ... on amd-64.
> 
> simd doesn't build: sse2 not found in x86.  i tried a bunch of options, 
> didn't work.

See https://bugs.freebsd.org/223415.  For now, rebuild lang/rust without the 
LLVM_PORT option.

-Dimitry



signature.asc
Description: Message signed with OpenPGP


Re: Firefox doesn't build...

2017-11-10 Thread Jan Beich
Dimitry Andric  writes:

> On 10 Nov 2017, at 22:43, Patrick Dorion  wrote:
>
>> 
>> ... on amd-64.
>> 
>> simd doesn't build: sse2 not found in x86.  i tried a bunch of options, 
>> didn't work.
>
> See https://bugs.freebsd.org/223415.  For now, rebuild lang/rust without the 
> LLVM_PORT option.

That's wrong one. https://bugs.freebsd.org/223342 is the one about PORT_LLVM 
regression
which affects www/firefox build (as opposed to runtime).
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


RE: Firefox doesn't build...

2017-11-11 Thread Patrick Dorion
Well I'm not sure what's going on with RUST and LLVM, and the option wasn't on 
when I checked the config, but I'll try rebuild it, and let you know...

Also, someone asked for the install log... I guess there's no need for it since 
it's a known issue ( I lost it  ._. )...

I was also having problems compiling www/firefox-ecr except with the default 
build settings; again, I tried a bunch of combinations, including not building 
components written in RUST, and it failed every single time...  I'm very 
frustrated at this, but Chromium doesn't compile either, Opera doesn't work 
properly and is outdated, and I just plain want to use Firefox...  It's just 
the best and most sensible and versatile option...

I'm kinda pissed because I've been trying to build it for two whole days now 
(and I have insomnia because of a medication right now), and this right after I 
decide to wipe my system to rebuild the filesystem and datasets, and remove all 
binary packages I had mixed with ports (someone said on the forum it wasn't a 
good idea to mix-and-match, and I prefer ports, anyway... I think it's probably 
more performant this way, but I could be wrong).  I built Xorg and PulseAudio 
without major problems, but now I'm trying to build what are probably the most 
popular pieces of software on the planet - not just on FreeBSD - and it just 
keeps borking, it's kind of disappointing...  I don't really need my commitment 
to be tested right now, I need to find stability because this is starting to 
affect my life...  I'm feeling messy/dirty...  : [

Thanks for listening  : \

... and for helping...  : D

When I have something working, and/or when I've completely given-up, I'll run 
the build one last time for each, and send you the logs.  Thanks for letting me 
know about the RUST thing, and I just wanted you guys to know I hadn't 
forgotten about you, I'm just trying to build various ways, and sometimes I 
build other things in between since it's a new system, lots of catching-up and 
configuring to do...  Can't wait to have a working, stable, fully-functional, 
fully-optimized Firefox binary I can use on this system...  Crazy how much goes 
on through just the browser, how big a place it has in probably not just my 
life...  FreeBSD helps with that, I was suffocating in Windows, and had to 
reset it, which is why I'm back since the KMS video drivers are completed... 
not unhappy...  Despite this, I'm still happy about FreeBSD, how far it's come, 
how strong, and oriented it is, how committed and capable the people working on 
it are, and what kind of individual they are...  I'm rambling, I need sleep, 
and a hug...  -_-  I'm so tired, but I can't fall asleep. fml.


Patrick Dorion
📱 +1 438 345-4575



From: Jan Beich [jbe...@freebsd.org]
Sent: Friday, November 10, 2017 19:25
To: Dimitry Andric
Cc: Patrick Dorion; ge...@freebsd.org; freebsd-ports@freebsd.org
Subject: Re: Firefox doesn't build...

Dimitry Andric  writes:

> On 10 Nov 2017, at 22:43, Patrick Dorion  wrote:
>
>>
>> ... on amd-64.
>>
>> simd doesn't build: sse2 not found in x86.  i tried a bunch of options, 
>> didn't work.
>
> See https://bugs.freebsd.org/223415.  For now, rebuild lang/rust without the 
> LLVM_PORT option.

That's wrong one. https://bugs.freebsd.org/223342 is the one about PORT_LLVM 
regression
which affects www/firefox build (as opposed to runtime).
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: Firefox doesn't build...

2017-11-11 Thread Jonathan Chen
On 12 November 2017 at 05:58, Patrick Dorion  wrote:
> Well I'm not sure what's going on with RUST and LLVM, and the option wasn't 
> on when I checked the config, but I'll try rebuild it, and let you know...

Make sure you build your ports using poudriere or synth. Using
non-clean room build systems will usually result in a lot of lost time
trying to figure out which of your installed ports breaks your current
build.

Cheers.
-- 
Jonathan Chen 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox (Doesn't) Build

2017-11-11 Thread Patrick Dorion
What's the difference between using Poudriere or Synth, though?

This is a clean system, I can't imagine a jail being cleaner... it was unpacked 
from the DVD the day before yesterday

Also, how do you run PGO (profile-guided optimizations) while building in a 
jail?  You need a running X server and access to it for that

This doesn't make sense...  Firefox, or any software, should build just fine on 
my system as it is...  Everything else does, so why not Firefox?  Like...  I 
don't see why you recommend those third-party software...

If you were trying to brush me off, I think that's just too low...


Patrick Dorion
📱 +1 438 345-4575



From: Patrick Dorion
Sent: Saturday, November 11, 2017 16:48
To: j...@chen.org.nz; li...@opsec.eu
Subject:

Damn, guys...  I'm going to try with Synth...

Howcome it's the first time I hear about this process/procedure..?  I don't 
remember anyone ever recommending this, or even talking about this, much less 
the handbook or any manual page recommending this process of building in a 
clean environment using a helper...

Not fair...  ._.

Anyway, I'll let you know how it goes


Patrick Dorion
📱 +1 438 345-4575


From: Jonathan Chen [j...@chen.org.nz]
Sent: Saturday, November 11, 2017 14:47
To: Patrick Dorion
Cc: freebsd-ports@freebsd.org
Subject: Re: Firefox doesn't build...

On 12 November 2017 at 05:58, Patrick Dorion  wrote:
> Well I'm not sure what's going on with RUST and LLVM, and the option wasn't 
> on when I checked the config, but I'll try rebuild it, and let you know...

Make sure you build your ports using poudriere or synth. Using
non-clean room build systems will usually result in a lot of lost time
trying to figure out which of your installed ports breaks your current
build.

Cheers.
--
Jonathan Chen 


From: Kurt Jaeger [li...@opsec.eu]
Sent: Saturday, November 11, 2017 16:38
To: Patrick Dorion
Cc: freebsd-ports@freebsd.org
Subject: Re: Firefox doesn't build... [OUTPUT LOGS]

Hi!

> I hope this helps, and if there's anything I can try, please let me know...

Use poudriere to build firefox, then 'pkg add' that locally-build firefox
package.

--
p...@opsec.eu+49 171 3101372 3 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Re: Firefox (Doesn't) Build

2017-11-11 Thread Jan Beich
Patrick Dorion  writes:

> What's the difference between using Poudriere or Synth, though?
>
> This is a clean system, I can't imagine a jail being cleaner... it was
> unpacked from the DVD the day before yesterday
>
> Also, how do you run PGO (profile-guided optimizations) while building
> in a jail?  You need a running X server and access to it for that

PGO is simply broken for architectures that default to libc++.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223563
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox (Doesn't) Build

2017-11-11 Thread Jonathan Chen
On 12 November 2017 at 12:16, Patrick Dorion  wrote:
> What's the difference between using Poudriere or Synth, though?
>
> This is a clean system, I can't imagine a jail being cleaner... it was 
> unpacked from the DVD the day before yesterday

Both are clean room builds; ie where only minimal build dependancies
are installed for each port build. The main difference is that:
 * poudriere uses jails to achieve this
 * synth uses unionfs+chroot to achieve this

Cheers.
-- 
Jonathan Chen 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox (Doesn't) Build

2017-11-12 Thread Grzegorz Junka

On 12/11/2017 07:14, Jonathan Chen wrote:

On 12 November 2017 at 12:16, Patrick Dorion  wrote:

What's the difference between using Poudriere or Synth, though?

This is a clean system, I can't imagine a jail being cleaner... it was unpacked 
from the DVD the day before yesterday

Both are clean room builds; ie where only minimal build dependancies
are installed for each port build. The main difference is that:
  * poudriere uses jails to achieve this
  * synth uses unionfs+chroot to achieve this


Does it mean synth can't be used on ZFS? AFAIK unionfs isn't properly 
supported on ZFS, i.e. a file that exists in the underlying fs can't be 
marked as deleted in the overlying fs.


GrzegorzJ
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox (Doesn't) Build

2017-11-12 Thread Baho Utot



On 11/12/17 06:03, Grzegorz Junka wrote:

On 12/11/2017 07:14, Jonathan Chen wrote:
On 12 November 2017 at 12:16, Patrick Dorion 
 wrote:

What's the difference between using Poudriere or Synth, though?

This is a clean system, I can't imagine a jail being cleaner... it 
was unpacked from the DVD the day before yesterday

Both are clean room builds; ie where only minimal build dependancies
are installed for each port build. The main difference is that:
  * poudriere uses jails to achieve this
  * synth uses unionfs+chroot to achieve this


Does it mean synth can't be used on ZFS? AFAIK unionfs isn't properly 
supported on ZFS, i.e. a file that exists in the underlying fs can't be 
marked as deleted in the overlying fs.


GrzegorzJ



I use synth on a ZFS raid systemworks fine
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox doesn't build...

2017-11-12 Thread Matthias Apitz
El día sábado, noviembre 11, 2017 a las 01:25:38a. m. +0100, Jan Beich escribió:

> Dimitry Andric  writes:
> 
> > On 10 Nov 2017, at 22:43, Patrick Dorion  wrote:
> >
> >> 
> >> ... on amd-64.
> >> 
> >> simd doesn't build: sse2 not found in x86.  i tried a bunch of options, 
> >> didn't work.
> >
> > See https://bugs.freebsd.org/223415.  For now, rebuild lang/rust without 
> > the LLVM_PORT option.
> 
> That's wrong one. https://bugs.freebsd.org/223342 is the one about PORT_LLVM 
> regression
> which affects www/firefox build (as opposed to runtime).

Hello,

I've read this mail thread and the PR, but I'm now unsure what to set or
unset;

Someone (Walter Schwarzenfeld) said here:

Set LLVM_PORT in lang/rust to off and
recompile rust.
This solved the problem with firefox.

If I run 'make config' in lang/rust, there is no LLVM_PORT option,
only PORT_LLVM and the generated options file is:

# This file is auto-generated by 'make config'.
# Options for rust-1.21.0_1
_OPTIONS_READ=rust-1.21.0_1
_FILE_COMPLETE_OPTIONS_LIST=DOCS GDB LLNEXTGEN PORT_LLVM SOURCES
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_UNSET+=GDB
OPTIONS_FILE_UNSET+=LLNEXTGEN
OPTIONS_FILE_UNSET+=PORT_LLVM
OPTIONS_FILE_UNSET+=SOURCES


What should I set or unset exactly?

Thanks

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox doesn't build...

2017-11-12 Thread Walter Schwarzenfeld

Sprry. I puzzled the name of the option.
I meant PORT_LLVM.

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox (Doesn't) Build

2017-11-12 Thread Jonathan Chen
On 13 November 2017 at 00:03, Grzegorz Junka  wrote:
> On 12/11/2017 07:14, Jonathan Chen wrote:
>>
>> On 12 November 2017 at 12:16, Patrick Dorion 
>> wrote:
>>>
>>> What's the difference between using Poudriere or Synth, though?
>>>
>>> This is a clean system, I can't imagine a jail being cleaner... it was
>>> unpacked from the DVD the day before yesterday
>>
>> Both are clean room builds; ie where only minimal build dependancies
>> are installed for each port build. The main difference is that:
>>   * poudriere uses jails to achieve this
>>   * synth uses unionfs+chroot to achieve this
>
>
> Does it mean synth can't be used on ZFS? AFAIK unionfs isn't properly
> supported on ZFS, i.e. a file that exists in the underlying fs can't be
> marked as deleted in the overlying fs.

synth uses unionfs for read-only access to the build-host's files; eg:
ports-dir, system binaries. In normal operation, all build artifacts
are generated onto on an isolated tmpfs filesystem. There are no
additions/removals on the build-host's filesystem.

Cheers.
-- 
Jonathan Chen 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox (Doesn't) Build

2017-11-12 Thread Jonathan Chen
On 13 November 2017 at 07:33, Jonathan Chen  wrote:
> On 13 November 2017 at 00:03, Grzegorz Junka  wrote:
>> On 12/11/2017 07:14, Jonathan Chen wrote:
>>>
>>> On 12 November 2017 at 12:16, Patrick Dorion 
>>> wrote:

 What's the difference between using Poudriere or Synth, though?

 This is a clean system, I can't imagine a jail being cleaner... it was
 unpacked from the DVD the day before yesterday
>>>
>>> Both are clean room builds; ie where only minimal build dependancies
>>> are installed for each port build. The main difference is that:
>>>   * poudriere uses jails to achieve this
>>>   * synth uses unionfs+chroot to achieve this
>>
>>
>> Does it mean synth can't be used on ZFS? AFAIK unionfs isn't properly
>> supported on ZFS, i.e. a file that exists in the underlying fs can't be
>> marked as deleted in the overlying fs.
>
> synth uses unionfs for read-only access to the build-host's files; eg:
> ports-dir, system binaries. In normal operation, all build artifacts
> are generated onto on an isolated tmpfs filesystem. There are no
> additions/removals on the build-host's filesystem.

Sorry, this is not true. The build logs and generated packages *do*
affect the build-host's filesystem; but the build operations do not.

Cheers.
-- 
Jonathan Chen 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox doesn't build...

2017-11-12 Thread Matthias Apitz
El día domingo, noviembre 12, 2017 a las 06:52:56p. m. +0100, Walter 
Schwarzenfeld escribió:

> Sprry. I puzzled the name of the option.
> I meant PORT_LLVM.

Ok, but this seems to be unset by default:

# This file is auto-generated by 'make config'.
# Options for rust-1.21.0_1
_OPTIONS_READ=rust-1.21.0_1
_FILE_COMPLETE_OPTIONS_LIST=DOCS GDB LLNEXTGEN PORT_LLVM SOURCES
OPTIONS_FILE_SET+=DOCS
OPTIONS_FILE_UNSET+=GDB
OPTIONS_FILE_UNSET+=LLNEXTGEN
OPTIONS_FILE_UNSET+=PORT_LLVM<*
OPTIONS_FILE_UNSET+=SOURCES

or I'm wrong?

matthias
-- 
Matthias Apitz, ✉ g...@unixarea.de, ⌂ http://www.unixarea.de/  ☎ 
+49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub


signature.asc
Description: PGP signature


Re: Firefox doesn't build...

2017-11-12 Thread Walter Schwarzenfeld

Yes, it is unset by default.
I changed it to reduce compile time.
(Maybe, some other do it for the same
reason).

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Firefox doesn't build... [OUTPUT LOGS]

2017-11-11 Thread Kurt Jaeger
Hi!

> I hope this helps, and if there's anything I can try, please let me know...

Use poudriere to build firefox, then 'pkg add' that locally-build firefox
package.

-- 
p...@opsec.eu+49 171 3101372 3 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"