Re: sage

2017-09-21 Thread Kevin Oberman
On Thu, Sep 21, 2017 at 7:45 PM, bruce  wrote:

> Hi,
>
> I have been trying to compile sage for months now.  I am using freebsd
> 11.1 on amd 64 and it never succeeds.  I am beginning to wounder why it is
> still in ports.  Can anyone help?
>
> Bruce
>

I just built sage on my amd64 11.1 system with no problem. What exactly is
failing with your build?
--
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"


sage

2017-09-21 Thread bruce

Hi,

I have been trying to compile sage for months now.  I am using freebsd 
11.1 on amd 64 and it never succeeds.  I am beginning to wounder why it 
is still in ports.  Can anyone help?


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


Please commit Tor ports update

2017-09-21 Thread Yuri
The latest 0.3.2.1-alpha contains next-gen V3 onion addresses that 
people want to test (longer addresses with better crypto).


The latest 0.3.1.7 is the first release with directory protocol compression.


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

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


Thanks!

Yuri


___
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: FreeBSD Port: leofs-1.3.4

2017-09-21 Thread Franco Ricci
Thank a lot for answer.
I'll wait for results…

Franco
On 21 Sep, 2017, at 7:29 PM, Mykola Golub  wrote:

> Hi,
> 
> On Tue, Sep 19, 2017 at 07:32:16PM +0200, Franco Ricci wrote:
>> Hi, do you have some news about porting of new LeoFS version?
> 
> I am experiencing some weird issues with versions later 1.3.4. Now I
> am testing 1.3.7 and still have problems. I have not had time to track
> it down so far though. I hope I will have some results this weekend.
> 
> -- 
> Mykola Golub

___
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: Another error with py3-cairo

2017-09-21 Thread Walter Schwarzenfeld

Solved: Put USE_LOCALE=    en_US.UTF-8 for this port in my

/etc/make.conf.

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

Another error with py3-cairo

2017-09-21 Thread Walter Schwarzenfeld

I got following error for all ".c" files in src:

Traceback (most recent call last):
  File 
"/ram/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/c_preproc.py", 
line 496, in addlines

    lines=filter_comments(filepath)
  File 
"/ram/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/c_preproc.py", 
line 47, in filter_comments

    code=Utils.readf(filename)
  File 
"/ram/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Utils.py", 
line 83, in readf

    txt=f.read()
  File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 54: 
ordinal not in range(128)


___
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: py-cairo fails to build

2017-09-21 Thread Walter Schwarzenfeld

Try change python:3 to python:3.6 in the 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"


Re: FreeBSD Port: leofs-1.3.4

2017-09-21 Thread Mykola Golub
Hi,

On Tue, Sep 19, 2017 at 07:32:16PM +0200, Franco Ricci wrote:
> Hi, do you have some news about porting of new LeoFS version?

I am experiencing some weird issues with versions later 1.3.4. Now I
am testing 1.3.7 and still have problems. I have not had time to track
it down so far though. I hope I will have some results this weekend.

-- 
Mykola Golub
___
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: FreshPorts API

2017-09-21 Thread Dan Langille
> On Sep 21, 2017, at 4:10 PM, Torsten Zuehlsdorff 
>  wrote:
> 
> 
> 
> On 21.09.2017 14:31, Dan Langille wrote:
>> FreshPorts contains more than just ports. It contains all commits to the 
>> FreeBSD repository.
>> This is all stored in a database. It can be queried. We just need an API.
>> The goal is to start gradually, based on the ideas started at 
>> https://duck.co/ideas/idea/936/grab-bsd-port-summary-from-freshports 
>> 
>> and later at https://github.com/FreshPorts/freshports/issues/4 
>> 
>> I did start using https://github.com/marcj/php-rest-service 
>>  (I didn't get to the
>> point of having methods invoked), I'm looking for others to help get this 
>> started.
>> The goal is a PHP-based API. Why? Existing PHP code for database access.
> 
> But what problem to you want to solve with it?
> 
> I regularly dump the ports-tree into a database for some research or hacking. 
> But beside this very specific cases i never needed it. So what do you want to 
> accomplish?

This API is for third party use. We can try to anticipate their use cases by 
providing a general API, but in general, it's unknown.

In the duck.co  link above, it shows one such use case: 
search.  It allows a third party to search FreshPorts. to find results.

-- 
Dan Langille - BSDCan / PGCon
d...@langille.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"


Re: FreshPorts API

2017-09-21 Thread Torsten Zuehlsdorff



On 21.09.2017 14:31, Dan Langille wrote:

FreshPorts contains more than just ports. It contains all commits to the 
FreeBSD repository.

This is all stored in a database. It can be queried. We just need an API.

The goal is to start gradually, based on the ideas started at 
https://duck.co/ideas/idea/936/grab-bsd-port-summary-from-freshports 

and later at https://github.com/FreshPorts/freshports/issues/4 


I did start using https://github.com/marcj/php-rest-service 
 (I didn't get to the
point of having methods invoked), I'm looking for others to help get this 
started.

The goal is a PHP-based API. Why? Existing PHP code for database access.


But what problem to you want to solve with it?

I regularly dump the ports-tree into a database for some research or 
hacking. But beside this very specific cases i never needed it. So what 
do you want to accomplish?


Greetings,
Torsten
___
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"


py-cairo fails to build

2017-09-21 Thread tech-lists

Hello ports@

system: 11.1-STABLE FreeBSD 11.1-STABLE #0 r323771
ports: r450254

I get the following error trying to compile py-cairo. It complains it
can't find Python.h even though configure appears to have told it
where it is.  

Checking for 'gcc' (c compiler)  : ok 
Checking for program python  : /usr/local/bin/python3.6 
Checking for python version  : (3, 6, 2, 'final', 0) 
Checking for library python3.6 in LIBPATH_PYEMBED : not found 
Checking for library python3.6 in LIBDIR  : not found 
Checking for library python3.6 in python_LIBPL: not found 
Checking for library python3.6 in $prefix/libs: not found 
Checking for library python3.6m in LIBPATH_PYEMBED : yes 
Checking for program python3.6-config  :
/usr/local/bin/python3.6-config 
Checking for header Python.h   : yes 
Checking for program pkg-config:
/usr/local/bin/pkg-config 
Checking for 'cairo' >= 1.10.0 : yes 
Configuration:

PREFIX   : /usr/local
LIBDIR   : /usr/local/lib
'configure' finished successfully (0.199s)
===>  Building for py36-cairo-1.10.0_3
 ./options()
 Waf: Entering directory
/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory'
 ./build()
   src/build()
   parsing
/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src/cairomodule.c
failed
Traceback (most recent call last):
 File
"/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/c_preproc.py",
line 496, in addlines
   lines=filter_comments(filepath)
 File
"/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Tools/c_preproc.py",
line 47, in filter_comments
   code=Utils.readf(filename)
 File
"/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/.waf3-1.6.4-e3c1e08604b18a10567cfcd2d02eb6e6/waflib/Utils.py",
line 83, in readf
   txt=f.read()
 File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in
decode
   return codecs.ascii_decode(input, self.errors)[0]
   UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in
position 54: ordinal not in range(128)
[1/9] c: src/cairomodule.c -> build_directory/src/cairomodule.c.1.o
13:38:22 runner ['cc', '-I/usr/local/include', '-O2', '-pipe',
'-fstack-protector', '-fno-strict-aliasing', '-fPIC', '-pthread',
'-fstack-protector', '-fstack-protector', '-fstack-protector',
'-fno-strict-aliasing', '-fno-strict-aliasing',
'-I/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory/src',
'-I/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src',
'-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0',
'-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include',
'-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2',
'-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm',
'-I/storage/storage/usr/local/include/python3.6m', '-D_THREAD_SAFE',
'-DNDEBUG', '../src/cairomodule.c', '-c', '-o', 'src/cairomodule.c.1.o']
../src/cairomodule.c:21:10: fatal error: 'Python.h' file not found
#include 
^~
 1 error generated.
 Waf: Leaving directory
/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory'
Build failed
-> task failed (exit status 1): 
{task 34464980944: c cairomodule.c -> cairomodule.c.1.o}

['cc', '-I/usr/local/include', '-O2', '-pipe', '-fstack-protector',
'-fno-strict-aliasing', '-fPIC', '-pthread', '-fstack-protector',
'-fstack-protector', '-fstack-protector', '-fno-strict-aliasing',
'-fno-strict-aliasing',
'-I/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/build_directory/src',
'-I/ports-build/storage/usr/ports/graphics/py3-cairo/work/pycairo-1.10.0/src',
'-I/usr/local/include/cairo', '-I/usr/local/include/glib-2.0',
'-I/usr/local/lib/glib-2.0/include', '-I/usr/local/include',
'-I/usr/local/include/pixman-1', '-I/usr/local/include/freetype2',
'-I/usr/local/include/libpng16', '-I/usr/local/include/libdrm',
'-I/storage/storage/usr/local/include/python3.6m', '-D_THREAD_SAFE',
'-DNDEBUG', '../src/cairomodule.c', '-c', '-o', 'src/cairomodule.c.1.o']
*** Error code 1

Stop.
make: stopped in /storage/usr/ports/graphics/py3-cairo

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"


FreshPorts API

2017-09-21 Thread Dan Langille
FreshPorts contains more than just ports. It contains all commits to the 
FreeBSD repository.

This is all stored in a database. It can be queried. We just need an API.

The goal is to start gradually, based on the ideas started at 
https://duck.co/ideas/idea/936/grab-bsd-port-summary-from-freshports 

and later at https://github.com/FreshPorts/freshports/issues/4 


I did start using https://github.com/marcj/php-rest-service 
 (I didn't get to the 
point of having methods invoked), I'm looking for others to help get this 
started.

The goal is a PHP-based API. Why? Existing PHP code for database access.

-- 
Dan Langille - BSDCan / PGCon
d...@langille.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"


Re: gettextsetup warnings

2017-09-21 Thread Romain Tartière
On Wed, Sep 20, 2017 at 03:06:52PM +0200, Romain Tartière wrote:
> Unfortunately, changing locales works on my computer …
> [...]
> … but not on the other nodes I manage :-/
> [...]
> I currently fail at locating what is different between these nodes.

Found the culprit yesterday in the train! But Internet access is flaky
here :-/

The problems is in the gettext-setup gem, which detects the available
locales in a wrong way (it search for .po files, and when found, add the
directory name to the valid locales available):
https://github.com/puppetlabs/gettext-setup-gem/blob/master/lib/gettext-setup/gettext_setup.rb#L97-L102

Since we only have .mo files in the searched directory, you guess why
the 'ja' locale was not considered available.

But in fact the problem is deeper: the hunt for .po files happens in
multiple directories, and if such a file is available in any of these
directories, the locale is enabled…  So on my system, it looks like the
file /usr/local/share/locale/ja/gutenprint_ja.po installed by
print/gutenprint white-listed the 'ja' locale, and then
/var/puppet/share/locale/ja/LC_MESSAGES/puppet.mo could be used.

The patched gettext-setup gem is available here:
https://github.com/smortex/puppet5/commit/41ea629eca9112510613d966a8e0639f3cb91da1

I am currently deploying this on my nodes in case this changes has other
unexpected consequences.

Romain

-- 
Romain Tartière   http://people.FreeBSD.org/~romain/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)


signature.asc
Description: PGP signature