Failure Report: make index

2014-11-27 Thread Rao FU
# ( /usr/sbin/portsnap fetch update; cd /usr/ports; make index )

... omitted

Generating INDEX-9 - please wait.."/usr/ports/Mk/Uses/qmake.mk", line 52:
Malformed conditional (${_QT_VERSION:M5*})
"/usr/ports/Mk/bsd.port.mk", line 6090: if-less endif
make: fatal errors encountered -- cannot continue
===> editors/texmaker failed
*** [describe.editors] Error code 1
1 error


Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections.
If that is the case, then
report the failure to po...@freebsd.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and OPTIONS_SET/UNSET settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".


*** [/usr/ports/INDEX-9] Error code 1

Stop in /usr/ports.
*** [index] Error code 1

Stop in /usr/ports.

... omitted

# uname -a
FreeBSD wangq.texacker.org 9.3-PRERELEASE FreeBSD 9.3-PRERELEASE #0 r268580:
Sun Jul 13 18:11:48 CST 2014
r...@wangq.texacker.org:/usr/obj/usr/src/sys/GENERIC  i386

# more /etc/make.conf
CPUTYPE?=   pentium4
KERNCONF=   GENERIC
OPTIONS_UNSET+=CUPS   # CUPS printing system support
OPTIONS_UNSET+=DEBUG  # Build with debugging support
OPTIONS_UNSET+=DOCS   # Build and/or install documentation
OPTIONS_UNSET+=EXAMPLES   # Build and/or install examples
OPTIONS_UNSET+=GHOSTSCRIPT# Ghostscript support
OPTIONS_UNSET+=GTK1   # GTK+ 1 GUI toolkit support
OPTIONS_UNSET+=GUI# GUI (Graphical User Interface)
support
OPTIONS_UNSET+=IPV6   # IPv6 protocol support
OPTIONS_UNSET+=KDE4   # KDE 4 desktop environment support
OPTIONS_UNSET+=LDAP   # LDAP protocol support
OPTIONS_UNSET+=MYSQL  # MySQL database support
OPTIONS_UNSET+=NLS# Native Language Support
OPTIONS_UNSET+=PGO# Use Profile-Guided Optimization
OPTIONS_UNSET+=PROFILE# Build with profiling support
OPTIONS_UNSET+=PULSEAUDIO # PulseAudio sound server support
OPTIONS_UNSET+=QT4# Qt 4 toolkit support
OPTIONS_UNSET+=QT5# Qt 5 toolkit support
OPTIONS_SET+=X11  # X11 (graphics) support
cario_SET+=X11
vim_UNSET+=X11
ocaml_UNSET+=X11
coq_UNSET+=IDE
freetype2_SET+=LCD_FILTERING
git_SET+=SVN
git_UNSET+=CVS
NO_DIALOG=
WITH_PKGNG=yes
PERL_VERSION=5.16.3


___
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: virtualbox issue

2014-11-27 Thread andrew clarke
On Tue 2014-11-25 09:34:17 UTC-0500, R. Scott Evans 
(freebsd-emulat...@rsle.net) wrote:

> I sucessfully updated virtualbox on my 9.3-RELEASE (amd64) hosts today 
> without incident but trying to update an existing virtualbox-ose-4.3.18 
> port to 4.3.20 on a 10.1-RELEASE (amd64) box and I get a fail message 
> that I don't have 32 bit libraries.  Worked without them before but 
> okay, I try and install the 32 bit libraries:
> 
> "cd /usr/src; make build32 install32"
> 
> and I now choke on libmagic...
> 
> "...
> cd /usr/src/lib/libmagic;  WORLDTMP=/usr/obj/usr/src/tmp  MAKEFLAGS="-m 
> /usr/src/tools/build/mk  -m /usr/src/share/mk" 
> MAKEOBJDIRPREFIX=/usr/obj/lib32 make SSP_CFLAGS= DESTDIR= 
> DIRPRFX=lib/libmagic/ -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF 
> -DEARLY_BUILD build-tools
> cc -O2 -pipe  -DMAGIC='"/usr/share/misc/magic"' -DHAVE_CONFIG_H 
> -I/usr/src/lib/libmagic -I/usr/src/lib/libmagic/../../contrib/file/src 
> -std=gnu99   -I/usr/obj/usr/src/tmp/legacy/usr/include -DCOMPILE_ONLY 
> -L/usr/obj/usr/src/tmp/legacy/usr/lib -o mkmagic 
> /usr/src/lib/libmagic/../../contrib/file/src/apprentice.c 
> /usr/src/lib/libmagic/../../contrib/file/src/cdf_time.c 
> /usr/src/lib/libmagic/../../contrib/file/src/encoding.c 
> /usr/src/lib/libmagic/../../contrib/file/src/funcs.c 
> /usr/src/lib/libmagic/../../contrib/file/src/magic.c 
> /usr/src/lib/libmagic/../../contrib/file/src/print.c  -lz -legacy
> /usr/bin/ld: cannot find -legacy
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1

I encountered this last month:

https://lists.freebsd.org/pipermail/freebsd-ports/2014-October/096077.html

https://lists.freebsd.org/pipermail/freebsd-ports/2014-November/096359.html

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


Squid 3.4.9 - core dumped when shutting down

2014-11-27 Thread Dr. Peter Voigt
After my recent upgrade to 10.1-RELEASE (amd64) have have rebuilt all
ports. At the end of this proces I rebooted the machine and saw a

pid  (squid), uid 100: exited on signal 6 (core dumped)

message in the kernel log. This behavior of Squid is reproducible on
every shutdown of Squid, e.g.

# service squid stop

produces a core dump /var/cache/squid/squid.core. Moreover, squid is
not cleanly terminated leaving one process which must be killed
manually with 

# kill 

After that Squid can be started normally and it will run rock stable,
e.g. core dumping is occuring only when Squid is terminated.

I am wondering if this is a 10.1-RELEASE related issue or not. I have
not 10.0-RELEASE or 9.x-RELEASE available to check.

I necessary, I can provide some more information, e.g. the remaining
process list of Squid after a shutdown attempt and the squid.core file.

My exact Squid version is:

# pkg version |grep squid
squid-3.4.9_1  =
squidGuard-1.4_15  =
squidclamav-6.10_2 =

Regards,
Peter
___
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"


porting beignet: LLVM compilation and linking

2014-11-27 Thread Johannes Dieterich
Hi porters,

please CC me as I am not subscribed.

I am out of pure personal interest (ditching Linux as my OpenCL development
environment) trying to port Beignet to FreeBSD. Beignet is Intel's
open-source
OpenCL environment for all their chips starting Ivy Bridge. Basically, we
should have all the bits in place for it to work, so the heavy lifting has
been done.

However, as you can see from my post to Beignet's mailing list
(http://lists.freedesktop.org/archives/beignet/2014-November/004515.html) ,
some minor stuff needs to be adjusted (patches there). However, I am now
facing a bump that I
cannot wrap my head around and hope some of you guys with much more C++
porting
experience than I have can be of help.

Compiling with clang35 gives me the set of errors described in
http://lists.freedesktop.org/archives/beignet/2014-November/004532.html .

I since followed the suggestion to try compiling w/ gcc. Again, a small
fix is needed as gcc48 does not support uint any longer. However, linking
against llvm fails. Linking string is:

cd /usr/home/sid/software/beignet/build_gcc/backend/src &&
/usr/local/bin/cmake
-E cmake_link_script CMakeFiles/gbe.dir/link.txt --verbose=1
/usr/local/bin/g++48  -fPIC  -funroll-loops -fstrict-aliasing -msse2 -msse3
-mssse3 -msse4.1 -fPIC -Wall -mfpmath=sse -Wcast-align -Wl,-E
-Wl,-rpath=/usr/local/lib/gcc48 -std=c++0x -Wno-invalid-offsetof -fno-rtti
-I/usr/local/llvm35/include  -DNDEBUG -D_GNU_SOURCE
-D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DGBE_DEBUG_MEMORY=0
-DGBE_COMPILER_AVAILABLE=1 -fvisibility=hidden -O2 -g -DGBE_DEBUG=1
-Wl,--no-undefined -L/usr/local/llvm35/lib -shared -Wl,-soname,libgbe.so -o
libgbe.so CMakeFiles/gbe.dir/sys/intrusive_list.cpp.o
CMakeFiles/gbe.dir/sys/assert.cpp.o CMakeFiles/gbe.dir/sys/alloc.cpp.o
CMakeFiles/gbe.dir/sys/mutex.cpp.o CMakeFiles/gbe.dir/sys/platform.cpp.o
CMakeFiles/gbe.dir/sys/cvar.cpp.o CMakeFiles/gbe.dir/ir/context.cpp.o
CMakeFiles/gbe.dir/ir/profile.cpp.o CMakeFiles/gbe.dir/ir/type.cpp.o
CMakeFiles/gbe.dir/ir/unit.cpp.o CMakeFiles/gbe.dir/ir/constant.cpp.o
CMakeFiles/gbe.dir/ir/sampler.cpp.o CMakeFiles/gbe.dir/ir/image.cpp.o
CMakeFiles/gbe.dir/ir/instruction.cpp.o
CMakeFiles/gbe.dir/ir/liveness.cpp.o
CMakeFiles/gbe.dir/ir/register.cpp.o CMakeFiles/gbe.dir/ir/function.cpp.o
CMakeFiles/gbe.dir/ir/value.cpp.o CMakeFiles/gbe.dir/ir/lowering.cpp.o
CMakeFiles/gbe.dir/ir/printf.cpp.o
CMakeFiles/gbe.dir/ir/structural_analysis.cpp.o
CMakeFiles/gbe.dir/ir/immediate.cpp.o
CMakeFiles/gbe.dir/backend/context.cpp.o
CMakeFiles/gbe.dir/backend/program.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_bitcode_link.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_gen_backend.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_passes.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_scalarize.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_legalize.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_intrinsic_lowering.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_barrier_nodup.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_printf_parser.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_to_gen.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_loadstore_optimization.cpp.o
CMakeFiles/gbe.dir/llvm/llvm_unroll.cpp.o
CMakeFiles/gbe.dir/backend/gen/gen_mesa_disasm.c.o
CMakeFiles/gbe.dir/backend/gen_insn_selection.cpp.o
CMakeFiles/gbe.dir/backend/gen_insn_scheduling.cpp.o
CMakeFiles/gbe.dir/backend/gen_reg_allocation.cpp.o
CMakeFiles/gbe.dir/backend/gen_context.cpp.o
CMakeFiles/gbe.dir/backend/gen75_context.cpp.o
CMakeFiles/gbe.dir/backend/gen8_context.cpp.o
CMakeFiles/gbe.dir/backend/gen_program.cpp.o
CMakeFiles/gbe.dir/backend/gen_insn_compact.cpp.o
CMakeFiles/gbe.dir/backend/gen_encoder.cpp.o
CMakeFiles/gbe.dir/backend/gen7_encoder.cpp.o
CMakeFiles/gbe.dir/backend/gen75_encoder.cpp.o
CMakeFiles/gbe.dir/backend/gen8_encoder.cpp.o  -L/usr/local/lib -ldrm_intel
-ldrm -ldrm /usr/local/llvm35/lib/libclangFrontend.a
/usr/local/llvm35/lib/libclangSerialization.a
/usr/local/llvm35/lib/libclangDriver.a
/usr/local/llvm35/lib/libclangCodeGen.a
/usr/local/llvm35/lib/libclangSema.a
/usr/local/llvm35/lib/libclangStaticAnalyzerFrontend.a
/usr/local/llvm35/lib/libclangStaticAnalyzerCheckers.a
/usr/local/llvm35/lib/libclangStaticAnalyzerCore.a
/usr/local/llvm35/lib/libclangAnalysis.a
/usr/local/llvm35/lib/libclangEdit.a
/usr/local/llvm35/lib/libclangAST.a /usr/local/llvm35/lib/libclangParse.a
/usr/local/llvm35/lib/libclangSema.a /usr/local/llvm35/lib/libclangLex.a
/usr/local/llvm35/lib/libclangBasic.a -lLLVM-3.5 -lLLVMLTO
-lLLVMObjCARCOpts
-lLLVMLinker -lLLVMipo -lLLVMVectorize -lLLVMBitWriter -lLLVMIRReader
-lLLVMAsmParser -lLLVMSystemZDisassembler -lLLVMSystemZCodeGen
-lLLVMSystemZAsmParser -lLLVMSystemZDesc -lLLVMSystemZInfo
-lLLVMSystemZAsmPrinter -lLLVMHexagonCodeGen -lLLVMHexagonAsmPrinter
-lLLVMHexagonDesc -lLLVMHexagonInfo -lLLVMNVPTXCodeGen -lLLVMNVPTXDesc
-lLLVMNVPTXInfo -lLLVMNVPTXAsmPrinter -lLLVMCppBackendCodeGen
-lLLVMCppBackendInfo -lLLVMMSP430CodeGen -lLLVMMSP430Desc -lLLVMMSP430Info
-lLLVMMSP430AsmPrinter -lLLVMXCoreDisassembler -lLLVMXCoreCodeGen
-lLLVMXCoreDesc -lLLVMXC

Re: How to create a port with uncompressed distfile?

2014-11-27 Thread Darren Pilgrim

On 11/27/2014 4:41 AM, Torsten Zuehlsdorff wrote:

Hello,

i'm nearly done with the new port. But i have a last problem.

In short the installation procedure:
- downloading the .phar file
- copying the .phar file into stagedir (because its the complete programm)
- renaming the file from "phpunit-$version.phar" to "phpunit" (without
suffix)
- setting +x rights to "phpunit"

The last one i did not get right. I believe i have to use
${INSTALL_PROGRAM} but i make something wrong. Can somebody help?


Add "STRIP=" as a line after the NO_BUILD line, then in the do-install 
target:


${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} \
${STAGEDIR}${PREFIX}/bin/phpunit

The stage dir is created for you.
___
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/open-vm-tools: fixing runProgramInGuest

2014-11-27 Thread Bruce Simpson
Scott,

I noticed today that vmrun's runProgramInGuest didn't seem to work on
FreeBSD, and have a (hackish) fix.

Background: I'm trying to automate some nasty operations I need to run
across our test topology at work. I have dozens of multi-gigabyte
FreeBSD VMs with ZFS, and these need to be shrunk to fit onto BD-R media
for publication. Without ZFS BP-rewrite, recreating the pool on a new
device is the only way to do this. VMware's "shrink disk" feature only
really understands a subset of Windows and Linux filesystems.

Issue: The PAM configuration installed with the port refers to
non-existent PAM modules. If I try to use vmrun with a (known
passwordless) account, I get the following log message:

%%%
Nov 27 16:49:11 ilnp-builder vmsvc[1127]: in openpam_load_module(): no
pam_unix2.so found
%%%

Workaround: Remove the missing PAM modules from the vmtoolsd PAM
configuration entirely, e.g.
%%%
sed -i.orig -e '/pam_unix2/d;/pam_unix_auth/d;/pam_unix_acct/d'
/usr/local/etc/pam.d/vmtoolsd
%%%

I can confirm that this allows the following vmrun commands to work:
copyFileFromHostToGuest, runProgramInGuest, runScriptInGuest.

Other details: Whilst mostly documented, this functionality isn't great
(and is fairly Windows centric). E.g. the runScriptInGuest command takes
the actual content of a script to be executed, error messages are logged
to stdout, and need to be parsed for guest command return codes. I'd be
happy to share the scripts once I've got the ZFS pool rebuild automated.

thanks,
-- 
BMS (sent via webmail)
___
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 create a port with uncompressed distfile?

2014-11-27 Thread Sergei Vyshenski
> setting +x rights to "phpunit"

For this you may want to use "@chmod" keyword in your pkg-plist:

http://www.ru.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-keywords.html

Regards, Sergei

On Thu, Nov 27, 2014 at 1:41 PM, Torsten Zuehlsdorff <
mailingli...@toco-domains.de> wrote:

> Hello,
>
> i'm nearly done with the new port. But i have a last problem.
>
> In short the installation procedure:
> - downloading the .phar file
> - copying the .phar file into stagedir (because its the complete programm)
> - renaming the file from "phpunit-$version.phar" to "phpunit" (without
> suffix)
> - setting +x rights to "phpunit"
>
> The last one i did not get right. I believe i have to use
> ${INSTALL_PROGRAM} but i make something wrong. Can somebody help?
>
> I've attached the current progress.
>
> Thank you very much,
> Torsten
>
> ___
> 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@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: [HEADS-UP] svn commit: r373448 - in head: . Mk Mk/Uses archivers/dpkg archivers/p5-Archive-Any archivers/p5-Archive-Any-Lite archivers/p5-Archive-Any-Plugin-Rar archivers/p5-Archive-Extract archiv

2014-11-27 Thread Mathieu Arnold
+--On 27 novembre 2014 17:33:54 +0200 Konstantin Belousov
 wrote:
| Thank you for the idea, but how that could happen ?

Well, I was adding the .packlist file with a bad path to PLIST and not
TMPPLIST.  It wasn't showing up in poudriere because /usr/ports is
readonly, and even if it was not, "nobody" could not write there.

-- 
Mathieu Arnold
___
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: [HEADS-UP] svn commit: r373448 - in head: . Mk Mk/Uses archivers/dpkg archivers/p5-Archive-Any archivers/p5-Archive-Any-Lite archivers/p5-Archive-Any-Plugin-Rar archivers/p5-Archive-Extract archiv

2014-11-27 Thread Konstantin Belousov
On Thu, Nov 27, 2014 at 04:11:33PM +0100, Mathieu Arnold wrote:
> 
> 
> +--On 27 novembre 2014 17:01:42 +0200 Konstantin Belousov
>  wrote:
> | On Thu, Nov 27, 2014 at 03:41:55PM +0100, Mathieu Arnold wrote:
> |> +--On 27 novembre 2014 14:36:11 +0200 Konstantin Belousov
> |>  wrote:
> |> | On Wed, Nov 26, 2014 at 02:18:50PM +0100, Mathieu Arnold wrote:
> |> | 
> |> | It seems to be broken on the machine which has /usr/local symlinked.
> |> | Amd64 stable/10 with
> |> | lrwxr-xr-x   1 root  wheel 15 Sep 21 20:09 local -> /usr/sfw/local8
> |> | 
> |> | I get the following
> |> | 
> |> 
> |> I think this was fixed in r373485.
> | 
> | I think it was not.
> | 
> | --->  Installing the new version via the port with make flags:
> | WITH_BDB_VER=6 WANT_OPENLDAP_SASL=yes ===>  Installing for
> | p5-HTTP-Date-6.02_1
> | ===>   p5-HTTP-Date-6.02_1 depends on file: /usr/local/bin/perl5.20.1 -
> | found ===>   Registering installation for p5-HTTP-Date-6.02_1
> | pkg-static:
> | lstat(/usr/home/portworkdir/usr/bsd/ports/www/p5-HTTP-Date/work/stage/usr
> | /local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/HTTP/Date/.packlist
> | ): No such file or directory pkg-static:
> | lstat(/usr/home/portworkdir/usr/bsd/ports/www/p5-HTTP-Date/work/stage/usr
> | /local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/HTTP/Date/.packlist
> | ): No such file or directory *** Error code 74
> 
> Are you sure your pkg-plist file doesn't have a ./usr/local/... line in it ?

Indeed, it has that line, and the problem was systematic, i.e. the ports'
checkout tree was massively damaged.

Thank you for the idea, but how that could happen ?
___
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: [HEADS-UP] svn commit: r373448 - in head: . Mk Mk/Uses archivers/dpkg archivers/p5-Archive-Any archivers/p5-Archive-Any-Lite archivers/p5-Archive-Any-Plugin-Rar archivers/p5-Archive-Extract archiv

2014-11-27 Thread Mathieu Arnold


+--On 27 novembre 2014 17:01:42 +0200 Konstantin Belousov
 wrote:
| On Thu, Nov 27, 2014 at 03:41:55PM +0100, Mathieu Arnold wrote:
|> +--On 27 novembre 2014 14:36:11 +0200 Konstantin Belousov
|>  wrote:
|> | On Wed, Nov 26, 2014 at 02:18:50PM +0100, Mathieu Arnold wrote:
|> | 
|> | It seems to be broken on the machine which has /usr/local symlinked.
|> | Amd64 stable/10 with
|> | lrwxr-xr-x   1 root  wheel 15 Sep 21 20:09 local -> /usr/sfw/local8
|> | 
|> | I get the following
|> | 
|> 
|> I think this was fixed in r373485.
| 
| I think it was not.
| 
| --->  Installing the new version via the port with make flags:
| WITH_BDB_VER=6 WANT_OPENLDAP_SASL=yes ===>  Installing for
| p5-HTTP-Date-6.02_1
| ===>   p5-HTTP-Date-6.02_1 depends on file: /usr/local/bin/perl5.20.1 -
| found ===>   Registering installation for p5-HTTP-Date-6.02_1
| pkg-static:
| lstat(/usr/home/portworkdir/usr/bsd/ports/www/p5-HTTP-Date/work/stage/usr
| /local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/HTTP/Date/.packlist
| ): No such file or directory pkg-static:
| lstat(/usr/home/portworkdir/usr/bsd/ports/www/p5-HTTP-Date/work/stage/usr
| /local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/HTTP/Date/.packlist
| ): No such file or directory *** Error code 74

Are you sure your pkg-plist file doesn't have a ./usr/local/... line in it ?

-- 
Mathieu Arnold
___
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: [HEADS-UP] svn commit: r373448 - in head: . Mk Mk/Uses archivers/dpkg archivers/p5-Archive-Any archivers/p5-Archive-Any-Lite archivers/p5-Archive-Any-Plugin-Rar archivers/p5-Archive-Extract archiv

2014-11-27 Thread Konstantin Belousov
On Thu, Nov 27, 2014 at 03:41:55PM +0100, Mathieu Arnold wrote:
> +--On 27 novembre 2014 14:36:11 +0200 Konstantin Belousov
>  wrote:
> | On Wed, Nov 26, 2014 at 02:18:50PM +0100, Mathieu Arnold wrote:
> | 
> | It seems to be broken on the machine which has /usr/local symlinked.
> | Amd64 stable/10 with
> | lrwxr-xr-x   1 root  wheel 15 Sep 21 20:09 local -> /usr/sfw/local8
> | 
> | I get the following
> | 
> 
> I think this was fixed in r373485.

I think it was not.

--->  Installing the new version via the port with make flags: WITH_BDB_VER=6 
WANT_OPENLDAP_SASL=yes
===>  Installing for p5-HTTP-Date-6.02_1
===>   p5-HTTP-Date-6.02_1 depends on file: /usr/local/bin/perl5.20.1 - found
===>   Registering installation for p5-HTTP-Date-6.02_1
pkg-static: 
lstat(/usr/home/portworkdir/usr/bsd/ports/www/p5-HTTP-Date/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/HTTP/Date/.packlist):
 No such file or directory
pkg-static: 
lstat(/usr/home/portworkdir/usr/bsd/ports/www/p5-HTTP-Date/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/HTTP/Date/.packlist):
 No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/bsd/ports/www/p5-HTTP-Date
*** Error code 1

Ports are at r373490, installed perl5-5.20.1_6.
___
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 create a port with uncompressed distfile?

2014-11-27 Thread Torsten Zuehlsdorff

Hello,

i've missed an dependencies. Updated version attached, problem is the same.

Greetings,
Torsten
# Created by: Torsten Zühlsdorff ()
# $FreeBSD$

PORTNAME=   PHPUnit
PORTVERSION=4.3.5
CATEGORIES= devel www
MASTER_SITES=   https://phar.phpunit.de/ \
 http://ports.toco-domains.de/
DISTNAME=phpunit-${PORTVERSION}
EXTRACT_SUFX=.phar
EXTRACT_ONLY=   #none

MAINTAINER= po...@toco-domains.de
COMMENT=Testing framework for unit tests

LICENSE=BSD4CLAUSE

CONFLICTS=  pear-PHPUnit-[123]*

USE_PHP=dom json spl pcre phar

NO_BUILD=   yes

PLIST_FILES=bin/phpunit

WRKSRC= ${DISTDIR}

do-install:
${MKDIR} ${STAGEDIR}
(cd ${WRKSRC} && ${CP} ${DISTNAME}${EXTRACT_SUFX} 
${STAGEDIR}${PREFIX}/bin/phpunit)

.include 
SHA256 (phpunit-4.3.5.phar) = 
993942147f1b79bfb4a006fb24b1d9f5542f11adefd4b0e01ac553759f911d40
SIZE (phpunit-4.3.5.phar) = 3328017
PHPUnit is a regression testing framework used by the developer
who implements unit tests in PHP. It is based upon JUnit, which
can be found at http://www.junit.org/.

WWW: http://www.phpunit.de
___
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: [HEADS-UP] svn commit: r373448 - in head: . Mk Mk/Uses archivers/dpkg archivers/p5-Archive-Any archivers/p5-Archive-Any-Lite archivers/p5-Archive-Any-Plugin-Rar archivers/p5-Archive-Extract archiv

2014-11-27 Thread Mathieu Arnold
+--On 27 novembre 2014 14:36:11 +0200 Konstantin Belousov
 wrote:
| On Wed, Nov 26, 2014 at 02:18:50PM +0100, Mathieu Arnold wrote:
| 
| It seems to be broken on the machine which has /usr/local symlinked.
| Amd64 stable/10 with
| lrwxr-xr-x   1 root  wheel 15 Sep 21 20:09 local -> /usr/sfw/local8
| 
| I get the following
| 

I think this was fixed in r373485.

-- 
Mathieu Arnold
___
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 create a port with uncompressed distfile?

2014-11-27 Thread Torsten Zuehlsdorff

Hello,

i'm nearly done with the new port. But i have a last problem.

In short the installation procedure:
- downloading the .phar file
- copying the .phar file into stagedir (because its the complete programm)
- renaming the file from "phpunit-$version.phar" to "phpunit" (without 
suffix)

- setting +x rights to "phpunit"

The last one i did not get right. I believe i have to use 
${INSTALL_PROGRAM} but i make something wrong. Can somebody help?


I've attached the current progress.

Thank you very much,
Torsten
# Created by: Torsten Zühlsdorff ()
# $FreeBSD$

PORTNAME=   PHPUnit
PORTVERSION=4.3.5
CATEGORIES= devel www
MASTER_SITES=   https://phar.phpunit.de/ \
 http://ports.toco-domains.de/
DISTNAME=phpunit-${PORTVERSION}
EXTRACT_SUFX=.phar
EXTRACT_ONLY=   #none

MAINTAINER= po...@toco-domains.de
COMMENT=Testing framework for unit tests

LICENSE=BSD4CLAUSE

CONFLICTS=  pear-PHPUnit-[123]*

USE_PHP=dom json spl pcre

NO_BUILD=   yes

PLIST_FILES=bin/phpunit

WRKSRC= ${DISTDIR}

do-install:
${MKDIR} ${STAGEDIR}
(cd ${WRKSRC} && ${CP} ${DISTNAME}${EXTRACT_SUFX} 
${STAGEDIR}${PREFIX}/bin/phpunit)

.include 
SHA256 (phpunit-4.3.5.phar) = 
993942147f1b79bfb4a006fb24b1d9f5542f11adefd4b0e01ac553759f911d40
SIZE (phpunit-4.3.5.phar) = 3328017
PHPUnit is a regression testing framework used by the developer
who implements unit tests in PHP. It is based upon JUnit, which
can be found at http://www.junit.org/.

WWW: http://www.phpunit.de
___
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: [HEADS-UP] svn commit: r373448 - in head: . Mk Mk/Uses archivers/dpkg archivers/p5-Archive-Any archivers/p5-Archive-Any-Lite archivers/p5-Archive-Any-Plugin-Rar archivers/p5-Archive-Extract archiv

2014-11-27 Thread Konstantin Belousov
On Wed, Nov 26, 2014 at 02:18:50PM +0100, Mathieu Arnold wrote:

It seems to be broken on the machine which has /usr/local symlinked.
Amd64 stable/10 with
lrwxr-xr-x   1 root  wheel 15 Sep 21 20:09 local -> /usr/sfw/local8

I get the following

--->  Installing the new version via the port with make flags: WITH_BDB_VER=6 
WANT_OPENLDAP_SASL=yes
===>  Installing for p5-parent-0.228_1
===>   p5-parent-0.228_1 depends on file: /usr/local/bin/perl5.20.1 - found
===>   Registering installation for p5-parent-0.228_1
pkg-static: 
lstat(/usr/home/portworkdir/usr/bsd/ports/devel/p5-parent/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/parent/.packlist):
 No such file or directory
pkg-static: 
lstat(/usr/home/portworkdir/usr/bsd/ports/devel/p5-parent/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/parent/.packlist):
 No such file or directory
pkg-static: 
lstat(/usr/home/portworkdir/usr/bsd/ports/devel/p5-parent/work/stage/usr/local/./usr/local/lib/perl5/site_perl/mach/5.20/auto/parent/.packlist):
 No such file or directory
*** Error code 74

Stop.  
make[1]: stopped in /usr/bsd/ports/devel/p5-parent

On my other machines, where /usr/local is not symlinked, the update went
uneventful.
___
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 create a port with uncompressed distfile?

2014-11-27 Thread Kubilay Kocak
On 27/11/2014 10:17 PM, Kubilay Kocak wrote:
> On 27/11/2014 9:41 PM, Torsten Zuehlsdorff wrote:
>> Hello,
>>
>> i'm trying to create a port for PHPUnit4. Its served as a single .phar
>> file (thats an PHP archive file).
>>
>> I only need to download this file and move it into /usr/local/bin.
>>
>> But i do not know how to tell the Makefile, that it should not try to
>> decompress the .phar-file.
>>
>> At the moment i also have to use DISTFILES, because i do not know how to
>> teach the makefile, that it should use .phar instead of .tar.gz.
>>
>> Any advice?
>>
>> Thank you very much!
>> Torsten
> 
> Hi Torsten, thanks for the question:
> 
> You can use:
> 
> EXTRACT_SUFX
> 
> and
> 
> create your own do-extract: target
> 
> See /usr/ports/Mk/bsd.port.mk for more info
> 
> Koobs
> 
> 

Also possible:

EXTRACT_ONLY= #none

Thanks Alex! (ak@)
___
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 create a port with uncompressed distfile?

2014-11-27 Thread Kubilay Kocak
On 27/11/2014 9:41 PM, Torsten Zuehlsdorff wrote:
> Hello,
> 
> i'm trying to create a port for PHPUnit4. Its served as a single .phar
> file (thats an PHP archive file).
> 
> I only need to download this file and move it into /usr/local/bin.
> 
> But i do not know how to tell the Makefile, that it should not try to
> decompress the .phar-file.
> 
> At the moment i also have to use DISTFILES, because i do not know how to
> teach the makefile, that it should use .phar instead of .tar.gz.
> 
> Any advice?
> 
> Thank you very much!
> Torsten

Hi Torsten, thanks for the question:

You can use:

EXTRACT_SUFX

and

create your own do-extract: target

See /usr/ports/Mk/bsd.port.mk for more info

Koobs


___
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: php55-5.5.19

2014-11-27 Thread Sascha A. Borer
I wants to install php5 then.
How can I prevent that?


root@xanS2:/usr/ports/lang/php55-extensions # pkg install pecl-intl
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
Checking integrity... done (1 conflicting)
Checking integrity... done (0 conflicting)
The following 29 packages will be affected (of 0 checked):

Installed packages to be REMOVED:
php55-5.5.19
php55-mbstring-5.5.19
php55-dom-5.5.19
php55-xmlreader-5.5.19
php55-extensions-1.8
php55-session-5.5.19
php55-opcache-5.5.19
php55-xmlwriter-5.5.19
php55-xml-5.5.19
php55-simplexml-5.5.19
php55-ctype-5.5.19
php55-posix-5.5.19
php55-hash-5.5.19
php55-phar-5.5.19
php55-filter-5.5.19
php55-tokenizer-5.5.19
php55-json-5.5.19
php55-sqlite3-5.5.19_1
php55-pdo_sqlite-5.5.19_1
php55-pdo-5.5.19
php55-pdo_mysql-5.5.19
php55-mysql-5.5.19
php55-iconv-5.5.19
php55-pcntl-5.5.19
php55-mysqli-5.5.19
mod_php55-5.5.19

New packages to be INSTALLED:
pecl-intl: 3.0.0_1
php5: 5.4.35
icu: 53.1

The process will require 48 MB more space.

Proceed with this action? [y/N]: n


-Original Message-
From: Alex Dupre [mailto:a...@freebsd.org] 
Sent: Donnerstag, 27. November 2014 10:24
To: Sascha A. Borer
Cc: po...@freebsd.org
Subject: Re: FreeBSD Port: php55-5.5.19

Sascha A. Borer ha scritto:
> In the FreeBSD Port php55 I try to activate the extension intl.so 
> Strangely, after compiling, there is no intl.so or php_intl.so available.

Simply install devel/pecl-intl

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


How to create a port with uncompressed distfile?

2014-11-27 Thread Torsten Zuehlsdorff

Hello,

i'm trying to create a port for PHPUnit4. Its served as a single .phar 
file (thats an PHP archive file).


I only need to download this file and move it into /usr/local/bin.

But i do not know how to tell the Makefile, that it should not try to 
decompress the .phar-file.


At the moment i also have to use DISTFILES, because i do not know how to 
teach the makefile, that it should use .phar instead of .tar.gz.


Any advice?

Thank you very much!
Torsten
___
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-11-27 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
+-+
biology/fasta3  | 36.3.6d | 36.3.7
+-+


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: FreeBSD Port: php55-5.5.19

2014-11-27 Thread Alex Dupre
Sascha A. Borer ha scritto:
> In the FreeBSD Port php55 I try to activate the extension intl.so
> Strangely, after compiling, there is no intl.so or php_intl.so available.

Simply install devel/pecl-intl

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