[Pki-users] building dogtag

Brown, Chris cjbrown at mitre.org
Fri Feb 6 12:23:41 UTC 2009


Thanks.  That worked.

-----Original Message-----
From: Ade Lee [mailto:alee at redhat.com] 
Sent: Thursday, February 05, 2009 9:46 AM
To: Brown, Chris
Cc: Veale, Sean; pki-users at redhat.com
Subject: RE: [Pki-users] building dogtag

No, that is the version for fedora 8.  Please update to the latest
version on Fedora 9 - which is something close to 3.3.1-118 I believe.

Ade
On Thu, 2009-02-05 at 08:54 -0500, Brown, Chris wrote:
> The bugfix mentions updating selinux-policy-devel to 2.4.6-203.  I have selinux-policy-devel-3.3.1-42.fc9.noarchon my fedora 9 system.  Should I really go back to the 2.4 version?
> 
> -----Original Message-----
> From: Ade Lee [mailto:alee at redhat.com] 
> Sent: Wednesday, February 04, 2009 2:50 PM
> To: Veale, Sean
> Cc: Brown, Chris; pki-users at redhat.com
> Subject: RE: [Pki-users] building dogtag
> 
> Someone has run into this.  See the resolution at
> https://bugzilla.redhat.com/show_bug.cgi?id=483742
> 
> I will update the build dependencies in the next day or so.
> 
> Ade
> 
> On Wed, 2009-02-04 at 14:23 -0500, Veale, Sean wrote:
> > I haven't but there has been a lot of activity recently on the
> > pki-commits user group where a decent amount of changes have been
> > checked in. Subscribe to PKI-commits to see that traffic
> >  
> >  pki-commits at redhat.com
> >  
> > I would log a bug for this in the bugilliza database. 
> > http://pki.fedoraproject.org/wiki/PKI_Bugs#Bugzilla_Bug_Database
> >  
> > Sean
> >  
> > 
> > 
> > ______________________________________________________________________
> > From: pki-users-bounces at redhat.com
> > [mailto:pki-users-bounces at redhat.com] On Behalf Of Brown, Chris
> > Sent: Wednesday, February 04, 2009 1:33 PM
> > To: pki-users at redhat.com
> > Subject: RE: [Pki-users] building dogtag
> > 
> > 
> > 
> > I believe I’ve resolved my package versioning problems, but I’ve ran
> > into another one.  It seems while building the pki-selinux rpm,
> > there’s an error.  Has anyone ever seen this?
> > 
> >  
> > 
> >     [echo] Completed creating 'pki-selinux' RPM directories.
> > 
> >      [echo] Building 'pki-selinux' RPMS and SRPMS ...
> > 
> >      [exec] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.43161
> > 
> >      [exec] + umask 022
> > 
> >      [exec] +
> > cd /home/chris/dogtag-src/release/pki/base/selinux/./dist/rpmpkg/BUILD
> > 
> >      [exec] + LANG=C
> > 
> >      [exec] + export LANG
> > 
> >      [exec] + unset DISPLAY
> > 
> >      [exec] +
> > cd /home/chris/dogtag-src/release/pki/base/selinux/dist/rpmpkg/BUILD
> > 
> >      [exec] + rm -rf pki-selinux-1.0.0
> > 
> >      [exec] + /usr/bin/gzip
> > -dc /home/chris/dogtag-src/release/pki/base/selinux/dist/source/pki-selinux-1.0.0.tar.gz
> > 
> >      [exec] + tar -xf -
> > 
> >      [exec] + STATUS=0
> > 
> >      [exec] + '[' 0 -ne 0 ']'
> > 
> >      [exec] + cd pki-selinux-1.0.0
> > 
> >      [exec] ++ /usr/bin/id -u
> > 
> >      [exec] + '[' 500 = 0 ']'
> > 
> >      [exec] ++ /usr/bin/id -u
> > 
> >      [exec] + '[' 500 = 0 ']'
> > 
> >      [exec] + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> > 
> >      [exec] + exit 0
> > 
> >      [exec] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.43161
> > 
> >      [exec] + umask 022
> > 
> >      [exec] +
> > cd /home/chris/dogtag-src/release/pki/base/selinux/./dist/rpmpkg/BUILD
> > 
> >      [exec] + cd pki-selinux-1.0.0
> > 
> >      [exec] + LANG=C
> > 
> >      [exec] + export LANG
> > 
> >      [exec] + unset DISPLAY
> > 
> >      [exec] + cd src
> > 
> >      [exec] + make
> > 
> >      [exec] if [ ! -e /usr/share/selinux/devel/Makefile ]; then echo
> > "You need to install the SELinux development tools
> > (selinux-policy-devel)" && exit 1; fi
> > 
> >      [exec] make -f /usr/share/selinux/devel/Makefile || exit 1;
> > 
> >      [exec] make[1]: Entering directory
> > `/home/chris/dogtag-src/release/pki/base/selinux/dist/rpmpkg/BUILD/pki-selinux-1.0.0/src'
> > 
> >      [exec] Compiling mls pki module
> > 
> >      [exec] pki.te":15:ERROR 'syntax error' at token
> > 'init_script_file' on line 4808:
> > 
> >      [exec]     init_script_file(pki_ca_script_exec_t)
> > 
> >      [exec] #line 15
> > 
> >      [exec] /usr/bin/checkmodule:  error(s) encountered while parsing
> > configuration
> > 
> >      [exec] /usr/bin/checkmodule:  loading policy configuration from
> > tmp/pki.tmp
> > 
> >      [exec] make[1]: *** [tmp/pki.mod] Error 1
> > 
> >      [exec] make[1]: Leaving directory
> > `/home/chris/dogtag-src/release/pki/base/selinux/dist/rpmpkg/BUILD/pki-selinux-1.0.0/src'
> > 
> >      [exec]
> > 
> >      [exec]
> > 
> >      [exec] RPM build errors:
> > 
> >      [exec] make: *** [all] Error 1
> > 
> >      [exec] error: Bad exit status from /var/tmp/rpm-tmp.43161 (%
> > build)
> > 
> >      [exec]     Bad exit status from /var/tmp/rpm-tmp.43161 (%build)
> > 
> >      [exec] Result: 1
> > 
> >      [echo] Completed building 'pki-selinux' RPMS and SRPMS.
> > 
> >      [echo] Removing various 'pki-selinux' RPM directories and
> > files ...
> > 
> >    [delete] Deleting
> > directory /home/chris/dogtag-src/release/pki/base/selinux/dist/rpmpkg/BUILD
> > 
> >      [echo] Completed removing various 'pki-selinux' RPM directories
> > and files.
> > 
> >      [echo] Completed generating 'pki-selinux' RPMS and SRPMS.
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > From: Brown, Chris 
> > Sent: Tuesday, February 03, 2009 10:21 AM
> > To: 'Veale, Sean'; pki-users at redhat.com
> > Subject: RE: [Pki-users] building dogtag
> > 
> > 
> >  
> > 
> > I tried erasing and installing the offending packages, but the
> > packages still were not at the right version:
> > 
> >  
> > 
> > []sudo yum info  nss-devel
> > 
> > Installed Packages
> > 
> > Name   : nss-devel
> > 
> > Arch   : i386
> > 
> > Version: 3.11.7
> > 
> > Release: 10.fc8
> > 
> > Size   : 950 k
> > 
> > Repo   : installed
> > 
> >  
> > 
> > From: Veale, Sean [mailto:sean.veale at gdc4s.com] 
> > Sent: Tuesday, February 03, 2009 9:26 AM
> > To: Brown, Chris; pki-users at redhat.com
> > Subject: RE: [Pki-users] building dogtag
> > 
> > 
> >  
> > 
> > I would check to see if you have later package installed (yes I know
> > the message says >=).  I found on a clean install of fedora 9 where I
> > did a Yum upgrade on the system and then followed the build
> > instructions I had problems with dependencies where the packkages
> > being too new. I then had to uninstall the offending packages and
> > thier dependencies. When I did a yum <package name> it picked up the
> > right dependencies. 
> > 
> >  
> > 
> > I.e. the steps I did was 
> > 
> >  
> > 
> > rpm -q <package name>  to see what I had. 
> > 
> >  
> > 
> > yum install <package name>  check the log to see what errors I
> > recieved. 
> > 
> >  
> > 
> > yum erases <dependencies> 
> > 
> >  
> > 
> > yum install <package name>  as this would also pick up the depencies.
> > 
> >  
> > 
> > Sean
> > 
> >  
> > 
> >                                    
> > ______________________________________________________________________
> > From: pki-users-bounces at redhat.com
> > [mailto:pki-users-bounces at redhat.com] On Behalf Of Brown, Chris
> > Sent: Tuesday, February 03, 2009 9:19 AM
> > To: pki-users at redhat.com
> > Subject: [Pki-users] building dogtag
> > 
> > I am trying to build dogtag from the latest SVN trunk using the
> > default Fedora 8 installation.  While running the build_pki script, I
> > receive the following unmet dependencies:
> > 
> >  
> > 
> >      [exec] error: Failed build dependencies:
> > 
> >      [exec]     java-devel >= 1.6.0 is needed by
> > osutil-1.0.0-4.fc8.i386
> > 
> >      [exec]     nspr-devel >= 4.6.99 is needed by
> > osutil-1.0.0-4.fc8.i386
> > 
> >      [exec]     nss-devel >= 3.12.0 is needed by
> > osutil-1.0.0-4.fc8.i386
> > 
> >  
> > 
> > I’ve tried to update these rpms, but there are no updates available
> > for Fedora 8. Should I upgrade to Federa 9 to get these packages?
> > Thanks
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > 
> > _______________________________________________
> > Pki-users mailing list
> > Pki-users at redhat.com
> > https://www.redhat.com/mailman/listinfo/pki-users
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3513 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-users/attachments/20090206/032047f4/attachment.bin>


More information about the Pki-users mailing list