Ask Your Question
1

Error while install section, Packing to Fedora

asked 2012-09-24 09:39:16 -0500

jpilldev gravatar image

Hi all.

I'm packing a software to Fedora, the make command need to copy some files in '/usr/include/quazip' , in section %file is that folder, but in the %install section i got an issue related in that folder when is necessary copy the files:

'install: cannot create regular file `/home/makerpm/rpmbuild/BUILDROOT/tupi-0.2-1.fc17.x86_64/usr/include/quazip': No such file or directory'

I uploaded The spec file: http://jpill.fedorapeople.org/tupi/tupi.spec

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-09-24 20:18:48 -0500

FranciscoD_ gravatar image

Well, it's difficult to give you a solution without knowing the actual cause of the issue. Can you use mock to try and build the package please? That way you get a detailed build log.

Since you mention that make is trying to install quazip, we have a strict policy of not permitting bundled libraries in packages. Quazip is already in the fedora repositories. You must patch this package's build system to use quazip from fedora, and not the copy it bundles.

https://fedoraproject.org/wiki/Packaging:NoBundledLibraries

https://admin.fedoraproject.org/pkgdb/acls/bugs/quazip

I remember having to do the same. It was, in-fact, again quazip that was bundled.

edit flag offensive delete link more
1

answered 2012-10-01 12:37:08 -0500

jpilldev gravatar image

Hi all.

I talked with main developer and told me that quazip is an extra package included in Tupi, so, he made changes to use the quazip from the system.

edit flag offensive delete link more
0

answered 2013-01-28 19:42:08 -0500

davidva gravatar image
edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-09-24 09:39:16 -0500

Seen: 171 times

Last updated: Jan 28 '13