Teemu Rinta-aho | 1 Nov 2011 09:34
Favicon

Missing dep in amavisd-new (was Re: Missing dependency in p5-MIME-tools (pkgsrc-2011Q3))

On 1.11.2011, at 0.31, Thomas Klausner wrote:

> On Mon, Oct 31, 2011 at 05:55:51PM +0200, Teemu Rinta-aho wrote:
>> Index: Makefile
>> ===================================================================
>> RCS file: /cvsroot/pkgsrc/mail/p5-MIME-tools/Makefile,v
>> retrieving revision 1.37
>> diff -u -r1.37 Makefile
>> --- Makefile    7 Aug 2011 08:09:01 -0000       1.37
>> +++ Makefile    31 Oct 2011 15:55:04 -0000
>>  <at>  <at>  -16,6 +16,7  <at>  <at> 
>> DEPENDS+=      p5-File-Temp>=0.18:../../devel/p5-File-Temp
>> DEPENDS+=      p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
>> DEPENDS+=      p5-MIME-Base64>=3.03:../../converters/p5-MIME-Base64
>> +DEPENDS+=      p5-Convert-BinHex-[0-9]*:../../converters/p5-Convert-BinHex
>> DEPENDS+=      p5-MailTools-[0-9]*:../../mail/p5-MailTools
>> 
>> PKG_INSTALLATION_TYPES=        overwrite pkgviews
>> 
> 
> Why do you think it's a dependency?
> The Makefile doesn't require it, and the tests work fine without it too.

Sorry, you are right. I was too much in a hurry. That should be added into
mail/amavisd-new/Makefile, not in p5-MIME-tools.. I cc its maintainer here.

Without that dependency, there is an error message of Convert/BinHex.pm not found
when amavisd is started.

BR,
(Continue reading)

Thomas Klausner | 3 Nov 2011 16:50
Picon

Re: Missing dep in amavisd-new (was Re: Missing dependency in p5-MIME-tools (pkgsrc-2011Q3))

On Tue, Nov 01, 2011 at 10:34:51AM +0200, Teemu Rinta-aho wrote:
> On 1.11.2011, at 0.31, Thomas Klausner wrote:
> 
> > On Mon, Oct 31, 2011 at 05:55:51PM +0200, Teemu Rinta-aho wrote:
> >> Index: Makefile
> >> ===================================================================
> >> RCS file: /cvsroot/pkgsrc/mail/p5-MIME-tools/Makefile,v
> >> retrieving revision 1.37
> >> diff -u -r1.37 Makefile
> >> --- Makefile    7 Aug 2011 08:09:01 -0000       1.37
> >> +++ Makefile    31 Oct 2011 15:55:04 -0000
> >>  <at>  <at>  -16,6 +16,7  <at>  <at> 
> >> DEPENDS+=      p5-File-Temp>=0.18:../../devel/p5-File-Temp
> >> DEPENDS+=      p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy
> >> DEPENDS+=      p5-MIME-Base64>=3.03:../../converters/p5-MIME-Base64
> >> +DEPENDS+=      p5-Convert-BinHex-[0-9]*:../../converters/p5-Convert-BinHex
> >> DEPENDS+=      p5-MailTools-[0-9]*:../../mail/p5-MailTools
> >> 
> >> PKG_INSTALLATION_TYPES=        overwrite pkgviews
> >> 
> > 
> > Why do you think it's a dependency?
> > The Makefile doesn't require it, and the tests work fine without it too.
> 
> Sorry, you are right. I was too much in a hurry. That should be added into
> mail/amavisd-new/Makefile, not in p5-MIME-tools.. I cc its maintainer here.
> 
> Without that dependency, there is an error message of Convert/BinHex.pm not found
> when amavisd is started.

(Continue reading)

Teemu Rinta-aho | 3 Nov 2011 20:05
Favicon

Re: Missing dep in amavisd-new (was Re: Missing dependency in p5-MIME-tools (pkgsrc-2011Q3))

On 3.11.2011 17:50, Thomas Klausner wrote:
> Actually, it seems the code that calls Convert::BinHex really is in
> Mimetools. So it seems you were right.
>
> Any dissenting opinions?

Not from me :-) I am just happy if it is somehow fixed.

I did not bother to check the source codes, I was just happy to
get it running, and thought of letting you guys do what you
see best. Of course I am available for more debugging if needed.

With a bit of googling, I can see that also other people (with
other OSes even) have had similar problems.

BR,
Teemu

norc | 4 Nov 2011 11:16
Picon

Re: CMAKE_INSTALL_PREFIX is not configurable [WAS: Re: how to create a package installing into a separate directory?]

On 2011/10/29 08:06, norc1212 wrote:
> On 2011/10/28 09:02, norc1212 wrote:
...
>
> To follow up, I see there is no way to configure
> CMAKE_INSTALL_PREFIX. This comes from mk/configure/cmake.mk:
>
> CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
>
> On the other hand mk/configure/gnu-configure.mk works this
> way:
>
> GNU_CONFIGURE_PREFIX?= ${PREFIX}
> CONFIGURE_ARGS+= --prefix=${GNU_CONFIGURE_PREFIX:Q}
>
> What about the following change:
>
> --- mk/configure/cmake.mk.orig 2011-01-13 02:01:04.000000000 +0100
> +++ mk/configure/cmake.mk 2011-10-28 22:51:04.000000000 +0200
>  <at>  <at>  -18,7 +18,8  <at>  <at> 
>
> _CMAKE_DIR= ${BUILDLINK_DIR}/cmake-Modules
>
> -CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
> +CMAKE_INSTALL_PREFIX?= ${PREFIX}
> +CMAKE_ARGS+= -DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX}
> CMAKE_ARGS+= -DCMAKE_MODULE_PATH:PATH=${_CMAKE_DIR}
> .if ${OPSYS} != "Darwin"
> CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE
>
(Continue reading)

Helge Mühlmeier | 4 Nov 2011 18:29
Picon
Picon

Re: security/cyrus-sasl not building

Hi,

I had the same problem on my amd64- current computer. Now it works after I commented out "MAKE_JOBS= 4" in /etc/mk.conf.

Best regards,

Helge

-------- Original-Nachricht --------
> Datum: Sat, 15 Oct 2011 14:41:22 -0400
> Von: Steven Bellovin <smb <at> cs.columbia.edu>
> An: pkgsrc-users <at> NetBSD.org
> Betreff: security/cyrus-sasl not building

> With pkgsrc HEAD and all installed packages no older than a few days ago,
> -current as of this morning (5.99.56), amd64:
> 
> 
> /bin/sh ../libtool   --mode=link gcc  -Wall -W -O2 -module -export-dynamic
> -rpath /usr/pkg/lib/sasl2 -version-info 2:25:0 -Wl,-R/usr/pkg/lib -o
> libsasldb.la  sasldb.lo sasldb_init.lo plugin_common.lo ../sasldb/libsasldb.la  
> -lresolv 
> libtool: link: gcc -shared  .libs/sasldb.o .libs/sasldb_init.o
> .libs/plugin_common.o  -Wl,--whole-archive ../sasldb/.libs/libsasldb.a
> -Wl,--no-whole-archive  -L/usr/pkgsrc/security/cyrus-sasl/work/.buildlink/lib -lresolv 
> -Wl,-R/usr/pkg/lib   -Wl,-soname -Wl,libsasldb.so.2 -o
> .libs/libsasldb.so.2.0.25
> ld: ../sasldb/.libs/libsasldb.a(allockey.o): relocation R_X86_64_32
> against `a local symbol' can not be used when making a shared object; recompile
> with -fPIC
(Continue reading)

Nicolas Thauvin | 4 Nov 2011 23:58
Gravatar

buildlink issue with libarchive and xz

Hello,

I have the buildlink phase failing when building pkgin from
pkgsrc-current (cvs up'ed today) on NetBSD 5.1 i386:

# make
=> Bootstrap dependency digest>=20010302: found digest-20080510
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /var/db/pkg
fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for pkgin-0.5.2.1.tar.gz
=> Checksum RMD160 OK for pkgin-0.5.2.1.tar.gz
===> Installing dependencies for pkgin-0.5.2.1nb1
=> Full dependency pkg_install>=20110215: found pkg_install-20110805
===> Overriding tools for pkgin-0.5.2.1nb1
===> Extracting for pkgin-0.5.2.1nb1
===> Patching for pkgin-0.5.2.1nb1
===> Creating toolchain wrappers for pkgin-0.5.2.1nb1
ERROR: xz>=5.0.0 is not installed; can't buildlink files.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkgin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/pkgtools/pkgin

I think it comes from the recent addition of a dependency on
(Continue reading)

Christian Zigotzky | 5 Nov 2011 07:28
Picon
Favicon

SuperTuxKart 0.7.3-rc1 for NetBSD

*Hi,

SuperTuxKart 0.7.3 RC 1 has been released*

Main improvements:

  * New Zen Garden and Subsea tracks
  * New Island battle arena
  * New Suzanne kart
  * New graphical effects
  * New weapons 'Swatter' and 'Rubber Ball'
  * Added Thunderbird as race referee
  * 3 Strikes Battles now displays lives as spare tires
  * Improved bubble gum
  * See progression during Grand Prix
  * Improve physics for tall karts (e.g. Adiumy)
  * Lots of bug fixes
  * Improved kart control at high speeds
  * Better placement of rescued karts
  * Transition track-making to blender 2.5/2.6

Download:

http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.7.3-rc1/supertuxkart-0.7.3-rc1-netbsd-i386.tar.gz/download

Screenshot:

http://www.supertuxkart.de/stk073-netbsd.jpg

Enjoy!
(Continue reading)

Aleksey Cheusov | 5 Nov 2011 08:59
Picon
Favicon

Re: 'Being supported' in pkgsrc means...?

 >> So: What are the specifications for being 'tested and supported'? Or is it
 >> possible to update that information?

> I think it means that's the last time someone spent some serious time
> building packages for this system :)
> How many packages did you build?

http://mail-index.netbsd.org/pkgsrc-bulk/2011/05/15/msg008145.html

--

-- 
Best regards, Aleksey Cheusov.

OBATA Akio | 5 Nov 2011 13:24
Picon

Re: security/cyrus-sasl not building

Hi,

On Sat, 05 Nov 2011 02:29:30 +0900, Helge Mühlmeier <H_Muehlmeier <at> gmx.de> wrote:

> I had the same problem on my amd64- current computer. Now it works after I commented out "MAKE_JOBS= 4" in /etc/mk.conf.

Hmm, I cannot reproduce even with MAKE_JOBS=8...

Please let me know if following upstream change fix the issue:
  http://git.cyrusimap.org/cyrus-sasl/commit/?id=5611d43e27098f659f84155271cf42f46aab1caf

--

-- 
OBATA Akio / obache <at> NetBSD.org

OBATA Akio | 6 Nov 2011 10:09
Picon

Re: buildlink issue with libarchive and xz

Hi,

On Sat, 05 Nov 2011 07:58:08 +0900, Nicolas Thauvin <nico <at> orgrim.net> wrote:

> I think it comes from the recent addition of a dependency on
> archivers/xz to the buildlink file of libarchive being used by pkgin.
>
> libarchive comes from the builtin on the system, but xz is not
> available as a builtin :
>
> # make show-var VARNAME=USE_BUILTIN.libarchive
> yes
> # make show-var VARNAME=USE_BUILTIN.xz
> no
>
> I don't understand why xz is not installed from pkgsrc as a build
> dependencies here.

Because it is not a direct dependency.

There are no simple way whether builtin libarchive is built with lzma support or not
(and also zlib and bzip2).

Using builtin libarchive means using buitin those archive format support libraries.
So how about skipping buildlink with those packages if using builtin libarchive?

Index: archivers/libarchive/buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/libarchive/buildlink3.mk,v
retrieving revision 1.5
(Continue reading)


Gmane