Bug 964256

Summary: Can't find PPU source in F19, works in rawhide (same version)
Product: [Fedora] Fedora Reporter: Mattia Verga <mattia.verga>
Component: lazarusAssignee: Joost van der Sluis <joost>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 19CC: hobbes1069, joost, kefah, mattia.verga, sergio
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-15 16:36:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mattia Verga 2013-05-17 16:35:11 UTC
I'm trying to build a new version of skychart.
The build in rawhide (F20) works fine: http://koji.fedoraproject.org/koji/getfile?taskID=5392513&name=build.log

In F19 the build process can't find a PPU source despite the fact the same version of Lazarus and FPC exists in F19 and F20:
PPU Loading /usr/lib64/lazarus/lcl/units/x86_64-linux/intfgraphics.ppu
PPU Source: intfgraphics.pas not found
Recompiling IntfGraphics, checksum changed for FPReadPNG
intfgraphics.pas(7,32) Fatal: Can't find unit IntfGraphics used by InterfaceBase
Fatal: Compilation aborted

This is the full build.log in F19:
http://kojipkgs.fedoraproject.org//work/tasks/2657/5392657/build.log

Comment 1 Kefah T. Issa 2013-05-29 20:15:49 UTC
I have the same exact problem Fedora 19 (up to date).

I even tried copying some library files around ... got past that particular one but ended up having some other issues. so I reverted back.

It feels like we have  a fundamental issue here. I hope there is a quick fix for it. 

for whats its worth, the upstream rpms are not behaving much better. with them I'm past the compilation issue above, but for example double clicking on a control gives an error instead of taking to the event code.

Comment 2 Richard Shaw 2013-07-02 15:47:56 UTC
Same problem with my build of winff.

Comment 3 Richard Shaw 2013-07-02 18:47:06 UTC
I took the source RPM and built the current version, 1.0.10, and it seemed to work for me.

Here's the RPMs if you want to use them:
32bit
http://hobbes1069.fedorapeople.org/lazarus-1.0.10-0.fc19.i686.rpm
64bit
http://hobbes1069.fedorapeople.org/lazarus-1.0.10-0.fc19.x86_64.rpm

I intentionally set the release to "0" so that they will be updated as soon as the package maintainer updates 1.0.10-1.

YMMV

Comment 4 Sergio Basto 2013-07-06 12:50:52 UTC
and same build peazip-5.0 
https://build.opensuse.org/package/live_build_log/home:zhonghuaren/peazip/Fedora_19/x86_64 

and I also confirm same error in my local mock build.

Comment 5 Sergio Basto 2013-07-06 13:26:24 UTC
also confirm I can build it with rawhide which have same version of lazarus, 
so what is the problem on F19 ?

Comment 6 Sergio Basto 2013-07-06 22:08:33 UTC
(In reply to Richard Shaw from comment #3)
> I took the source RPM and built the current version, 1.0.10, and it seemed
> to work for me.

I compare mock build rawhide against F19 and are exactly the same, expect F19 stop in this error. So I follow this tip and just rebuild lazarus-1.0.8 and install it in my buildroot and no error anymore, fix the problem .  
I had make sure that rebuild lazarus-1.0.8, without enable updates-testing.

Comment 7 Mattia Verga 2013-07-07 08:37:06 UTC
So, it seems that lazarus just needs to be rebuilt without changing anything in the spec file, right?
Looking to koji build times I'm starting to think that lazarus for F19 has being built with a previous version of FPC, so it can be the problem...
If the packager doesn't answer in short time I can ask on the devel mailing list for a provenpackager to do a rebuild.

Comment 8 Sergio Basto 2013-07-07 12:24:39 UTC
(In reply to Mattia Verga from comment #7)
> So, it seems that lazarus just needs to be rebuilt without changing anything
> in the spec file, right?

right

Comment 9 Mattia Verga 2013-07-10 15:54:39 UTC
A provenpackager has rebuild lazarus in F19 and created a buildroot override for F19. I've just tested the override, it works.
Please add karma to the update in testing to push it to stable.

Comment 10 Sergio Basto 2013-07-11 03:18:43 UTC
yes 

https://admin.fedoraproject.org/updates/lazarus-1.0.8-2.fc19

we may update with :
yum  --enablerepo=updates-testing --advisor=FEDORA-2013-12715 update

Comment 11 Mattia Verga 2013-07-15 16:36:47 UTC
Lazarus 1.0.8-2.fc19 is being pushed to stable repository and fixes this bug.
I'm closing this report, thank you all!