postgis status

2018-08-23 Thread Loïc Bartoletti

Hi,

The new version of postgis (2.5) is coming soon. I'm preparing the tests 
to integrate it into our ports. I take this opportunity to ask you a 
general question about the status of postgis in our ports.


As for postgresql, with each postgis version, we have a port 
(databases/postgis2(1,2,3,4 and soon 5). I proposed some time ago, to be 
able to manage these versions with a USE ( 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213038 ) which from my 
point of view allows to simplify dependencies as for pgrouting ( 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225264 )


I wonder if we should continue to maintain all versions and in this 
case, we should go ahead with the framework (or other ideas?).
Another possibility is simply to delete the different versions and only 
propose the last one; I will prepare the patch for the postgis25 release.


What do you think of that?

Regards

Loïc

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


binutils family and failure on i386 BSD 11.2

2018-08-23 Thread Yuet-nan Wong via freebsd-ports
Can someone advise how devel/binutils should be used. I notice a lot of 
spinoffs from devel/binutils. Should I use one of the spinoffs. I always build 
ports with devel/binutils but building ports on i386 FreeBSD 11.2 come back 
with message
/usr/local/bin/ld: 
/usr/local/libexec/gcc8/gcc/i386-portbld-freebsd11.2/8.2.0/liblto_plugin.so: 
error loading plugin: Service unavailable

The file existslrwxr-xr-x  1 root  wheel    22B Jul 29 10:36 
/usr/local/libexec/gcc8/gcc/i386-portbld-freebsd11.2/8.2.0/liblto_plugin.so@ -> 
liblto_plugin.so.0.0.0

-rwxr-xr-x  1 root  wheel    90K Jul 29 10:36 
/usr/local/libexec/gcc8/gcc/i386-portbld-freebsd11.2/8.2.0/liblto_plugin.so.0.0.0*
I only use i386 and amd64 targets.
Help please?
___
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: databases/py-mysqlclient and others fail to build after update of mariadb100-client

2018-08-23 Thread Wolfgang Zenker
Hi,

* Wolfgang Zenker  [180810 14:29]:
> the immediate reason for the build failure appears to be a weird option
> "-l-pthread" in the cc invocation:

> 
> -- snip ---
> building '_mysql' extension
> creating build/temp.freebsd-11.1-RELEASE-p12-amd64-2.7
> cc -DNDEBUG -O2 -pipe -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing 
> -DLIBICONV_PLUG -fPIC -Dversion_info=(1,3,12,'final',0) -D__version__=1.3.12 
> -I/usr/local/include/mysql -I/usr/local/include/mysql/.. 
> -I/usr/local/include/python2.7 -c _mysql.c -o 
> build/temp.freebsd-11.1-RELEASE-p12-amd64-2.7/_mysql.o
> cc -shared -fstack-protector -O2 -pipe -DLIBICONV_PLUG -fstack-protector 
> -fno-strict-aliasing -DLIBICONV_PLUG 
> build/temp.freebsd-11.1-RELEASE-p12-amd64-2.7/_mysql.o -L/usr/local/lib/mysql 
> -L/usr/local/lib -L/usr/local/lib -lmysqlclient_r -l-pthread -lz -lm 
> -lexecinfo -lssl -lcrypto -lpython2.7 -o 
> build/lib.freebsd-11.1-RELEASE-p12-amd64-2.7/_mysql.so
> /usr/bin/ld: cannot find -l-pthread
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> error: command 'cc' failed with exit status 1
> *** Error code 1
> 

> As the port itself has not changed for several weeks, the real problem
> must be somewhere else, probably in the mariadb port?
> Any idea where this weird lib parameter comes from and how / where to
> fix it?

the problem is in databases/mariadb100-client, which creates a
mysql_config script with the weird lib parameter.
I have filed PR #230839

Wolfgang
___
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: audio/clementine-player crashes on startup

2018-08-23 Thread Janos Dohanics
On Wed, 1 Aug 2018 13:38:59 -0400
Janos Dohanics  wrote:

> Hello,
> 
> since upgrading to clementine-player-1.3.1.441_2, it crashes on
> startup:
> 
> $ clementine-player   
> 13:00:23.182 ERROR unknown  
> Unable to update music library database
> Abort trap (core dumped)
> 
> The system is 10.4-STABLE FreeBSD 10.4-STABLE #0 r326077
> 
> Build configuration:
> 
> # make showconfig
> ===> The following configuration options are available for
> clementine-player-1.3.1.441_2: AMAZON=off: Amazon Drive support
>  AUDIOCD=on: Devices: Audio CD support
>  [...]

Apparently, the crash was caused by a build option (FTS3_TOKEN) not
turned on for databases/sqlite3.

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

audio/clementine-player works fine now.

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