Re: remove libstdc++ dependency from libc++ on freebsd 9.x

2016-05-23 Thread Dimitry Andric
On 23 May 2016, at 11:02, kang joni  wrote:
> 
> I need to backport c++11project to BSD 9.x. How to remove libstdc++
> dependency from libc++ and libc++abi as freebsd 10.x did?
> I'm stuck on this. The llvm docs is unclear.

On FreeBSD 9.x, C++11 is not supported out of the box.  As I mentioned
in another thread, currently the only easy way is to build and install
world with the following in /etc/src.conf:

WITH_CLANG_IS_CC=y
WITH_LIBCPLUSPLUS=y

This will make clang the default compiler, and install libc++ headers
and libraries on the system.

Afterwards, you can use -stdlib=libc++ -std=c++11 in the CXXFLAGS for
your project.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: setiathome version 8 for amd64 current

2016-05-23 Thread Manfred Antar

> On May 23, 2016, at 12:44 PM, Torfinn Ingolfsen  wrote:
> 
> On Sun, May 22, 2016 at 7:42 PM, Manfred Antar  wrote:
>> The version of setiathome in ports isn’t supported anymore.
>> Version 8 is the one that is supported now.
>> I was able to get a version 8 build to work.
>> It requires a new version of boinc-client also.
>> I have placed a tar archive of the sources at:
>> 
>> http://pozo.com/seti/setiathome.tar.bz2
>> 
> 
> You wouldn't be interesting in becoming a maintainer of the boinc and
> boinc-setiathome ports by any chance?
> 
> Se previous threads on this list about the subject:
> https://lists.freebsd.org/pipermail/freebsd-ports/2016-February/101793.html
> https://lists.freebsd.org/pipermail/freebsd-ports/2016-February/102291.html
> 
> HTH
> -- 
> Regards,
> Torfinn Ingolfsen

I think the best I can do is offer the source that I’ve compiled on amd64, I 
don’t have any other machines to build on except sparc64 and they are 500mhz 
antiques (Netra T-1)
Also I’m running current so not sure if what I build would work on other 
versions.
I can put sort of a package together of the binaries for amd64 current. But you 
will need to have all the prerequisites for it to work. (wx30-gtk2-3.0.2_4)
I’ll put it at:

http://www.pozo.com/seti/seti-pkg.tar.bz2

You will have to check the permissions and make sure you have a boinc user and 
group.

Manfred

___
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: setiathome version 8 for amd64 current

2016-05-23 Thread Torfinn Ingolfsen
On Sun, May 22, 2016 at 7:42 PM, Manfred Antar  wrote:
> The version of setiathome in ports isn’t supported anymore.
> Version 8 is the one that is supported now.
> I was able to get a version 8 build to work.
> It requires a new version of boinc-client also.
> I have placed a tar archive of the sources at:
>
> http://pozo.com/seti/setiathome.tar.bz2
>

You wouldn't be interesting in becoming a maintainer of the boinc and
boinc-setiathome ports by any chance?

Se previous threads on this list about the subject:
https://lists.freebsd.org/pipermail/freebsd-ports/2016-February/101793.html
https://lists.freebsd.org/pipermail/freebsd-ports/2016-February/102291.html

HTH
-- 
Regards,
Torfinn Ingolfsen
___
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"

[NEW stage-qa check] proxydeps: checks for the missing package dependencies

2016-05-23 Thread Yuri

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


This check finds all packages of the shared libraries that executables 
and shared libraries in the port immediately depend on which aren't 
declared as dependencies.



It suggests the missing USE clauses, like this:

> > Running Q/A tests (stage-qa)
> Warning: dependency file '/usr/local/lib/qt4/libQtGui.so.4' belongs 
to the package qt4-gui-4.8.7_1 which isn't declared as a dependency

> Warning: you need USE_QT4+=gui
> Warning: dependency file '/usr/local/lib/qt4/libQtNetwork.so.4' 
belongs to the package qt4-network-4.8.7 which isn't declared as a 
dependency

> Warning: you need USE_QT4+=network
> Warning: dependency file '/usr/local/lib/qt4/libQtCore.so.4' belongs 
to the package qt4-corelib-4.8.7_2 which isn't declared as a dependency

> Warning: you need USE_QT4+=corelib

> Warning: dependency file '/usr/local/lib/libX11.so.6' belongs to the 
package libX11-1.6.3,1 which isn't declared as a dependency

> Warning: you need USE_XORG+=x11
> Warning: dependency file '/usr/local/lib/libXss.so.1' belongs to the 
package libXScrnSaver-1.2.2_3 which isn't declared as a dependency

> Warning: you need USE_XORG+=xscrnsaver


Please commit this patch.


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: pkg updating crash in pkg-1.8.0

2016-05-23 Thread Baptiste Daroussin
On Mon, May 23, 2016 at 06:46:04PM +1000, andrew clarke wrote:
> Hi,
> 
> The command "pkg updating" crashes since pkg-1.8.0.
> 
> Out of curiosity I rebuilt it from source, then single-stepped
> pkg-static using gdb:
> 
> $ uname -a
> FreeBSD blizzard.phoenix 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264:
> Fri Mar 25 02:10:02 UTC 2016
> r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> 
fixed thanks!

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: how to create a powerpc64 poudriere jail ?

2016-05-23 Thread Kurt Jaeger
Hi!

> Kurt Jaeger  writes:
> 
> > /pou/jails/p64/usr/bin/id
> > Unable to load interpreter
> 
> Before bug 209706 try running as
> 
>   $ chroot /pou/jails/p64 /usr/bin/id

This happens:

chroot /pou/jails/p64 /usr/bin/id
Invalid data memory access: 0x003f8000
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault

-- 
p...@opsec.eu+49 171 3101372 4 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"


Re: how to create a powerpc64 poudriere jail ?

2016-05-23 Thread Jan Beich
Kurt Jaeger  writes:

> /pou/jails/p64/usr/bin/id
> Unable to load interpreter

Before bug 209706 try running as

  $ chroot /pou/jails/p64 /usr/bin/id


signature.asc
Description: PGP signature


Re: [PATCH] net/relayd - configuration sanity checks à la nginx

2016-05-23 Thread Damien Fleuriot
On 21 May 2016 at 12:14, Lars Engels  wrote:

> On Fri, May 20, 2016 at 02:18:14PM +0200, Damien Fleuriot wrote:
> > Hello list,
> >
> >
> > Find in the ticket below [1] a splendid patch to net/relayd's rc script
> so
> > that it mimics nginx's behaviour and actually runs a sanity check on its
> > configuration file prior to reload or restart.
> >
> > In the current state of things, relayd performs no such check and may
> leave
> > an administrator with a service outage.
> >
> >
> > Could anyone please take the time to review and commit ?
> >
>
> I did :)
>


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


FreeBSD ports you maintain which are out of date

2016-05-23 Thread portscout
Dear port maintainer,

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

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

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


Port| Current version | New version
+-+
math/superlu| 5.2.0   | 5.2.1
+-+


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

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

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


remove libstdc++ dependency from libc++ on freebsd 9.x

2016-05-23 Thread kang joni
I need to backport c++11project to BSD 9.x. How to remove libstdc++
dependency from libc++ and libc++abi as freebsd 10.x did?
I'm stuck on this. The llvm docs is unclear.
___
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 updating crash in pkg-1.8.0

2016-05-23 Thread andrew clarke
Hi,

The command "pkg updating" crashes since pkg-1.8.0.

Out of curiosity I rebuilt it from source, then single-stepped
pkg-static using gdb:

$ uname -a
FreeBSD blizzard.phoenix 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264:
Fri Mar 25 02:10:02 UTC 2016
r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

$ gdb --args pkg-static updating
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) break main
Breakpoint 1 at 0x40980e: file main.c, line 570.
(gdb) r
Starting program: /usr/home/ozzmosis/src/pkg/pkg-1.8.0/src/pkg-static updating

Breakpoint 1, main (argc=2, argv=0x7fffe4c8) at main.c:570
570 int64_t   debug = 0;
Current language:  auto; currently minimal
(gdb) n
584 struct option longopts[] = {
(gdb)
602 setvbuf(stdout, NULL, _IONBF, 0);
(gdb)
605 signal(SIGPIPE, SIG_IGN);
(gdb)
607 if (argc < 2)
(gdb)
616 if (setenv("POSIXLY_CORRECT", "1",  1) == -1)
(gdb)
626 while ((ch = getopt_long(argc, argv, 
"+d"JAIL_OPT"c:C:R:r:lNvo:46", longopts, NULL)) != -1) {
(gdb)
671 argv += optind;
(gdb)
673 pkg_set_debug_level(debug);
(gdb)
675 if (version == 1)
(gdb)
678 if (show_commands && version == 0) {
(gdb)
686 umask(022);
(gdb)
687 pkg_event_register(_callback, );
(gdb)
690 optreset = 1;
(gdb)
691 optind = 1;
(gdb)
693 if (debug == 0 && version == 0)
(gdb)
462 child_pid = fork();
(gdb)
464 if (child_pid == 0) {
(gdb)
473 while (waitpid(child_pid, , 0) == -1) {
(gdb)
478 ret = WEXITSTATUS(status);
(gdb)
480 if (WIFEXITED(status) && ret != EX_NEEDRESTART)
(gdb)
482 if (WIFSIGNALED(status)) {
(gdb) 
484 fprintf(stderr, "Child process pid=%d 
terminated abnormally: %s\n",
(gdb) 
485 (int)child_pid, 
strsignal (WTERMSIG(status)));
(gdb) 
484 fprintf(stderr, "Child process pid=%d 
terminated abnormally: %s\n",
(gdb) 
Child process pid=33151 terminated abnormally: Trace/BPT trap
486 ret = 128 + WTERMSIG(status);
(gdb) 
492 exit(ret);
(gdb) 
Program exited with code 0205.
(gdb) 

I'm not really sure what's going on here but it might be obvious to
the devs.

Thanks,

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