Re: Can anyone build www/node right now?

2020-06-28 Thread Dutch Daemon - FreeBSD Forums Administrator
On June 28, 2020 22:54:57 DutchDaemon - FreeBSD Forums Administrator 
 wrote:



On 2020-06-28 22:49, Christoph Moench-Tegeder wrote:

## Dutch Daemon - FreeBSD Forums Administrator (dutchdae...@freebsd.org):


In absence of a make.conf in the jail it pulled in python36-3.6.11 as the
default.

Uhm. From your log, we see that you have a make.conf with a python
version override:

95.  /usr/local/etc/poudriere.d/testamd64-make.conf 
[...]
116. DEFAULT_VERSIONS= perl5=5.30 python=3.6 python3=3.6 php=73 apache=2.4 
mysql=56 ssl=openssl


The default "default python" is 3.7.



Ah, it pulled in the generic /etc/make.conf., which was never there
until I tested something (else) with it; forgot to remove it.


Even worse: I had had a jail with the same name before, and that one had a 
make.conf with Python 3.6 in it. Always clear out your test configs when 
you're unoriginal with your test jail names ;)


I'll try Python 3.7 in all of the build jails that need www/node and remove 
the hard Python default.


That did indeed fix it, thanks again.

___
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: Port maintenance

2020-06-28 Thread Michael Gmelin


> On 29. Jun 2020, at 00:18, Brandon helsley  
> wrote:
> 
> 
> 
> 
> 
> 
> I'm getting started reading the porters handbook. I was wondering if I can 
> adopt a port to practice maintaining one without the experience to keep it 
> properly updated at first. I'm a little intimidated by contributing and not 
> sure how best to learn the porters handbook. I guess read it multiple times?
> 
> 

Just pick a port that’s unmaintained and that you’re actually using yourself 
(ideally on a daily basis). When you do changes, make sure:

- it builds cleanly in poudriere.
- it passes portlint.
- you follow the porter’s handbook as good as you can, but without freaking out 
about it.

In case you’re uncertain, ask questions on this mailing list.

Open PRs in bugzilla or (in the beginning) reviews in phabricator.

Committers will help you. Either it will work, or you will learn. No one will 
judge you, so no worries.

Cheers,
Michael


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

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


Port maintenance

2020-06-28 Thread Brandon helsley
 

 
 
 
I'm getting started reading the porters handbook. I was wondering if I can 
adopt a port to practice maintaining one without the experience to keep it 
properly updated at first. I'm a little intimidated by contributing and not 
sure how best to learn the porters handbook. I guess read it multiple times?
 

 

 

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


Re: Can anyone build www/node right now?

2020-06-28 Thread DutchDaemon - FreeBSD Forums Administrator
On 2020-06-28 22:49, Christoph Moench-Tegeder wrote:
> ## Dutch Daemon - FreeBSD Forums Administrator (dutchdae...@freebsd.org):
>
>> In absence of a make.conf in the jail it pulled in python36-3.6.11 as the 
>> default.
> Uhm. From your log, we see that you have a make.conf with a python
> version override:
>
>  95.  /usr/local/etc/poudriere.d/testamd64-make.conf 
>  [...]
> 116. DEFAULT_VERSIONS= perl5=5.30 python=3.6 python3=3.6 php=73 apache=2.4 
> mysql=56 ssl=openssl
>
> The default "default python" is 3.7.


Ah, it pulled in the generic /etc/make.conf., which was never there
until I tested something (else) with it; forgot to remove it.

I'll try Python 3.7 in all of the build jails that need www/node and
remove the hard Python default.

Thanks guys!




signature.asc
Description: OpenPGP digital signature


Re: Can anyone build www/node right now?

2020-06-28 Thread Christoph Moench-Tegeder
## Dutch Daemon - FreeBSD Forums Administrator (dutchdae...@freebsd.org):

> In absence of a make.conf in the jail it pulled in python36-3.6.11 as the 
> default.

Uhm. From your log, we see that you have a make.conf with a python
version override:

 95.  /usr/local/etc/poudriere.d/testamd64-make.conf 
 [...]
116. DEFAULT_VERSIONS= perl5=5.30 python=3.6 python3=3.6 php=73 apache=2.4 
mysql=56 ssl=openssl

The default "default python" is 3.7.

Regards,
Christoph

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


Re: Can anyone build www/node right now?

2020-06-28 Thread Dutch Daemon - FreeBSD Forums Administrator

On June 28, 2020 22:25:31 George Mitchell  wrote:


On 2020-06-28 16:07, DutchDaemon - FreeBSD Forums Administrator wrote:

[...]
Traceback (most recent call last):

 File "tools/genv8constants.py", line 23, in 

   bufsize=-1, stdout=subprocess.PIPE, text=True).stdout

TypeError: __init__() got an unexpected keyword argument 'text'
[...]


You appear not to have a recent enough version of Python installed.
The "text" keyword argument to the Popen constructor was added in
Python 3.7, and it isn't available at all in Python 2.  The patch
file patch-tools_genv8constants.py in /usr/ports/www/node/files
explicitly adds a "text" keyword argument to the call to Popen.
Can you check your default version of Python?

www/node/Makefile specifies it USES=python:build, which should
probably be changed to python3 given the patch.   -- George


In absence of a make.conf in the jail it pulled in python36-3.6.11 as the 
default. If node depends on 3.7, that should be declared a hard dependency. 
I can try it with 3.7.


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


Re: Can anyone build www/node right now?

2020-06-28 Thread George Mitchell
On 2020-06-28 16:07, DutchDaemon - FreeBSD Forums Administrator wrote:
> [...]
> Traceback (most recent call last):
> 
>   File "tools/genv8constants.py", line 23, in 
> 
>     bufsize=-1, stdout=subprocess.PIPE, text=True).stdout
> 
> TypeError: __init__() got an unexpected keyword argument 'text'
> [...]

You appear not to have a recent enough version of Python installed.
The "text" keyword argument to the Popen constructor was added in
Python 3.7, and it isn't available at all in Python 2.  The patch
file patch-tools_genv8constants.py in /usr/ports/www/node/files
explicitly adds a "text" keyword argument to the call to Popen.
Can you check your default version of Python?

www/node/Makefile specifies it USES=python:build, which should
probably be changed to python3 given the patch.   -- George



signature.asc
Description: OpenPGP digital signature


Re: Can anyone build www/node right now?

2020-06-28 Thread David Wolfskill
On Sun, Jun 28, 2020 at 10:07:58PM +0200, DutchDaemon - FreeBSD Forums 
Administrator wrote:
> I have tried to build www/node for weeks now, and it always fails. This is on 
> a fresh Poudriere jail, amd64, 12.1-REL-p6.

Checking my logs, www/node is one of the packages built (via poudriere)
this morning by my build machine, which was running:

freebeast(12.1-S)[1] uname -aUK
FreeBSD freebeast.catwhisker.org 12.1-STABLE FreeBSD 12.1-STABLE #942 
r362716M/362719: Sun Jun 28 03:33:45 PDT 2020 
r...@freebeast.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/GENERIC  
amd64 1201518 1201518

at the time, using a (head) ports tree at r540699.

As a reality check, I am trying to build www/node on my laptop, running:

g1-55(12.1-S)[4] uname -aUK
FreeBSD g1-55.catwhisker.org 12.1-STABLE FreeBSD 12.1-STABLE #737 
r362716M/362719: Sun Jun 28 03:33:54 PDT 2020 
r...@g1-48.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY  amd64 
1201518 1201518

with a (head) ports tree at r540699.

The build machine has no option overrides for www/node; the laptop shows:
g1-55(12.1-S)[2] make -C /usr/ports/www/node showconfig
===> The following configuration options are available for node-14.4.0:
 BUNDLED_SSL=on: Use node.js's bundled OpenSSL implementation
 DOCS=on: Build and/or install documentation
 DTRACE=on: Build with DTrace probes
 NLS=on: Native Language Support
===> Use 'make config' to modify these settings

> Opened a ticket for it, with full output...

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Of course Black Lives Matter!  Now vote accordingly!

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature


Can anyone build www/node right now?

2020-06-28 Thread DutchDaemon - FreeBSD Forums Administrator
I have tried to build www/node for weeks now, and it always fails. This is on a 
fresh Poudriere jail, amd64, 12.1-REL-p6.

Opened a ticket for it, with full output, but no response yet. To rule any 
interference out, I built this in a clean jail, without any make.conf or port 
options, bog standard defaults.

All 33 (from pkg to binutils) dependencies built correctly (as was always the 
case), but www/node bombed on the same error as always.

See https://pastebin.pl/view/3a6f48db for this latest clean build; the error is 
invariably:

---
Traceback (most recent call last):

  File "tools/genv8constants.py", line 23, in 

    bufsize=-1, stdout=subprocess.PIPE, text=True).stdout

TypeError: __init__() got an unexpected keyword argument 'text'

gmake[2]: *** [node_dtrace_ustack.target.mk:13: 
/wrkdirs/usr/ports/www/node/work/node-v14.4.0/out/Release/obj/gen/v8constants.h]
 Error 1

gmake[2]: *** Waiting for unfinished jobs

rm ad3fd4c76aef3b4797bbb2572833f9000cee0294.intermediate 
ea2d89ddb30e54c8a8d75f33fc84b228111d7c67.intermediate 
ed36ab92458644e121416e8697a6b64c051c72b0.intermediate

gmake[1]: *** [Makefile:101: node] Error 2

gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/node/work/node-v14.4.0'

===> Compilation failed unexpectedly.

Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to

the maintainer.

*** Error code 1
---

Previous build attempts on 12-REL-p5 amd 64, with clean and resued jails:

https://pastebin.pl/view/4953a503
https://pastebin.pl/view/db278ac3
https://pastebin.pl/view/e3c16e57
https://pastebin.pl/view/f3fcdfbf



signature.asc
Description: OpenPGP digital signature


Re: stable postgresql11 appears to have issues

2020-06-28 Thread Jonathan Chen
On Sun, 28 Jun 2020 at 18:42, Donald Wilde  wrote:
> An update. Synth is still crashing and I am attempting to also solve
> that one in another thread. On this front, while working with synth I
> noticed that the /usr/ports/distfiles directory no longer seems to be
> created and used by default. Synth asked me to create one outside of
> the ports tree and add it to make.conf. I did so,

Adding directives to /etc/make.conf is the wrong place for synth. You
need to add it to /usr/local/etc/synth/LiveSystem-make.conf. It's all
in the man-page for synth.

Cheers.
-- 
Jonathan Chen 
___
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: Port OPTIONS advice

2020-06-28 Thread Dave
On Wednesday, 20 May 2020 18:25:00 BST SirDice wrote:
> Some time ago I took over maintainership of fs-uae.
 
And I'd like to thank you very much for that! :-)
 
I finally got around to installing it, what with have an unexpected
few spare months of time on my hands.  I managed to dump my
old A1200 HDD to a file and eventually got it to boot after a trip
down memory lane figuring out how to edit startup-sequence
and user-startup to remove things like the SCSI drivers.  
 
There was one issue when I upgraded FreeBSD 11.3 --> 11.4.
fs-uae would crash out immediately the main window opened.
Even after doing a pkg upgrade -f I still ended up having to
manually build some related graphics libraries before it would
work again (Sorry, I didn't keep notes, IIRC it was mesa stuff)
 
So now all I need to do is find a cheap gamepad that will work
with it on FreeBSD :-)
 
If anyone is interested, you can download the Assassin Games CDs
full of PD games from archive.org (and much other Amiga related
goodness.  They boot and play just fine on fs-uae assuming you
have the correct ROM file(s))
 
Sorry if that last bit came over as a bit of a commercial but it's
years since I even plugged my old A1200 in, let alone played
games on it.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: stable postgresql11 appears to have issues

2020-06-28 Thread Donald Wilde
On 6/26/20, Donald Wilde  wrote:
> On 6/26/20, Christoph Moench-Tegeder  wrote:
>> ## Donald Wilde (dwil...@gmail.com):
>>
>>> This is 12-STABLE as of a few days ago, and yes, it's running on
>>> amd64/HAMMER.
>>
>> So, llvm 10. As I guessed :)
>>

An update. Synth is still crashing and I am attempting to also solve
that one in another thread. On this front, while working with synth I
noticed that the /usr/ports/distfiles directory no longer seems to be
created and used by default. Synth asked me to create one outside of
the ports tree and add it to make.conf. I did so,

To cut to the chase, this caused a whole slew of issues. The
postgresql11-server package created its own
/usr/ports/distfiles/postgresql directory, ignoring my setting of
DISTFILES=/var/distfiles, and all the dependencies of pg11 crashed for
the same reason.

Removing that new directory and accepting /usr/ports/distfiles as an
"is so" fact of life seems to have allowed the pg11 build to go
forward.

The workaround in make.conf for DEFAULT_VERSIONS+=llvm=10 is in there as well.

Back to the other thread in -stable! 

-- 
Don Wilde

* What is the Internet of Things but a system *
* of systems including humans? *

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