Re: vendir distfile has no top level directory

2014-08-09 Thread Scot Hetzel
On Thu, Aug 7, 2014 at 11:06 AM, Dan Langille d...@langille.org wrote:

 On Aug 7, 2014, at 1:08 AM, olli hauer oha...@gmx.de wrote:

 On 2014-08-07 05:18, Dan Langille wrote:
 I'm having a problem upgrading www/bacula-web to the latest version (see 
 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191583).

 The problem: the vendor tarball has no top level directory.

 e.g.

 [root@testing ~/tmp/distfiles]# tar -xf 
 /var/ports/distfiles/bacula-web-6.0.1.tgz
 [root@testing ~/tmp/distfiles]# ls
 DOCS application core
 joblogs.php pools.php
 README   backupjob-report.phpclient-report.php  
  index.php   jobs.phptest.php
 [root@testing ~/tmp/distfiles]#

 Compare that to bacula, where I get:

 [root@testing ~/tmp/distfiles]# tar -xf 
 /var/ports/distfiles/bacula-7.0.4.tar.gz
 [root@testing ~/tmp/distfiles]# ls
 bacula-7.0.4

 Is there an optimal way to cater for this without pushing the issue 
 upstream?

 --

 Hi Dan,

 you can specify NO_WRKSUBDIR=yes or overwrite the do-extract target.

 do-extract is what I will use, thank you.


Instead of overriding the do-extract target, you could use:

EXTRACT_AFTER_ARGS=-C ${WRKSRC}

I had done this for the net/wizd port.

Note: if tar doesn't create the ${WRKSRC} directory, you may need to
specify a pre-extract target that will create the directory for you.

-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
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


sysutils/tmux is broken?

2014-08-09 Thread Mars G. Miro
Installing tmux via ports gives

root@turkb2:~# tmux
Shared object libevent-2.0.so.5 not found, required by tmux

Because it looks for libevent in the wrong places

 46173 tmux RET   close 0
 46173 tmux CALL  access(0x800679800,0F_OK)
 46173 tmux NAMI  /lib/libevent-2.0.so.5
 46173 tmux RET   access -1 errno 2 No such file or directory
 46173 tmux CALL  access(0x800679800,0F_OK)
 46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
 46173 tmux RET   access -1 errno 2 No such file or directory
 46173 tmux CALL  access(0x800679800,0F_OK)
 46173 tmux NAMI  /usr/lib/compat/libevent-2.0.so.5
 46173 tmux RET   access -1 errno 2 No such file or directory
 46173 tmux CALL  access(0x800679800,0F_OK)
 46173 tmux NAMI  /lib/libevent-2.0.so.5
 46173 tmux RET   access -1 errno 2 No such file or directory
 46173 tmux CALL  access(0x800679800,0F_OK)
 46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
 46173 tmux RET   access -1 errno 2 No such file or directory
 46173 tmux CALL  write(0x2,0x800874b20,0x3f)
 46173 tmux GIO   fd 2 wrote 63 bytes
   Shared object libevent-2.0.so.5 not found, required by tmux
 46173 tmux RET   write 63/0x3f
 46173 tmux CALL  write(0x2,0x7fffe2f7,0x1)
 46173 tmux GIO   fd 2 wrote 1 byte
   
   
 46173 tmux RET   write 1
 46173 tmux CALL  exit(0x1)

It should be looking for it in /usr/local/lib.


This is on

root@turkb2:~# uname -a
FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug  6
17:45:13 PHT 2014 r...@turk.xxx:/usr/obj/usr/src/sys/TURK  amd64


Thanks.


-- 
Why are programmers non-productive?
Because their time is wasted in meetings.

Why are programmers rebellious?
Because the management interferes too much.

Why are the programmers resigning one by one?
Because they are burnt out.

Having worked for poor management, they no longer value their jobs.
-- Geoffrey James, The Tao of Programming
___
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: sysutils/tmux is broken?

2014-08-09 Thread Carlos Jacobo Puga Medina
Hi,

See date entry 20140723 in /usr/ports/UPDATING.

Regards,
-- 
Carlos Jacobo Puga Medina c...@fbsd.es
___
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: sysutils/tmux is broken?

2014-08-09 Thread Mars G. Miro
On 08/09/14 15:14, Mars G. Miro wrote:
 Installing tmux via ports gives
 
 root@turkb2:~# tmux
 Shared object libevent-2.0.so.5 not found, required by tmux
 
 Because it looks for libevent in the wrong places
 
  46173 tmux RET   close 0
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /usr/lib/compat/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  write(0x2,0x800874b20,0x3f)
  46173 tmux GIO   fd 2 wrote 63 bytes
Shared object libevent-2.0.so.5 not found, required by tmux
  46173 tmux RET   write 63/0x3f
  46173 tmux CALL  write(0x2,0x7fffe2f7,0x1)
  46173 tmux GIO   fd 2 wrote 1 byte


  46173 tmux RET   write 1
  46173 tmux CALL  exit(0x1)
 
 It should be looking for it in /usr/local/lib.
 
 
 This is on
 
 root@turkb2:~# uname -a
 FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug  6
 17:45:13 PHT 2014 r...@turk.xxx:/usr/obj/usr/src/sys/TURK  amd64
 
 
 Thanks.
 
 

See date entry 20140723 in /usr/ports/UPDATING.


It's a fresh jail. There are no previous libevent versions installed.




-- 
Uh-oh -- I've let the cat out of the bag.  Let me, then,
straightforwardly state the thesis I shall now elaborate:
Making variations on a theme is really the crux of creativity.
-- Douglas R. Hofstadter, Metamagical Themas
___
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


FreeBSD ports you maintain which are out of date

2014-08-09 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
+-+
net-mgmt/pandorafms_agent   | 4.0.1   | 5.1-140809
+-+
net-mgmt/pandorafms_console | 4.0.1   | 5.1-140809
+-+
net-mgmt/pandorafms_server  | 4.0.1   | 5.1-140809
+-+
x11/roxterm | 2.9.1   | 2.9.3
+-+


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
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: sysutils/tmux is broken?

2014-08-09 Thread Carlos Jacobo Puga Medina
On Sat, 09 Aug 2014 17:57:52 +0800
Mars G. Miro s...@anarchy.in.the.ph wrote:

 On 08/09/14 15:14, Mars G. Miro wrote:
  Installing tmux via ports gives
  
  root@turkb2:~# tmux
  Shared object libevent-2.0.so.5 not found, required by tmux
  
  Because it looks for libevent in the wrong places
  
   46173 tmux RET   close 0
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /usr/lib/compat/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  write(0x2,0x800874b20,0x3f)
   46173 tmux GIO   fd 2 wrote 63 bytes
 Shared object libevent-2.0.so.5 not found, required by tmux
   46173 tmux RET   write 63/0x3f
   46173 tmux CALL  write(0x2,0x7fffe2f7,0x1)
   46173 tmux GIO   fd 2 wrote 1 byte
 
 
   46173 tmux RET   write 1
   46173 tmux CALL  exit(0x1)
  
  It should be looking for it in /usr/local/lib.
  
  
  This is on
  
  root@turkb2:~# uname -a
  FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug  6
  17:45:13 PHT 2014 r...@turk.xxx:/usr/obj/usr/src/sys/TURK  amd64
  
  
  Thanks.
  
  
 
 See date entry 20140723 in /usr/ports/UPDATING.
 
 
 It's a fresh jail. There are no previous libevent versions installed.

You would need the library required by tmux available in the jail too.

# mkdir $JAIL/usr/local/lib
# cp -p /usr/local/lib/libevent-2.0.so.5 $JAIL/usr/local/lib/

-- 
Carlos Jacobo Puga Medina c...@fbsd.es
___
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: How to tell pkg it's OK to overwrite files by another port

2014-08-09 Thread Melvyn Sopacua

Hi Baptiste,

On Wed, 6 Aug 2014, Baptiste Daroussin wrote:


On Wed, Aug 06, 2014 at 09:19:48PM +0200, Melvyn Sopacua wrote:

Both are candidates for myconfig.conf, where optimized should win and
otherwise default, but they come from two different ports. This may
actually be the way to handle it, if @sample didn't assume the same
basename.



There is the @sample keyword for that ;)


I don't think there is.
@sample foo.sample sets target_file to foo. There's no way to specify
that target_file should be bar.
If two ports have the same .sample file, there is still a conflict. So
in my case, I need two different .sample files installing to a shared
target_file.

I think this is a corner case, so I'll stick it in a custom pkg-install.

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


poudriere and failing ports (and other questions)

2014-08-09 Thread Matthias Apitz


Hello,

I'm doing my first steps with poudriere(8) to build packages
for my farm of laptops and run into some questions and/or
problems; 

I was able to create the jail and SVN co the ports succesfull after
updating last night my build hos to head:

FreeBSD vm-tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269739: Sat Aug  
9 07:07:40 CEST 2014 guru@vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC  i386

the jail was built with:

# poudriere jail -c -j freebsd-head -m svn+http -v head

and the ports tree with:

# poudriere ports -c -p ports-head -m svn+http -B head

So far so good.

Now the questions:

1)
I wanted to check the possible build options for my ports and
tried:

$ cat /usr/local/etc/poudriere-list
x11/xorg
x11/kde4

$ poudriere options -cf /usr/local/etc/poudriere-list -p ports-head
===  Switching to root credentials to create 
/usr/local/share/poudriere/../../etc/poudriere.d/options/x11_xorg
Password:
===  Returning to user credentials
=== Building/installing dialog4ports as it is required for the config dialog
===  Cleaning for dialog4ports-0.1.5_2
===  License BSD2CLAUSE accepted by the user
===   dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - not found
===Verifying install for /usr/local/sbin/pkg in 
/usr/local/poudriere/ports/ports-head/ports-mgmt/pkg
You are about to convert your system to pkgng while you have ports/packages
installed with the old pkg_install tools.

Ofc I do not have /usr/local/sbin/pkg in the host. There is still
the old pkg_* land installed.
But why poudriere is seeing that and not using what it's in
the jail?

2)
When I fire up the building for the above two ports in the list:
x11/xorg
x11/kde4

with:

# poudriere bulk -f /usr/local/etc/poudriere-list -j freebsd-head -p ports-head

some of the ports are failing to build, for example:

 [01] Starting build of audio/libvorbis
 [01] Finished build of audio/libvorbis: Success
 [01] Starting build of www/p5-HTTP-Date
 [01] Finished build of www/p5-HTTP-Date: Failed: build-depends
 [01] Skipping build of sysutils/p5-File-Listing: Dependent port 
www/p5-HTTP-Date failed
 [01] Skipping build of www/p5-HTTP-Cookies: Dependent port 
www/p5-HTTP-Date failed
 [01] Skipping build of www/p5-HTTP-Daemon: Dependent port 
www/p5-HTTP-Date failed
 [01] Skipping build of www/p5-HTTP-Message: Dependent port 
www/p5-HTTP-Date failed
 [01] Skipping build of www/p5-HTTP-Negotiate: Dependent port 
www/p5-HTTP-Date failed
 [01] Skipping build of www/p5-libwww: Dependent port www/p5-HTTP-Date 
failed
 [01] Skipping build of x11/xscreensaver: Dependent port www/p5-HTTP-Date 
failed
 [01] Starting build of databases/sqlite3
 [01] Finished build of databases/sqlite3: Success
 [01] Starting build of graphics/jasper
 [01] Finished build of graphics/jasper: Success

How do I deal with such failing ports? In the past I just
went to the place, run 'make install' again and looked what the
problem was. And now, with poudriere, how I have todo this?


3)
Some, but not all, fetched distfiles are ending up in /usr/ports/distfiles:

$ ls -l /usr/ports/distfiles
total 18424
-rw-r--r--  1 root  wheel562616 24 mar  2012 expat-2.1.0.tar.gz
-rw-r--r--  1 root  wheel  16341773 16 ago  2013 gettext-0.18.3.1.tar.gz
-rw-r--r--  1 root  wheel  7693  1 jun  2005 gettext-1.05.tar.gz
-rw-r--r--  1 root  wheel 77963 26 jun 16:16 indexinfo-0.2.tar.gz
-rw-r--r--  1 root  wheel   1706540  5 ago 22:38 pkg-1.3.5.1.tar.xz

Where are the others and why only some are there?

4)
A lot of builds fail with some problem in misc/help2man:

...
 [01] Skipping build of textproc/xmlto: Dependent port misc/help2man 
failed
 [01] Skipping build of x11-servers/xorg-server: Dependent port 
misc/help2man failed
 [01] Skipping build of astro/xplanet: Dependent port misc/help2man failed
 [01] Skipping build of x11/xscreensaver: Dependent port misc/help2man 
failed

This port itself failed with the log attached below. I do not
understand the missing (sub-) port:

===   help2man-1.43.3_1 depends on package: /new_packages/All/p5-Locale-gettext
-1.05_3.txz - not found

p5-Locale-gettext-1.05_3.txz was built and is in

$ ls -l 
/usr/local/poudriere/data/packages/freebsd-head-ports-head/All/p5-Locale-gettext-1.05_3.txz
-rw-r--r--  1 root  wheel  12416  9 ago 14:03 
/usr/local/poudriere/data/packages/freebsd-head-ports-head/All/p5-Locale-gettext-1.05_3.txz

Why the build is looking into '/new_packages/All/...'

Thanks for your time reading all this.

matthias



 Building misc/help2man
build started at Sat Aug  9 14:04:12 CEST 2014
port directory: /usr/ports/misc/help2man
building for: FreeBSD freebsd-head-ports-head-job-01 11.0-CURRENT FreeBSD 
11.0-CURRENT i386
maintained by: sunp...@freebsd.org
Makefile ident:  $FreeBSD: head/misc/help2man/Makefile 359190 2014-06-25 
06:36:10Z bapt $
Poudriere version: 3.0.8

---Begin Environment---
OSVERSION=1100028
UNAME_v=FreeBSD 

Re: poudriere and failing ports (and other questions)

2014-08-09 Thread Matthias Andree
Am 09.08.2014 um 15:10 schrieb Matthias Apitz:
...

 2)
 When I fire up the building for the above two ports in the list:
 x11/xorg
 x11/kde4
 
 with:
 
 # poudriere bulk -f /usr/local/etc/poudriere-list -j freebsd-head -p 
 ports-head
 
 some of the ports are failing to build, for example:
 
  [01] Starting build of audio/libvorbis
  [01] Finished build of audio/libvorbis: Success
  [01] Starting build of www/p5-HTTP-Date
  [01] Finished build of www/p5-HTTP-Date: Failed: build-depends
  [01] Skipping build of sysutils/p5-File-Listing: Dependent port 
 www/p5-HTTP-Date failed
  [01] Skipping build of www/p5-HTTP-Cookies: Dependent port 
 www/p5-HTTP-Date failed
  [01] Skipping build of www/p5-HTTP-Daemon: Dependent port 
 www/p5-HTTP-Date failed
  [01] Skipping build of www/p5-HTTP-Message: Dependent port 
 www/p5-HTTP-Date failed
  [01] Skipping build of www/p5-HTTP-Negotiate: Dependent port 
 www/p5-HTTP-Date failed
  [01] Skipping build of www/p5-libwww: Dependent port www/p5-HTTP-Date 
 failed
  [01] Skipping build of x11/xscreensaver: Dependent port 
 www/p5-HTTP-Date failed
  [01] Starting build of databases/sqlite3
  [01] Finished build of databases/sqlite3: Success
  [01] Starting build of graphics/jasper
  [01] Finished build of graphics/jasper: Success
 
 How do I deal with such failing ports? In the past I just
 went to the place, run 'make install' again and looked what the
 problem was. And now, with poudriere, how I have todo this?

# poudriere testport -j freebsd-head -p ports-head \
-i -o www/p5-HTTP-Date

-i means interactive, -o specifies the origin (one port only).

poudriere attempts the build and drops you into a shell inside the jail
so you can inspect the failure.

 4)
 A lot of builds fail with some problem in misc/help2man:
 
 ...
  [01] Skipping build of textproc/xmlto: Dependent port misc/help2man 
 failed
  [01] Skipping build of x11-servers/xorg-server: Dependent port 
 misc/help2man failed
  [01] Skipping build of astro/xplanet: Dependent port misc/help2man 
 failed
  [01] Skipping build of x11/xscreensaver: Dependent port misc/help2man 
 failed
 
 This port itself failed with the log attached below. I do not
 understand the missing (sub-) port:
 
 ===   help2man-1.43.3_1 depends on package: 
 /new_packages/All/p5-Locale-gettext
 -1.05_3.txz - not found
 
 p5-Locale-gettext-1.05_3.txz was built and is in

Interesting™ - poudriere or -devel?
Do you see the same issue on FreeBSD 10?
___
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: How to tell pkg it's OK to overwrite files by another port

2014-08-09 Thread Tijl Coosemans
On Sat, 9 Aug 2014 14:27:05 +0200 (CEST) Melvyn Sopacua wrote:
 On Wed, 6 Aug 2014, Baptiste Daroussin wrote: 
 On Wed, Aug 06, 2014 at 09:19:48PM +0200, Melvyn Sopacua wrote:
 Both are candidates for myconfig.conf, where optimized should win and
 otherwise default, but they come from two different ports. This may
 actually be the way to handle it, if @sample didn't assume the same
 basename.
 
 There is the @sample keyword for that ;)
 
 I don't think there is.
 @sample foo.sample sets target_file to foo. There's no way to specify
 that target_file should be bar.
 If two ports have the same .sample file, there is still a conflict. So
 in my case, I need two different .sample files installing to a shared
 target_file.
 
 I think this is a corner case, so I'll stick it in a custom pkg-install.

You can use @sample in the base port and in the optimized port you
can replace the original config if it's still the same as the sample
config.  Something like this:

@unexec if cmp -s %D/etc/foo.conf %D/etc/optimized.conf.sample; then cp 
%D/etc/foo.conf.sample %D/etc/foo.conf; fi
etc/optimized.conf.sample
@exec if cmp -s %D/etc/foo.conf %D/etc/foo.conf.sample; then cp %B/%f 
%B/foo.conf; fi
___
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: poudriere and failing ports (and other questions)

2014-08-09 Thread Matthias Apitz
El día Saturday, August 09, 2014 a las 03:20:22PM +0200, Matthias Andree 
escribió:

  How do I deal with such failing ports? In the past I just
  went to the place, run 'make install' again and looked what the
  problem was. And now, with poudriere, how I have todo this?
 
 # poudriere testport -j freebsd-head -p ports-head \
   -i -o www/p5-HTTP-Date
 
 -i means interactive, -o specifies the origin (one port only).
 
 poudriere attempts the build and drops you into a shell inside the jail
 so you can inspect the failure.

Thanks, I will try this on next failure.

  4)
  A lot of builds fail with some problem in misc/help2man:
  
  ...
  ...
  This port itself failed with the log attached below. I do not
  understand the missing (sub-) port:
  
  ===   help2man-1.43.3_1 depends on package: 
  /new_packages/All/p5-Locale-gettext
  -1.05_3.txz - not found
  
  p5-Locale-gettext-1.05_3.txz was built and is in
 
 Interesting™ - poudriere or -devel?
 Do you see the same issue on FreeBSD 10?

Thank you again for asking the right question. The system itself is
'head', but the installed ports in /usr/local/ are from head of October
last year. poudriere itself was version 3.0.8. I updated this to
the current poudriere-devel (poudriere-devel-3.0.99.20140801) and
help2man is installing fine now. And also compiling x11/xorg looks a lot
better until now.

With version 3.0.8 there was an HTML file in
/usr/local/poudriere/data/logs/bulk/freebsd-head-ports-head/2014-08-09_15h36m22s
showing the progress of the build; I do not see this now?
Do you know where it is now?

Thanks

matthias

-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
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: sysutils/tmux is broken?

2014-08-09 Thread Mars G. Miro
On 08/09/14 19:55, Carlos Jacobo Puga Medina wrote:
 On Sat, 09 Aug 2014 17:57:52 +0800
 Mars G. Miro s...@anarchy.in.the.ph wrote:
 
 On 08/09/14 15:14, Mars G. Miro wrote:
 Installing tmux via ports gives

 root@turkb2:~# tmux
 Shared object libevent-2.0.so.5 not found, required by tmux

 Because it looks for libevent in the wrong places

  46173 tmux RET   close 0
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /usr/lib/compat/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  access(0x800679800,0F_OK)
  46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
  46173 tmux RET   access -1 errno 2 No such file or directory
  46173 tmux CALL  write(0x2,0x800874b20,0x3f)
  46173 tmux GIO   fd 2 wrote 63 bytes
Shared object libevent-2.0.so.5 not found, required by tmux
  46173 tmux RET   write 63/0x3f
  46173 tmux CALL  write(0x2,0x7fffe2f7,0x1)
  46173 tmux GIO   fd 2 wrote 1 byte


  46173 tmux RET   write 1
  46173 tmux CALL  exit(0x1)

 It should be looking for it in /usr/local/lib.


 This is on

 root@turkb2:~# uname -a
 FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug  6
 17:45:13 PHT 2014 r...@turk.xxx:/usr/obj/usr/src/sys/TURK  amd64


 Thanks.



 See date entry 20140723 in /usr/ports/UPDATING.


 It's a fresh jail. There are no previous libevent versions installed.
 
 You would need the library required by tmux available in the jail too.
 
 # mkdir $JAIL/usr/local/lib
 # cp -p /usr/local/lib/libevent-2.0.so.5 $JAIL/usr/local/lib/
 

It was built on the jail not the host.

The port should take care of that. But it doesn't. Hence it's broken.



-- 
Our informal mission is to improve the love life of operators worldwide.
-- Peter Behrendt, president of Exabyte
___
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: poudriere: setting up jail failes

2014-08-09 Thread Matthias Apitz
El día Friday, August 08, 2014 a las 02:27:40PM -0500, Bryan Drewery escribió:

 On 8/8/2014 1:57 PM, Matthias Apitz wrote:
  And, btw., why is poudriere removing all the jail when an error occures?
  Wouldn't it be better to let it there to have a look into and remove it
  on the next run?
 
 Yes I agree this should probably change. I'll evaluate it after the 3.1
 release which is the major focus right now. The jail command has a lot
 of issues with building and error handling.

I have updated last night the host to 'head' and poudriere itself to
poudriere-devel-3.0.99.20140801. Compiling the ports in the jail makes
progress, as always with some hick-ups in the ports itself.

I have one fundamental question, maybe a missunderstanding of poudriere:

When I run 'poudriere options ...' it is not using the toolchain in the
jail:

# uname -a
FreeBSD vm-tiny-r269739 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r269739: Sat Aug  
9 07:07:40 CEST 2014 guru@vm-tiny-r269739:/usr/obj/usr/src/sys/GENERIC  i386
$ 

# poudriere version
3.1-pre
# poudriere options -c -j freebsd-head -p ports-head x11/kde4

brings up the Options menu of x11/kde4 and when you look
with ps, it uses /usr/local/bin/dialog4ports for this:

# ps ax | fgrep dialog
92303  3  I+ 0:00,00 /usr/local/bin/dialog4ports

when I terminate the dialog, it seems that the pkg-* tools
are used (which ofc are not installed on the host):

=== Setting user-specified options for kde-4.12.5 and dependencies
/usr/local/sbin/pkg-static: not found
make[1]: /usr/local/poudriere/ports/ports-head/Mk/bsd.openssl.mk line 99: 
warning: Couldn't read shell's output for /usr/local/sbin/pkg-static  which 
-qo /usr/local/lib/libcrypto.so || :
/usr/local/sbin/pkg-static: not found

What I'm doing wrong or have understand wrong?

Thanks

matthias

-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
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

x11/xorg pulls in lang/gcc (on head)

2014-08-09 Thread Matthias Apitz

Hello,

I'm building on a host with 'head' ports of 'head' and it seems that
x11/xorg on its way of building pulls in GCC from lang/gcc:

...
[01:14:27]  [01][00:00:14] Finished build of x11/libXdamage: Success
[01:14:57]  [01][00:00:00] Starting build of lang/gcc
[01:35:43]  [01][00:20:46] Finished build of lang/gcc: Failed: build
[01:35:46]  [01][00:20:49] Skipping build of graphics/dri: Dependent port 
lang/gcc failed
[01:35:46]  [01][00:20:49] Skipping build of graphics/libGL: Dependent 
port lang/gcc failed
[01:35:46]  [01][00:20:49] Skipping build of graphics/libglapi: Dependent 
port lang/gcc failed
[01:35:46]  [01][00:20:49] Skipping build of x11/xdriinfo: Dependent port 
lang/gcc failed
[01:35:46]  [01][00:20:49] Skipping build of 
x11-drivers/xf86-input-keyboard: Dependent port lang/gcc failed

The log of poudriere shows that is is building gcc-4.7.4 which failes
with:

libtool: compile:  /wrkdirs/usr/ports/lang/gcc/work/build/./gcc/gcj
-B/wrkdirs/usr/ports/lang/gcc/work/build/i386-portbld-freebsd11.0/libjava/
-B/wrkdirs/usr/ports/lang/gcc/work/build/./gcc/
-B/usr/local/i386-portbld-freebsd11.0/bin/
-B/usr/local/i386-portbld-freebsd11.0/lib/ -isystem
/usr/local/i386-portbld-freebsd11.0/include -isystem
/usr/local/i386-portbld-freebsd11.0/sys-include -ffloat-store
-fomit-frame-pointer -Usun -fclasspath=
-fbootclasspath=../.././../gcc-4.7.4/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
-fsource-filename=/wrkdirs/usr/ports/lang/gcc/work/build/i386-portbld-freebsd11.0/libjava/classpath/lib/classes
-MT gnu/java/nio/charset.lo -MD -MP -MF gnu/java/nio/charset.deps
@gnu/java/nio/charset.list  -fPIC -o gnu/java/nio/.libs/charset.o
gcj: internal compiler error: Killed (program jc1)
Please submit a full bug report,
...

My questions are:

1. Should it really pull in some GCC? If not, why it does?
2. If yes, should it use 4.7.4 or some older 4.6 one?

Thanks

matthias
-- 
Matthias Apitz   |  /\   ASCII Ribbon Campaign:
E-mail: g...@unixarea.de |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X- No proprietary attachments
phone: +49-170-4527211   |  / \   - Respect for open standards
 | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign
___
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


web application logs (Cacti)

2014-08-09 Thread Dennis Glatting
I am working on updating Cacti to StageDir and have a question on web
log access policies.

Cacti creates a log directory under /usr/local/share/cacti where the
poller stuffs log and other information into a file named cacti.log.
There is a .htaccess file in that directory too. The log file is
accessible though Cacti's web interface 'Console - Utilities - View
Cacti Log File' and displayed in a 'tail -f' related way.

Hier says /var/log/ is:

miscellaneous system log files

What is application preferential log file locations? Follow hier or
application dependent?


Cacti also manages RRD files under /usr/local/share/cacti/rra/. Hier
says about /var/db/:

miscellaneous automatically generated 
system-specific database files



___
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: web application logs (Cacti)

2014-08-09 Thread Kurt Jaeger
Hi!

 What is application preferential log file locations? Follow hier or
 application dependent?

hier - /var/log/cacti/

 Cacti also manages RRD files under /usr/local/share/cacti/rra/. Hier
 says about /var/db/:
 
   miscellaneous automatically generated 
   system-specific database files

hier is much better: /var/db/cacti/

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
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: FreeBSD Port: doxygen-1.8.3.1_1,1

2014-08-09 Thread Kurt Jaeger
Hallo,

 the base system. I am attaching a patch that I currently have on my local 
 system 
 that allows it to build, in lieu of the 1.8.7 patch that is being looked in 
 to. 
 I might have to send this in as a bug report if we can't get the 1.8.7 update 
 done, though.

The doxygen PR 190943 is finally done. Please have a look and
test if this also fixes your issues.

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
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: sysutils/tmux is broken?

2014-08-09 Thread Carlos Jacobo Puga Medina
On Sat, 09 Aug 2014 23:47:04 +0800
Mars G. Miro s...@anarchy.in.the.ph wrote:

 On 08/09/14 19:55, Carlos Jacobo Puga Medina wrote:
  On Sat, 09 Aug 2014 17:57:52 +0800
  Mars G. Miro s...@anarchy.in.the.ph wrote:
  
  On 08/09/14 15:14, Mars G. Miro wrote:
  Installing tmux via ports gives
 
  root@turkb2:~# tmux
  Shared object libevent-2.0.so.5 not found, required by tmux
 
  Because it looks for libevent in the wrong places
 
   46173 tmux RET   close 0
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /usr/lib/compat/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  access(0x800679800,0F_OK)
   46173 tmux NAMI  /usr/lib/libevent-2.0.so.5
   46173 tmux RET   access -1 errno 2 No such file or directory
   46173 tmux CALL  write(0x2,0x800874b20,0x3f)
   46173 tmux GIO   fd 2 wrote 63 bytes
 Shared object libevent-2.0.so.5 not found, required by tmux
   46173 tmux RET   write 63/0x3f
   46173 tmux CALL  write(0x2,0x7fffe2f7,0x1)
   46173 tmux GIO   fd 2 wrote 1 byte
 
 
   46173 tmux RET   write 1
   46173 tmux CALL  exit(0x1)
 
  It should be looking for it in /usr/local/lib.
 
 
  This is on
 
  root@turkb2:~# uname -a
  FreeBSD turkb2.XXX 9.3-RELEASE FreeBSD 9.3-RELEASE #0: Wed Aug  6
  17:45:13 PHT 2014 r...@turk.xxx:/usr/obj/usr/src/sys/TURK  amd64
 
 
  Thanks.
 
 
 
  See date entry 20140723 in /usr/ports/UPDATING.
 
 
  It's a fresh jail. There are no previous libevent versions installed.
  
  You would need the library required by tmux available in the jail too.
  
  # mkdir $JAIL/usr/local/lib
  # cp -p /usr/local/lib/libevent-2.0.so.5 $JAIL/usr/local/lib/
  
 
 It was built on the jail not the host.
 
 The port should take care of that. But it doesn't. Hence it's broken.

Please, try to be verbose with this couple of questions:

How do you start the jail? Only this port fails to build or there are others 
too?

-- 
Carlos Jacobo Puga Medina c...@fbsd.es
___
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


Parallel python package support with pkg

2014-08-09 Thread Marcus von Appen
Dear all,

the pkg team created something outstanding with pkg 1.3, which you might have
missed. Since version 1.3, pkg supports the installation of packages, which
share the same origin (location in the ports tree), but have different package
names.

In practice, this means that you can install e.g. a python module for two
different Python versions at the same time with pkg now (a last fix for it was
provided on August, the 8th, for the ports, so make sure to update your ports
tree beforehand).

To install a python module for different Python version, you just have to
provide PYTHON_VERSION=pythonX.Y at the command line:

  # go to py-tkinter
  $ cd /usr/ports/x11-toolkits/py-tkinter

  # install it for the default python (2.7)
  $ make install clean

  # install it for python 3.3, too
  $ make PYTHON_VERSION=python3.3 install clean

  # check the installed packages
  $ pkg info \*tkinter
  py27-tkinter-2.7.8_5
  py33-tkinter-3.3.5_5

Please note, that this will not work for all python ports yet. Those, which
install conflicting files (most often applications or configuration files),
will still create a conflict. If you need to offer that specific port for
different python versions at the same time, you may want to follow up with the
maintainer and our python team.

If you are a maintainer and wish to enable your port for different python
versions, but something blocks you, get in touch with our python team for
assistance.

You can find our contact details at https://wiki.freebsd.org/Python.

Cheers
Marcus on behalf of python@


pgpCc1GKY7OL5.pgp
Description: PGP signature


Re: Does pkg automatically download INDEX?

2014-08-09 Thread Scot Hetzel
On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat cyberb...@cyberbotx.com wrote:
 On 08/04/14 07:28, David Wolfskill wrote:

 On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:

 On 08/03/14 22:14, David Wolfskill wrote:

 On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:

 ...
 If there is
 a way to find out when any process is attempting to modify a file, that
 would
 probably help me narrow it down, but I'm not aware of anything that can
 do that,
 ...


 Well, chflags schg /usr/ports/INDEX* would *prevent* the modification

 ...
 This was a really good suggestion.


 Glad to help.  :-)

 Peace,
 david


 OK, so while no programs have whined or complained, I get the feeling that
 something on my system is running portsnap without my knowledge. When I had
 set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
 flag on that as well, and now I notice there are a bunch of files called
 .fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a
 file called .portsnap.INDEX. As far as I know, I don't have anything
 configured to run portsnap, but is there something that defaults to running
 portsnap occasionally? I couldn't find anything that would do that.


Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


-- 
DISCLAIMER:

No electrons were maimed while sending this message. Only slightly bruised.
___
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: Does pkg automatically download INDEX?

2014-08-09 Thread Naram Qashat

On 08/09/14 19:45, Scot Hetzel wrote:

On Fri, Aug 8, 2014 at 7:00 PM, Naram Qashat cyberb...@cyberbotx.com wrote:

On 08/04/14 07:28, David Wolfskill wrote:


On Mon, Aug 04, 2014 at 07:09:33AM -0400, Naram Qashat wrote:


On 08/03/14 22:14, David Wolfskill wrote:


On Sun, Aug 03, 2014 at 10:10:27PM -0400, Naram Qashat wrote:


...
If there is
a way to find out when any process is attempting to modify a file, that
would
probably help me narrow it down, but I'm not aware of anything that can
do that,
...



Well, chflags schg /usr/ports/INDEX* would *prevent* the modification


...
This was a really good suggestion.



Glad to help.  :-)

Peace,
david



OK, so while no programs have whined or complained, I get the feeling that
something on my system is running portsnap without my knowledge. When I had
set the schg flag on INDEX-9, an INDEX-9.bz2 file came up. I set the schg
flag on that as well, and now I notice there are a bunch of files called
.fetch.??.INDEX-9.bz2 (where ?? is a random string), as well as a
file called .portsnap.INDEX. As far as I know, I don't have anything
configured to run portsnap, but is there something that defaults to running
portsnap occasionally? I couldn't find anything that would do that.



Do your have a crontab entry that is running portsnap with the -I
(update INDEX) option?

http://www.pl.freebsd.org/doc/handbook/portsnap.html


As far as I can tell, no, none of my crontabs have any references to portsnap in 
them. This is making me a bit stumped as to why it would be happening. I checked 
the main /etc/crontab, I checked the crontabs in /var/cron/tabs. I have searched 
inside of /etc and /usr/local/etc for anything related to portsnap. Nothing that 
would be doing this is coming up at all.


Thanks,
Naram Qashat
___
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


[patch] make port net-mgmt/ipcalc comply with portlint

2014-08-09 Thread Littlefield, Tyler

Hello:
Here is the patch to the Makefile. I hope I've done everything correctly 
here.

Thanks,

13,15d12
 LICENSE= GPLv1
 LICENSE_FILE=   ${WRKSRC}/License


--
Take care,
Ty
http://tds-solutions.net
He that will not reason is a bigot; he that cannot reason is a fool; he that 
dares not reason is a slave.

___
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