[oi-dev] sigcpp issue

Thomas Wagner tom-oi-dev at tom.bn-ulm.de
Wed Oct 9 14:44:27 UTC 2013


Hi all,

this is where in SFE package name macros have been invented for.
If a distro starts supplying packages with conflicting files
or even conflicting package names, then in SFE we can parametrize
the package dependencies (called BuildRequires and Requires in the
spec files).

In this case we would have a look for spec files (-> sfe packages)
using this package library/g++/sigcpp and decide if it can
replace the dependency and for *this* specific distro-release
use their package.
To make the change complete, this needs a rebuild of those SFE
packages which build ontop of the package library/g++/sigcpp 
(or manually pkgmogrify the contents in the SFE repository to 
refer to OI's-pkg:/library/g++/sigcpp).
The cleanest way is to rebuild the SFE-packages depening on
library/g++/sigcpp.


As OI currently has *no* discussion of changes in advance,
we *will* hit more frequently such conflicts. This is not
a big problem to solve on the SFE side, but could be easily
avoided if changes would be planned in advance and approved
before committed to the build servers.
SFE packages could then build in a version specific stack
of packages which would be used on upgrade if conditions
are met (this case: entire at version-number-hipster -> install
new package version with new depdency on distro supplied
library/g++/sigcpp)

Regards,

Thomas

On Wed, Oct 09, 2013 at 03:18:34PM +0100, Jonathan Adams wrote:
> 
>    root at jadlaptop:~# pkg freeze
>    NAME               VERSION
>    DATE                     COMMENT
>    library/g++/sigcpp 2.2.10-0.151.1.5:20120805T144728Z 01 Oct 2013
>    21:00:41 BST None
>    library/zlib       1.2.3                       18 Sep 2013 16:36:58
>    BST None
>    root at jadlaptop:~# pkg info -l library/g++/sigcpp
>              Name: library/g++/sigcpp
>           Summary: Library that implements typesafe callback system for
>    standard C++ (g++-built)
>          Category: Development/C++
>             State: Installed (Frozen)
>         Publisher: sfe
>           Version: 2.2.10
>     Build Release: 5.11
>            Branch: 0.151.1.5
>    Packaging Date: Sun Aug  5 14:47:28 2012
>              Size: 9.15 MB
>              FMRI:
>    pkg://sfe/library/g++/sigcpp@2.2.10,5.11-0.151.1.5:20120805T144728Z
>    root at jadlaptop:~# pkg info -r
>    pkg:/library/g++/sigcpp at 2.2.10-0.151.1.8.1
>              Name: library/g++/sigcpp
>           Summary: Libsigc++ - a library that implements a typesafe
>    callback system for standard C++ (g++ - compiled)
>          Category: Development/C++
>             State: Not installed
>         Publisher: [1]openindiana.org
>           Version: 2.2.10
>     Build Release: 5.11
>            Branch: 0.151.1.8.1
>    Packaging Date: Mon Sep 30 08:53:28 2013
>              Size: 9.24 MB
>              FMRI:
>    pkg://[2]openindiana.org/library/g++/sigcpp at 2.2.10,5.11-0.151.1.8.1:20
>    130930T085328Z
>    root at jadlaptop:/tmp# pkg contents -rm
>    pkg://sfe/library/g++/sigcpp@2.2.10,5.11-0.151.1.5:20120805T144728Z |
>    grep "dir.*path=usr/g++/share"
>    dir group=bin mode=0755 owner=root path=usr/g++/share/devhelp
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.2/tutorial
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.2/images
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.2/tutorial/html
>    dir group=bin mode=0755 owner=root path=usr/g++/share/devhelp/books
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.2
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/devhelp/books/libsigc++-2.0
>    dir group=other mode=0755 owner=root path=usr/g++/share/doc
>    dir group=sys mode=0755 owner=root path=usr/g++/share
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.2/reference
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.2/reference/html
>    root at jadlaptop:/tmp# pkg contents -mr
>    pkg://[3]openindiana.org/library/g++/sigcpp at 2.2.10,5.11-0.151.1.8.1:20
>    130930T085328Z | grep "dir.*path=usr/g++/share"
>    dir group=bin mode=0755 owner=root path=usr/g++/share
>    dir group=bin mode=0755 owner=root path=usr/g++/share/devhelp
>    dir group=bin mode=0755 owner=root path=usr/g++/share/devhelp/books
>    dir group=bin mode=0755 owner=root
>    path=usr/g++/share/devhelp/books/libsigc++-2.0
>    dir facet.doc=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc
>    dir facet.doc=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.0
>    dir facet.doc=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.0/images
>    dir facet.doc=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.0/reference
>    dir facet.doc.html=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.0/reference/html
>    dir facet.doc=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.0/tutorial
>    dir facet.doc.html=all group=bin mode=0755 owner=root
>    path=usr/g++/share/doc/libsigc++-2.0/tutorial/html
>    It didn't want to let me pkg update because of the issue with the
>    change of group (from sys to bin) ... so I froze the package and it
>    let me update everything else.
>    Jon
>    
>    On 9 October 2013 13:59, Alexander Pyhalov <[4]alp at rsu.ru> wrote:
>    
>      On 10/09/2013 16:55, Jonathan Adams wrote:
>      
>      You're right that flash videos don't work, and I've had problems
>      with my X
>      due to the upgrade, until I froze a package, and in fact had to
>      freeze
>      another (library/g++/sigcpp) because of a conflict with the JDS I
>      have ...
>      but then again this is the bleeding edge, so I have no right to
>      complain
>      and it allows an extra user to test before the project pushes to
>      /dev
>      
>      Hello, Jonathan.
>      Could you explain the issue in detail? Which packages are in
>      conflict?
>      --
>      Best regards,
>      Alexander Pyhalov,
>      system administrator of Computer Center of Southern Federal
>      University
> 
> References
> 
>    1. http://openindiana.org/
>    2. http://openindiana.org/library/g++/sigcpp@2.2.10,5.11-0.151.1.8.1:20130930T085328Z
>    3. http://openindiana.org/library/g++/sigcpp@2.2.10,5.11-0.151.1.8.1:20130930T085328Z
>    4. mailto:alp at rsu.ru

> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev

-- 
-- 
Thomas Wagner

------------------------------------------------------------------------
Service rund um UNIX(TM),     Wagner Network Services, Thomas Wagner
Solaris(TM), Linux(TM)        Eschenweg 21, 89174 Altheim, Germany
Novell(TM), Windows(TM)       TEL: +49-731-9807799, FAX: +49-731-9807711
Telekommunikation, LAN,       MOBILE/CELL: +49-171-6135989
Internet-Service, Elektronik  EMAIL: wagner at wagner-net.com




More information about the oi-dev mailing list