<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>225421</bug_id>
          
          <creation_ts>2008-06-08 18:50 0000</creation_ts>
          <short_desc>net-print/cups-1.3.7-r1 build failure w/ glibc-2.8: storage size of &apos;peercred&apos; isn&apos;t known</short_desc>
          <delta_ts>2008-07-17 21:25:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>225459</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>jdaluz@gmail.com</reporter>
          <assigned_to>printing@gentoo.org</assigned_to>
          <cc>dabbott@gentoo.org</cc>
    
    <cc>data@geekig.de</cc>
    
    <cc>harrisonmetz@gmail.com</cc>
    
    <cc>hwoarang@gentoo.org</cc>
    
    <cc>teidakankan@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>jdaluz@gmail.com</who>
            <bug_when>2008-06-08 18:50:24 0000</bug_when>
            <thetext>Rebuilding cups 1.3.7-r1 (as part of system rebuild) after updating glibc
from 2.7-r2 to 2.8_p20080602, I get the following error:

Compiling auth.c...
Compiling cert.c...
Compiling classes.c...
Compiling client.c...
Compiling conf.c...
Compiling dirsvc.c...
Compiling env.c...
Compiling main.c...
auth.c: In function &apos;cupsdAuthorize&apos;:
auth.c:484: error: storage size of &apos;peercred&apos; isn&apos;t known
auth.c:484: warning: unused variable &apos;peercred&apos;
Compiling ipp.c...
make[1]: *** [auth.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all] Error 1

!!! ERROR in net-print/cups-1.3.7-r1:

This seems to be the same issue as bug 225369 for openldap.

Portage 2.1.5.4 (default-linux/amd64/2007.0/desktop, gcc-4.3.0, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
Timestamp of tree: Sun, 08 Jun 2008 01:35:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=k8 -O2 -pipe -ggdb -msse3&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc&quot;
CONFIG_PROTECT_MASK=&quot;/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-march=k8 -O2 -pipe -ggdb -msse3&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;ccache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch&quot;
GENTOO_MIRRORS=&quot;http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/&quot;
LANG=&quot;en_US.UTF-8&quot;
LC_ALL=&quot;en_US.UTF-8&quot;
LDFLAGS=&quot;&quot;
LINGUAS=&quot;en&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/overlays/paludis-extras /usr/local/overlays/sunrise /usr/local/overlays/gnome /usr/local/overlays/mainline /usr/local/overlays/desktop-effects /usr/local/overlays/vmware /usr/local/overlays/berkano /usr/local/overlays/myoverlay&quot;
SYNC=&quot;rsync://rsync.us.gentoo.org/gentoo-portage&quot;
USE=&quot;X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos ldap libnotify mad midi mikmod mmx mono mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pic png pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sse sse2 ssl svg tcpd theora tiff truetype unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib&quot; ALSA_CARDS=&quot;cmipci hdaintel&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol&quot; APACHE2_MODULES=&quot;actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; LINGUAS=&quot;en&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;nvidia&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgurr@gentoo.org</who>
            <bug_when>2008-06-09 12:57:29 0000</bug_when>
            <thetext>Created an attachment (id=156073)
cups-1.3.7-peercred.patch

I&apos;ll commit a fixed version which applies this patch later today.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgurr@gentoo.org</who>
            <bug_when>2008-06-09 21:41:24 0000</bug_when>
            <thetext>Fixed in cups-1.3.7-r2 in CVS, thanks for reporting Jose.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgurr@gentoo.org</who>
            <bug_when>2008-06-20 15:05:15 0000</bug_when>
            <thetext>*** Bug 228545 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgurr@gentoo.org</who>
            <bug_when>2008-06-26 11:16:33 0000</bug_when>
            <thetext>*** Bug 229519 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hwoarang@gentoo.org</who>
            <bug_when>2008-06-26 11:32:49 0000</bug_when>
            <thetext>Maybe it could be a good idea to mark cups-1.3.7-r2 as stable :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgurr@gentoo.org</who>
            <bug_when>2008-06-26 11:51:04 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Maybe it could be a good idea to mark cups-1.3.7-r2 as stable :)
&gt; 

Uh well glibc-2.8 isn&apos;t marked as stable either so if you manually mix stable and unstable packages you should be prepared to run into such issues.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tgurr@gentoo.org</who>
            <bug_when>2008-06-26 14:24:17 0000</bug_when>
            <thetext>*** Bug 227077 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>data@geekig.de</who>
            <bug_when>2008-07-17 21:25:21 0000</bug_when>
            <thetext>Well, is somebody tracking what needs to be stabilized as soon as glibc2.8 is stabilized? This change does not affect prior versions of glibc, so where is the problem?</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>156073</attachid>
            <date>2008-06-09 12:57 0000</date>
            <desc>cups-1.3.7-peercred.patch</desc>
            <filename>cups-1.3.7-peercred.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTmF1ciBjdXBzLTEuMy43L3NjaGVkdWxlci9hdXRoLmMgY3Vwcy0xLjMuNy5uZXcvc2No
ZWR1bGVyL2F1dGguYwotLS0gY3Vwcy0xLjMuNy9zY2hlZHVsZXIvYXV0aC5jCTIwMDgtMDMtMjAg
MjE6NTg6MTYuMDAwMDAwMDAwICswMTAwCisrKyBjdXBzLTEuMy43Lm5ldy9zY2hlZHVsZXIvYXV0
aC5jCTIwMDgtMDYtMDkgMTQ6NTM6NDUuNTM1MTk0NzQxICswMjAwCkBAIC01NCw2ICs1NCw3IEBA
CiAgKiBJbmNsdWRlIG5lY2Vzc2FyeSBoZWFkZXJzLi4uCiAgKi8KIAorI2RlZmluZSBfR05VX1NP
VVJDRQogI2luY2x1ZGUgImN1cHNkLmgiCiAjaW5jbHVkZSA8Z3JwLmg+CiAjaWZkZWYgSEFWRV9T
SEFET1dfSAo=
</data>        

          </attachment>
    </bug>

</bugzilla>