Okular or any pdf reader

2017-10-25 Thread blubee blubeeme
Whenever I try to launch any audio pdf viewer program my computer hard
locks up and I have to power cycle.

Does anyone have any info as to why?
uname -v:
FreeBSD 12.0-CURRENT #0 r319752: Sat Jun 10 01:59:26 CST 2017 blubee.me:
/usr/obj/usr/src/sys/GENERIC
___
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: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky

On 10/25/17 11:30, blubee blubeeme wrote:

  any audio pdf viewer


Audio??

Do you have a kernel trace or dmesg ?

--HPS
___
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: Okular or any pdf reader

2017-10-25 Thread blubee blubeeme
Typo on the [audio]

Here's my /var/log/messages for the past hour or so, the failure should be
logged in there somewhere: https://pastebin.com/FCkXEn1v

Other than that there's this: https://ibb.co/gUBVkm

On Wed, Oct 25, 2017 at 5:29 PM, Hans Petter Selasky 
wrote:

> On 10/25/17 11:30, blubee blubeeme wrote:
>
>>   any audio pdf viewer
>>
>
> Audio??
>
> Do you have a kernel trace or dmesg ?
>
> --HPS
>
___
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: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky

On 10/25/17 11:39, blubee blubeeme wrote:

Typo on the [audio]

Here's my /var/log/messages for the past hour or so, the failure should be
logged in there somewhere: https://pastebin.com/FCkXEn1v

Other than that there's this: https://ibb.co/gUBVkm



Try:

dbus-launch okular

--HPS

___
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: Okular or any pdf reader

2017-10-25 Thread blubee blubeeme
That also hard locked my computer, /var/log/messages below:

Oct 25 17:52:52 blubee syslogd: kernel boot file is /boot/kernel/kernel
Oct 25 17:52:52 blubee kernel: Copyright (c) 1992-2017 The FreeBSD Project.
Oct 25 17:52:52 blubee kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
1989, 1991, 1992, 1993, 1994
Oct 25 17:52:52 blubee kernel: The Regents of the University of California.
All rights reserved.
Oct 25 17:52:52 blubee kernel: FreeBSD is a registered trademark of The
FreeBSD Foundation.
Oct 25 17:52:52 blubee kernel: FreeBSD 12.0-CURRENT #0 r319752: Sat Jun 10
01:59:26 CST 2017
Oct 25 17:52:52 blubee kernel: r...@blubee.me:/usr/obj/usr/src/sys/GENERIC
amd64
Oct 25 17:52:52 blubee kernel: FreeBSD clang version 4.0.0
(tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
Oct 25 17:52:52 blubee kernel: WARNING: WITNESS option enabled, expect
reduced performance.
Oct 25 17:52:52 blubee kernel: VT(vga): resolution 640x480
Oct 25 17:52:52 blubee kernel: CPU: Intel(R) Core(TM) i7-6700HQ CPU @
2.60GHz (2592.09-MHz K8-class CPU)
Oct 25 17:52:52 blubee kernel: Origin="GenuineIntel"  Id=0x506e3
 Family=0x6  Model=0x5e  Stepping=3
Oct 25 17:52:52 blubee kernel:
Features=0xbfebfbff
Oct 25 17:52:52 blubee kernel:
Features2=0x7ffafbbf
Oct 25 17:52:52 blubee kernel: AMD
Features=0x2c100800
Oct 25 17:52:52 blubee kernel: AMD Features2=0x121
Oct 25 17:52:52 blubee kernel: Structured Extended
Features=0x29c6fbf
Oct 25 17:52:52 blubee kernel: XSAVE
Features=0xf
Oct 25 17:52:52 blubee kernel: VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
Oct 25 17:52:52 blubee kernel: TSC: P-state invariant, performance
statistics
Oct 25 17:52:52 blubee kernel: real memory  = 34359738368 (32768 MB)
Oct 25 17:52:52 blubee kernel: avail memory = 33147437056 (31611 MB)
Oct 25 17:52:52 blubee kernel: Event timer "LAPIC" quality 600
Oct 25 17:52:52 blubee kernel: ACPI APIC Table: 
Oct 25 17:52:52 blubee kernel: FreeBSD/SMP: Multiprocessor System Detected:
8 CPUs
Oct 25 17:52:52 blubee kernel: FreeBSD/SMP: 1 package(s) x 4 core(s) x 2
hardware threads
Oct 25 17:52:52 blubee kernel: random: unblocking device.
Oct 25 17:52:52 blubee kernel: ioapic0  irqs 0-119 on
motherboard
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #1 Launched!
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #4 Launched!
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #2 Launched!
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #5 Launched!
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #6 Launched!
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #3 Launched!
Oct 25 17:52:52 blubee kernel: SMP: AP CPU #7 Launched!
Oct 25 17:52:52 blubee kernel: Timecounter "TSC-low" frequency 1296044542
Hz quality 1000
Oct 25 17:52:52 blubee kernel: random: entropy device external interface
Oct 25 17:52:52 blubee kernel: netmap: loaded module
Oct 25 17:52:52 blubee kernel: [ath_hal] loaded
Oct 25 17:52:52 blubee kernel: module_register_init: MOD_LOAD (vesa,
0x80f5af40, 0) error 19
Oct 25 17:52:52 blubee kernel: random: registering fast source Intel Secure
Key RNG
Oct 25 17:52:52 blubee kernel: random: fast provider: "Intel Secure Key RNG"
Oct 25 17:52:52 blubee kernel: kbd1 at kbdmux0
Oct 25 17:52:52 blubee kernel: nvidia-modeset: Loading NVIDIA Kernel Mode
Setting Driver for UNIX platforms  375.66  Mon May  1 15:00:06 PDT 2017
Oct 25 17:52:52 blubee kernel: acquiring duplicate lock of same type:
"os.lock_sx"
Oct 25 17:52:52 blubee kernel: 1st os.lock_sx @ nvidia_os.c:639
Oct 25 17:52:52 blubee kernel: 2nd os.lock_sx @ nvidia_os.c:639
Oct 25 17:52:52 blubee kernel: stack backtrace:
Oct 25 17:52:52 blubee kernel: #0 0x80ab6f30 at
witness_debugger+0x70
Oct 25 17:52:52 blubee kernel: #1 0x80ab6e23 at
witness_checkorder+0xe23
Oct 25 17:52:52 blubee kernel: #2 0x80a5de3e at _sx_xlock+0x5e
Oct 25 17:52:52 blubee kernel: #3 0x82f40582 at
os_acquire_mutex+0x32
Oct 25 17:52:52 blubee kernel: #4 0x82e492ac at _nv019230rm+0xc
Oct 25 17:52:52 blubee kernel: nexus0
Oct 25 17:52:52 blubee kernel: vtvga0:  on motherboard
Oct 25 17:52:52 blubee kernel: cryptosoft0:  on motherboard
Oct 25 17:52:52 blubee kernel: acpi0:  on motherboard
Oct 25 17:52:52 blubee kernel: acpi0: Power Button (fixed)
Oct 25 17:52:52 blubee kernel: ACPI Error: Method parse/execution failed
\_SB.PCI0.IOTR._CRS, AE_AML_NO_RESOURCE_END_TAG (20170531/psparse-677)
Oct 25 17:52:52 blubee kernel: ACPI Error: Method execution failed
\_SB.PCI0.IOTR._CRS, AE_AML_NO_RESOURCE_END_TAG (20170531/uteval-219)
Oct 25 17:52:52 blubee kernel: can't fetch resources for \_SB_.PCI0.IOTR -
AE_AML_NO_RESOURCE_END_TAG
Oct 25 17:52:52 blubee kernel: cpu0:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu1:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu2:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu3:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu4:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu5:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu6:  on acpi0
Oct 25 17:52:52 blubee kernel: cpu7:  on acpi0
Oct 25 17:52:52 blubee kernel: hpet0:  iomem
0xfed0-0

Re: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky

On 10/25/17 11:55, blubee blubeeme wrote:

"os.lock_mtx"
Oct 25 17:52:58 blubee kernel: 1st os.lock_mtx @ nvidia_os.c:841
Oct 25 17:52:58 blubee kernel: 2nd os.lock_mtx @ nvidia_os.c:841
Oct 25 17:52:58 blubee kernel: stack backtrace:
Oct 25 17:52:58 blubee kernel: #0 0x80ab6f30 at
witness_debugger+0x70
Oct 25 17:52:58 blubee kernel: #1 0x80ab6e23 at
witness_checkorder+0xe23
Oct 25 17:52:58 blubee kernel: #2 0x80a35293 at
__mtx_lock_flags+0x93
Oct 25 17:52:58 blubee kernel: #3 0x82f4097b at
os_acquire_spinlock+0x1b
Oct 25 17:52:58 blubee kernel: #4 0x82c45b15 at _nv012002rm+0x185
Oct 25 17:52:58 blubee kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM:
Argument #4 type mismatch - Found [Buffer], ACPI requires [Package]
(20170531/nsarguments-205)
Oct 25 17:52:59 blubee kernel: nvidia-modeset: Allocated GPU:0
(GPU-54a7b304-c99d-efee-0117-0ce119063cd6) @ PCI::01:00.0




Hi,

Try: CTRL+ALT+F1
Or SSH into this machine.

Then do:

procstat -ak

It will reveal any hangs and deadlocks.

Further I note you're using 12-current with the NVIDIA driver. That 
might not be a supported configuration :-( Especially nowadays some core 
kernel structures are changing, which means NVIDIA needs to recompile 
their binary blob aswell!


--HPS
___
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: Okular or any pdf reader

2017-10-25 Thread blubee blubeeme
The GPUT thing is pretty terrible so I know i'm risking things with that,
have no choice until I can take some time to try that drm-kmod.

Speaking of which, those commands do not work; I am on a laptop and if I
try to change terms like that the nvidia drivers just panic and die. screen
looks like when old nintendo would freeze with the colorful junk on screen.

I don't have another machine that can ssh into this one, any other options?

On Wed, Oct 25, 2017 at 5:58 PM, Hans Petter Selasky 
wrote:

> On 10/25/17 11:55, blubee blubeeme wrote:
>
>> "os.lock_mtx"
>> Oct 25 17:52:58 blubee kernel: 1st os.lock_mtx @ nvidia_os.c:841
>> Oct 25 17:52:58 blubee kernel: 2nd os.lock_mtx @ nvidia_os.c:841
>> Oct 25 17:52:58 blubee kernel: stack backtrace:
>> Oct 25 17:52:58 blubee kernel: #0 0x80ab6f30 at
>> witness_debugger+0x70
>> Oct 25 17:52:58 blubee kernel: #1 0x80ab6e23 at
>> witness_checkorder+0xe23
>> Oct 25 17:52:58 blubee kernel: #2 0x80a35293 at
>> __mtx_lock_flags+0x93
>> Oct 25 17:52:58 blubee kernel: #3 0x82f4097b at
>> os_acquire_spinlock+0x1b
>> Oct 25 17:52:58 blubee kernel: #4 0x82c45b15 at _nv012002rm+0x185
>> Oct 25 17:52:58 blubee kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM:
>> Argument #4 type mismatch - Found [Buffer], ACPI requires [Package]
>> (20170531/nsarguments-205)
>> Oct 25 17:52:59 blubee kernel: nvidia-modeset: Allocated GPU:0
>> (GPU-54a7b304-c99d-efee-0117-0ce119063cd6) @ PCI::01:00.0
>>
>>
>>
> Hi,
>
> Try: CTRL+ALT+F1
> Or SSH into this machine.
>
> Then do:
>
> procstat -ak
>
> It will reveal any hangs and deadlocks.
>
> Further I note you're using 12-current with the NVIDIA driver. That might
> not be a supported configuration :-( Especially nowadays some core kernel
> structures are changing, which means NVIDIA needs to recompile their binary
> blob aswell!
>
> --HPS
>
___
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: Okular or any pdf reader

2017-10-25 Thread blubee blubeeme
Okay, I tried using chatbot for android to ssh into this laptop and that
works just fine.
Then when I launch okular the computer had locks up and the ssh dies on the
phone as well. So it seems not even ssh works when this this freezes up.

Any other suggestions?

On Wed, Oct 25, 2017 at 6:05 PM, blubee blubeeme 
wrote:

> The GPUT thing is pretty terrible so I know i'm risking things with that,
> have no choice until I can take some time to try that drm-kmod.
>
> Speaking of which, those commands do not work; I am on a laptop and if I
> try to change terms like that the nvidia drivers just panic and die. screen
> looks like when old nintendo would freeze with the colorful junk on screen.
>
> I don't have another machine that can ssh into this one, any other options?
>
> On Wed, Oct 25, 2017 at 5:58 PM, Hans Petter Selasky 
> wrote:
>
>> On 10/25/17 11:55, blubee blubeeme wrote:
>>
>>> "os.lock_mtx"
>>> Oct 25 17:52:58 blubee kernel: 1st os.lock_mtx @ nvidia_os.c:841
>>> Oct 25 17:52:58 blubee kernel: 2nd os.lock_mtx @ nvidia_os.c:841
>>> Oct 25 17:52:58 blubee kernel: stack backtrace:
>>> Oct 25 17:52:58 blubee kernel: #0 0x80ab6f30 at
>>> witness_debugger+0x70
>>> Oct 25 17:52:58 blubee kernel: #1 0x80ab6e23 at
>>> witness_checkorder+0xe23
>>> Oct 25 17:52:58 blubee kernel: #2 0x80a35293 at
>>> __mtx_lock_flags+0x93
>>> Oct 25 17:52:58 blubee kernel: #3 0x82f4097b at
>>> os_acquire_spinlock+0x1b
>>> Oct 25 17:52:58 blubee kernel: #4 0x82c45b15 at _nv012002rm+0x185
>>> Oct 25 17:52:58 blubee kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM:
>>> Argument #4 type mismatch - Found [Buffer], ACPI requires [Package]
>>> (20170531/nsarguments-205)
>>> Oct 25 17:52:59 blubee kernel: nvidia-modeset: Allocated GPU:0
>>> (GPU-54a7b304-c99d-efee-0117-0ce119063cd6) @ PCI::01:00.0
>>>
>>>
>>>
>> Hi,
>>
>> Try: CTRL+ALT+F1
>> Or SSH into this machine.
>>
>> Then do:
>>
>> procstat -ak
>>
>> It will reveal any hangs and deadlocks.
>>
>> Further I note you're using 12-current with the NVIDIA driver. That might
>> not be a supported configuration :-( Especially nowadays some core kernel
>> structures are changing, which means NVIDIA needs to recompile their binary
>> blob aswell!
>>
>> --HPS
>>
>
>
___
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: Okular or any pdf reader

2017-10-25 Thread Hans Petter Selasky

On 10/25/17 13:15, blubee blubeeme wrote:

Okay, I tried using chatbot for android to ssh into this laptop and that
works just fine.
Then when I launch okular the computer had locks up and the ssh dies on the
phone as well. So it seems not even ssh works when this this freezes up.

Any other suggestions?


Try to set:

sysctl net.inet.tcp.per_cpu_timers=1

Before connecting via SSH.

Does the same happen when using VESA driver or is this specific to using 
the NVIDIA driver. If the NVIDIA is at cause, I cannot help.


--HPS
___
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: Okular or any pdf reader

2017-10-25 Thread blubee blubeeme
I've had the pdf viewers work with these nvidia drivers before, then a few
months back they stopped working. I've avoided dealing with the problem by
using chrome to view pdfs but that's getting old.

About this laptop it's a bios switch to use either the gtx 1070 or the
intel gpu
vgapci0@pci0:1:0:0: class=0x03 card=0x6a021558 chip=0x1ba110de rev=0xa1
hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'GP104M [GeForce GTX 1070]'
class  = display
subclass   = VGA

hw.machine: amd64
hw.model: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
hw.ncpu: 8
hw.machine_arch: amd64

I havent had time to try the kmod drivers yet, maybe i'll install that
port, disable the nvidia-drivers, make the switch in the gpu and try again.

On Wed, Oct 25, 2017 at 7:23 PM, Hans Petter Selasky 
wrote:

> On 10/25/17 13:15, blubee blubeeme wrote:
>
>> Okay, I tried using chatbot for android to ssh into this laptop and that
>> works just fine.
>> Then when I launch okular the computer had locks up and the ssh dies on
>> the
>> phone as well. So it seems not even ssh works when this this freezes up.
>>
>> Any other suggestions?
>>
>
> Try to set:
>
> sysctl net.inet.tcp.per_cpu_timers=1
>
> Before connecting via SSH.
>
> Does the same happen when using VESA driver or is this specific to using
> the NVIDIA driver. If the NVIDIA is at cause, I cannot help.
>
> --HPS
>
___
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: Okular or any pdf reader

2017-10-25 Thread Gary Jennejohn
On Wed, 25 Oct 2017 19:32:30 +0800
blubee blubeeme  wrote:

> I've had the pdf viewers work with these nvidia drivers before,
> then a few months back they stopped working.  I've avoided
> dealing with the problem by using chrome to view pdfs but
> that's getting old.
> 

I use the nvidia driver and have no problem using xpdf and mupdf.
ghostscript can also render PDFs.  None of these are graphics
heavy, as okular most definitely is.

mupdf does not support printing, but xpdf does.

okular also works for me.  Amazing how many packages it depends on.

[snip]

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


FreeBSD ports you maintain which are out of date

2017-10-25 Thread portscout
Dear port maintainer,

The portscout new distfile checker has detected that one or more of your
ports appears to be out of date. Please take the opportunity to check
each of the ports listed below, and if possible and appropriate,
submit/commit an update. If any ports have already been updated, you can
safely ignore the entry.

You will not be e-mailed again for any of the port/version combinations
below.

Full details can be found at the following URL:
http://portscout.freebsd.org/po...@freebsd.org.html


Port| Current version | New version
+-+
devel/aws-sdk-cpp   | 1.2.16  | 1.2.23
+-+
emulators/mame  | 0.166   | mame0191
+-+
emulators/mess  | 0.166   | mame0191
+-+


If any of the above results are invalid, please check the following page
for details on how to improve portscout's detection and selection of
distfiles on a per-port basis:

http://portscout.freebsd.org/info/portscout-portconfig.txt

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


po/Makefile.in.in was not created by intltoolize."

2017-10-25 Thread blubee blubeeme
I found this really old thread:
https://mail.gnome.org/archives/gtkmm-list/2009-August/msg00072.html

and this really old script to "work around" the issue.

#! /bin/sh -etest -n "$srcdir" || srcdir=`dirname "$0"`test -n
"$srcdir" || srcdir=.(
  cd "$srcdir" &&
  AUTOPOINT='intltoolize --automake --copy' autoreconf --force
--install --verbose) || exittest -n "$NOCONFIGURE" ||
"$srcdir/configure" "$@"



Do I just have to implement this in the ports Makefile or is there some
workaround?
___
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: po/Makefile.in.in was not created by intltoolize."

2017-10-25 Thread Tijl Coosemans
On Thu, 26 Oct 2017 01:11:55 +0800 blubee blubeeme  wrote:
> I found this really old thread:
> https://mail.gnome.org/archives/gtkmm-list/2009-August/msg00072.html
> 
> and this really old script to "work around" the issue.
> 
> #! /bin/sh -etest -n "$srcdir" || srcdir=`dirname "$0"`test -n
> "$srcdir" || srcdir=.(
>   cd "$srcdir" &&
>   AUTOPOINT='intltoolize --automake --copy' autoreconf --force
> --install --verbose) || exittest -n "$NOCONFIGURE" ||
> "$srcdir/configure" "$@"
> 
> 
> 
> Do I just have to implement this in the ports Makefile or is there some
> workaround?

Just add USES=autoreconf and USE_GNOME=intltool to your Makefile.
___
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"


Committer needed for patch to fix py-opencv

2017-10-25 Thread Randy Westlund
It's not my patch, but it fixes the problem and it's been sitting there
for several months now.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211805


signature.asc
Description: PGP signature


Maintainer timeout for fix to print/freetype2

2017-10-25 Thread Kevin Oberman
Since print/freetype2 was updated to version 2.8 in June it has had an
annoying bug that caused lines to be spaced slightly too far apart for some
fonts, notably Bitstream Vera Sans Mono Roman, AKA "fixed". This caused
terminal windows to not line up correctly.

Thanks to some hard work by lightside a patch was developed that corrected
the problem. It has now been pretty thoroughly tested for several months
and was submitted  for maintainer approval back in late July. Several
requests for maintainer approval have been sent to gnome@, with no response.

Could a committer look at
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219608 and commit it.
Most people who have hit this have probably never noticed it and those who
have probably didn't care enough to report it. I believe lightside has
submitted to fix upstream where the problem was already reported but I have
no idea when they will have a new release.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
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"


can't link against math.h

2017-10-25 Thread blubee blubeeme
I wrote a simple test program to test and see if math.h has the function:
exp10f

#include 

int main(int argc, char** argv)
{
(void)argv;
return ((int*)(&exp10))[argc];
}

tried compiling it with clang:
clang++ test.cpp -o test -lm
test.cpp:7:17: error: use of undeclared identifier 'expf10'
return ((int*)(&expf10))[argc];
^
1 error generated.

tried with gcc:
gcc test.cpp -o test -lm
test.cpp: In function 'int main(int, char**)':
test.cpp:7:17: error: 'expf10' was not declared in this scope
 return ((int*)(&expf10))[argc];

Does FreeBSD math.h have expf10 and if so, how do I link against it?
___
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: can't link against math.h

2017-10-25 Thread Steve Kargl
On Thu, Oct 26, 2017 at 10:05:00AM +0800, blubee blubeeme wrote:
> I wrote a simple test program to test and see if math.h has the function:
> exp10f
> #include 
> 
> int main(int argc, char** argv)
> {
> (void)argv;
> return ((int*)(&exp10))[argc];
> }
> 
> tried compiling it with clang:
> clang++ test.cpp -o test -lm
> test.cpp:7:17: error: use of undeclared identifier 'expf10'
> return ((int*)(&expf10))[argc];
> ^
> 1 error generated.
> 
> tried with gcc:
> gcc test.cpp -o test -lm
> test.cpp: In function 'int main(int, char**)':
> test.cpp:7:17: error: 'expf10' was not declared in this scope
>  return ((int*)(&expf10))[argc];
> 
> Does FreeBSD math.h have expf10 and if so, how do I link against it?

No.  You could answer this question with a simple grep on math.h.

Which C standard specifies exp10f or expf10?

-- 
Steve
___
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: can't link against math.h

2017-10-25 Thread Christopher Hall
Hello blubee,

On Thu, 26 Oct 2017 10:05:00 +0800, blubee blubeeme
 wrote:

> I wrote a simple test program to test and see if math.h has the
> function: exp10f

grep -r exp10f /usr/include
shows that is does not.  I could not find this function in man pages
either and also http://en.cppreference.com/w/c/numeric/math/exp does
not list it.  log10 exists but did not see and kind of exp10.
Could you have been thin of a macro you saw in an app?

the only ref I found from searching ports/math was:
 /usr/ports/math/ldouble/files/i386-makefile-patch: exp10l.o
exp2l.o expl.o expx2l.o fdtrl.o gammal.o gdtrl.o igamil.o igaml.o \

> 
> #include 
> 
> int main(int argc, char** argv)
> {
> (void)argv;
> return ((int*)(&exp10))[argc];
> }
> 
> tried compiling it with clang:
> clang++ test.cpp -o test -lm
> test.cpp:7:17: error: use of undeclared identifier 'expf10'
> return ((int*)(&expf10))[argc];
> ^
> 1 error generated.
> 
> tried with gcc:
> gcc test.cpp -o test -lm
> test.cpp: In function 'int main(int, char**)':
> test.cpp:7:17: error: 'expf10' was not declared in this scope
>  return ((int*)(&expf10))[argc];
> 
> Does FreeBSD math.h have expf10 and if so, how do I link against it?
> ___
> 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"


-- 
Best Regards.
Christopher Hall.
___
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: can't link against math.h

2017-10-25 Thread Montgomery-Smith, Stephen
On 10/25/2017 09:05 PM, blubee blubeeme wrote:
> I wrote a simple test program to test and see if math.h has the function:
> exp10f

> Does FreeBSD math.h have expf10 and if so, how do I link against it?
> ___

I think exp10f is a Linux only function.  In its man page, it says it is
a GNU extension.

http://man7.org/linux/man-pages/man3/exp10.3.html

I would implement it using the pow function, e.g.

#define exp10f(x) (powf(10.,x))
___
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: can't link against math.h

2017-10-25 Thread Steve Kargl
On Thu, Oct 26, 2017 at 03:00:48AM +, Montgomery-Smith, Stephen wrote:
> On 10/25/2017 09:05 PM, blubee blubeeme wrote:
> > I wrote a simple test program to test and see if math.h has the function:
> > exp10f
> 
> > Does FreeBSD math.h have expf10 and if so, how do I link against it?
> > ___
> 
> I think exp10f is a Linux only function.  In its man page, it says it is
> a GNU extension.
> 

No. It is part of ISO/IEC TS 18661-4.

Information technology -- Programming languages, their environments,
and system software interfaces -- Floating-point extensions for C

Part 4: Supplementary functions

Look for n1950.pdf on the web.

I've implemented sinpi[fl], cospi[fl], and tanpi[fl],
and sent my code to freebsd-numerics.  Bruce has 
suggested a number of improves, but I have lacked the
time to fix the code.

-- 
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
___
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"


lang/ghc fails to build

2017-10-25 Thread blubee blubeeme
I've created a bug report, can anyone take a look at this:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223249
___
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: Files conflicts in ports

2017-10-25 Thread L.Bartoletti

Hi Rodrigo,

Thank you for this precious tool.

One question, seeing one of my ports which have conflicts 
(devel/py-gtfslib 
http://pkgtool.osorio.me/conflicts/lbartole...@tuxfamily.org.html). Is 
it or not good to install test files?


Regards.

Loïc

On 10.10.2017 20:52, Rodrigo Osorio wrote:

Dear port maintainers,

It appears that a number of ports install files with the same names at 
the same locations,

causing file conflicts and unexpected behaviors for users.

To help solving this issue I ran a tool to list per maintainer the 
conflicting ports with

the list of impacted files ; the list is updated every day at 4am UTC.

http://pkgtool.osorio.me/conflicts/

I believe most of the conflicts are trivial and can be solved with a 
proper declaration in the CONFLICTS variable.
So take a look at it and don't hesitate to come back to me if you have 
questions.


best regards,

- rodrigo

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


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

codeblocks-devel looking for a committer

2017-10-25 Thread L.Bartoletti

Hi all,

Since codeblocks is still buggy, I'm looking for a committer to PR 
#221703 to have codeblocks-devel which works.


Thank you.

Regards

Loïc

___
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: USES pgsql:plpython?

2017-10-25 Thread L.Bartoletti

Hi Chris and all,

I will propose soon a new patch for pgsql. Today you can select a 
version like this 9.2+, 9.5- but not with an interval like this 9.5-10.


It was ready, but pending since months, in this PR #213038. 



Can you also take a look at this, or do you want to separate this other 
request?


Since postgis24 is landing #222703 
, I have to 
rework on postgis.mk very soon.


Regards

Loïc

On 05.09.2017 20:47, Lbartoletti wrote:

Yes sorry. I wrote too fast :)
My patch is near to be ready. Just some tests to be sure.

Thanks.

Envoyé de mon smartphone BlackBerry 10.
   Message d'origine
De: Chris Rees
Envoyé: mardi 5 septembre 2017 20:44
À: L.Bartoletti; po...@freebsd.org
Cc: pg...@freebsd.org
Objet: Re: USES pgsql:plpython?

By the way, the syntax is:

USES= pgsql
WANT_PGSQL= plpython

The argument to USES is for version selection.

Chris

On 5 September 2017 19:33:53 BST, Chris Rees  wrote:

Hey,

No reason at all... I just missed it out when I wrote that bit of
pgsql.mk :)

If you feel up to patching Mk/Uses/pgsql.mk (have a look at line 135,
add plpython and make another line below it to match the others).
Please alphabetise the list while you're at it!

If you can't get it to work, I'll do it.

Cheers,

Chris

On 5 September 2017 19:25:41 BST, "L.Bartoletti"
 wrote:

Hi,

I prepare a port which needs plpython. Is there any reason that we
don't
have the choice to write in our Makefile "USES pgsql:plpython"?

Only because there are no ports dependent upon this port? Can I add it
to my diff?

Regards

Loïc Bartoletti.


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