Re: Firefox and sndio

2017-01-28 Thread Jan Beich
Mike Clarke  writes:

> On Sat, 28 Jan 2017 14:58:51 +
> Grzegorz Junka  wrote:
>
>> On 28/01/2017 11:37, Tobias Kortkamp wrote:
>> > On Sat, Jan 28, 2017, at 11:23, Grzegorz Junka wrote:  
>> >> Audio in Firefox seems to be working fine when ALSA is enabled. But when
>> >> ALSA is disabled and only SNDIO is enabled there is no sound. In either
>> >> case I had PULSEAUDIO disabled. What's the expected configuration for
>> >> this to work?  
>> > Is sndiod running?  If not:
>> >
>> >  sysrc sndiod_enable=YES
>> >  service sndiod start
>> >  
>> 
>> Thanks Tobias. That helped. Out of interest. Is there any reason why I 
>> should prefer either SNDIO, PUlSEAUDIO or ALSA?
>
> This currently creates a problem for those of us using Firefox from
> packages because the default build has SNDIO turned off.
>
> $ pkg info firefox
[...]
> ALSA   : on
[...]
> PULSEAUDIO : on
[...]
> SNDIO  : off

Only backends that support lazy bindings are enabled by default i.e.,
try PULSEAUDIO, if N/A fallback to ALSA, if N/A fallback to native OSS.
SNDIO has lower priority than ALSA in libcubeb but higher in WebRTC and
cannot fallback to native OSS as well. SNDIO currently doesn't work
inside jail and neither sndiod nor Firefox support Capsicum sandboxing,
so falling back to ALSA (or OSS) is important.

As Firefox lacks a preference to force a specific audio backend if many
are available we're stuck juggling dlopen(3) priorities e.g., SNDIO can
be tried before PULSEAUDIO but after JACK, then ALSA, then OSS.
___
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: a quick question about make package-recursive

2017-01-28 Thread John
Hi,

On Sat, 28 Jan 2017, at 19:25, Matthew Seaman wrote:

> Hint: use poudriere.  You're going to have a one-time hit to generate a
> repository full of packages, but after that, poudriere will be much
> cleverer about working out what is necessary to rebuild.

Does poudriere work on aarch64? I heard somewhere that was not the case
(it might have been in the context of cross-compiling though amd64 to
aarch64 - my use context is not (i.e it's entirely aarch64)).
--  
J.
___
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"


[Bug 15665] Update port: mail/balsa to 0.6.0

2017-01-28 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=15665

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: sanpei
Date: Sun Jan 29 00:15:31 UTC 2017
New revision: 432694
URL: https://svnweb.freebsd.org/changeset/ports/432694

Log:
  use system clang.

  PR:   15665

Changes:
  head/mail/xpbiff/Makefile
  head/mail/xpbiff/files/patch-config.h

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
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 and sndio

2017-01-28 Thread Mike Clarke
On Sat, 28 Jan 2017 14:58:51 +
Grzegorz Junka  wrote:

> On 28/01/2017 11:37, Tobias Kortkamp wrote:
> > On Sat, Jan 28, 2017, at 11:23, Grzegorz Junka wrote:  
> >> Audio in Firefox seems to be working fine when ALSA is enabled. But when
> >> ALSA is disabled and only SNDIO is enabled there is no sound. In either
> >> case I had PULSEAUDIO disabled. What's the expected configuration for
> >> this to work?  
> > Is sndiod running?  If not:
> >
> >  sysrc sndiod_enable=YES
> >  service sndiod start
> >  
> 
> Thanks Tobias. That helped. Out of interest. Is there any reason why I 
> should prefer either SNDIO, PUlSEAUDIO or ALSA?

This currently creates a problem for those of us using Firefox from
packages because the default build has SNDIO turned off.

$ pkg info firefox
firefox-51.0_2,1
Name   : firefox
Version: 51.0_2,1
Installed on   : Sat Jan 28 09:32:22 2017 GMT
Origin : www/firefox
Architecture   : freebsd:11:x86:64
Prefix : /usr/local
Categories : ipv6 www
Licenses   : 
Maintainer : ge...@freebsd.org
WWW: http://www.mozilla.com/firefox
Comment: Web browser based on the browser portion of Mozilla
Options:
ALSA   : on
BUNDLED_CAIRO  : on
CANBERRA   : off
DBUS   : on
DEBUG  : off
DTRACE : on
FFMPEG : on
GCONF  : off
GNOMEUI: off
GTK2   : off
GTK3   : on
INTEGER_SAMPLES: off
LIBPROXY   : off
OPTIMIZED_CFLAGS: on
PGO: off
PROFILE: off
PULSEAUDIO : on
RUST   : on
SNDIO  : off
TEST   : off

[snip]

Annotations:
cpe:
cpe:2.3:a:mozilla:firefox:51.0:freebsd11:x64:2 no_provide_shlib: yes
repo_type  : binary
repository : FreeBSD


-- 
Mike Clarke
___
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: a quick question about make package-recursive

2017-01-28 Thread Matthew Seaman
On 28/01/2017 17:17, tech-lists wrote:
> Is make package-recursive smart enough to detect when:
> 
> 1. there is already a package in /usr/ports/packages (so that it doesn't
> re-make a package for an installed port)
> 
> 2. a port is installed but there is no package (so that it just installs
> the package into /usr/ports/packages)
> 

No, 'make package-recursive' is not smart enough to handle either of
those conditions in anything like the way you would like.

Hint: use poudriere.  You're going to have a one-time hit to generate a
repository full of packages, but after that, poudriere will be much
cleverer about working out what is necessary to rebuild.

Cheers,

Matthew




signature.asc
Description: OpenPGP digital signature


a quick question about make package-recursive

2017-01-28 Thread tech-lists
Hello ports@,

Is make package-recursive smart enough to detect when:

1. there is already a package in /usr/ports/packages (so that it doesn't
re-make a package for an installed port)

2. a port is installed but there is no package (so that it just installs
the package into /usr/ports/packages)

Let's say I'm in /usr/ports/mail/mutt. There are some (but not all)
build dependencies installed, and some (but not all) run dependencies
installed. All of these have packages built, and I'm not running make
clean. Assume I'm not changing anything with make configure or
configure-recursive. If I type make package-recursive in
/usr/ports/mail/mutt, is it going to re-make the packages for all the
stuff already installed?

For context, this is on aarch64. I don't want it to spend time
recompiling packages it already has. What I'm doing at the moment is
keeping an eye on build and run dependencies, and going into each one
and typing make package, so that at some time in the future, if I have
to reinstall from scratch, I can point pkg at the packages I've already
made. Basically I want to know if there's a smarter way of doing this. I
*think* I saw a ports dependencies being written a new package despite
the package already being there.

thanks,
-- 
J.
___
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 and sndio

2017-01-28 Thread Tobias Kortkamp
On Sat, Jan 28, 2017, at 16:08, Marco Beishuizen wrote:
> Works fine here with SNDIO enabled and ALSA/PULSEAUDIO disabled (with an 
> Audigy2, emu10kx driver in kernel). I don't have an sndiod running.

Good to know, but if no sndiod is running then libsndio will
default to /dev/dsp0 instead of using whatever you set in
hw.snd.default_unit.  The rc script takes that into account and
looks at the sysctl and starts the daemon with the correct flags.
It's no surprise when it doesn't work out of the box for some
people.

Another caveat is that you will not get any application level
volume control without a running daemon.

There is maybe an upcoming patch to change this, but I still
recommend you run sndiod for now.
___
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 and sndio

2017-01-28 Thread Marco Beishuizen

On Sat, 28 Jan 2017, the wise Grzegorz Junka wrote:

Audio in Firefox seems to be working fine when ALSA is enabled. But when 
ALSA is disabled and only SNDIO is enabled there is no sound. In either 
case I had PULSEAUDIO disabled. What's the expected configuration for 
this to work?


Works fine here with SNDIO enabled and ALSA/PULSEAUDIO disabled (with an 
Audigy2, emu10kx driver in kernel). I don't have an sndiod running.


Regards,
Marco
--
We prefer to believe that the absence of inverted commas guarantees the
originality of a thought, whereas it may be merely that the utterer has
forgotten its source.
-- Clifton Fadiman, "Any Number Can Play"
___
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 and sndio

2017-01-28 Thread Grzegorz Junka


On 28/01/2017 11:37, Tobias Kortkamp wrote:

On Sat, Jan 28, 2017, at 11:23, Grzegorz Junka wrote:

Audio in Firefox seems to be working fine when ALSA is enabled. But when
ALSA is disabled and only SNDIO is enabled there is no sound. In either
case I had PULSEAUDIO disabled. What's the expected configuration for
this to work?

Is sndiod running?  If not:

 sysrc sndiod_enable=YES
 service sndiod start



Thanks Tobias. That helped. Out of interest. Is there any reason why I 
should prefer either SNDIO, PUlSEAUDIO or ALSA?


___
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"


pkg-fallout timeouts way too early (Was: svn commit: r432323 - branches/2017Q1/print/texlive-texmf)

2017-01-28 Thread Jan Beich
Jan Beich  writes:

> Author: jbeich
> Date: Tue Jan 24 11:48:07 2017
> New Revision: 432323
> URL: https://svnweb.freebsd.org/changeset/ports/432323
>
> Log:
>   MFH: r432322
>   
>   print/texlive-texmf: unbreak on aarch64 on real hardware
>   
>   ===
>   ===>  Building package for texlive-texmf-20150523_3
>   pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
>   >> Killing timed out build after 3600 seconds
[...]
> +++ branches/2017Q1/print/texlive-texmf/Makefile  Tue Jan 24 11:48:07 
> 2017(r432323)
> @@ -24,6 +24,7 @@ TEXHASHDIRS=${TEXMFDIR} ${TEXMFDISTDIR}
>  NO_BUILD=yes
>  NO_WRKSUBDIR=yes
>  NO_ARCH= yes
> +PKG_CREATE_VERBOSE=  yes

Doesn't help. Any clue why? poudriere has MAX_EXECUTION_TIME=86400 by default,
so aarch64 buildbot appears to shoot itself in the foot.

===
===>  Building package for texlive-texmf-20150523_3
pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
file sizes/checksums [85605]: .. done
packing files[85605]: ..>> Killing timed out build after 3600 
seconds

http://thunderx1.nyi.freebsd.org/data/110arm64-quarterly/432603/logs/errors/texlive-texmf-20150523_3.log

___
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 and sndio

2017-01-28 Thread Tobias Kortkamp
On Sat, Jan 28, 2017, at 11:23, Grzegorz Junka wrote:
> Audio in Firefox seems to be working fine when ALSA is enabled. But when 
> ALSA is disabled and only SNDIO is enabled there is no sound. In either 
> case I had PULSEAUDIO disabled. What's the expected configuration for 
> this to work?

Is sndiod running?  If not:

sysrc sndiod_enable=YES
service sndiod start
___
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: devel/cargo build failure

2017-01-28 Thread Mathieu Arnold
Le 24/01/2017 à 18:57, Mathieu Arnold a écrit :
> Le 24/01/2017 à 18:47, David Wolfskill a écrit :
>> On Tue, Jan 24, 2017 at 06:33:29PM +0100, Mathieu Arnold wrote:
>>> Le 24/01/2017 à 16:52, Bob Willcox a écrit :
 When trying to build devel/cargo I get this error:

 /xports/Mk/Scripts/checksum.sh: cannot open 
 2016-11-02/cargo-nightly-x86_64-unknown-freebsd.tar.gz: No such file or 
 directory
 *** Error code 2

 Stop.
 make: stopped in /xports/devel/cargo

 Anyone have any ideas why and what I can do to overcome it?
>>> Ok, so, the port changed the directory this file is fetched in, to fix
>>> the problem, you'll need to remove the
>>> cargo-nightly-x86_64-unknown-freebsd.tar.gz from /usr/ports/distfiles
>>> (or whereever your distfiles are)
>>> 
>> Thanks -- that worked for me.
> So, I opened PR #216442 to see if the code that made this problem was
> legacy or not, an exp-run will tell :-)

And I committed a fix in r432617, if anyone ever does the "let's move
one of my distfiles in a subdirectory without using DIST_SUBDIR to move
all of them" dance again, fetching won't fail if the old distfile is
still around.


-- 
Mathieu Arnold




signature.asc
Description: OpenPGP digital signature


Firefox and sndio

2017-01-28 Thread Grzegorz Junka
Audio in Firefox seems to be working fine when ALSA is enabled. But when 
ALSA is disabled and only SNDIO is enabled there is no sound. In either 
case I had PULSEAUDIO disabled. What's the expected configuration for 
this to work?


___
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"