Re: Jumbled dependencies

2020-06-18 Thread Mark Millard via freebsd-ports
Thomas Mueller mueller6722 at twc.com wrote on
Fri Jun 19 01:31:47 UTC 2020 :

> > > I do package builds on one machine on my (small) network, using
> > > portmaster [...]
> [...]
> > > And how do I bandage up the foot I shot myself in?
> 
> > I understand it might be unpopular, but the preferred way to get
> > to stable updates in the ports tree is using poudriere to
> > build the ports and the pkg repo.
> 
> > pi at opsec.eu+49 171 3101372Now what ?
> 
> What is the current status of synth?  I see little or no updating activity, 
> and no update to gcc6.aux while gcc is updated to 10.1.

https://github.com/jrmarino/synth/ seems to have
been touched the last 2 mostly recent times on:

A) 2020-Feb-24 (v2.09)
B) 2019-Jan-30 (v2.08)

So it appears that it is in a fairly stable state for whatever
contexts use it. I've not checked what eversion of ada is in
use wherever synth is in use. (I've not researched where either.
It did not run on the full range of architectures I wanted
back when I experimented with it.)

> Does poudriere install build dependencies by default or when requested? 

The question is really where and when build-dependencies are
built, installed, and removed for poudriere.

Poudriere normally has uses own work area instead of touching the
system/environment that it is invoked from. In this area each port
is built into a package via the steps (quick summary for the point
at hand):

A) install build-dependencies to a local/internal context
   (such dependencies were built earlier if needed).
B) build the package in that context and file away the package
   for later use (including in building more ports).
C) clean out that local/internal context.

So, at build time, during a poudriere bulk operation for a port, the
build dependencies needed are available for the port build to use.

Yes, this does mean that across building many ports in a poudriere
bulk build, various build-dependencies are repeatedly installed
(once per port that depends on the it), instead of being installed
just once and re-used for each port that happens to have the
dependency.

It also means that, during a port build, the only ports installed
locally/internally are the ports that are explicit build dependencies,
no extras (part of being a clean build environment for the port).

After poudriere is done, pkg update; package install can later be
used to install into the system/environment any or all of the ports
that were built into packages, including those there were built just
because they were dependecies of something else that was directly
requested. (Worded for local builds locally installed to the
same machine.)

> I looked through the FreeBSD Handbook and Porters' Handbook online, and 
> couldn't find the answer.
> 
> With synth, I had a difficult time getting everything that was built to 
> install, some packages like bison are needed in building other software.
> 
> How is poudriere in that regard?
> 
> Gentoo Linux with portage has "--with-bdeps=y" which installs build 
> dependencies when desired.
> 
> I found that poudriere uses dialog4ports; I much prefer to save options in a 
> file such as Gentoo Linux does with make.conf and (NetBSD) pkgsrc does with 
> mk.conf .

The files with the information are text and are stored in the file system
and can be created and edited manually.

For example:

# find /usr/local/etc/poudriere.d/ -name options -type f -print
/usr/local/etc/poudriere.d/options/lang_gcc8/options
/usr/local/etc/poudriere.d/options/ports-mgmt_poudriere-devel/options
/usr/local/etc/poudriere.d/options/lang_gcc9/options
/usr/local/etc/poudriere.d/options/devel_llvm80/options
/usr/local/etc/poudriere.d/options/devel_llvm90/options
/usr/local/etc/poudriere.d/options/devel_llvm10/options
/usr/local/etc/poudriere.d/options/lang_gcc10/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/lang_gcc8/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/ports-mgmt_poudriere-devel/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/lang_gcc9/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/devel_llvm80/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/devel_llvm90/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/devel_llvm10/options
/usr/local/etc/poudriere.d/FBSDFSSDjail-options/lang_gcc10/options

The area is separate from FreeBSD's /var/db/ports/*_*/options files.

> I once got a royal mess of circular/jumbled dependencies with dialog4ports; 
> cleaning was a major nuisance, nothing simple like editing /etc/mk.conf or 
> /etc/make.conf .
> 
> I never used pkgsrc with any OS other than NetBSD but have thought about it 
> for FreeBSD and possibly Linux.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)

___
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: Jumbled dependencies

2020-06-18 Thread Thomas Mueller
> > I do package builds on one machine on my (small) network, using
> > portmaster [...]
[...]
> > And how do I bandage up the foot I shot myself in?

> I understand it might be unpopular, but the preferred way to get
> to stable updates in the ports tree is using poudriere to
> build the ports and the pkg repo.

> p...@opsec.eu+49 171 3101372Now what ?

What is the current status of synth?  I see little or no updating activity, and 
no update to gcc6.aux while gcc is updated to 10.1.

Does poudriere install build dependencies by default or when requested? 

I looked through the FreeBSD Handbook and Porters' Handbook online, and 
couldn't find the answer.

With synth, I had a difficult time getting everything that was built to 
install, some packages like bison are needed in building other software.

How is poudriere in that regard?

Gentoo Linux with portage has "--with-bdeps=y" which installs build 
dependencies when desired.

I found that poudriere uses dialog4ports; I much prefer to save options in a 
file such as Gentoo Linux does with make.conf and (NetBSD) pkgsrc does with 
mk.conf .

I once got a royal mess of circular/jumbled dependencies with dialog4ports; 
cleaning was a major nuisance, nothing simple like editing /etc/mk.conf or 
/etc/make.conf .

I never used pkgsrc with any OS other than NetBSD but have thought about it for 
FreeBSD and possibly Linux.

Tom

___
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: accel-ppp

2020-06-18 Thread Eugene Grosbein
19.06.2020 0:34, The Doctor via freebsd-ports wrote:

> Wonder if my mpd5.conf is configured properly?

It depends on your goals as mpd5 is versatile. It has extensive logging and 
documentaion.


___
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: accel-ppp

2020-06-18 Thread Eugene Grosbein
19.06.2020 0:35, Kurt Jaeger wrote:

> Which project is better maintained ?
> 
> mpd5 had it's latest release in 2016, but commits until recently.
> accel-ppp had it's latest release in August 2019 and also commits
> until recently.

mav@ and myself commit to upstream repo as needed, and there is another one 
person.
I maintain the port also.

___
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: accel-ppp

2020-06-18 Thread The Doctor via freebsd-ports
On Thu, Jun 18, 2020 at 07:35:42PM +0200, Kurt Jaeger wrote:
> Hi!
> 
> > > Would anyone like to help me port this application?
> 
> > > Very Linux based but coould be BSD convertible.
> 
> > > It would make a good addition to the net ports.
> > 
> > We already have net/mpd5 in ports for this task.
> 
> So are there features in accel-ppp which are missing in mpd5
> or vice versa ? I saw a mention of TR-101 extension for PPPoE
> in accel-ppp.
> 
> Which project is better maintained ?
> 
> mpd5 had it's latest release in 2016, but commits until recently.
> accel-ppp had it's latest release in August 2019 and also commits
> until recently.
>

And available as follows:

https://accel-ppp.org/  https://sourceforge.net/projects/accel-ppp/

> -- 
> p...@opsec.eu+49 171 3101372Now what ?
> ___
> 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"

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
nk.ca started 1 June 1995 . https://www.empire.kred/ROOTNK?t=94a1f39b  
Better shun the bait, than struggle in the snare.  -John Dryden
___
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: accel-ppp

2020-06-18 Thread Kurt Jaeger
Hi!

> > Would anyone like to help me port this application?

> > Very Linux based but coould be BSD convertible.

> > It would make a good addition to the net ports.
> 
> We already have net/mpd5 in ports for this task.

So are there features in accel-ppp which are missing in mpd5
or vice versa ? I saw a mention of TR-101 extension for PPPoE
in accel-ppp.

Which project is better maintained ?

mpd5 had it's latest release in 2016, but commits until recently.
accel-ppp had it's latest release in August 2019 and also commits
until recently.

-- 
p...@opsec.eu+49 171 3101372Now what ?
___
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: accel-ppp

2020-06-18 Thread The Doctor via freebsd-ports
On Fri, Jun 19, 2020 at 12:23:58AM +0700, Eugene Grosbein wrote:
> 19.06.2020 0:09, The Doctor via freebsd-ports wrote:
> 
> > Would anyone like to help me port this application?
> > 
> > Very Linux based but coould be BSD convertible.
> > 
> > 
> > It would make a good addition to the net ports.
> 
> We already have net/mpd5 in ports for this task.
>

Wonder if my mpd5.conf is configured properly?

#
#
#   MPD configuration file
#
# This file defines the configuration for mpd: what the
# bundles are, what the links are in those bundles, how
# the interface should be configured, various PPP parameters,
# etc. It contains commands just as you would type them
# in at the console. Lines without padding are labels. Lines
# starting with a "#" are comments.
#
# $Id: mpd.conf.sample,v 1.49 2015/06/02 08:30:35 dmitryluhtionov Exp $
#
#

startup:
# configure mpd users
set user admin Secret admin
#set user foo1 bar1
# configure the console
set console self 127.0.0.1 5005
set console open
# configure the web server
set web self 0.0.0.0 5006
set web open

default: 
load radius
load l2tp_server
load pptp_server

pptp_server:
#
# Mpd as a PPTP server compatible with Microsoft Dial-Up Networking clients.
#
# Suppose you have a private Office LAN numbered 192.168.1.0/24 and the
# machine running mpd is at 192.168.1.1, and also has an externally visible
# IP address of 1.2.3.4.
#
# We want to allow a client to connect to 1.2.3.4 from out on the Internet
# via PPTP.  We will assign that client the address 192.168.1.50 and proxy-ARP
# for that address, so the virtual PPP link will be numbered 192.168.1.1 local
# and 192.168.1.50 remote.  From the client machine's perspective, it will
# appear as if it is actually on the 192.168.1.0/24 network, even though in
# reality it is somewhere far away out on the Internet.
#
# Our DNS server is at 192.168.1.3 and our NBNS (WINS server) is at 192.168.1.4.
# If you don't have an NBNS server, leave that line out.
#

# Define dynamic IP address pool.
set ippool add pool1 10.10.0.0 10.255.255.254

# Create clonable bundle template named B
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 10.10.0.1/32 ippool pool1
set ipcp dns 192.168.81.1
#set ipcp nbns 192.168.81.3
# The five lines below enable Microsoft Point-to-Point encryption
# (MPPE) using the ng_mppc(8) netgraph node type.
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless

# Create clonable link template named L
create link template L pptp
# Set bundle template to use
set link action bundle B
# Multilink adds some overhead, but gives full 1500 MTU.
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap eap
set link enable pap
set link enable chap
# We can use use RADIUS authentication/accounting by including
# another config section with label 'radius'.
load radius
set link keep-alive 10 60
# Enable utmp/wtmp logging
#set auth enable system-acct
# We reducing link mtu to avoid GRE packet fragmentation.
set link mtu 1460
# Configure PPTP
set pptp self 0.0.0.0
# Allow to accept calls
set link enable incoming

l2tp_server:
# Define dynamic IP address pool.
set ippool add pool1 10.12.0.0 10.12.255.254
# Create clonable bundle template named B
create bundle template B_l2tp
set bundle enable compression
set iface enable proxy-arp
set iface enable tcpmssfix
set ifce mtu 1280
set ipcp yes vjcomp
# Specify IP address pool for dynamic assigment.
set ipcp ranges 10.12.0.1/32 ippool pool_l2tp
set ipcp dns 192.168.81.1
# Create clonable link template named L
create link template L_l2tp l2tp
set link action bundle B_l2tp
set link keep-alive 0 0
set link yes acfcomp protocomp
set link no pap chap eap
set link enable pap
set link enable chap
# Configure L2TP
set l2tp self 0.0.0.0
set l2tp disable dataseq
# Allow to accept calls
set link enable incoming


pptp_vpn:
#
# Mpd using PPTP for LAN to LAN VPN, always connected.
#
# Suppose you have a private Office LAN numbered 192.168.1.0/24 and another
# remote private Office LAN numbered 192.168.2.0/24, and you wanted to route
# between these two private networks using a PPTP VPN over the Internet.
#
# You run mpd on dual-homed machines on either end. Say the local machine
# has internal address 192.168.1.1 an

Re: accel-ppp

2020-06-18 Thread Eugene Grosbein
19.06.2020 0:09, The Doctor via freebsd-ports wrote:

> Would anyone like to help me port this application?
> 
> Very Linux based but coould be BSD convertible.
> 
> 
> It would make a good addition to the net ports.

We already have net/mpd5 in ports for this task.


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


accel-ppp

2020-06-18 Thread The Doctor via freebsd-ports
Would anyone like to help me port this application?

Very Linux based but coould be BSD convertible.


It would make a good addition to the net ports.

-- 
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
nk.ca started 1 June 1995 . https://www.empire.kred/ROOTNK?t=94a1f39b  
Better shun the bait, than struggle in the snare.  -John Dryden
___
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: cups-pdf crash status -139

2020-06-18 Thread Michael Gmelin



On Thu, 18 Jun 2020 08:16:19 +0200
Per olof Ljungmark  wrote:

> On 2020-06-17 23:30, Tatsuki Makino wrote:
> > Hello.
> > 
> > If you want a quick solution, create the following symlink.
> > ln -s /usr/local/etc/cups /etc/cups
> > 
> > There are two bug reports about it.
> > Bug 244530, 246955.
> > 244530 also describes how to fix it.
> > 
> > If the queue gets corrupted, use the following command to delete
> > them all. /usr/local/bin/cancel -a -x  
> 
> Thank you for pointing this out, problem solved.
> 

Good to hear, big thanks to Tatsuki for helping before I invested a lot
of time.

Cheers,
Michael

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


Several kf5 qt5 ports fail build

2020-06-18 Thread Per olof Ljungmark

Updated ports and 12.1-STABLE r362185

Failures like this, anyone here having the same problem or am I alone?

Determining if the __GLIBC__ exist failed with the following output:
Change Dir: 
/usr/ports/x11-toolkits/kf5-kdesignerplugin/work/.build/CMakeFiles/CMakeTmp


Run Build Command(s):/usr/local/bin/ninja cmTC_8b830 && [1/2] Building C 
object CMakeFiles/cmTC_8b830.dir/CheckSymbolExists.c.o

FAILED: CMakeFiles/cmTC_8b830.dir/CheckSymbolExists.c.o
/usr/bin/cc   -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing 
-o CMakeFiles/cmTC_8b830.dir/CheckSymbolExists.c.o   -c CheckSymbolExists.c

CheckSymbolExists.c:8:19: error: use of undeclared identifier '__GLIBC__'
  return ((int*)(&__GLIBC__))[argc];
  ^
1 error generated.
ninja: build stopped: subcommand failed.


File 
/usr/ports/x11-toolkits/kf5-kdesignerplugin/work/.build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:

/* */
#include 

int main(int argc, char** argv)
{
  (void)argv;
#ifndef __GLIBC__
  return ((int*)(&__GLIBC__))[argc];
#else
  (void)argc;
  return 0;
#endif
}
___
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

2020-06-18 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
+-+
science/afni| 20.1.15 | afni_20.1.16
+-+


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

Reported by:portscout!
___
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"