Your message dated Fri, 28 Oct 2011 22:03:41 +0000
with message-id <[email protected]>
and subject line Bug#645121: fixed in libselinux 2.1.0-3
has caused the Debian Bug report #645121,
regarding libselinux: Support bootstrap "DEB_STAGE=stage1" build
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
645121: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645121
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libselinux
Version: 2.1.0-1
Severity: wishlist
User: [email protected]
Usertags: cross

There are a relatively large number of packages which depend and/or
build-depend on libselinux, including dpkg, coreutils, etc.

Unfortunately, when trying to bootstrap a new architecture, this means
that libselinux is one of a small set of packages which needs to be
cross-compiled for the target when very little is available.

The problems come from the python and ruby bindings, which are not
easily disabled in the Debian packaging, yet are undesired when trying
to do such an architecture bootstrap.

A lot of other packages (especially those using debhelper) can be
patched with a few ./configure or make arguments and fiddling with the
DH_OPTIONS variable to add "-Nlibfoo-python -Nlibfoo-ruby", but
unfortunately the libselinux packaging does something terribly
complicated in debian/common/pkgvars.mk with these gems:

DEB_PACKAGES := $(shell perl -e '                                               
     \
                  $$/="";                                                       
     \
                  while(<>){                                                    
     \
                     $$p=$$1 if m/^Package:\s*(\S+)/;                           
     \
                     die "duplicate package $$p" if $$seen{$$p};                
     \
                     $$seen{$$p}++; print "$$p " if $$p;                        
     \
                  }' debian/control )

DEB_INDEP_PACKAGES := $(shell perl -e '                                         
     \
                         $$/="";                                                
     \
                         while(<>){                                             
     \
                            $$p=$$1 if m/^Package:\s*(\S+)/;                    
     \
                            die "duplicate package $$p" if $$seen{$$p};         
     \
                            $$seen{$$p}++;                                      
     \
                            $$a=$$1 if m/^Architecture:\s*(\S+)/m;              
     \
                            next unless ($$a eq "all");                         
     \
                            print "$$p " if $$p;                                
     \
                         }' debian/control )

DEB_ARCH_PACKAGES := $(shell perl -e '                                          
     \
                         $$/="";                                                
     \
                         while(<>){                                             
     \
                            $$p=$$1 if m/^Package:\s*(\S+)/;                    
     \
                            die "duplicate package $$p" if $$seen{$$p};         
     \
                            $$seen{$$p}++;                                      
     \
                            $$c="";                                             
     \
                            if (/^Architecture:\s*(.*?)\s*$$/sm) {              
     \
                              @a = split /\s+/, $$1 };                          
     \
                              for my $$b (@a) {                                 
     \
                                next unless ($$b eq "$(DEB_HOST_ARCH)" ||       
     \
                                             $$b eq "any");                     
     \
                                $$c="$$p";                                      
     \
                            }                                                   
     \
                            print "$$c " if $$c;                                
     \
                         }' debian/control )

As a tangentially related question, would it be reasonably practical to
convert libselinux over to a more-conventional debhelper-based build?

If not, please consider adding a conditional based on the "$DEB_STAGE"
environment variable; if it is set to "stage1" the python and ruby
bindings should be disabled to allow all the other packages that depend
on libselinux to be bootstrapped.

Cheers,
Kyle Moffett

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (600, 'unstable'), (500, 
'stable-updates'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: libselinux
Source-Version: 2.1.0-3

We believe that the bug you reported is fixed in the latest version of
libselinux, which is due to be installed in the Debian FTP archive:

libselinux-ruby1.8_2.1.0-3_all.deb
  to main/libs/libselinux/libselinux-ruby1.8_2.1.0-3_all.deb
libselinux1-dev_2.1.0-3_amd64.deb
  to main/libs/libselinux/libselinux1-dev_2.1.0-3_amd64.deb
libselinux1_2.1.0-3_amd64.deb
  to main/libs/libselinux/libselinux1_2.1.0-3_amd64.deb
libselinux_2.1.0-3.debian.tar.gz
  to main/libs/libselinux/libselinux_2.1.0-3.debian.tar.gz
libselinux_2.1.0-3.dsc
  to main/libs/libselinux/libselinux_2.1.0-3.dsc
python-selinux_2.1.0-3_amd64.deb
  to main/libs/libselinux/python-selinux_2.1.0-3_amd64.deb
ruby-selinux_2.1.0-3_amd64.deb
  to main/libs/libselinux/ruby-selinux_2.1.0-3_amd64.deb
selinux-utils_2.1.0-3_amd64.deb
  to main/libs/libselinux/selinux-utils_2.1.0-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Russell Coker <[email protected]> (supplier of updated libselinux package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 28 Oct 2011 23:17:30 +1100
Source: libselinux
Binary: selinux-utils libselinux1 libselinux1-dev ruby-selinux 
libselinux-ruby1.8 python-selinux
Architecture: source amd64 all
Version: 2.1.0-3
Distribution: unstable
Urgency: low
Maintainer: Russell Coker <[email protected]>
Changed-By: Russell Coker <[email protected]>
Description: 
 libselinux-ruby1.8 - Transitional package for ruby-selinux
 libselinux1 - SELinux runtime shared libraries
 libselinux1-dev - SELinux development headers
 python-selinux - Python bindings to SELinux shared libraries
 ruby-selinux - Ruby bindings to SELinux shared libraries
 selinux-utils - SELinux utility programs
Closes: 630626 637369 645121
Changes: 
 libselinux (2.1.0-3) unstable; urgency=low
 .
   * Accept Kyle's changes.
     Closes: #645121
   * Merge Steve McIntyre's patch for cross compilation.
     Closes: #630626
   * Use two paragraphs for long description.
     Closes: #637369
Checksums-Sha1: 
 2778dcc7875bb60e77610507c2d12158d5c3a642 1649 libselinux_2.1.0-3.dsc
 fa3d0e4353bb93289727b8f4cdc197c9ff6904e6 24834 libselinux_2.1.0-3.debian.tar.gz
 88e072b4a6aad4842fe384fb8122f2be73016d46 66824 selinux-utils_2.1.0-3_amd64.deb
 8f26bceb2282ab3ec7881b08c6b278d3790b374e 87444 libselinux1_2.1.0-3_amd64.deb
 4b221f6fafa0ec74109c24575bfbcf8b2a3995f3 169246 
libselinux1-dev_2.1.0-3_amd64.deb
 6b9d6b4068fcbb65ee6a1d9409bf781ad920b7c7 92746 ruby-selinux_2.1.0-3_amd64.deb
 593aa50fc1c70d6b8259de8d62a4d907ac2eff57 28868 
libselinux-ruby1.8_2.1.0-3_all.deb
 135b7308d6031564c8b16b581f320d75ba2fbd3f 358374 
python-selinux_2.1.0-3_amd64.deb
Checksums-Sha256: 
 687a7cdf106525ef5fac667c11379a31a3e3c33c9ee7ae3fb8a88e835b01bb8a 1649 
libselinux_2.1.0-3.dsc
 22c9d53ef9fae47bcc019a0f73d32bcf5ab0a8e66d59e50e6ee368cb6620c354 24834 
libselinux_2.1.0-3.debian.tar.gz
 97ae1c7fefbbf602c601036666f9eb0f43a34cde25894943d51f751457ffd32f 66824 
selinux-utils_2.1.0-3_amd64.deb
 9fb2e5ce7af8c14cf322add327c7021e4a4f539d39e0cf6cf0b1e0e4cf6c3c64 87444 
libselinux1_2.1.0-3_amd64.deb
 c958f4db799f81f70dc65c1f38a31d8cdc108b788cb832615bf165ac85c27a62 169246 
libselinux1-dev_2.1.0-3_amd64.deb
 956d3ec2c7b35da7be0bb5a9dee0be144e8d4f34518d90b7f7b0d1cc519eca0e 92746 
ruby-selinux_2.1.0-3_amd64.deb
 27dc39e606d714a6f111975d5d272985683c890e1d987cbcb7c1dc337949d5ad 28868 
libselinux-ruby1.8_2.1.0-3_all.deb
 bd6e56748031fa09076dac22c6dd4702c223190853f58916edbd62d753e3f62a 358374 
python-selinux_2.1.0-3_amd64.deb
Files: 
 02545908cd9a62b6edd156fbda8c2b01 1649 libs optional libselinux_2.1.0-3.dsc
 53504eceabaadc2877456112787ac02f 24834 libs optional 
libselinux_2.1.0-3.debian.tar.gz
 2192742b4b42b0dc1224f04a0faf8a28 66824 admin optional 
selinux-utils_2.1.0-3_amd64.deb
 64379043ff45404e144516f4d08cbf77 87444 libs required 
libselinux1_2.1.0-3_amd64.deb
 de8ba0d3fddba13031d941851c970e20 169246 libdevel optional 
libselinux1-dev_2.1.0-3_amd64.deb
 2c7274d983abaa8f61ad68983d645a20 92746 ruby optional 
ruby-selinux_2.1.0-3_amd64.deb
 44b0da20401a2e524126b39930d978fe 28868 oldlibs optional 
libselinux-ruby1.8_2.1.0-3_all.deb
 39709dac1378ed45a77c430c3054ae3f 358374 python optional 
python-selinux_2.1.0-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk6qoD8ACgkQwrB5/PXHUla8zgCgzB9hIJ/LwlQKltmGyPXS/i+b
A4IAn1qHzF/BBMZJOg011p77SLe0cfz4
=9qKN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to