Re: Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Xavier Humbert

On 19/05/2021 19:10, Gleb Popov wrote:

Just a guess - are you building with WITH_DEBUG=yes ?


Actually, no

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr

___
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: Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Xavier Humbert

On 19/05/2021 17:54, Xavier Humbert wrote:

Hi,

I got trouble with python 3.8.10 at reinstall stage :


===>   Registering installation for python38-3.8.10
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_asyncio.cpython-38.so:No 
such file or directory
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_bisect.cpython-38.so:No 
such file or directory

And a bunch of others (the whole lib-dynload directory actually)

In fact those files are almost present : the are not  named eg 
_asyncio.cpython-38.so , but asyncio.cpython-38*d*.so


Where from comes this *d* letter, which is not in pkg-plist ?


A workaround is to edit pkg-plist and add this *d*

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr
___
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"


Error reinstalling python 3.8.10 from ports

2021-05-19 Thread Xavier Humbert

Hi,

I got trouble with python 3.8.10 at reinstall stage :


===>   Registering installation for python38-3.8.10
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_asyncio.cpython-38.so:No 
such file or directory
pkg-static: Unable to access file 
/usr/ports/lang/python38/work/stage/usr/local/lib/python3.8/lib-dynload/_bisect.cpython-38.so:No 
such file or directory

And a bunch of others (the whole lib-dynload directory actually)

In fact those files are almost present : the are not  named eg 
_asyncio.cpython-38.so , but asyncio.cpython-38*d*.so


Where from comes this *d* letter, which is not in pkg-plist ?

Cheers,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr
___
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: net-mgmt/pnp and nagios4

2021-05-12 Thread Xavier Humbert

On 12/05/2021 08:54, Andrea Venturoli wrote:

Hello.

I'm using net-mgmt/nagios4 and I'd like to try adding PNP to it.
Alas the port depends on net-mgmt/nagios (i.e. version 3.5.1).

From general docs, I see PNP should work with Nagios 4.x.
Is this expected NOT to work specifically on FreeBSD?

Or can I go ahead and try modifying the DEPENDS line?


From my experience with nagios, you can proceed

Cheers

Xavier


 bye & Thanks
av.
�


--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr

___
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: gdal

2021-05-03 Thread Xavier Humbert

On 03/05/2021 12:42, Matthieu Volat wrote:

Hi, this happens indeed when you build gdal*without*  the EXR option when 
openexr is present at build time. I guess the off option is not passed 
correctly to the configure script?


Hi Mathieu, LuMiWa,

I ran in the very same problem, with the *default* (make rmconfig) 
options. As you mention, enabling EXR option fixes this


Cheers,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
https://www.amdh.fr

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


[SOLVED ]Re: Warning: Major OS version upgrade detected

2021-02-01 Thread Xavier Humbert

Dewayne,

Yesss ! Thanks it did the job !

I reinstalled port-maintenance-tools, and now the arch column in pkg DB 
is correct, FraaBDS:13:*


I dunno why the generated ABI in this file was wrong (line was commented 
out -> auto-detection)


Thanks again,

Cheers,

Xavier

On 01/02/2021 07:38, Dewayne Geraghty wrote:

A while ago, due to mismatching ABI, I had to insert into:
/usr/local/etc/pkg.conf
ABI = "freebsd:12:x86:64";
Perhaps explicitly stating "freebsd:13:x86:64"; may help?
BUT this will require maintenance. :/


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


--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

___
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: Warning: Major OS version upgrade detected

2021-02-01 Thread Xavier Humbert

[Cc'ed to mat@ apologies for the intrusion]

Hi, Rainer and others,

I'va made some progress in resolving this very problem :

I just reinstalled a port (port-maintenance-tool, which is a no-op, 
since tools are already installed), then browsed the pkg DB.

I saw in the column arch :


FreeBSD:14:*

while making with debugging flags shows me

OSVERSION    = 1300137

I've even manually set ABI to FreeBSD:13:amd64 in /etc/pkg/FreeBSD.conf

There is something I clearly don't understand.

Cheers,

Xavier

Am 30.01.21 um 23:02 schrieb Xavier Humbert:

Hi,

I was running 13-CURRENT, and as of 01/22 I switched to 13-STABLE

Now, when I run any ports/pkg command - I use only ports-, I got


pkg-static: Warning: Major OS version upgrade detected.  Running "pkg
bootstrap -f" recommended

No a big deal, I thought, but :


[root@numenor ~]# pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from
pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest, please wait...
Verifying signature with trusted certificate
pkg.freebsd.org.2013102301... done
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg
bootstrap -f" recommended
Installing pkg-1.16.2...
pkg-static: wrong architecture: FreeBSD:13:amd64 instead of *FreeBSD:14:amd64*
package pkg is already installed, forced install
Extracting pkg-1.16.2: 100%
[root@numenor ~]# pkg check -Bd
pkg: Warning: Major OS version upgrade detected.  Running "pkg
bootstrap -f" recommended

The message is still there. I never had 14-CURRENT on this system.
Reinstalled ports-mgmt/pkg from source, didn't help 


--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

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


Warning: Major OS version upgrade detected

2021-01-30 Thread Xavier Humbert

Hi,

I was running 13-CURRENT, and as of 01/22 I switched to 13-STABLE

Now, when I run any ports/pkg command - I use only ports-, I got

pkg-static: Warning: Major OS version upgrade detected.  Running "pkg 
bootstrap -f" recommended

No a big deal, I thought, but :


[root@numenor ~]# pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from 
pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/latest, please wait...
Verifying signature with trusted certificate 
pkg.freebsd.org.2013102301... done
pkg-static: Warning: Major OS version upgrade detected.  Running "pkg 
bootstrap -f" recommended

Installing pkg-1.16.2...
pkg-static: wrong architecture: FreeBSD:13:amd64 instead of 
*FreeBSD:14:amd64*

package pkg is already installed, forced install
Extracting pkg-1.16.2: 100%
[root@numenor ~]# pkg check -Bd
pkg: Warning: Major OS version upgrade detected.  Running "pkg 
bootstrap -f" recommended


The message is still there. I never had 14-CURRENT on this system.

Reinstalled ports-mgmt/pkg from source, didn't help

Any help ?

Thanks,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

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


failed to resolve type kernel struct thread *

2021-01-24 Thread Xavier Humbert

Hello,

I cannot compile www/node (and some others) with this error

dtrace: failed to compile script src/v8ustack.d: 
"/usr/lib/dtrace/psinfo.d", line 93: failed to resolve type 
kernel`struct thread * for identifier curthread: Unknown type name

My kernel is compiled with CTF options :


[root@numenor ports]# grep CTF /usr/src/sys/amd64/conf/XAVIER
makeoptions WITH_CTF=1  # Run ctfconvert(1) for DTrace 
support

options DDB_CTF # Kernel ELF linker loads CTF data


I'm running 13-stable, an did a full buildword/buildkernel. And
ctfdump  /boot/kernel/kernel produces an output

Is this a known problem, or did I mess something ?

Thanks,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

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


failed to resolve type kernel struct thread *

2021-01-24 Thread Xavier Humbert

Hello,

I cannot compile www/node (and some others) with this error

dtrace: failed to compile script src/v8ustack.d: 
"/usr/lib/dtrace/psinfo.d", line 93: failed to resolve type 
kernel`struct thread * for identifier curthread: Unknown type name

My kernel is compiled with CTF options :


[root@numenor ports]# grep CTF /usr/src/sys/amd64/conf/XAVIER
makeoptions WITH_CTF=1  # Run ctfconvert(1) for DTrace 
support

options DDB_CTF # Kernel ELF linker loads CTF data


I'm running 13-stable, an did a full buildword/buildkernel. And
ctfdump  /boot/kernel/kernel produces an output

Is this a known problem, or did I mess something ?

Thanks,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

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


rubygem-rdoc upgrade breaks gitlab

2020-12-27 Thread Xavier Humbert

Hi,

I'm installing www/gimlab-ce, but a recent upgrade of rubygem-rdoc to 
6.3 (rev 559245) breaks installation :


# portinstall -v www/gitlab-ce
[...]
===>   gitlab-ce-13.7.0 depends on package: rubygem-rdoc>=6.1.2<6.3 - 
not found

*** Error code 1

Please note that requirement is *strictly* inferior to 6.3.

May I simply relax the dependency ?

Cheers,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer

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


sysutils/rundeck3 config files

2020-12-21 Thread Xavier Humbert

Hi,

Seems that the port sysutils/rundeck3 does not install config files :

java.lang.IllegalStateException: java.io.FileNotFoundException: 
/usr/local/rundeck/server/config/log4j2.properties (No such file or 
directory)


Actually the directory `config` does not even exist... I'm trying to 
fiddle with a pkg-plist, whith no success


Cheers,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Senior Engineer
___
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: Thunderbird package missing

2020-12-14 Thread Xavier Humbert

On 14/12/2020 12:03, Graham Menhennitt wrote:

Hello all,
I did a pkg upgrade yesterday and it removed my Thunderbird package. 
When I go to install it, I get "No packages available to install 
matching 'thunderbird'. I've tried it on two separate systems with the 
same result. What's going on?


Hi,

Thunderbird seems to actually lack a pkg build. The port has been 
updated yesterday, perhaps wait a couple of days...
https://svnweb.freebsd.org/ports/head/mail/thunderbird/ 
<https://svnweb.freebsd.org/ports/head/mail/thunderbird/>

But I agree, removing the package is an issue.

Cheers

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

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


Time to swicth from svn to git ?

2020-12-13 Thread Xavier Humbert

Hi,

Ca we switch our ports repository from svn to git ?

Thx

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

___
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: Icingaweb2

2020-10-03 Thread Xavier Humbert


On 27/09/2020 19:05, Guido Falsi via freebsd-ports wrote:
> Ideas from the top of my head:
>
> - did you restart php-fpm?
> - check php-fpm config, is json support enabled there too?
>
Unfortunately, I don't use php-fpm, but mod_php. Perhaps should I, but
I'm uncertain that it will fix the problem.

If only I could remember what happend when php was upgraded from 7.2 to
7.3 :-(

Cheers

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

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


Icingaweb2

2020-09-27 Thread Xavier Humbert
Hi,

pkg update broke icingaweb2 :
* it upgraded php73 to php74, which at first glance is not a problem
* deleted blindly icingaweb2 without noticing that icingaweb2-php74 was
present

So I reinstalled manually icingaweb2-php74, and when launching the
browser, I got the (in)famous

> Call to undefined function Icinga\Util\json_encode()
However :

> [root@aragorn ~]# pkg info php74-json
> php74-json-7.4.10
> [root@aragorn ~]# php -m | grep json
> json
> [root@aragorn ~]# php phpinfo.php | grepjson
> json
> json support => enabled
I ran into the very same problem when updated from  php72 to php73, but
can't remember how I fixed it

Someone can help, please ?

Regards

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer


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


textproc/cmark conflict with llvm80 doc build

2020-07-20 Thread Xavier Humbert
Hello,

Because of :

> DOCS_BUILD_DEPENDS= ${PY_SPHINX} \
>    
> ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR}

devel/llvm80 cannot build its doc, if on of these ports is installed :

> [root@numenor ports]# find . -name Makefile -exec grep -H
> 'textproc/cmark'  {} \;
> ./multimedia/mkvtoolnix/Makefile:QT5_LIB_DEPENDS=  
> libcmark.so:textproc/cmark
> ./textproc/cmark/Makefile:# $FreeBSD: head/textproc/cmark/Makefile
> 498404 2019-04-08 18:10:11Z tobik $
> ./graphics/aseprite/Makefile:  
> libcmark.so:textproc/cmark \
> ./net-im/nheko/Makefile:    libcmark.so:textproc/cmark \
> ./net-im/spectral/Makefile: libcmark.so:textproc/cmark
> ./net-im/talkatu/Makefile:  libcmark.so:textproc/cmark

textproc/py-recommonmark depends on textproc/py-CommonMark, which
conflits with textproc/cmark

Regards,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

___
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: MOVED format error

2020-07-11 Thread Xavier Humbert
Hi,

This night's svn up fixes the problem.

Thanks

Xavier

On 10/07/2020 07:09, Pau Amma wrote:
> On 2020-07-10 06:54, Xavier Humbert wrote:
>> Hello,
>>
>> Apparently the MOVED file is broken :
>
> Maybe fixed in
> https://svnweb.freebsd.org/ports?view=revision=541808 ?
> ___
> 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"

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

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


MOVED format error

2020-07-09 Thread Xavier Humbert

Hello,

Apparently the MOVED file is broken :


[root@numenor ports]# portversion
Traceback (most recent call last):
[...Starcktrace omitted...]
/usr/local/lib/ruby/site_ruby/2.6/pkgtools/portsdb.rb:118:in `block (2 
levels) in fill': MOVED file format error (PortsDB::MOVEDError)

As indicated, I deleted the MOVED file, and portversion runs normally

Cheers,

Xavier

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

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


Grafana, Django, Graphite, ect

2020-05-08 Thread Xavier Humbert
Hello,

In  my understanding, to work with graphite datasource, Grafana needs to
connect to graphite-web, since it cannot fetch data directly like with ELK.

But graphite-web is afaik, stucked with python 2.7, (and a bunch of py27
modules), while django 1.1.1 is EOLed. Tried django 2.2 (py37 only),
which as expected, crashes while importing modules.

So the simple question is : how to make all this stuff work with python
37, django 2 or 3, and recent graphite ? I know that (according to
graphite-web's github :

> ...keep in mind that Graphite-web supports Python versions *2.6 to
> 2.7* and Django versions *1.4 and above*.
So I think I will continue with python 2.7, but at least need to upgrade
django to the latest py27 version

I have plenty of time to test and try upgrading (thanks Covid), my
Grafana is not production yet, but I need some hints.

TIA,

Cheers,

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

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


net/librsync does not build

2020-04-23 Thread Xavier Humbert
Hi,

net/librsync apparently can't find libpopt :

> [root@numenor librsync]# MAKE_JOBS_UNSAFE=yes make
> ===>  Building for librsync-2.3.0
> [1/1] : && /usr/bin/cc -O2 -pipe -g -march=core2 -fstack-protector-strong
>   -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2
>   -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong
>   CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o
>   -o rdiff  -Wl,-rpath,/usr/ports/net/librsync/work/.build:
>   librsync.so.2.3.0  -lpopt && :
> FAILED: rdiff
> : && /usr/bin/cc -O2 -pipe -g -march=core2  -fstack-protector-strong
>   -fno-strict-aliasing -Wall -std=c99 -pedantic -O2 -pipe -g -march=core2
>   -fstack-protector-strong -fno-strict-aliasing  -fstack-protector-strong
>   CMakeFiles/rdiff.dir/src/rdiff.c.o CMakeFiles/rdiff.dir/src/isprefix.c.o
>   -o rdiff  -Wl,-rpath,/usr/ports/net/librsync/work/.build:
>   librsync.so.2.3.0  -lpopt && :
> ld: error: unable to find library -lpopt
> cc: error: linker command failed with exit code 1 (use -v to see
> invocation)
> ninja: build stopped: subcommand failed.
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/net/librsync
>
However :

> [root@numenor librsync]# ll /usr/local/lib/libpopt.*
> -rw-r--r--  1 root  wheel  73960 Apr 19 02:58 /usr/local/lib/libpopt.a
> lrwxr-xr-x  1 root  wheel 16 Apr 19 02:58
> /usr/local/lib/libpopt.so@ -> libpopt.so.0.0.0
> lrwxr-xr-x  1 root  wheel 16 Apr 19 02:58
> /usr/local/lib/libpopt.so.0@ -> libpopt.so.0.0.0
> -rwxr-xr-x  1 root  wheel  56832 Apr 19 02:58
> /usr/local/lib/libpopt.so.0.0.0*
What is the problem ?

Thxs

Regards

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer

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


Indentatioin problem while building sysutils/duplicity

2020-04-05 Thread Xavier
Hello all,

> 
> [root@numenor ~]# cd /usr/ports/sysutils/duplicity
> [root@numenor duplicity]# make all
> ===>   duplicity-0.8.12_1 depends on package: py37-setuptools>0 - found
> ===>   duplicity-0.8.12_1 depends on file: /usr/local/bin/python3.7 - found
> ===>   duplicity-0.8.12_1 depends on shared library: librsync.so - found 
> (/usr/local/lib/librsync.so)
> ===>  Configuring for duplicity-0.8.12_1
> Traceback (most recent call last):
>   File "", line 1, in 
>   File "setup.py", line 55
> for arg in args:
> ^
> IndentationError: unexpected indent

Not familiar enough with python to find the root cause of this, because
it looks fine at first sight... sysutils/duplicity07 (py27 version) is OK.

TIA,

Cheers,

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Re: py-scipy (and others) with openblas

2020-01-26 Thread Xavier
On 25/01/2020 16:38, starik...@dismail.de wrote:
> On Sat, 25 Jan 2020 14:07:57 +0100
> Xavier  wrote:
> 
>> Hi,
>> I looked at the posts from 22/01 about cblas/openblas, and ran in the
>> very same problem. So I delete cblas, and let openblas running an
>> upgrade. But pkg check -Bd show e an error, which is not fixed by
>> rebuilding py37-numpy (twice):
>>
>>> py37-scipy is missing a required shared library: libopenblas.so
>>
>> The library exists :
>>> lrwxr-xr-x  1 root  wheel16 Jan 25 11:59
>>> /usr/local/lib/libopenblas.so@ -> libopenblas.so.0 -rwxr-xr-x  1
>>> root  wheel  31038608 Jan 25 11:59 /usr/local/lib/libopenblas.so.0*
>>
>> What can I do now ?
>>
>> TIA,
>>
>> Cheers,
>>
>> Xavier
>>
> 
> I have same old work with py37-scipy and everything works...
> I try the example from now and it works.
> Please, check the attached jpg.
> 
Yes, indeed it works, because it is not a dependency problem, but a
problem in pkg database, I verified it with a port exhibiting the
problem, for which I'm sure there's shared libs :

> [root@numenor ~]# pkg check -Bd suitesparse
> Checking suitesparse: 100%
> suitesparse is missing a required shared library: libopenblas.so
But, when checking manually :
> [root@numenor ~]# pkg list suitesparse |grep \.so$ |xargs ldd|grep openblas
> libopenblas.so => /usr/local/lib/libopenblas.so (0x801c0)
> libopenblas.so => /usr/local/lib/libopenblas.so (0x801a0)
> libopenblas.so => /usr/local/lib/libopenblas.so (0x80160)

In conclusion, I can safely ignore those errors
I dunno whether the problem is in the packaging of the concerned port,
or openblas. So, I Cc the maintainers

Regards,

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


py-scipy with openble

2020-01-25 Thread Xavier
Hi,
I looked at the posts from 22/01 about cblas/openblas, and ran in the
very same problem. So I delete cblas, and let openblas running an
upgrade. But pkg check -Bd show e an error, which is not fixed by
rebuilding py37-numpy (twice):

> py37-scipy is missing a required shared library: libopenblas.so

The library exists :
> lrwxr-xr-x  1 root  wheel16 Jan 25 11:59 
> /usr/local/lib/libopenblas.so@ -> libopenblas.so.0
> -rwxr-xr-x  1 root  wheel  31038608 Jan 25 11:59 
> /usr/local/lib/libopenblas.so.0*

What can I do now ?

TIA,

Cheers,

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Problem with awstats since update to apache 2.4

2019-10-10 Thread Xavier
Hello folks,

I know, I should have this fixed a long time ago, but I procrastinated.
Now that I have a couple of hours free, I try to make it work again.

Basically since upgrade from apache 22 to 24 Awstats insists for
downloading the page (perl source) instead of displaying it.

My configuration :

> 
>   ServerAdmin root
>   ServerName  awstats.groumpf.org
>   ServerAdmin root
> 
>   CustomLog /var/log/stats.groumpf.org_accesslog combined
>   ErrorLog /var/log/stats.groumpf.org_errorlog
>  
>   Alias /awstatsclasses "/usr/local/ww/awstats/classes/"
>   Alias /awstatscss "/usr/local/www/awstats/css/"
>   Alias /awstatsicons "/usr/local/www/awstats/icon/"
>   ScriptAlias /awstats/ "/usr/local/www/awstats/cgi-bin/awstats.pl"
>   AddHandler cgi-script .cgi
> 
>   
>   AllowOverride None
>   Require ip 192.168.100.0/24
>   
>   
>   
>   DirectoryIndex awstats.pl
>   Options +ExecCGI
>   Require ip 192.168.100.0/24
>   
> 
> 

Apache modules loaded :

> [root@numenor modules.d]# apachectl -M
> Loaded Modules:
>  core_module (static)
>  so_module (static)
>  http_module (static)
>  authn_file_module (shared)
>  authn_core_module (shared)
>  authz_host_module (shared)
>  authz_groupfile_module (shared)
>  authz_user_module (shared)
>  authz_core_module (shared)
>  access_compat_module (shared)
>  auth_basic_module (shared)
>  reqtimeout_module (shared)
>  filter_module (shared)
>  mime_module (shared)
>  log_config_module (shared)
>  env_module (shared)
>  headers_module (shared)
>  setenvif_module (shared)
>  version_module (shared)
>  mpm_prefork_module (shared)
>  unixd_module (shared)
>  status_module (shared)
>  autoindex_module (shared)
>  dir_module (shared)
>  alias_module (shared)
>  maxminddb_module (shared)
>  php7_module (shared)
>  ssl_module (shared)
>  socache_shmcb_module (shared)
>  perl_module (shared)
>  cgid_module (shared)
>  cgi_module (shared)
>  rewrite_module (shared)


Where is my mistake ?

Thanks in advance

Regards,

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Re: Bind914 conficts with bind-tools

2019-05-01 Thread Xavier
On 01/05/2019 13:51, Mathieu Arnold wrote:
> On Wed, May 01, 2019 at 11:08:47AM +0200, Xavier wrote:
>> Hello,
>>
>> I wanted to portupgrad bind914, ran into a conflict :
>>
>>> [root@numenor bind914]# make all
>>> ===>  Staging for bind914-9.14.1
>>> ===>   bind914-9.14.1 depends on package: bind-tools>0 - not found
>>> ===>  Installing for bind-tools-9.14.1
>>> ===>  Checking if bind-tools is already installed
>>> ===>   Registering installation for bind-tools-9.14.1 as automatic
>>> Installing bind-tools-9.14.1...
>>> pkg-static: bind-tools-9.14.1 conflicts with bind914-9.14.0 (installs files 
>>> into the same place).  Problematic file: /usr/local/bin/arpaname
>>
>> I ran make clean before
>>
>> Thanks for ideas,
> 
> You need to remove bind914-9.14.0 first.
> 

Solved ! Thanks Mat

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Bind914 conficts with bind-tools

2019-05-01 Thread Xavier
Hello,

I wanted to portupgrad bind914, ran into a conflict :

> [root@numenor bind914]# make all
> ===>  Staging for bind914-9.14.1
> ===>   bind914-9.14.1 depends on package: bind-tools>0 - not found
> ===>  Installing for bind-tools-9.14.1
> ===>  Checking if bind-tools is already installed
> ===>   Registering installation for bind-tools-9.14.1 as automatic
> Installing bind-tools-9.14.1...
> pkg-static: bind-tools-9.14.1 conflicts with bind914-9.14.0 (installs files 
> into the same place).  Problematic file: /usr/local/bin/arpaname

I ran make clean before

Thanks for ideas,

Regards

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Warning in duplicity after py2-cryptograph update

2019-03-24 Thread Xavier
Hi everyone,

Since last update of python modules py27-cryprography and
py27-matplotlib, duplicity emits a warning :

> CryptographyDeprecationWarning: Support for unsafe construction of public 
> numbers from encoded data will be removed in a future version. Please use 
> EllipticCurvePublicKey.from_encoded_point

Should I file a PR ?

Cheers

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Re: Spamassassin/GeoIP2

2019-03-10 Thread Xavier
On 09/03/2019 22:02, RW via freebsd-ports wrote:
> GeoIP2 does require extra configuration. You need to download a
> database file and set:
> 
> country_db_type  GeoIP2
> country_db_path  
> 
> If you don't do that, or something goes wrong, the RelayCountry plugin
> tries to use GeoIP instead.

Thanks for your answer,

I have in init.pre:
> country_db_type GeoIP2
> country_db_path /usr/local/etc/mail/spamassassin/GeoIP2/GeoLite2-City.mmdb
> loadplugin Mail::SpamAssassin::Plugin::RelayCountry

But the error still occurs...


-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Spamassassin/GeoIP2

2019-03-09 Thread Xavier
Hello,

Since GeoIP is deprecated, I installed GeoIP2 instead.

Now, sa-update fails with> plugin: failed to parse plugin (from @INC):
Bareword "GEOIP_MEMORY_CACHE"...

I recompiled Spamassassin (3.4.2) with no change

What can be done ?

TIA

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


pkg check erroneously reports missing lib

2019-02-04 Thread Xavier
This is mediatomb from ports, on FreeBSD 12-STABLE :


[root@numenor ~]# portupgrade -vf spidermonkey17 mediatomb
[...compile...compile...compile...]

[root@numenor ~]# pkg check -Bd  mediatomb
Checking mediatomb: 100%
mediatomb is missing a required shared library: libjs.so

[root@numenor ~]# ldd /usr/local/bin/mediatomb |grep libjs
libjs.so => /usr/local/lib/libjs.so (0x800e8b000)

And mediatomb works like a charm

Any idea ?

Regards

Xavier

-- 
Xavier Humbert - sysadmin & network engineer



signature.asc
Description: OpenPGP digital signature


Pourdriere begginner

2018-12-13 Thread Xavier
Hello,

Poudriere is installed, poudriere.conf adjusted to my config, then I
create the firts jail, following handbook/ports-poudriere.html :

> # poudriere jail -c -j 12amd64 -v 12.0-STABLE
> [00:00:00] Creating 12amd64 fs at /usr/local/poudriere/jails/12amd64... done
> [00:00:01] Fetching MANIFEST for FreeBSD 12.0-STABLE amd64
> /usr/local/poudriere/jails/12amd64/fromftp/MAN1045  B   13 MBps00s
> [00:00:02] Fetching base for FreeBSD 12.0-STABLE amd64
> fetch: 
> https://download.FreeBSD.org/ftp/snapshots/amd64/amd64/12.0-STABLE/base.txz: 
> Not Found
> fetch: 
> https://download.FreeBSD.org/ftp/snapshots/amd64/amd64/12.0-STABLE/base.txz: 
> Not Found
> [00:00:02] Error: Failed to fetch from 
> https://download.FreeBSD.org/ftp/snapshots/amd64/amd64/12.0-STABLE/base.txz
> [00:00:02] Error while creating jail, cleaning up.
> [00:00:02] Removing 12amd64 jail... done
> [00:00:04] Cleaning 12amd64 data... done

What did I wrong ?

Thanks

Regards

Xavier

-- 
Xavier Humbert - sysadmin & network engineer
___
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: Acme-client (Let's Encrypt)and OpenSSL

2018-11-26 Thread Xavier
On 10/11/2018 17:27, Xavier wrote:
> Hi,
> 
> Following the upgrade fom 11-STABLE to 12-STABLE, I updated OpenSSL from
> 1.0.1 to 1.1.1, since it seemd mandatory for pkg to work
> 
> But when I check pacakages with pkg check -Bd, I've an error :
>> acme-client is missing a required shared library: libssl.so.46
> 
> Trying to rebuild acme-client, it insists to install libressl, which
> obvously fails.

I fixed the problem by force upgrading acme-client using binaries (pkg
upgrade -f acme-client)

But build problem from source is still present :

--
[root@numenor acme-client]# grep openssl /etc/make.conf
DEFAULT_VERSIONS+=ssl=openssl111

[root@numenor acme-client]# openssl version
OpenSSL 1.1.1a-freebsd  20 Nov 2018

[root@numenor acme-client]# svn info
Path: .
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head/security/acme-client
Relative URL: ^/head/security/acme-client
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 485950
Node Kind: directory
Schedule: normal
Last Changed Author: tobik
Last Changed Rev: 476218
Last Changed Date: 2018-08-02 07:33:16 +0200 (Thu, 02 Aug 2018)

[root@numenor acme-client]# make config
===> No options to configure

[root@numenor acme-client]# make all
===>  License ISCL accepted by the user
===>   acme-client-0.1.16_4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by acme-client-0.1.16_4 for building

===>  libressl-2.8.2 conflicts with installed package(s):
  openssl111-1.1.1a

  They install files into the same place.
  You may want to stop build with Ctrl + C.
----------

Regards,

Xavier

-- 
Xavier Humbert - sysadmin & network engineer
___
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"


Fix for www/py-graphite-web pkg-message

2018-11-26 Thread Xavier
The message for post-install tasks for graphite-web is outdated,
manage.py is no more part of django

Here is a patch :

===
--- pkg-message.in.origin   2018-11-26 19:23:57.876958000 +0100
+++ pkg-message.in  2018-11-26 19:25:19.358946000 +0100
@@ -7,8 +7,8 @@

 * Initialize the sqlite user database and create the admin user:

-   python2 %%PYTHON_SITELIBDIR%%/graphite/manage.py syncdb
-
+   django-admin.py migrate --settings=graphite.settings --run-syncdb
+   django-admin.py createsuperuser --settings=graphite.settings
 * Build the index:

 %%PREFIX%%/bin/build-index.sh
===

Regards,

Xavier

-- 
Xavier Humbert - sysadmin & network engineer
___
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: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-16 Thread Xavier
On 15/11/2018 14:07, Lars Engels wrote:
> On Thu, Nov 08, 2018 at 10:06:15PM +0100, Xavier wrote:
>> On 08/11/2018 14:17, Lars Engels wrote:
>>> Do you see any php related entries in your apache logs?
>>>
>>
>> No, just the stack trace on screen
>>
> 
> I just encountered the same problem after upgrading from php71 to php72.
> I had to also upgrade mod_php71 to mod_php72 and restart Apache
> afterwards. Now Icinga Web 2 is up and running again.
> 

Il deleteted all the php72 stuff. The reinstalled it, version was bumped
from 7.2.11 to 7.2.12. And guess what ? It works again !

Thanks to all who helped
-- 
Xavier Humbert - sysadmin & network engineer
___
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"


Acme-client (Let's Encrypt)and OpenSSL

2018-11-10 Thread Xavier
Hi,

Following the upgrade fom 11-STABLE to 12-STABLE, I updated OpenSSL from
1.0.1 to 1.1.1, since it seemd mandatory for pkg to work

But when I check pacakages with pkg check -Bd, I've an error :
> acme-client is missing a required shared library: libssl.so.46

Trying to rebuild acme-client, it insists to install libressl, which
obvously fails.

Despite that, renewing y certificates still works

How could I fix it ?

Thanks

PS : the upgrade to 12-STABLE was the worst in 20 years, regarding the
update of ports, afa OpenSSL is concerned

-- 
Xavier Humbert - sysadmin & network engineer
___
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: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Xavier
On 08/11/2018 14:17, Lars Engels wrote:
> On Thu, Nov 08, 2018 at 01:02:43PM +0100, Xavier wrote:
>> On 08/11/2018 12:57, Xavier wrote:
>>> On 07/11/2018 13:09, Lars Engels wrote:
>>>> On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
>>>>> On 07/11/18 08:46, Guido Falsi wrote:
>>>>>> On 07/11/18 07:24, Xavier wrote:
>>>>>>> On 03/11/2018 18:50, Guido Falsi wrote:
>>>>>>>> On 03/11/18 18:17, Xavier Humbert wrote:
>>>>>>>>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
>>>>>>>>> PHP72.
>>>>>>>>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>>>>>>>>> crashes with :
>>>>>>>>>
>>>>>>>>>> Call to undefined function Icinga\Util\json_encode() in
>>>>>>>>>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Any idea ?
>>>>>>>>
>>>>>>>> Yess, you need to install the php72-json package which provides the
>>>>>>>> json_encode() function.
>>>>>>>>
>>>>>>>> The port actually depends on it, so something went wrong with your 
>>>>>>>> update.
>>>>>>>>
>>>>>>>> You should try reinstalling it and check that all dependencies install
>>>>>>>> successfully.
>>>>>>>>
>>>>>>>
>>>>>>> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
>>>>>>> installed, in the correct flavour. And pkg check -Bd succeeds
>>>>>>>
>>>>>>
>>>>>> Is it being loaded?
>>>>>>
>>>>>> Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
>>>>>> correct content.
>>>>>>
>>>>>
>>>>> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.
>>>>
>>>> Can you check if you also upgraded the mod_php[57][16] module for
>>>> Apache?
>>>>
>>>
>>> Ah ! I tried already too reinstall php72-json, but not mod_php
>>> And it fails :
>>>
>>> # pkg install -f mod_php72
>>> Updating FreeBSD repository catalogue...
>>> FreeBSD repository is up to date.
>>> All repositories are up to date.
>>> The following 1 package(s) will be affected (of 0 checked):
>>>
>>> New packages to be INSTALLED:
>>> mod_php72: 7.2.11
>>>
>>> Number of packages to be installed: 1
>>>
>>> The process will require 5 MiB more space.
>>> 1 MiB to be downloaded.
>>>
>>> Proceed with this action? [y/N]: y
>>> [1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
>>> pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
>>> Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
>>> pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue
>>>
>>> I'll investigate that.
>>>
>>> Thanks,
>>>
>>
>> Well, after pkg update, it installs, but the web is still failing
> 
> Do you see any php related entries in your apache logs?
> 

No, just the stack trace on screen

-- 
Xavier

___
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: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Xavier
On 08/11/2018 12:57, Xavier wrote:
> On 07/11/2018 13:09, Lars Engels wrote:
>> On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
>>> On 07/11/18 08:46, Guido Falsi wrote:
>>>> On 07/11/18 07:24, Xavier wrote:
>>>>> On 03/11/2018 18:50, Guido Falsi wrote:
>>>>>> On 03/11/18 18:17, Xavier Humbert wrote:
>>>>>>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
>>>>>>> PHP72.
>>>>>>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>>>>>>> crashes with :
>>>>>>>
>>>>>>>> Call to undefined function Icinga\Util\json_encode() in
>>>>>>>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>>>>>>>
>>>>>>>
>>>>>>> Any idea ?
>>>>>>
>>>>>> Yess, you need to install the php72-json package which provides the
>>>>>> json_encode() function.
>>>>>>
>>>>>> The port actually depends on it, so something went wrong with your 
>>>>>> update.
>>>>>>
>>>>>> You should try reinstalling it and check that all dependencies install
>>>>>> successfully.
>>>>>>
>>>>>
>>>>> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
>>>>> installed, in the correct flavour. And pkg check -Bd succeeds
>>>>>
>>>>
>>>> Is it being loaded?
>>>>
>>>> Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
>>>> correct content.
>>>>
>>>
>>> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.
>>
>> Can you check if you also upgraded the mod_php[57][16] module for
>> Apache?
>>
> 
> Ah ! I tried already too reinstall php72-json, but not mod_php
> And it fails :
> 
> # pkg install -f mod_php72
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> All repositories are up to date.
> The following 1 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
> mod_php72: 7.2.11
> 
> Number of packages to be installed: 1
> 
> The process will require 5 MiB more space.
> 1 MiB to be downloaded.
> 
> Proceed with this action? [y/N]: y
> [1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
> pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
> Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
> pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue
> 
> I'll investigate that.
> 
> Thanks,
> 

Well, after pkg update, it installs, but the web is still failing

-- 
Xavier

___
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: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-08 Thread Xavier
On 07/11/2018 13:09, Lars Engels wrote:
> On Wed, Nov 07, 2018 at 08:48:19AM +0100, Guido Falsi wrote:
>> On 07/11/18 08:46, Guido Falsi wrote:
>>> On 07/11/18 07:24, Xavier wrote:
>>>> On 03/11/2018 18:50, Guido Falsi wrote:
>>>>> On 03/11/18 18:17, Xavier Humbert wrote:
>>>>>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
>>>>>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>>>>>> crashes with :
>>>>>>
>>>>>>> Call to undefined function Icinga\Util\json_encode() in
>>>>>>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>>>>>>
>>>>>>
>>>>>> Any idea ?
>>>>>
>>>>> Yess, you need to install the php72-json package which provides the
>>>>> json_encode() function.
>>>>>
>>>>> The port actually depends on it, so something went wrong with your update.
>>>>>
>>>>> You should try reinstalling it and check that all dependencies install
>>>>> successfully.
>>>>>
>>>>
>>>> Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
>>>> installed, in the correct flavour. And pkg check -Bd succeeds
>>>>
>>>
>>> Is it being loaded?
>>>
>>> Check for 'ext-20-json.ini' to be present in /usr/local/etc/php and have
>>> correct content.
>>>
>>
>> BTW, if you've not tried it a 'pkg install -f php72-json' is worth a try.
> 
> Can you check if you also upgraded the mod_php[57][16] module for
> Apache?
> 

Ah ! I tried already too reinstall php72-json, but not mod_php
And it fails :

# pkg install -f mod_php72
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    mod_php72: 7.2.11

Number of packages to be installed: 1

The process will require 5 MiB more space.
1 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/1] Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
pkg: cached package mod_php72-7.2.11: size mismatch, fetching from remote
Fetching mod_php72-7.2.11.txz: 100%1 MiB   1.2MB/s00:01
pkg: cached package mod_php72-7.2.11: size mismatch, cannot continue

I'll investigate that.

Thanks,

-- 
Xavier
___
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: Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-06 Thread Xavier
On 03/11/2018 18:50, Guido Falsi wrote:
> On 03/11/18 18:17, Xavier Humbert wrote:
>> Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to PHP72.
>> php72-json is installed, but when I launch a navigator, IcingaWeb2
>> crashes with :
>>
>>> Call to undefined function Icinga\Util\json_encode() in
>>> /usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57
>>>
>>
>> Any idea ?
> 
> Yess, you need to install the php72-json package which provides the
> json_encode() function.
> 
> The port actually depends on it, so something went wrong with your update.
> 
> You should try reinstalling it and check that all dependencies install
> successfully.
> 

Thanks for your answer Guido. Unfortunately, as I wrote, php-json *is*
installed, in the correct flavour. And pkg check -Bd succeeds

Regards

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


Upgrade from PHP71 to PHP72 breaks icingaweb2

2018-11-03 Thread Xavier Humbert
Context FreeBSD 11-STABLE, last pkg upgrade led to update PHP71 to 
PHP72.

php72-json is installed, but when I launch a navigator, IcingaWeb2
crashes with :


Call to undefined function Icinga\Util\json_encode() in
/usr/local/www/icingaweb2/library/Icinga/Util/Json.php:57



Any idea ?

Thanks

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


Initial setting for graphite-web

2018-10-04 Thread Xavier
Hi all,

FWIW, I had to google two hours, read help pages run locate.updatedb,
etc just in order to run the initial databse setting for graphite-web
(version py27-graphite-web-1.1.4, FreeBSD 11.2-STABLE)

Basically all the doc say to run manage.py wich does not exist anymoree.

The magic is
$ sudo django-admin.py migrate --settings=graphite.settings \
  --run syncdb

HTH,

Regards

-- 
Xavier HUMBERT
___
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: Samba dependency to Bind

2018-08-27 Thread Xavier
On 27/08/2018 20:35, Xavier wrote:
> Hi, to all,
> 
> I tried to upgrad samba47 to 4.7.9 as it is in ports HEAD.
> 
> But the build process fails upon dns/bind dep :
> 
>> ===>   samba47-4.7.9 depends on package: bind911>=9.11.0.0 - not found
>>
>> ===>  bind911-9.11.4P1_1 conflicts with installed package(s): 
>>   bind913-9.13.2_1

It was an optional dependency I didn't uncheck after upgrading bind.


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


Samba dependency to Bind

2018-08-27 Thread Xavier
Hi, to all,

I tried to upgrad samba47 to 4.7.9 as it is in ports HEAD.

But the build process fails upon dns/bind dep :

> ===>   samba47-4.7.9 depends on package: bind911>=9.11.0.0 - not found
> 
> ===>  bind911-9.11.4P1_1 conflicts with installed package(s): 
>   bind913-9.13.2_1

Thxs

Xavier

-- 
Xavier HUMBERT 
2 rue des Patureaux
54460 AINGERAY / FRANCE
Tél  +33 6 71 17 29 07
Dom  +33 9 51 00 37 63
___
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: textproc/jq and oniguruma5

2017-07-13 Thread Xavier Garcia
Hi,

Thank you, it was really fast :)

Would it be possible to also port the change to 2017Q3?

Kind regards,

Xavier Garcia

On Thu, Jul 13, 2017 at 12:53:01PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > jq depends on oniguruma5 but this library has quite a few vulnerabilities
> > and it doesn't seem to be maintained.
> > 
> > https://vuxml.freebsd.org/freebsd/b396cf6c-62e6-11e7-9def-b499baebfeaf.html
> > 
> > 
> > Would it be possible to change the dependencies in textproc/jq
> > from devel/oniguruma5 to devel/oniguruma6?
> > 
> > There's already a bug report but no action has been taken yet.
> > 
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220586
> 
> Done.
> 
> -- 
> 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"


samba 44 and bind 911

2017-06-01 Thread Xavier
Hello,

I hava a build problem while upgrading samba44 :

[root@numenor ~]# portupgrade -v samba44
[... building...]
===>  Staging for samba44-4.4.14
===>   samba44-4.4.14 depends on package: libarchive>=3.1.2 - found
===>   samba44-4.4.14 depends on package: py27-dnspython>=1.9.4 - found
===>   samba44-4.4.14 depends on package: py27-iso8601>=0.1.11 - found
===>   samba44-4.4.14 depends on package: talloc>=2.1.6 - found
===>   samba44-4.4.14 depends on package: tevent>=0.9.28 - found
===>   samba44-4.4.14 depends on package: tdb>=1.3.8 - found
===>   samba44-4.4.14 depends on package: ldb>=1.1.26 - found
===>   samba44-4.4.14 depends on package: bind910>=9.10.0.0 - not found

===>  bind910-9.10.5 conflicts with installed package(s):
  bind911-9.11.1

It seems that samba44 requires bind 910 while bind 911 doesent meet the
requisite bind910>=9.10.0.0

Is there another workaround than to downgrade bind911 to 910 ?

TIA,

Xav

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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-packaging and old syle packages, adding MANIFEST

2016-08-23 Thread Xavier Humbert

Hello,

Is it feasible to just add the +MANIFEST file to a binary package 
(namely Kaspersky for FreeBSD 8.X) to make it recognised by pkgng ?


Thanks,

--
Xavier

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


"pkgtools.conf" deprecated examples

2016-08-06 Thread Xavier

Hi,

I noticed that /usr/local/etc/pkgtools.conf.sample still shows examples 
like "WITH_FOO=true" "WITHOUT_BAR=true", while it is deprecated, and 
should be :


myport => 'WITH="FOO" WITHOUT="BAR"'


Someone to fix, or perhaps I should submit a patch myself ?

Thx

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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"


INDEX build failed

2016-06-10 Thread Xavier

Hello,

It surely depends on build option I use in the dependency chain for 
dbus, but I cannot figure which it is.


In short
--
# rm -rf /usr/ports && mkdir ports
# cd /usr/ports
# svn co svn://svn.freebsd.org/ports/head .
# make index

Generating INDEX-9 - please wait..make_index: Circular dependency loop 
found: dbus-1.8.20 depends upon itself.

--

It happens as well on 9-STABLE, 10.3-RELEASE, CURRENT

I can submit if needed my /var/db/ports/*/options files

Thxs

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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: Portugrade uninstall failed (Broken pipe)

2016-05-08 Thread Xavier

On 08/05/16 12:30, Xavier wrote:


I do NOT use Ruby22, but set DEFAULTS_VERSIONS in make.conf. Forced
rebuild of ruby21, and portupgrade, with no success. As read in the
general list, it is not uncommon.

Bapt, is this a pkg issue ?


Sorry Bapt, apparently it is not, since `make reinstall` works like a charm.

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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"


Portugrade uninstall failed (Broken pipe)

2016-05-08 Thread Xavier

Hi,

Running 10.3-STABLE/i386 (but fails also on amd64), with fresh HEAD 
ports, portupgrade fails on a couple of ports :


-
--->  Build of databases/sqlite3 ended at: Sun, 08 May 2016 12:15:30 
+0200 (consumed 00:03:11)

--->  Updating dependency info
--->  Uninstallation of sqlite3-3.12.1 started at: Sun, 08 May 2016 
12:15:30 +0200

--->  Fixing up dependencies before creating a package
--->  Backing up the old version
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 792 packages found - done]
--->  Deinstalling 'sqlite3-3.12.1'
[Reading data from pkg(8) ... - 792 packages found - done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! sqlite3-3.12.1(Broken pipe)
-

I do NOT use Ruby22, but set DEFAULTS_VERSIONS in make.conf. Forced 
rebuild of ruby21, and portupgrade, with no success. As read in the 
general list, it is not uncommon.


Bapt, is this a pkg issue ?

Thanks,

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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"


Fw: Unexpected dependencies of graphics/libGL

2016-01-18 Thread Luís Fernando Schultz Xavier da Silveira


Begin forwarded message:

Date: Sun, 17 Jan 2016 03:19:23 +
From: Luís Fernando Schultz Xavier da Silveira <schu...@ime.usp.br>
To: freebsd-questi...@freebsd.org
Subject: Unexpected dependencies of graphics/libGL


Hello,

Since the beginning of this year, graphics/libGL and friends started
depending on a significant amount of software, including git and bzr.
Could anyone explain why that is and whether it is possible to avoid
such dependencies?

Also, there is a dependency on clang and llvm from ports because of
advanced features that I (and I guess many of us) do not require.
I believe it has to do with the Gallium driver and OpenCL.

Just a suggestion: it would be pretty nice if there were some port
knobs to avoid pulling in another toolchain from ports to build
software that is never run.

Thank you,
Luís Fernando

___
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: www/xpi-adblock_plus

2015-12-31 Thread Xavier Humbert

On 31/12/2015 14:07, Andrea Venturoli wrote:

Hello.

I've been using this Firefox add-on for a while, installing it through 
its port.
Lately however, after yet another Firefox upgrade, it stopped working, 
because it's not signed.


Is signing of the port on the way? Is it possible at all? Is this the 
end of Firefox add-ons through the port tree?
Should I remove the port and download the add-on directly through 
Firefox?

Any other thought?

 bye & Thanks
av.

Hi Andrea,

You can disable signing check by opening an "about:config" window, and 
setting *xpinstall.signatures.required to false.*


HTH

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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"


Port require a missing libraries: libgdk_pixbuf-2.0.so.0

2015-11-21 Thread Xavier

Hello,

I ran in a strange problem I cannot fix :

[root@valinor ~]# pkg check -d
Checking all packages: 100%
graphviz has require a missing libraries: libgdk_pixbuf-2.0.so.0
gtk-engines2 has require a missing libraries: libgdk_pixbuf-2.0.so.0
gtk-update-icon-cache has require a missing libraries: 
libgdk_pixbuf-2.0.so.0

gtk2 has require a missing libraries: libgdk_pixbuf-2.0.so.0
[...]

However, GTK programs run fine, and the library is here :

[root@valinor ~]# pkg which /usr/local/lib/libgdk_pixbuf-2.0.so.0
/usr/local/lib/libgdk_pixbuf-2.0.so.0 was installed by package 
gdk-pixbuf2-2.32.1

[root@valinor ~]# ls -alF /usr/local/lib/libgdk_pixbuf-2.0.so.0
lrwxr-xr-x  1 root  wheel  29 Nov 22 00:10 
/usr/local/lib/libgdk_pixbuf-2.0.so.0@ -> libgdk_pixbuf-2.0.so.0.3200.1


So I rebuild the whole stuff :

[root@valinor ~]# portupgrade -vf graphviz gtk-engines2 
gtk-update-icon-cache gtk2 [...]


The build process finishes fine but the error "has require a missing 
libraries: libgdk_pixbuf-2.0.so.0" is still here


How can this happen ?

Thanks

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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 : option to exclude some files from checksum ?

2015-11-01 Thread Xavier

Hi folks,

I noticed that some ports are complaining in daily check that a checksum 
has changed.


Example : f-prot which checksums virus definitions, which obviously changes.

Is there some macro/option in Makefile to not checksum this file ?

I hope my point is clear enough...

TIA,

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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: pkg 1.6 "Cleaning obsolete shared libraries" very long

2015-09-27 Thread Xavier

On 27/09/2015 10:08, Baptiste Daroussin wrote:

On Sat, Sep 26, 2015 at 07:22:46PM -0700, Manfred Antar wrote:

I’m seeing the same thing here.
I switched over to using portmaster as portupgrade was taking way to much time.
This is on Intel Core2 Quad 3ghz.

Also after doing a pkg check -d there was a bunch of missing 
libraries:libintl.so.9
It’s there:
ls -l /usr/local/lib/libintl*
-rw-r--r--  1 root  wheel  103320 Sep 26 12:08 /usr/local/lib/libintl.a
lrwxr-xr-x  1 root  wheel  16 Sep 26 12:08 /usr/local/lib/libintl.so@ -> 
libintl.so.8.1.3
lrwxr-xr-x  1 root  wheel  16 Sep 26 12:08 /usr/local/lib/libintl.so.8@ -> 
libintl.so.8.1.3
-rw-r--r--  1 root  wheel   55118 Sep 26 12:08 /usr/local/lib/libintl.so.8.1.3
lrwxr-xr-x  1 root  wheel  12 Sep 26 12:08 /usr/local/lib/libintl.so.9@ -> 
libintl.so.8
I reinstalled the ports that referenced this and the error went away.
Still getting error on this:
pkg check -d
Checking all packages: 100%
p5-perlkde has require a missing libraries: QtCore4.so
QtCore4.so is installed at:
/usr/local/lib/perl5/site_perl/mach/5.20/auto/QtCore4/QtCore4.so
reinstalling p5-perlqt-4.14.3 and p5-perlkde doesn’t make the error go away.
It wasn’t there before pkg-1.6.0


How are you building/installing your packages?

Best regards,
Bapt



With portupgrade

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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 1.6 "Cleaning obsolete shared libraries" very long

2015-09-26 Thread Xavier

Hi,

Since upgrading to pkg 1.6 the last stage of portupgrade (Cleaning out 
obsolete shared libraries) has become incredibly slow. The command is :


/usr/local/sbin/pkg query %n-%v %Fp

which eats 100% CPU for many minutes

Thks for clues

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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: pkg 1.6 "Cleaning obsolete shared libraries" very long

2015-09-26 Thread Xavier

On 27/09/2015 04:07, Xavier wrote:

/usr/local/sbin/pkg query %n-%v %Fp

which eats 100% CPU for many minutes


FWIW, this command is called by

/usr/local/sbin/portsclean -QL

Thought this glitch have been fixed...

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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"


Perl 5.20 breaks /usr/bin/perl

2015-08-15 Thread Xavier

Hi,

Wondering why nobody does report it yet.
I noticed a couple weeks ago, an confirmed today on another computer, that :

portupgrade -o lang/perl5.20 lang/perl5.18

removes the symlink in /usr/bin, and doesn't recreate it, thus broking 
all perl scripts and programs.


In fact, this line :

/bin/ln -sf ${PKG_PREFIX}/bin/perl${PERL_VERSION} /usr/bin/${binary}

in function do_create_links() thas was in 
lang/perl5.18/files/use.perl.in is missing in 5.20 port. All links 
handling has been removed from use.perl.in, and the knob in make config too.


[root@aragorn perl5.20]# diff files/use.perl.in 
../perl5.18/files/use.perl.in

3c3
 # $FreeBSD: head/lang/perl5.20/files/use.perl.in 384051 2015-04-15 
13:46:34Z mat $

---
 # $FreeBSD: head/lang/perl5.18/files/use.perl.in 373771 2014-12-02 
16:27:00Z mat $

4a5
 LINK_USRBIN=%%LINK_USRBIN%%
7a9,42
 special_link_list=perl perl5

 do_remove_links()
 {
   for binary in ${special_link_list} ; do
   if [ -L /usr/bin/${binary} ] ; then
   /bin/rm -f /usr/bin/${binary}
   fi
   done
   bins=`/bin/ls /usr/bin/*perl*5.* ${PKG_PREFIX}/bin/*perl*5.* 
2/dev/null`

   for binary in ${bins} ; do
   if [ -L ${binary} ] ; then
   echo use.perl: Removing ${binary} installed by 
an older perl port

   /bin/rm -f ${binary}
   fi
   done
 }

 do_create_links()
 {
   for binary in ${special_link_list} ; do
   if [ -f /usr/bin/${binary} ] ; then
   echo use.perl: Backing up /usr/bin/${binary} 
as /usr/bin/${binary}.freebsd
   /bin/mv -f /usr/bin/${binary} 
/usr/bin/${binary}.freebsd

   fi
   if [ -e /usr/bin/${binary} ] ; then
   echo use.perl: /usr/bin/${binary} is still 
there, which should not happen

   elif [ -e ${PKG_PREFIX}/bin/perl${PERL_VERSION} ] ; then
   /bin/ln -sf 
${PKG_PREFIX}/bin/perl${PERL_VERSION} /usr/bin/${binary}

   else
   echo use.perl: 
${PKG_PREFIX}/bin/perl${PERL_VERSION} is not there, a symlink won't do 
any good

   fi
   done
 }
36,37c71,78
   do_cleanup_manpath
   do_spam_manpath
---
   if [ ${LINK_USRBIN} = yes ] ; then
   do_remove_links
   do_create_links
   fi
   if [ ${OSVERSION} -lt 900022 ] ; then
   do_cleanup_manpath
   do_spam_manpath
   fi
39c80,81
   do_cleanup_manpath
---
   [ ${LINK_USRBIN} = yes ]  do_remove_links
   [ ${OSVERSION} -lt 900022 ]  do_cleanup_manpath





Regards,

Xav

--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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: Perl 5.20 breaks /usr/bin/perl

2015-08-15 Thread Xavier

On 15/08/15 20:59, Mathieu Arnold wrote:

+--On 15 août 2015 21:51:36 +0200 Xavier xav...@groumpf.org wrote:
| Hi,
|
| Wondering why nobody does report it yet.
| I noticed a couple weeks ago, an confirmed today on another computer,
| that :
|
| portupgrade -o lang/perl5.20 lang/perl5.18
|
| removes the symlink in /usr/bin, and doesn't recreate it, thus broking
| all perl scripts and programs.

Yes, it does not create a /usr/bin/perl symlink, starting with Perl 5.20.

If you still need one, and are not using some common shebang, like
/usr/local/bin/perl, which still works, or /usr/bin/env perl, which also
still works, create one yourself.

Cordialement, :-)



IMHO, the port should at least emit a warning, since almost every Perl 
program I'm aware of (including those I wrote for 20 years, since 
MacPerl) use shebang /usr/bin/perl. I even remember it's mentioned in 
the Camel Book.


Cordialement,

Xav
--
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
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

Clarification about WITH_IPV6 becoming WITH=IPV6 and others, regarding pkgtools.conf

2015-04-29 Thread Xavier
Hi,

Il often notice, when upgrading a port, a notice like this :

/!\ WARNING /!\
You are using the following deprecated options: WITH_IPV6 WITHOUT_PERL
If you added them on the command line, you should replace them by
WITH=IPV6 WITHOUT=PERL 

It obviously applies to the [MAKE ARGS] section of pkgtools.conf, since
section MAKE_ARGS is a list of make command line variables

So with the new convention, just taking an example from my file :

postfix*' = 'WITH_PCRE=yes WITH_DOVECOT=yes  WITH_BDB=yes WITH_TLS=yes\
WITH_MYSQL=yes WITH_BDB_VER=5 WITH_MYSQL_VER=55 WITH_IPV6=1 \
WITHOUT_FOOBAR',

Should be rewritten

postfix*' = 'WITH=PCRE DOVECOT BDB TLS MYSQL BDB_VER=5 MYSQL_VER=55 \
IPV6 WITHOUT=FOOBAR',

Is this right ?

TIA,

Xav

PS : cc to bdrewery@ for advice and proposed help to rewrite the
relevant section of conf.sample files

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Clarification about WITH_IPV6 becoming WITH=IPV6 and others, regarding pkgtools.conf

2015-04-18 Thread Xavier
Hi,

Il often notice, when upgrading a port, a notice like this :

/!\ WARNING /!\
You are using the following deprecated options: WITH_IPV6 WITHOUT_PERL
If you added them on the command line, you should replace them by
WITH=IPV6 WITHOUT=PERL 

It obviously applies to the [MAKE ARGS] section of pkgtools.conf, since
section MAKE_ARGS is a list of make command line variables

So with the new convention, just taking an example from my file :

postfix*' = 'WITH_PCRE=yes WITH_DOVECOT=yes  WITH_BDB=yes WITH_TLS=yes
WITH_MYSQL=yes WITH_BDB_VER=5 \
WITH_MYSQL_VER=55 WITH_IPV6=1 WITHOUT_FOOBAR',

Should be rewritten

postfix*' = 'WITH=PCRE DOVECOT BDB TLS MYSQL BDB_VER=5 MYSQL_VER=55
IPV6 WITHOUT=FOOBAR',

Is this right ?

TIA,

Xav

PS : cc to bdrewery@ for advice and proposed help to rewrite the
relevant section of conf.sample files
-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


archivers/unzip : patch error

2015-02-20 Thread Xavier
There is something wrong in one patchfile for archivers/unzip :

| ===  Patching for unzip-6.0_5
| ===  Applying extra patch /usr/ports/archivers/unzip/files
|   /extra-|iconv-patch-unix_unix.c
| File to patch:

It comes from

[xavier@valinor unzip]$ head files/extra-iconv-patch-unix_unix.c
--- unix.c.orig 2015-02-17 15:18:36.176142072 -0800
+++ unix.c  2015-02-17 15:18:56.289341100 -0800
@@ -30,6 +30,9 @@

where it should be

--- unix/unix.c.orig2015-02-17 15:18:36.176142072 -0800
+++ unix/unix.c 2015-02-17 15:18:56.289341100 -0800
@@ -30,6 +30,9 @@

HTH,

Xav

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: swig~pkg-renamed-XXX prevents upgrading swig

2015-01-26 Thread Xavier
On 25/01/15 20:25, Baptiste Daroussin wrote:

 The following should work:
 pkg set -n swig~pkg-renamed~5AF8:swig
 pkg set -n swig~pkg-renamed~8A1C:swig13
 
 or you have the hammer way:
 pkg delete -fg swig*
 
 Then reinstall swig. somehow your setup never catches the swig package 
 renaming
 which occurs long ago.
 
 Best regards,
 Bapt

It worked, thanks !

Regards,

Xav

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


swig~pkg-renamed-XXX prevents upgrading swig

2015-01-25 Thread Xavier
Hi,

I cannot upgrade/reinstall swig (1.3  2.0) because a package name change :

| [root@valinor ~]# portupgrade -vf devel/swig20
| ---  Session started at: Sun, 25 Jan 2015 19:58:08 +0100
| [Reading data from pkg(8) ... - 650 packages found - done]
| ** Detected a package name change: swig~pkg-renamed~5AF8 |
|   (devel/swig20) - 'swig' (devel/swig20)
| ---  Reinstallation of devel/swig20 started at: Sun, 25 Jan 2015
|   19:58:23 +0100
| ---  Reinstalling 'swig~pkg-renamed~5AF8-2.0.12_1' (devel/swig20)
| ---  Build of devel/swig20 started at: Sun, 25 Jan 2015 19:58:23 |
|   +0100
| [...]
| ---  Uninstallation of swig~pkg-renamed~5AF8-2.0.12_1 started at:
|   Sun, 25 Jan 2015 20:02:20 +0100
| ---  Fixing up dependencies before creating a package
| ---  Backing up the old version
| pkg: No installed package matching swig~pkg-renamed~5AF8-2.0.12_1
|   found
| ** Backup failed.
| ---  Uninstallation of swig~pkg-renamed~5AF8-2.0.12_1 ended at: Sun,
|   25 Jan 2015 20:02:23 +0100 (consumed 00:00:02)
| ---  Reinstallation of devel/swig20 ended at: Sun, 25 Jan 2015
|   20:02:23 +0100 (consumed 00:03:59)
| ---  ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed
| ---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! devel/swig20 (swig~pkg-renamed~5AF8-2.0.12_1) (backup error)

However these packages are registered :

| [root@valinor ~]# pkg info swig\*
| swig~pkg-renamed~5AF8-2.0.12_1
| swig~pkg-renamed~8A1C-1.3.40

But cannot be deleted :

| [root@valinor ~]# pkg delete -f swig~pkg-renamed~5AF8-2.0.12_1
| Checking integrity... done (0 conflicting)
| Package(s) not found!

Many thanks for any help.

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: p5- ports not installing

2014-12-08 Thread Xavier Humbert
On 05/12/14 19:03, David Wolfskill wrote:
 The following is largely based on ports/UPDATING entry 20141127.

I read, and did it, with no success.

The reason was that, strangely, portupgrade did *not* rebuild perl
before the perlmods...

Maybe I did it the wrong way, I'm not really sure. But for me, upgrading
perl first fixed the problem.

Regards,

Xav

-- 
Xavier HUMBERT xav...@xavierhumbert.net
277 av. de la Division Leclerc
92290 CHATENAY MALABRY / FRANCE
Tél  +33 6 71 17 29 07
Dom  +33 9 51 00 37 63
Trav +33 1 41 87 18 39
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: pkg check -s -a output unusable/incomplete

2014-12-07 Thread Xavier
On 07/12/14 09:38, Milan Obuch wrote:

 # pkg check -s -a
 Checking all packages:  24%
 pkg: pkg_create_from_dir(lstat failed): No such file or directory
 Checking all packages: 100%
 #
 
 and no idea now which package needs reinstall.

Agreed. One need to use verbose output to identifiy the problem.

Xav

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


lang/gcc with default port options don't compile

2013-09-11 Thread Xavier

 

 

Hi,

If I compile lang/gcc with default port options:


root@acer_casa_FreeBSD:/usr/ports/lang/gcc # make showconfig
=== The following configuration options are available for gcc-4.6.3:
 BOOTSTRAP=off: Build using a full bootstrap
 JAVA=on: Java platform support
=== Use 'make config' to modify these settings
root@acer_casa_FreeBSD:/usr/ports/lang/gcc #


I get next error:


decnumber/dpd -I../libdecnumber   -I/usr/local/include .././../gcc-4.6.3/gcc/c-f
amily/c-common.c -o c-family/c-common.o
.././../gcc-4.6.3/gcc/c-family/c-common.c: In function 'record_types_used_by_cur
rent_var_decl':
.././../gcc-4.6.3/gcc/c-family/c-common.c:9537: error: 'types_used_by_cur_var_de
cl' undeclared (first use in this function)
.././../gcc-4.6.3/gcc/c-family/c-common.c:9537: error: (Each undeclared identifi
er is reported only once
.././../gcc-4.6.3/gcc/c-family/c-common.c:9537: error: for each function it appe
ars in.)
.././../gcc-4.6.3/gcc/c-family/c-common.c:9540: warning: implicit declaration of
 function 'types_used_by_var_decl_insert'
gmake[2]: *** [c-family/c-common.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/lang/gcc.
*** [build] Error code 1

Stop in /usr/ports/lang/gcc.
root@acer_casa_FreeBSD:/usr/ports/lang/gcc #


Somebody can help me ?

See you.

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


I can't compile graphics/py-cairo

2013-01-11 Thread Xavier

Hi to all,


I use 9.1-RELEASE and up to date the ports tree:


# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.FreeBSD.org... done.
Ports tree hasn't changed since last snapshot.
No updates needed.
Ports tree is already up to date.
root at casa:/root # date
Thu Jan 10 11:25:43 CET 2013


And graphics/py-cairo don't compile:


http://pastebin.com/1ccxe2jt


http://pastebin.com/4r5JGR3H


Any ideas ?


Thanks.



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


Re: Population libmap.conf

2011-11-06 Thread Xavier HUMBERT
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 Of course not.  I misread the question -- thought the OP was asking
 about a generic action by the admin before installing whatever.

Basically, it's about installing a binary port (namely news/dnews, works
with FreeBSD9, I tested it), which is compiled for FreeBSD4 only.

Adding dependency to compat_4x is mandatory, but isn't enough.

Thx,

-- 
XAv
In your pomp and all your glory you're a poorer man than me,
as you lick the boots of death born out of fear.
(Jethro Tull)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Population libmap.conf

2011-11-05 Thread Xavier HUMBERT
Hi,

I'm asking the best way to populate libmap.conf at before-install stage.

Obviously a shell script with this pseudo-code

if [ !grep myport]; then
cat mymaps  /etc/libmap.cobf
fi

will do.

But is there a standardized way to call it in the pre-install target ?

Thx,

-- 
XAv
In your pomp and all your glory you're a poorer man than me,
as you lick the boots of death born out of fear.
(Jethro Tull)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Right Way to set LICENSE

2011-11-04 Thread Xavier HUMBERT
Hi,

I'm porting an application which is commercial, but free for acaademic
use.

I just can't figure it, looking at Mk/bsd.licenses[.db].mk

Is the a standardized way for this ?

Thanks,

-- 
XAv
In your pomp and all your glory you're a poorer man than me,
as you lick the boots of death born out of fear.
(Jethro Tull)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


[SOLVED] Re: Building caire and $PATH order

2011-10-19 Thread Xavier HUMBERT
Xavier HUMBERT xavier.humb...@xavhome.fr.eu.org wrote:

 A couple of weeks ago, after installing openssl from ports, I changed
 PATH order in my .bash_login, in order to use /usr/local before /usr an
 so on.
 
 Today, I upgraded icu, and its dependants, including cairo. The build
 was successful until reaching cairo :
[...snip...]

Well, after digging in configure script, and putting some debug code,
the culprit is 
chkrootkit.
It has a strings binary which exhibits the very same error :
 [root@valinor ~]# /usr/local/sbin/strings --help
 fopen: No such file or directory

And, in fact, the problem has already been reported in freebsd-gnome :
http://markmail.org/message/qufu3ddabtqucagr

I dunno why chkrootkit uses a very common and standard binary name for
their own.

-- 
XAv
In your pomp and all your glory you're a poorer man than me,
as you lick the boots of death born out of fear.
(Jethro Tull)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Building caire and $PATH order

2011-09-15 Thread Xavier HUMBERT
Hi,

A couple of weeks ago, after installing openssl from ports, I changed
PATH order in my .bash_login, in order to use /usr/local before /usr an
so on.

Today, I upgraded icu, and its dependants, including cairo. The build
was successful until reaching cairo :

---
checking how to allow undefined symbols in shared libraries used by test
suite... checking whether cc supports -Wl,--allow-shlib-undefined... yes
-Wl,--allow-shlib-undefined
checking whether byte ordering is bigendian... no
checking whether float word ordering is bigendian... fopen: No such file
or directory
fopen: No such file or directory
unknown
configure: error: 

Unknown float word ordering. You need to manually preset
ax_cv_c_float_words_bigendian=no (or yes) according to your system.
---

Setting PATH with /usr/local *after*, on the command line fixed the
problem.

Is this a known behavior ? A mess with two include files with the same
name in /usr/include and /usr/local/include ?

Thanks,

-- 
XAv
In your pomp and all your glory you're a poorer man than me,
as you lick the boots of death born out of fear.
(Jethro Tull)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Firefox-4.0.1.

2011-07-09 Thread Francesc Xavier Esteller i Bellés


'uname -a':

FreeBSD desktopxavi1 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #71: Thu Sep  
3 00:44:18 UTC 2009 
root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/GENERIC  i386


.

'ident  /usr/ports/www/firefox/Makefile':

/usr/ports/www/firefox/Makefile:
 $FreeBSD: ports/www/firefox/Makefile,v 1.240 2011/04/29 06:31:39 
flo Exp $



..


Firefox seems to work perfectly (in fact, I can surf on the Internet), 
but it crashes when _I click on the items on the menu bar_ (not on the 
other ones).






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


rc.d scripts and REQUIRE part

2009-11-20 Thread Xavier Beaudouin
Hello,

I am trying to understand how to customize rc.d scripts to get the right
startup sequence for all daemons.

Seems we have (my case havp, but it is also the same problem for example
monit) :

/usr/local/etc/rc.d/havp :

# PROVIDE: havp
# REQUIRE: DAEMON cleanvar
# BEFORE: LOGIN

But in my configuration, I need ... clamd to be started before havp. 

I have no garantee that clamd is started before havp.

Is there any hint (I had a look in handbook, but didn't find yet) a way to
add some REQUIRE stuff for a rc script inside, for example /etc/rc.conf ?

Thanks,
Xavier

--
Association KAZAR - http://kazar.net/
Non profit hosting for anybody
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: [Salut mon cher Ami]

2009-06-05 Thread hochmuth xavier
Bonjour, c'est hochmuth xavier 

Mon adresse (xavier.hochm...@iutmontp.univ-montp2.fr) est protégée contre les 
spam et les virus par MailInBlack.

 Veuillez cliquer sur le lien ci-dessous svp pour vous identifier et pour que 
vos messages me soient transmis.

http://filtre.iutmontp.univ-montp2.fr/v/?1E24EB5A17amp;tmstp=20090605200312amp;tk=message_confirmamp;tkid=7594amp;lang=1

Vous n'aurez à faire cette opération qu'une seule fois.

Meilleures salutations.This email is from hochmuth xavier

My address (xavier.hochm...@iutmontp.univ-montp2.fr) is protected against spam 
and viruses by MailInBlack.

 Please click on the following link in order to identify yourself to me and to 
allow your message to reach me.

http://filtre.iutmontp.univ-montp2.fr/v/?1E24EB5A17amp;tmstp=20090605200312amp;tk=message_confirmamp;tkid=7594amp;lang=2

This needs to be done only once, for this email and all future email 
correspondence.

--
Powered by MailInBlack


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


Re: grace 5.1.21 port

2007-04-25 Thread Xavier Otazu

Hello,

Great news!

Thanks a lot for your effort!

Where may I learn how to become a port maintainer?  I've seen the
Porter's Handbook, but I am not sure I will have enough time to read
all this handbook in order to maintain the grace port. There some
short handbook to know the basic skills to become a maintainer?

cheers,

Xavier 

On Tue, 24 Apr 2007 22:40:15 +0200
Thierry Thomas [EMAIL PROTECTED] wrote:

 Le Mar 17 avr 07 à 13:38:03 +0200, Xavier Otazu [EMAIL PROTECTED]
  écrivait :
  
  Hello:
 
 ¡Hello!
 
  I do not know if this e-mail account is a mail-list or a
  personal e-mail. Anyway, I woul like to say to the maintainer of
  this port to upgrade it to the newest recent version, i.e. 5.1.21.
 
 Just upgraded.
 
 Note: there is currently no maintainer for this port; if you are
 interested, you could grab its maintainership.
 
 Regards,
 -- 
 Th. Thomas.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


grace 5.1.21 port

2007-04-17 Thread Xavier Otazu


Hello:

I do not know if this e-mail account is a mail-list or a
personal e-mail. Anyway, I woul like to say to the maintainer of this
port to upgrade it to the newest recent version, i.e. 5.1.21.

Thanks a lot for your work!

cheers

Xavier
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]