Ben Walton | 27 Jun 08:29 2015

register mantis account - bsdsx

Hi Freddy,

Some of our automation is currently failing because you don't have an account in mantis yet. We rely on the mantis account (matching the username that you have on the buildfarm) being in place in order to do things like package registration in mantis and the web visible databases.

Please create your bsdsx mantis account and ping when you have some I can validate that the automation pipeline starts flowing again.

Thanks
-Ben
Ihsan Dogan | 26 Jun 16:11 2015

sumbitpkg problems

Hi,

I've updated Unbound and while trying to submit the new packages,
I've hit this issue:

CheckpkgTag(None, 'bad-arch-or-os-release', 'core arch=unknown osrel=unspecified')
CheckpkgTag(None, 'i386-unspecified-missing', 'unbound_host')
CheckpkgTag(None, 'sparc-unspecified-missing', 'libunbound2')
CheckpkgTag(None, 'sparc-unspecified-missing', 'unbound')
CheckpkgTag(None, 'sparc-unspecified-missing', 'unbound_devel')
CheckpkgTag(None, 'sparc-unspecified-missing', 'unbound_host')
CheckpkgTag(None, 'i386-unspecified-missing', 'unbound_devel')
CheckpkgTag(None, 'i386-unspecified-missing', 'libunbound2')
CheckpkgTag(None, 'i386-unspecified-missing', 'unbound')
CheckpkgTag(None, 'bad-vendor-tag', 'filename=core expected=CSW actual=UNKN')
CheckpkgTag(None, 'bad-filename', 'filename=core')
There seems to be a problem with the specified package set

Well, what am I doing wrong here?

Ihsan

--

-- 
ihsan@... http://blog.dogan.ch/

Riccardo Mottola | 26 Jun 16:04 2015

librsvg problem - glib-object.h

Hi,

as a crab going backwards... I need to rebuild librsvg (solaris 10)! i 
did not change anything except libpng and forcing PKG_CONFIG_PATH

I hope rebuilding it will fix its entry in pkg-configu and thus fix 
things from there.

there I get this:
In file included from librsvg-features.c:1:0:
rsvg.h:31:25: fatal error: glib-object.h: No such file or directory
  #include <glib-object.h>
                          ^
compilation terminated.

again, I check for pkg-config glib,
glib-2.0                            GLib - C Utility Library

rmottola <at> unstable10s [unstable10s]:~ > /opt/csw/bin/pkg-config --cflags 
glib-2.0
-I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include 
-I/opt/csw/include

which seems correct. So... what is the problem this time? no clue yet.

Riccardo

Riccardo Mottola | 24 Jun 22:04 2015

Re: svg problem during cairo build

Hi,

I think we habe some problems with pkg-config

Riccardo Mottola wrote:
> as in pkg-config?
>
> If I do, on unstable10s, pkg-config --list-all I get:
> gtkhex                      gtkhex - GtkHex - A hex display widget.
> gok-1.0                     Gok - GNOME On-screen Keyboard
> glib-2.0                    GLib - C Utility Library
> Package videoproto was not found in the pkg-config search path.
> Perhaps you should add the directory containing `videoproto.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'videoproto', required by 'XvMC', not found
>
> no svg! should it instead? I think so, on my FreeBSD box a package
> librsvg-2.0 is registered, why not here? Shouldn't it be in the dev
> package?
>
> pkg-config --cflags librsvg-2.0
>
> however still works:
> -I/usr/include/librsvg-2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> -I/usr/include/libart-2.0 -I/usr/include/libxml2
> -I/usr/include/pango-1.0 -I/usr/sfw/include/freetype2 -I/usr/sfw/include
>
> I think this output is totally bogus, isn't it? that looks like sun
> packages, not our opencsw ones
>
> /opt/csw/include/librsvg-2.0/
>
> exists and contains the files we need.
>
> When I check config.log of libcairo I see:
>
> pkg_cv_LIBRSVG_CFLAGS=
> pkg_cv_LIBRSVG_LIBS='-L/opt/csw/lib -lrsvg-2 -lm -lgio-2.0 -lgdk-x11-2.0
> -lpango
> cairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0
> -lintl
> '
>
> I suppose the former line is just work, since it should contains our
> includes, right?
>
> configure's help says:
>    LIBRSVG_CFLAGS
>                C compiler flags for LIBRSVG, overriding pkg-config
>
> I could try setting LIBRSVG_CFLAGS, but that would defeat pkg-config
> somehow.

I tried again configuring&building by tweaking the LIBRSVG_FLAGS (and 
thus working around pkg-config).

I get this failure:
"/opt/csw/include/glib-2.0/gobject/gparam.h", line 157: warning: integer 
overflow detected: op "<<"
"/opt/csw/include/poppler/glib/poppler-structure-element.h", line 253: 
warning: typedef redeclared: PopplerTextSpan
"/opt/csw/include/librsvg-2.0/librsvg/rsvg.h", line 34: cannot find 
include file: <gdk-pixbuf/gdk-pixbuf.h>
"/opt/csw/include/librsvg-2.0/librsvg/rsvg.h", line 129: warning: 
old-style declaration or incorrect type for: GdkPixbuf
"/opt/csw/include/librsvg-2.0/librsvg/rsvg.h", line 129: syntax error 
before or at: *
"/opt/csw/include/librsvg-2.0/librsvg/rsvg.h", line 129: warning: 
old-style declaration or incorrect type for: rsvg_handle_get_pixbuf

Not finding <gdk-pixbuf/gdk-pixbuf.h> must be again a pkg-config 
problem, don't you think?

The headers are in: /opt/csw/include/gdk-pixbuf-2.0/

thus again a work for pkg-config to return

Help :) I hoped rebuilding existing packages to be easier!

Riccardo

Dagobert Michelsen | 22 Jun 09:45 2015

Re: scandir on solaris 9

Hi Riccardo,

Am 20.06.2015 um 23:58 schrieb Riccardo Mottola <rmottola@...>:
> do you have perhaps a suggestion on how to add  these options?
> 
> cc -I/usr/ucbinclude x.c -L/usr/ucblib -R/usr/ucblib -lucb
> I need to pre-pend includes and also a linker option

Sure, the EXTRA_* flags are always prepended:
  EXTRA_CPPFLAGS += -I/usr/ucbinclude
  EXTRA_LDFLAGS += -L/usr/ucblib -R/usr/ucblib -lucb

For details see
  https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/gar/v2/gar.conf.mk#800

Best regards

  — Dago

--

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment (smime.p7s): application/pkcs7-signature, 3266 bytes
Claudio | 21 Jun 20:05 2015

pkgutil errors

Sometimes packaging fails with an error like this (on experimental10, 
but I have seen it also on unstable). Ideas?

Transferring <CSWpm-test-use-ok> package instance
mkp: exec( pigz -9 -f 
/tmp/pm_test_use_ok_stub-5.22.0,REV=2015.06.20-SunOS5.10-all-UNCOMMITTED.pkg 
)
mkp: exec( mv 
/tmp/pm_test_use_ok_stub-5.22.0,REV=2015.06.20-SunOS5.10-all-UNCOMMITTED.pkg.gz 
/home/claudio/staging/build-2015-06-20 )
mkp: exec( rm -rf /home/claudio/spool.5.10-i386/CSWpm-test-use-ok )
Traceback (most recent call last):
   File 
"/home/claudio/opencsw/.buildsys/v2/gar/gar//bin/../lib/python/checkpkg2.py", 
line 268, in <module>
     main()
   File 
"/home/claudio/opencsw/.buildsys/v2/gar/gar//bin/../lib/python/checkpkg2.py", 
line 140, in main
     debug=options.debug)
   File 
"/home/claudio/opencsw/.buildsys/v2/gar/gar/lib/python/package_stats.py", line 
115, in __init__
     pkgdb_url=self.config.get('rest', 'pkgdb'),
   File "/opt/csw/lib/python2.6/ConfigParser.py", line 532, in get
     raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'rest'
/home/claudio/opencsw/.buildsys/v2/gar/gar//gar.pkg.mk:1028: recipe for 
target 'pkgcheck' failed
gmake: *** [pkgcheck] Error 2
gmake: Leaving directory '/home/claudio/opencsw/perl/trunk'
Connection to experimental10x closed.
/home/claudio/opencsw/.buildsys/v2/gar//gar.pkg.mk:1073: recipe for 
target 'platforms' failed
gmake: *** [platforms] Error 2

Riccardo Mottola | 21 Jun 00:34 2015

svg problem during cairo build

Hi,

in my effort to update cairo, on solaris 10 I get the following problem:

source='any2ppm.c' object='any2ppm-any2ppm.o' libtool=no \
DEPDIR=.deps depmode=none /bin/bash ../build/depcomp \
/opt/solarisstudio12.3/bin/cc -DHAVE_CONFIG_H -I. -I..  -I. -I./pdiff 
-I../boilerplate -I../util/cairo-missing -I../util/cairo-script -I../src 
-I../src -D_REENTRANT -I/opt/csw/include/pixman-1       
-I/opt/csw/include -I/opt/csw/include/freetype2   
-I/opt/csw/include/freetype2 -I/opt/csw/include    
-I/opt/csw/include/libpng16   -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DXTHREADS -DXUSE_MTSAFE_API -I/opt/csw/include   -D_REENTRANT 
-D_POSIX_PTHREAD_SEMANTICS -DXTHREADS -DXUSE_MTSAFE_API 
-I/opt/csw/include -erroff=E_ENUM_TYPE_MISMATCH_ARG 
-erroff=E_ENUM_TYPE_MISMATCH_OP 
-Wp,-D_FORTIFY_SOURCE=2                     -I/opt/csw/include 
-D_REENTRANT -D_PTHREADS -D_POSIX_PTHREAD_SEMANTICS -DXTHREADS 
-DXUSE_MTSAFE_API -I/opt/csw/include/poppler/glib 
-I/opt/csw/include/poppler -I/opt/csw/include/glib-2.0 
-I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/cairo 
-I/opt/csw/include -I/opt/csw/include/pixman-1 
-I/opt/csw/include/freetype2 -I/opt/csw/include/libpng16 
-I/opt/csw/include   -xO3 -m32 -xarch=sparc -xc99=all 
-D_POSIX_PTHREAD_SEMANTICS -c -o any2ppm-any2ppm.o `test -f 'any2ppm.c' 
|| echo './'`any2ppm.c
"/opt/csw/include/glib-2.0/gobject/gparam.h", line 157: warning: integer 
overflow detected: op "<<"
"/opt/csw/include/poppler/glib/poppler-structure-element.h", line 253: 
warning: typedef redeclared: PopplerTextSpan
"any2ppm.c", line 72: cannot find include file: <librsvg/rsvg.h>
"any2ppm.c", line 74: cannot find include file: <librsvg/rsvg-cairo.h>
"any2ppm.c", line 423: undefined symbol: RsvgHandle
"any2ppm.c", line 423: undefined symbol: handle
"any2ppm.c", line 424: undefined symbol: RsvgDimensionData
<...>

the referenced headers do exist:
rmottola <at> unstable10s [unstable10s]:/opt/csw/include > find . -name rsvg.h
./librsvg-2.0/librsvg/rsvg.h

Any clues? SVG seems to get detected during configure.

cairo used to build since there is an older package there, I am 
wondering about all these problems.

Everything I got as far in cairo (updated dependencies, gtk-doc 
disabled, minor revision update) is committed.

Riccardo

Dagobert Michelsen | 19 Jun 11:34 2015

Problem with checkpkg

Hi folks,

I have a problem with checkpkg and a fairly large package:

> mkp: exec( pkgtrans -s /home/dam/spool.5.10-sparc
/tmp/logstash-1.5.1,REV=2015.06.19-SunOS5.10-all-UNCOMMITTED.pkg CSWlogstash )
> Transferring <CSWlogstash> package instance
> mkp: exec( pigz -9 -f /tmp/logstash-1.5.1,REV=2015.06.19-SunOS5.10-all-UNCOMMITTED.pkg )
> mkp: exec( mv /tmp/logstash-1.5.1,REV=2015.06.19-SunOS5.10-all-UNCOMMITTED.pkg.gz
/home/dam/staging/build-19.Jun.2015 )
> mkp: exec( rm -rf /home/dam/spool.5.10-sparc/CSWlogstash )
> INFO 2015-06-19 11:21:36,024 package_stats.py:132 Juicing the svr4 package stream files...
> 100% Time: 0:05:50 |#########################################################################################################################################################################################################################|
> INFO 2015-06-19 11:27:36,465 checkpkg_lib.py:263 Unwrapping candies...
> 100% |#######################################################################################################################################################################################################################################|
> INFO 2015-06-19 11:27:38,773 checkpkg_lib.py:878 Tasting candies one by one...
> Traceback (most recent call
last):#################################################################################################################################################################################################
         |
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar//bin/../lib/python/checkpkg2.py", line 268, in <module>
>     main()
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar//bin/../lib/python/checkpkg2.py", line 215, in main
>     exit_code, screen_report, tags_report = check_manager.Run()
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/checkpkg_lib.py", line 937, in Run
>     return super(CheckpkgManager2, self).Run()
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/checkpkg_lib.py", line 301, in Run
>     errors, messages, gar_lines = self.GetAllTags(self.sqo_pkgs_list)
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/checkpkg_lib.py", line 894, in GetAllTags
>     function(pkg_data, check_interface, logger=logger, messenger=messenger)
>   File "/home/dam/mgar/pkg/.buildsys/v2/gar/lib/python/package_checks.py", line 953, in CheckWrongArchitecture
>     machine = MACHINE_ID_METADATA[file_metadata.machine_id]
> KeyError: 21
> /home/dam/mgar/pkg/.buildsys/v2/gar//gar.pkg.mk:1083: recipe for target 'pkgcheck' failed
> gmake: *** [pkgcheck] Error 2
> zsh: 22536 exit 2     mgar repackage

Is this a problem with libmagic?

Best regards

  — Dago

--

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

Attachment (smime.p7s): application/pkcs7-signature, 3266 bytes
Riccardo Mottola | 18 Jun 13:11 2015

scandir on solaris 9

Hi,

in the maze of libcairo upgrade, which I'd like on solaris 9 too, I got 
entangled in fontconfig.

I got this:
checking for lstat... yes
checking for posix_fadvise... no
checking for scandir... configure: error:
*** No scandir function available.
gmake[1]: *** 
[configure-work/build-isa-sparcv8/fontconfig-2.11.0/configure] Error 1
gmake[1]: Leaving directory `/home/rmottola/opencsw/fontconfig/trunk'

did you guys already had experience with scandir during solaris 8/9 
times? Apparently there is the UCB version, while later it was moved 
directly into libc.

Solutions seem to be two
1) fix/patch/add linker flags to get the ucb version working
2) install/use/incorporate a replacement

what did you use in the past?

Riccardo

Riccardo Mottola | 18 Jun 10:55 2015

gtk doc package

Hi,

current cairo depends on CSWgtk-doc, which is not available apparently.

Do you confirm that the new package is CSWgtk2doc ?
http://www.opencsw.org/packages/CSWgtk2doc/

I'd guess it is what is neede, but I don't know what the old package did :)

In case could you install it on 10x/10s/9x/9s machines ? It is not 
available at least on unstable10s and unstable9s

Riccardo

Riccardo Mottola | 14 Jun 01:32 2015

what is missing (windowmaker solaris9)

Hi,

I'm trying to rebuild windowmaker against the new libpng.
On solaris 9, configure fails (on sol10 it succeeds):

checking for fontconfig library... sh: gnome-config: not found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
No package 'fontconfig' found
not found
checking for the Xft2 library... sh: gnome-config: not found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'Xft', not found
sh: gnome-config: not found
Package fontconfig was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontconfig.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontconfig', required by 'Xft', not found
found
checking whether libXft is at least version 2.1.0... no

ERROR!!! libXft on this system is an old version.
          Please consider upgrading to at least version 2.1.0.

gmake[1]: *** 
[configure-work/build-isa-sparcv8/WindowMaker-0.95.5/configure] Error 1

CSWfconfig  is installed.

    PKGINST:  CSWfconfig
       NAME:  fontconfig - A library for configuring and customizing 
font access.
   CATEGORY:  application
       ARCH:  sparc
    VERSION:  2.8.0,REV=2012.05.20

which is > 2.1.0

What could be the problem, a dependency not listed? what is gnome-cfg? 
something like pkg-config?

Riccardo


Gmane