Eventually a must-have pkg feature missing...

2015-09-23 Thread Jeffrey Bouquet via freebsd-ports
Compounding the problem:
The machine here is usually not running during the nightly pkg backup.

The problem: 
Recently a glitch in a Western digital drive [that fsck_ffs fixed ] lost
/var/db
I restored local.sqlite from the prior days' backup... 
[ and eventually found it renamed within /lost+found ... ] 
but it would be nice
if pkg wrote a duplicate local.sqlite to another place in the filesystem or
a different ?user-selectable? filesystem upon most or all operations, maybe
configurable as default or non-default.
SPECIFICALLY for hardware crashes... if not also for machines running
rm as initally installed vs here, where it is aliased "away" so one has
to type "/bin/rm"  making the command more "think before pressing
the ENTER key..."

{ As before, nice to have "pkg install" more verbose as to desinstalls/
new installs as to which port each deintsall/insall in the two other lists
(upgrade/reinstall)  it outputs ... but I am used to that.  The first issue here
seems to have a higher priority...  }

{ as before,  optionally out put /var/db/pkg folders in legacy style...
{ pkg feature to compare local.sqlite local.sqlite reporting a diff similar to 
  deprecated port pardiff (diffp) as of 4-13-2014...
{ pkg feature to on-the-fly use as its reference a different local.sqlite so
  one could 
  pkg autremove -n local.1;...  pkg autoremove -n local.2  
  and see which local.sqlite one wants to keep/discard... say when
  restoring from backups...

Thanks.
Also, here the new pkg-static 1.6.0 ran as flawlessly as the one installed 
(I ran it from the port /work/ tree..)

Sorry for the duplicate requests below the main one.  Seems easiest way
to request what smaller parts of it all may be planned for first, if not all
written somewhere in the roadmap[s]...

J. Bouquet

Cross-posting to two lists.  Wish to cross-post to five.  Apologies...
___
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: FreeBSD Lua Port seems broken

2015-09-23 Thread Lowell Gilbert
Leander Schäfer  writes:

> Please have a look at the broken lua port. Thank you very much

It builds fine for everyone else.

> ===>  Building for lua52-5.2.4
> make[3]: "/nonexistent" line 1: Need an operator
> make[3]: Fatal errors encountered -- cannot continue
> make[3]: stopped in /usr/ports/lang/lua52/work/lua-5.2.4/src
> ===> Compilation failed unexpectedly.

/nonexistent is the "home" directory for system accounts that don't
actually need a home directory at all. Maybe you're running make as a
bogus user?
___
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 Lua Port seems broken

2015-09-23 Thread Leander Schäfer

Hi

Please have a look at the broken lua port. Thank you very much



root@FreeBSD [/usr/ports/editors/vim]$ make install clean
===>  Found saved configuration for vim-7.4.873
===>   vim-7.4.873 depends on file: /usr/local/sbin/pkg - found
=> vim-vim-v7.4.873_GH0.tar.bz2 doesn't seem to exist in 
/usr/ports/distfiles/.
=> Attempting to fetch 
https://codeload.github.com/vim/vim/tar.gz/v7.4.873?dummy=/vim-vim-v7.4.873_GH0.tar.bz2
vim-vim-v7.4.873_GH0.tar.bz2  100% of   11 MB  518 kBps 
00m23s

===> Fetching all distfiles required by vim-7.4.873 for building
===>  Extracting for vim-7.4.873
=> SHA256 Checksum OK for vim-vim-v7.4.873_GH0.tar.bz2.
===>   vim-7.4.873 depends on file: /usr/local/bin/ruby21 - found
===>  Patching for vim-7.4.873
===>   vim-7.4.873 depends on file: /usr/local/bin/ruby21 - found
===>  Applying FreeBSD patches for vim-7.4.873
===>   vim-7.4.873 depends on file: /usr/local/bin/ruby21 - found
===>   vim-7.4.873 depends on package: libiconv>=1.14_8 - found
===>   vim-7.4.873 depends on executable: pkgconf - found
===>   vim-7.4.873 depends on executable: msgfmt - found
===>   vim-7.4.873 depends on file: /usr/local/bin/python2.7 - found
===>   vim-7.4.873 depends on package: perl5>=5.20<5.21 - found
===>   vim-7.4.873 depends on shared library: liblua-5.2.so - not found
===>   lua52-5.2.4 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by lua52-5.2.4 for building
===>  Extracting for lua52-5.2.4
=> SHA256 Checksum OK for lua-5.2.4.tar.gz.
===>  Patching for lua52-5.2.4
===>  Applying FreeBSD patches for lua52-5.2.4
===>   lua52-5.2.4 depends on shared library: libedit.so.0 - found 
(/usr/local/lib/libedit.so.0)

===>  Configuring for lua52-5.2.4
===>  Building for lua52-5.2.4
make[3]: "/nonexistent" line 1: Need an operator
make[3]: Fatal errors encountered -- cannot continue
make[3]: stopped in /usr/ports/lang/lua52/work/lua-5.2.4/src
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/lang/lua52
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/editors/vim
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/vim

___
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: devel/llvm36/plist has 2 non existant files

2015-09-23 Thread Brooks Davis
On Wed, Sep 23, 2015 at 12:18:48AM +0200, Julian H. Stacey wrote:
> Brooks Davis wrote:
> > Content-Transfer-Encoding: quoted-printable
> > 
> > On Tue, Sep 22, 2015 at 05:10:06PM +0200, Julian H. Stacey wrote:
> > >=20
> > > Brooks Davis wrote: Mon, 21 Sep 2015 21:21:30 +
> > > > Content-Transfer-Encoding: quoted-printable
> > > >=20
> > > > On Mon, Sep 21, 2015 at 01:30:54AM +0200, Julian H. Stacey wrote:
> > > > > Hi bro...@freebsd.org,
> > > > > cc: po...@freebsd.org
> > > > >=3D20
> > > > > with current devel/llvm36
> > > > > FreeBSD lapr.js.berklix.net 11.0-CURRENT FreeBSD 11.0-CURRENT #12135:=
> >  Thu=3D
> > > >  Sep 17 14:54:15 CEST 2015 
> > > > j...@lapr.js.berklix.net:/usr/src/sys/amd=
> > 64/c=3D
> > > > ompile/LAPR.small  amd64
> > > > >=3D20
> > > > > make install
> > > > > =3D3D=3D3D=3D3D>  Installing for llvm36-3.6.2_2
> > > > > =3D3D=3D3D=3D3D>   llvm36-3.6.2_2 depends on file: /usr/local/bin/pyt=
> > hon2.7 - f=3D
> > > > ound
> > > > > =3D3D=3D3D=3D3D>   llvm36-3.6.2_2 depends on file: /usr/local/bin/per=
> > l5.20.2 - =3D
> > > > found
> > > > > =3D3D=3D3D=3D3D>   llvm36-3.6.2_2 depends on shared library: libedit.=
> > so.0 - fou=3D
> > > > nd (/usr/local/lib/libedit.so.0)
> > > > > actual-package-depends: dependency on /usr/local/bin/perl5.20.2 not r=
> > egis=3D
> > > > tered (normal if it belongs to base)
> > > > > =3D3D=3D3D=3D3D>   Registering installation for llvm36-3.6.2_2
> > > > > pkg-static: Unable to access file /data/release/11.0-CURRENT/usr/port=
> > s/de=3D
> > > > vel/llvm36/work/stage/usr/local/share/doc/llvm36/html/jquery-1.11.1.js:=
> >  No =3D
> > > > such file or directory
> > > > > pkg-static: Unable to access file /data/release/11.0-CURRENT/usr/port=
> > s/de=3D
> > > > vel/llvm36/work/stage/usr/local/share/doc/llvm36/html/underscore-1.3.1.=
> > js: =3D
> > > > No such file or directory
> > > > > *** Error code 74
> > > > >=3D20
> > > > > I've started a remake with this:
> > > > > -
> > > > > http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/ports/jhs/devel/llvm36/=
> > pkg-=3D
> > > > plist.REL=3D3D11.0-CURRENT.diff
> > > > >=3D20
> > > > > Mon Sep 21 00:41:55 CEST 2015
> > > > >=3D20
> > > > > There is no jquery-1.11.1.js underscore-1.3.1.js
> > > > >=3D20
> > > > > *** 11.0-CURRENT/ports/devel/llvm36/pkg-plist Mon Sep 21 00:27:44 2015
> > > > > --- new-generic/ports/devel/llvm36/pkg-plist  Mon Sep 21 00:29:40 2015
> > > > > ***
> > > > > *** 1052,1058 
> > > > >   %%PORTDOCSDOCSDIR%%/html/genindex.html
> > > > >   %%PORTDOCSDOCSDIR%%/html/index.html
> > > > >   %%PORTDOCSDOCSDIR%%/html/index.txt
> > > > > - %%PORTDOCSDOCSDIR%%/html/jquery-1.11.1.js
> > > > >   %%PORTDOCSDOCSDIR%%/html/jquery.js
> > > > >   %%PORTDOCSDOCSDIR%%/html/lines.gif
> > > > >   %%PORTDOCSDOCSDIR%%/html/linpack-pc.png
> > > > > --- 1052,1057 
> > > > > ***
> > > > > *** 1109,1115 
> > > > >   %%PORTDOCSDOCSDIR%%/html/searchtools.js
> > > > >   %%PORTDOCSDOCSDIR%%/html/tblgen.html
> > > > >   %%PORTDOCSDOCSDIR%%/html/tblgen.txt
> > > > > - %%PORTDOCSDOCSDIR%%/html/underscore-1.3.1.js
> > > > >   %%PORTDOCSDOCSDIR%%/html/underscore.js
> > > > >   %%PORTDOCSDOCSDIR%%/html/up-pressed.png
> > > > >   %%PORTDOCSDOCSDIR%%/html/up.png
> > > > > --- 1108,1113 
> > > >=20
> > > > These appeared at some point on package builders.  At the time it didn't
> > > > appear on my build systems unless I used poudriere.  Now they always
> > > > appear.  I suspect this is due to a change in the upstream sphinx
> > > > version, but I've not investigated sufficiently to add an appropriate
> > > > version dependency.
> > > >=20
> > > > -- Brooks
> > >=20
> > > They break the build on my non poudriere system.  Patched out, the make w=
> > orks.
> > > I'd suggest/request you comment them out until its resolved if needed,
> > > & if so, why not generated.
> > 
> > Given the choice between working package builds and working in arbitrary
> > ports configuraiton I'll choose packages.  I had hope the issues was
> > transient, but apparently not so I'll try to find a solution.
> > 
> > Could you tell me what version of textproc/py-sphinx you have installed?
> 
> FreeBSD lapr.js.berklix.net 11.0-CURRENT FreeBSD 11.0-CURRENT #12135:
> Thu Sep 17 14:54:15 CEST 2015
> j...@lapr.js.berklix.net:/usr/src/sys/amd64/compile/LAPR.small  amd64
> 
> Current ports. now At revision 397535.
> Approx. daily for a week, I've run cd /usr/ports ; svn up
> (while rebuilding many of my 1000 ports, that had aged ~ 3 months),
> 
> cd /usr/ports/textproc/py-sphinx; make reinstall
>   ===>  Installing for py27-sphinx-1.3.1_2
> 
> cd /usr/ports/devel/llvm36 
> diff pkg-plist.old pkg-plist
>   1055d1054
>   < %%PORTDOCSDOCSDIR%%/html/jquery-1.11.1.js
>   1112d1110
>   < %%PORTDOCSDOCSDIR%%/html/underscore-1.3.1.js
> 
> make reinstall# OK no error with my patch.
> mv pkg-plist pkg-plist.jhs ; mv 

Re: FreeBSD Lua Port seems broken

2015-09-23 Thread Leander Schäfer
make is run as root. Pkg also fails. All other ports can be installed 
just fine.



root@FreeBSD [~]$ pkg install vim
Updating FreeBSD repository catalogue...

FreeBSD repository is up-to-date.
All repositories are up-to-date.
Updating database digests format: 100%
Checking integrity... done (1 conflicting)
pkg: Cannot solve problem using SAT solver:
cannot install package vim, remove it from request? [Y/n]: pkg: cannot 
find vim in the request

pkg: cannot solve job using SAT solver
Checking integrity... done (0 conflicting)
The most recent version of packages are already installed


Am 23.09.15 um 19:34 schrieb Lowell Gilbert:

Leander Schäfer  writes:


Please have a look at the broken lua port. Thank you very much

It builds fine for everyone else.


===>  Building for lua52-5.2.4
make[3]: "/nonexistent" line 1: Need an operator
make[3]: Fatal errors encountered -- cannot continue
make[3]: stopped in /usr/ports/lang/lua52/work/lua-5.2.4/src
===> Compilation failed unexpectedly.

/nonexistent is the "home" directory for system accounts that don't
actually need a home directory at all. Maybe you're running make as a
bogus user?


___
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-config fails after update to 1.6.0 of security/libssh2

2015-09-23 Thread Chad J. Milios

one thing i noticed this break is the LIBSSH2 option on multimedia/vlc.

fix is attached. if attachment gets stripped off of email to list, it's 
available at https://nuos.org/security_libssh2.diff . if this link is 
broken it's because a fix has been committed to ports tree.
Index: Makefile
===
--- Makefile(revision 397608)
+++ Makefile(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=  libssh2
 PORTVERSION=   1.6.0
-PORTREVISION=  0
+PORTREVISION=  1
 PORTEPOCH= 2
 CATEGORIES=security devel
 MASTER_SITES=  http://www.libssh2.org/download/ \
@@ -48,4 +48,8 @@
${WRKSRC}/configure
 .endif
 
+post-build:
+   @${REINPLACE_CMD} -E -e 
'/Requires.private:/{s/[[:<:]]zlib[[:>:]]//;s/,,/,/;s/ ,/ /;s/,$$//;}' \
+   ${WRKSRC}/libssh2.pc
+
 .include 
___
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: FreeBSD Lua Port seems broken

2015-09-23 Thread Lowell Gilbert
Leander Schäfer  writes:

> make is run as root. Pkg also fails. All other ports can be installed
> just fine.

Well, there is *something* funny about your setup. You might get a clue
what it is from using the '-ddx' set of flags to make, or something
similar. 

>
> root@FreeBSD [~]$ pkg install vim
> Updating FreeBSD repository catalogue...
>
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Updating database digests format: 100%
> Checking integrity... done (1 conflicting)
> pkg: Cannot solve problem using SAT solver:
> cannot install package vim, remove it from request? [Y/n]: pkg: cannot
> find vim in the request
> pkg: cannot solve job using SAT solver
> Checking integrity... done (0 conflicting)
> The most recent version of packages are already installed

That problem is not related to the port building issue. 
I'm not much of an expert on pkg, but like make, it can probably tell
you more if you enable more verbose output.
___
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: FreeBSD Lua Port seems broken

2015-09-23 Thread Walter Schwarzenfeld

Hallo !!

lua52/Makefile

# Overriding __MAKE_CONF makes sure that we don't re-parse
# /etc/make.conf during do-build, which would jeopardize the build
# if, for instance, the user set CFLAGS=mumble
# NOTE: /etc/make.conf is read BEFORE Makefile, so we already
# have its settings when we get here.
# See http://wiki.freebsd.org/MatthiasAndree/LuaLessonsLearnt
MAKE_ARGS=  __MAKE_CONF=${NONEXISTENT}

Is something wrong in /etc/make.conf?
___
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"


Fwd: [Imap-uw] inbox corruption by iphone

2015-09-23 Thread Brian W.
Based on the below I would like to suggest that imap-uw, which hasnt been
updated since the author's death, be replaced with panda-imap, which solved
at least my problem.

Brian
-- Forwarded message --
From: David B Funk 
Date: Sat, Aug 1, 2015 at 7:59 AM
Subject: Re: [Imap-uw] inbox corruption by iphone
To: brian 
Cc: UW imap list 


Have you tried the "Panda IMAP" distro?
https://github.com/jonabbey/panda-imap

The mailbox locking problem can be avoided by using an alternate form of
mailbox (such as MIX) instead of the traditional mbox. Of course this won't
work in an environment that requires local direct access to the mailbox by
non-C-client aware mail clients. If you can switch to MIX format there are
many advantages (performance, scale-ability, backup facilitation, etc).
However if you do switch to MIX be -sure- to run the Panda distro, there
were some unfixed bugs in the UW-imap distro that can bite you.

After Mark left UW he started his own company with a fork of the UW-imap
which he called "Panda" and then started developing a commercial product
from there.

He kept Panda alive and semi-open sourced, making bug-fixes and adding some
small improvements (I know from conversations I had with him in '09 about a
UW-imap bug I found/fixed ). He made it available to people who explicitly
asked him for it.

After his death people took the last known version of Panda and turned it
into a github project and made additional improvements to it (I contributed
one of them ;).



On Sat, 1 Aug 2015, brian wrote:

as expected, thanx for confirming.
>
> Brian
>
> On 8/1/2015 1:25 AM, Chris Bunch wrote:
>
>> I have been running a UW_IMAP server  on Mac OS X mainly for family
>> accounts for around 12 years. We are all Mac/iOS users: we noted early on
>> that UW_IMAP doesn't cope well with more than one client logged into an
>> account at the same time. When the most any of us had was two machines
>> (home/office or home/laptop) that was relatively easy to manage but when
>> iOS came along(iPhones, iPads) came along things began to unravel and the
>> situation became unworkable. iPhones never stayed in sync with the server,
>> though I have not seen the specific corruption you mention.
>>
>> I am now in the process of transferring family accounts to Fastmail and
>> am setting up Dovecot on Linode/Ubuntu for a few other accounts I manage.
>> Sadly, UW_IPAD’s future died with Mark Crispin.
>>
>> C
>> 
>>
>>
>> On 22 Jul 2015, at 08:57, brian  wrote:
>>>
>>> One of the users on my freebsd server that runs uw imap has an
>>> intermittent problem with inbox corruption. Is a fix planned? I see others
>>> have had this issue already. I am essentially seeing this
>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557103 though on
>>> Freebsd.
>>>
>>>
>>> Brian
>>>
>>
-- 
Dave Funk  University of Iowa
College of Engineering
319/335-5751   FAX: 319/384-0549   1256 Seamans Center
Sys_admin/Postmaster/cell_adminIowa City, IA 52242-1527
#include 
Better is not better, 'standard' is better. B{
___
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"