Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-12

lazarus RPM on sourceforge.net needs repackaging with lesser requirements for RPM.

10 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Joyner

when trying to install I get:

===================================================== --> Running transaction check
---> Package lazarus.x86_64 0:0.9.28.2-0 set to be updated --> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================== Package Arch
Version Repository Size
============================================================================================================================================================================== Installing:
lazarus x86_64
0.9.28.2-0 /lazarus-0.9.28.2-0.x86_64 216 M

Transaction Summary
============================================================================================================================================================================== Install 1 Package(s)
Upgrade 0 Package(s)

Total size: 216 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(FileDigests) is needed by lazarus-0.9.28.2-0.x86_64 Complete!
(1, [u'Please report this error in
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%205&component=yum '])
[root at newsrxdb bin]#

========================================================================

After filing bug report, per above line, this RedHat's response:

https://bugzilla.redhat.com/show_bug.cgi?id=665073

seth vidal <<https:>>
changed:

What |Removed |Added
---------------------------------------------------------------------------- Status|NEW |CLOSED
Resolution| |NOTABUG
Last Closed| |2010-12-22 11:48:46

--- Comment #1 from seth vidal
<<https:>>
2010-12-22 11:48:46 EST ---
the package lazarus was built with a newer version of rpm than the one in rhel5. You should ask the provider of the pkg to [re]build it with these rpmmacros enabled

%_source_filedigest_algorithm 0
%_binary_filedigest_algorithm 0

then it will work on rhel5.

================================================================== additionally, this has been asked about by others on the forums, but no responses have been posted until I discovered this is the issue. A repackaged version retrievable from sourceforge would *greatly* be appreciated by more than one individual I am sure. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/33ba8a30/attachment-0001.html>

Reply by email

Vincent Snijders
to Michael Joyner

2010/12/22 Michael Joyner :

Show quoted text 5 lines
when trying to install I get: ===================================================== --> Running transaction check ---> Package lazarus.x86_64 0:0.9.28.2-0 set to be updated --> Finished Dependency Resolution

I won't repackage the 0.9.28.2 release, which is more than a year old.

For a next release, what do we loose if we make this change: %_source_filedigest_algorithm 0
%_binary_filedigest_algorithm 0

Do some people only accept package with file digests?

Vincent

Reply by email

Michael Joyner
to Vincent Snijders

If 9.28.2 is the current stable release how am I supposed to install it if you won't re-package it?

On Wed, Dec 22, 2010 at 1:38 PM, Vincent Snijders <

Show quoted text 25 lines
wrote: 2010/12/22 Michael Joyner : > when trying to install I get: > ===================================================== > --> Running transaction check > ---> Package lazarus.x86_64 0:0.9.28.2-0 set to be updated > --> Finished Dependency Resolution I won't repackage the 0.9.28.2 release, which is more than a year old. For a next release, what do we loose if we make this change: %_source_filedigest_algorithm 0 %_binary_filedigest_algorithm 0 Do some people only accept package with file digests? Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/9e297624/attachment.html>

Reply by email

Vincent Snijders
to Michael Joyner

2010/12/22 Michael Joyner :

If 9.28.2 is the current stable release how am I supposed to install it if you won't re-package it?

There are several options:
* Repackage it yourself. It would be nice if you tested it succesfully, that you offered it to the community, so I can use it to upload it to SourceForge.
* Ask somebody else to do it.
* Entice somebody else to do it by offering a bounty.
* Wait for that somebody fixes
http://bugs.freepascal.org/view.php?id=18293 and use the next release after it.

Vincent

Reply by email

Michael Joyner
to Vincent Snijders

The src rpm fails unpackaging with an CPIO checksum error.

On Wed, Dec 22, 2010 at 1:45 PM, Vincent Snijders <

Show quoted text 26 lines
wrote: 2010/12/22 Michael Joyner : > If 9.28.2 is the current stable release how am I supposed to install it if > you won't re-package it? > There are several options: * Repackage it yourself. It would be nice if you tested it succesfully, that you offered it to the community, so I can use it to upload it to SourceForge. * Ask somebody else to do it. * Entice somebody else to do it by offering a bounty. * Wait for that somebody fixes http://bugs.freepascal.org/view.php?id=18293 and use the next release after it. Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/19c09881/attachment.html>

Reply by email

Vincent Snijders
to Michael Joyner: The src rpm fails unpackaging with an CPIO checksum error. On Wed, Dec 22, 2010 at 1:45…

2010/12/22 Michael Joyner :

The src rpm fails unpackaging with an CPIO checksum error.

I just ran cpio on the file from:
ftp://ftp.hu.freepascal.org/pub/lazarus/releases/Lazarus%20Linux%20SRC%20RPM/Lazarus%200.9.28.2/lazarus-0.9.28.2-0.src.rpm fpcfan at scenergyng:~/tmp/rpm$ rpm2cpio lazarus-0.9.28.2-0.src.rpm | cpio -i 31967 blocks
fpcfan at scenergyng:~/tmp/rpm$ ls -l
total 31996
-rw-rw-r-- 1 fpcfan users 3559 2010-12-22 20:07 lazarus-0.9.28.2-0.spec -rw-rw-r-- 1 fpcfan users 16351859 2009-10-27 11:53 lazarus-0.9.28.2-0.src.rpm -rw-rw-r-- 1 fpcfan users 16362893 2010-12-22 20:07 lazarus-0.9.28.2-0.tar.gz

Vincent

Reply by email

Michael Joyner
to Vincent Snijders

On Wed, Dec 22, 2010 at 2:07 PM, Vincent Snijders <

Show quoted text 21 lines
wrote: 2010/12/22 Michael Joyner : > The src rpm fails unpackaging with an CPIO checksum error. > I just ran cpio on the file from: ftp://ftp.hu.freepascal.org/pub/lazarus/releases/Lazarus%20Linux%20SRC%20RPM/Lazarus%200.9.28.2/lazarus-0.9.28.2-0.src.rpm fpcfan at scenergyng:~/tmp/rpm$ rpm2cpio lazarus-0.9.28.2-0.src.rpm | cpio -i 31967 blocks fpcfan at scenergyng:~/tmp/rpm$ ls -l total 31996 -rw-rw-r-- 1 fpcfan users 3559 2010-12-22 20:07 lazarus-0.9.28.2-0.spec -rw-rw-r-- 1 fpcfan users 16351859 2009-10-27 11:53 lazarus-0.9.28.2-0.src.rpm -rw-rw-r-- 1 fpcfan users 16362893 2010-12-22 20:07 lazarus-0.9.28.2-0.tar.gz Vincent

I get when trying to install:

rpm -Uvh lazarus-0.9.28.2-0.src.rpm
1:lazarus warning: user vincent does not exist - using root
warning: group vincent does not exist - using root ########################################### [100%] error: unpacking of archive failed on file
/usr/src/redhat/SPECS/lazarus-0.9.28.2-0.spec;4d124ea3: cpio: MD5 sum mismatch

This is a fresh download from the url you provided.

But suspect it might be another rpmlib symptom.... I just did the rpm2cpio + unpack + edit *.spec

currently doing rpmbuild -ba *spec (after moving tar.gz into proper place) doing cycle to verify installable rpms and runable bins

lazarus-0.9.28.2-0.src.rpm:

Show quoted text 7 lines
-- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--- - Learn to speak Cherokee: http://www.cherokeelessons.com/ - Cherokee Language Help BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6 - Cherokee Lessons PDF made with: http://www.lyx.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/5fd432ea/attachment.html>

Reply by email

Michael Joyner
to Michael Joyner

2010/12/22 Michael Joyner

Show quoted text 15 lines
On Wed, Dec 22, 2010 at 2:07 PM, Vincent Snijders < > wrote: currently doing rpmbuild -ba *spec (after moving tar.gz into proper place) doing cycle to verify installable rpms and runable bins lazarus-0.9.28.2-0.src.rpm: > > -- >

OK. compiled and installed (had to change spec file to permit >= 2.2.4 version numbers for FPC)

I installed the FPC rpm and FPC-SRC rpm from sourceforge

Run lazarus and get the attached:

a) Current pascal directory is incorrect. (dialog pic attached) b) The current lazarus directory ".... %LazarusVersikon%' does not look correct. (dialog pic attached)

I hit "OK" on both and

*I compile a blank form and it runs fine.*

Tried compiling the mysql example from the wiki and get

*Fatal: Can't find unit mysql_v4 used by database_try_unit*

*and I don't know if it is because the code is wrong or if the installation is wrong...*

Looking in /usr/src/fpcsrc using find . -name '*mysql_v4*' gives:

find . -name '*mysql4*'
./packages/mysql/src/mysql41.pp
./packages/mysql/src/mysql4_comtypes.inc
./packages/mysql/src/mysql4impl.inc
./packages/mysql/src/mysql41dyn.pp
./packages/mysql/src/mysql4_version.pp
./packages/mysql/src/mysql40.pp
./packages/mysql/src/mysql4.pp
./packages/mysql/src/mysql4types.inc
./packages/mysql/src/mysql4dyn.pp
./packages/mysql/src/mysql4_comdyn.pp
./packages/mysql/src/mysql4_com.pp
./packages/mysql/src/mysql40dyn.pp
./packages/fcl-db/src/datadict/fpddmysql41.pp
./packages/fcl-db/src/datadict/fpddmysql40.pp
./packages/fcl-db/src/sqldb/mysql/mysql4conn.pas
./packages/fcl-db/src/sqldb/mysql/mysql40conn.pas
./packages/fcl-db/src/sqldb/mysql/mysql41conn.pas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/09458e60/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot.png
Type: image/png
Size: 13179 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/09458e60/attachment-0002.png> -------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot-1.png
Type: image/png
Size: 12902 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101222/09458e60/attachment-0003.png>

Reply by email

Michael Joyner
to Michael Joyner
Michael Joyner wrote 15 lines
2010/12/22 Michael Joyner > > > OK. compiled and installed (had to change spec file to permit >= 2.2.4 version numbers for FPC) I installed the FPC rpm and FPC-SRC rpm from sourceforge Run lazarus and get the attached: OK, got a test mysql program up and running.... I can send you a link later

for the RPMs if you want to test and maybe share them.

-Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20101223/6d96d0c0/attachment.html>

Reply by email