Bug 486530

Summary: anjuta doesn't have matching "Provides: perl(GBF::Make)" for Requires, causing broken deps in rawhide
Product: [Fedora] Fedora Reporter: Alex Lancaster <alex>
Component: anjutaAssignee: Debarshi Ray <debarshir>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: debarshir, rpandit
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-26 22:01:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 485452    

Description Alex Lancaster 2009-02-20 06:39:02 UTC
http://koji.fedoraproject.org/mash/rawhide-20090219/logs/depcheck

Broken deps for i386
----------------------------------------------------------
	1:anjuta-2.25.901-2.fc11.i386 requires perl(GBF::Make)

this appears to be because of a lack of matching Provides for perl(GBF::Make):

$ rpm -qip --requires /tmp/anjuta-2.25.901-2.fc11.i386.rpm |grep GBF
perl(GBF::AmFiles)  
perl(GBF::General)  
perl(GBF::Make)  

$ rpm -qip --provides /tmp/anjuta-2.25.901-2.fc11.i386.rpm |grep GBF
perl(GBF::AmFiles)  
perl(GBF::General)  

so there is something up with the autodep generation for the perl components.

Comment 1 Rakesh Pandit 2009-02-20 09:20:47 UTC
Earlier gnome-build used to provide that (perl::Make) .. recently anjuta upstream merged it into anjuta, but they somehow seemed to have messed it up. There has been discussion going on upstream and it would hopefully be fixed sooner.

Debarshi may you have a look at it some time ... I will be away with no network access for next whole week.

Thank,

Comment 2 Debarshi Ray 2009-02-21 19:57:45 UTC
First of all, we missed importing the following snippet from gnome-build.spec:

# Filter unwanted Provides.
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
  sed -e '/perl(Make)/d' \
  -e '/perl(Make::Target)/d' \
  -e '/perl(Make::Rule::Vars)/d' \
  -e '/perl(Make::Rule)/d'
EOF

%define __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
chmod +x %{__perl_provides}

# Filter unwanted Requires.
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
  sed -e '/perl(Make)/d' \
  -e '/perl(Make::Target)/d' \
  -e '/perl(Make::Rule::Vars)/d' \
  -e '/perl(Make::Rule)/d'
EOF

%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
chmod +x %{__perl_requires}

I am guessing this would fix this problem and I have committed the changes to CVS. Koji is down so can not build it yet.

I am without my F-10/Rawhide system due to a motherboard breakdown. So please let me know how this went.

Comment 3 Alex Lancaster 2009-02-25 08:20:41 UTC
Nope, Jesse Keating rebuilt the package with the changes in CVS as part of the mass F-11 rebuild, but it failed :(

http://koji.fedoraproject.org/koji/buildinfo?buildID=84310

Comment 4 Alex Lancaster 2009-02-25 08:23:53 UTC
Looks like missing BR.  Looking into it now.

Comment 5 Debarshi Ray 2009-02-25 08:30:57 UTC
(In reply to comment #4)

> Looks like missing BR.  Looking into it now.

That is only one of the problems. Please follow the discussion on fedora-devel-list.

Comment 6 Alex Lancaster 2009-02-25 08:46:55 UTC
In any case I fixed the missing BRs and committed to CVS, but it runs up against the Python issue mentioned on the list:

http://koji.fedoraproject.org/koji/taskinfo?taskID=1168170

Sounds like you've got it under control, I'll leave to you now.

Comment 7 Debarshi Ray 2009-02-26 21:23:01 UTC
(In reply to comment #2)

> First of all, we missed importing the following snippet from gnome-build.spec:
>
> [...]

And we also missed the explicit 'Provides: perl(GBF::Make)' in gnome-build.

Comment 8 Debarshi Ray 2009-02-26 22:01:01 UTC
Fixed in anjuta-2.25.902-5.fc11.