portsdb -U fails

2012-05-04 Thread Andrea Venturoli

Hello.
I know portupgrade is somewhat deprecated, but...

On several boxes I get the following:

# portsdb -U
Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
portsdb: can't convert nil into String


Is there any way I can debug this?

The boxes are 7.4/8.2 i386/amd64 with different versions of ruby and bdb 
backend.


Maybe some port has some invalid value and I might just exclude it as a 
temporary fix... but which one is it?


 bye & Thanks
av.
___
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: Errors when building emulators/virtio-kmod into 9-CURRENT

2012-05-04 Thread Jun Kuriyama
2012/4/29 Vladislav V. Prodan :
> I try to run in the production FreeBSD 9-CURRENT on the KVM.
> Virtio drivers to make more productive?
> Who is going to buildworld and I still can not provide the error logs
> when building emulators/virtio-kmod

I only tested building this port on 8.[23] and 9.0 releases.  But I
try building on 9-stable as of today, I finish build without problem.

I cannot any comments without error logs, sorry.


-- 
Jun Kuriyama  // FreeBSD Project
          // S2 Factory, Inc.
___
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"


editors/libreoffice:internal build errors: ERROR: error 65280 occurred while making /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj

2012-05-04 Thread Hartmann, O.
I found myself incapable of rebuilding/updating editors/libreoffice on
ALL FreeBSD 9-STABLE and FreeBSD 10-CURRENT (amd64) platforms with the
very same error message as shown below.

It doesn't matter whether I try to build/update with CLANG or the legacy
gcc 4.2.1. GCC 4.6 and 4.7 fail due to 32/64 bit incompatibilities (some
weird errors occur, not further investigated).

It seems impossible to rebuild even a former installed version of
libreoffice.

Resources are no problem, I build Libreoffice with "DISABLE_MAKE_JOBS"
and in one case the box has 32GB of RAM -  and is free of other duties
for the time building LibreOffice.


Regards,

O. Hartmann


[...]
/usr/local/bin/xsltproc --nonet --stringparam uri \
Compiling: lingucomponent/source/thesaurus/libnth/ntreg.cxx
Compiling: lingucomponent/source/thesaurus/libnth/nthesimp.cxx
'vnd.sun.star.expand:$LO_LIB_DIR/libspelllo.so' -o
../../../unxfbsd.pro/misc/spell.component \

/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt
spell.component
Compiling: lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hreg.cxx
Compiling:
lingucomponent/source/hyphenator/altlinuxhyph/hyphen/hyphenimp.cxx
/usr/local/bin/xsltproc --nonet --stringparam uri \
'vnd.sun.star.expand:$LO_LIB_DIR/libhyphenlo.so' -o
../../../../unxfbsd.pro/misc/hyphen.component \

/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt
hyphen.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
'vnd.sun.star.expand:$LO_LIB_DIR/liblnthlo.so' -o
../../../unxfbsd.pro/misc/lnth.component \

/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt
lnth.component
/usr/local/bin/xsltproc --nonet --stringparam uri \
'vnd.sun.star.expand:$LO_LIB_DIR/libguesslanglo.so' -o
../../unxfbsd.pro/misc/guesslang.component \

/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/solenv/bin/createcomponent.xslt
guesslang.component
Making:guesslang.lib
Making:libguesslanglo.so
Entering
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/lingucomponent/source/spellcheck/macosxspell

 Nothing to build for GUIBASE=unx
Making:spell.lib
Making:libspelllo.so
Making:hyphen_lib.lib
Making:libhyphenlo.so
Making:lnth.lib
Making:liblnthlo.so
lingucomponent deliver
Module 'lingucomponent' delivered successfully. 12 files copied, 2 files
unchanged

---
Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/vcl/prj
ERROR: error 65280 occurred while making
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/ucb/source/ucp/cmis
ERROR: error 65280 occurred while making
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/odk/pack/gendocu

 it seems you are using a threaded build, which means that the
 actual compile error is probably hidden far above, and could be
 inside any of these other modules:
 ucb vcl
 please re-run build inside each one to isolate the problem.
---

/usr/local/bin/bash
cd /usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2
source ./Env.Host.sh
cd odk
rm -Rf
/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2/odk/unxfbsd.pro
# optional module 'clean'
build

when the problem is isolated and fixed exit and re-run 'make' from the
top-level
gmake[1]: *** [build] Error 1
gmake[1]: Leaving directory
`/usr/ports/editors/libreoffice/work/libreoffice-core-3.5.2.2'
gmake: *** [source-env-and-recurse] Error 2
*** Error code 1

Stop in /usr/ports/editors/libreoffice.
*** Error code 1

Stop in /usr/ports/editors/libreoffice.

===>>> make failed for editors/libreoffice
===>>> Aborting update

===>>> Update for editors/libreoffice failed
===>>> Aborting update

Terminated

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


audio/squeezeboxserver - install error

2012-05-04 Thread Torfinn Ingolfsen
Hello,
There seems to be a small error in the install procedure for the
audio/squeezeboxserver port. I installed the latest version under
FreeBSD 8.3-stable.
At the end  of "make install", it gives this output:
===> Installing rc.d startup script(s)
Adding squeezeboxserver log entry to /etc/newsyslog.conf.
touch: /var/log/squeezeboxserver/server.log: No such file or directory
chown: /var/log/squeezeboxserver/server.log: No such file or directory

and sure enough, the directory isn't created:
root@kg-v5# ls -l /var/log/squeezeboxserver
ls: /var/log/squeezeboxserver: No such file or directory

Looking at files/pkg-install.in in the port directory it is clear why
it doesn't work:
..
serverlogfile=/var/log/${name}/server.log
...
if [ ! -f ${serverlogfile} ]; then
touch ${serverlogfile}
chown -H ${u}:${g} ${serverlogfile}
fi
...
Should this be split into a log directory + logfile part, or is ther a
more elegant way to fix it?

-- 
Regards,
Torfinn Ingolfsen
___
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: portsdb -U fails

2012-05-04 Thread Bryan Drewery
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

On 5/4/2012 2:45 AM, Andrea Venturoli wrote:
> Hello.
> I know portupgrade is somewhat deprecated, but...

Portupgrade is currently supported by me at http://pkgtools.github.com

> 
> On several boxes I get the following:
>> # portsdb -U
>> Updating the ports index ... Generating INDEX.tmp - please wait.. Done.
>> portsdb: can't convert nil into String

I was going to suggest updating your ports tree, but I just tried that
and it's failing still.

Unless you've modified your ports or added extra dependencies, you can
just fetch the index with: portsdb -FU.

If you use portsnap(8), you'll get the INDEX updated automatically as well.

The have portupgrade read the index with portsdb -u

> 
> Is there any way I can debug this?

Yes, open up /usr/local/sbin/portsdb, go to line  205 and remove these
lines:

rescue => e
  STDERR.puts "#{MYNAME}: #{e}"
  exit 1

You can also run 'make index' in /usr/ports and see if it fails.

I've logged this failure upstream at
https://github.com/pkgtools/pkgtools/issues/27

If you figure anything further out, before I fix it, please let me know.

> 
> The boxes are 7.4/8.2 i386/amd64 with different versions of ruby and bdb
> backend.
> 
> Maybe some port has some invalid value and I might just exclude it as a
> temporary fix... but which one is it?
> 
>  bye & Thanks
> av.


Regards,
Bryan Drewery

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPo9cIAAoJEG54KsA8mwz5ulkQALMScCqCSLoWpYRbmvhpQNqO
H6OwcODX9HDnQvTvcnro/djyzHjvspCoPne9XidvbcUQs/VFWBG1QrsQUrUXEYZ+
wUJvMaD0Z74rY3xQDsdheuyqtz5CZsSveac2iIu8Bd8kH9q0ReGPT+AC4mm5havx
pMT1Sb/vEKHW/CTDP4hjw9LVANpIlwFp+M6m/RdvAGxREH5LvmH22+AVTj98YLX5
Vr+INU4LrexEPLkcHNLkiUraLpkJPw4BF4CsDucZvHopSV5TM18J11JUYo9V1Hev
Ul/Zjmm7TXkG32jMbkXYODMCFLCbJ6CELjmSkDNmSDlwr0U+OZDeKW3F/PHdue4X
GzlbRRx+f0lhDjwizfs5U7xTXwHGpA7Z/Z7Yw12zcyuxxL4T29fQbZ8SkwVjpTBw
yXFQH5jbl8Ifufhb0fh4IOSaFczsTZ10TUVBPztOMdsDwpBd4wEL1xD0/ydxTZtA
Cg/SM5/u/6c2DoDiArViZ1p/ZTQ63pp0/c1q87AcI/tzbSpAA16KLAePd3xj63e1
y+0+EbZK8ov+cjryxiub+EAUk5MAyAwX36wRM+YG6EsZCSxdXSumnTTOJd5PgRpX
2crCxyQwTUIIOuYsjKsdhPwuOxqNvDkj6ls+HPcoUP15RzhpUIcQafACUZtSxYqe
3TMeGUxWDjprINXrGsCt
=7yTB
-END PGP SIGNATURE-
___
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: audio/squeezeboxserver - install error

2012-05-04 Thread Michael Scheidell



On 5/4/12 9:06 AM, Torfinn Ingolfsen wrote:

if [ ! -f ${serverlogfile} ]; then
 touch ${serverlogfile}
 chown -H ${u}:${g} ${serverlogfile}
 fi


   if [ ! -f ${serverlogfile} ]; then
touch ${serverlogfile} || ${MKDIR} /var/log/${name}
chown -H ${u}:${g} ${serverlogfile}
fi

?

don't forget to make sure that pkg_add also works.
check pkg_delete also to make sure that pkg-plist removes it.


--
Michael Scheidell, CTO
>*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell
___
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"


Your message to freebsd-bugs awaits moderator approval

2012-05-04 Thread owner-freebsd-bugs
Your mail to 'freebsd-bugs' with the subject

New job vacancy - see details

Is being held until the list moderator can review it for approval.

The reason it is being held:

SpamAssassin identified this message as possible spam

Either the message will get posted to the list, or you will receive
notification of the moderator's decision.  If you would like to cancel
this posting, please visit the following URL:


http://lists.freebsd.org/mailman/confirm/freebsd-bugs/e848ab97ec6b40ebb899dee7161c019630434dec


PLEASE NOTE!  If you would like to post freely to the list, please
subscribe first.  If you post from multiple addresses, you can
subscribe each address and go into the options page and select 'no
mail' for all but one address. This will allow you to post without
delay in the future.

Sorry for the hassle, but certain immature people made this necessary.

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