Author Topic: (Closed) make errors on src.rpms, wrong compiler setup?  (Read 772 times)

Offline lightwarrior

  • Jr. Member
  • **
  • Posts: 25
(Closed) make errors on src.rpms, wrong compiler setup?
« on: November 25, 2011, 01:02:59 PM »
Hi all,
I'm trying to create my first package.
I've tried with two different programs src.rpm and both failed at make.

I think I might have a compiler issue.

On partimage-0.6.8-1pclos2010.src.rpm, I get the following error:

netclient.cpp: In constructor ‘CNetClient::CNetClient(bool, bool)’:
netclient.cpp:46:34: error: invalid conversion from ‘const SSL_METHOD*’ to ‘SSL_METHOD*’
make[4]: *** [netclient.o] Error 1

I'm using the latest MiniMe iso and pkgutils on a C-50 AMD cpu.

One error i had before this on same partimage was a gettext config.rpath missing, so I installed gettext-devel (probably a missing dependency in spec), to get rid of problem.

Thanks for any insight.

The other compile error is here: http://www.pclinuxos.com/forum/index.php/topic,99946.msg848572.html#msg848572
« Last Edit: November 28, 2011, 07:15:31 PM by lightwarrior »

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: make errors on src.rpms, wrong compiler setup?
« Reply #1 on: November 25, 2011, 04:48:15 PM »
Hi Lightwarrior,

I have packaged drbl-partimage and it is at version 0.6.9. This package is part of the DRBL complex I have packaged for PCLinux,

actually I guess we only need one package - I should alter drbl-partimage to just partimage as there should be no differences between them;

tomorrow I'm going to update drbl packages and fix some icon issues - if you want to help out update drbl I would be most grateful :-)

cheers,
MBantz

Offline lightwarrior

  • Jr. Member
  • **
  • Posts: 25
Re: make errors on src.rpms, wrong compiler setup?
« Reply #2 on: November 25, 2011, 11:38:28 PM »
Hi MBantz,
I'll be glad to help update drbl.
I'm a rookie, so probably I'll need some pointers to do this.
Let me know what I can do.
cheers,
LW

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: make errors on src.rpms, wrong compiler setup?
« Reply #3 on: November 26, 2011, 02:35:38 AM »
Hi Lightwarrior,

sounds great :-)

An update of Clonezilla would be great!

Grab version 2.3.58 here: http://clonezilla.org/downloads/src/sourcecodes.php
(remember to convert tarballs to xz compression)

and our current src.rpm here: http://distro.ibiblio.org/pub/linux/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/SRPMS.updates/

I can recommend to try out pkgutils-thunar and try thunar for packaging - you just rightclick on a tarball and it can recompress to xz - as well as rightclick on a spec file and you get all packaging options here.

I had some trouble installing pkgutil-thunar properly yesterday, I had to enable testing and unstable in synaptic - now I'm running pkgutils-thunar version 0.1.5-4 here. Let me know if you try it out and if you run into any issues.

You are welcome to PM or just reply here if you run into questions with the clonezilla update,

cheers,
MBantz

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: make errors on src.rpms, wrong compiler setup?
« Reply #4 on: November 26, 2011, 07:42:36 AM »
Looks like you got yourself a padawan, Martin. ;D

OK. I'm outta here. Sounds like you two are in for some serious business. Bye!
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline lightwarrior

  • Jr. Member
  • **
  • Posts: 25
Re: make errors on src.rpms, wrong compiler setup?
« Reply #5 on: November 26, 2011, 10:42:52 AM »
Ok MBantz,

Apparently I've obtained a successful build!   yay!  8)

It went pretty smooth.  I had a new MiniMe(KDE) already installed, now trying to build in an Intel brick... I didn't used Thunar, as it is for XFCE.

Can you please check these and let me know if it works?

http://dl.dropbox.com/u/51057819/clonezilla-2.3.58-1lightwarrior2011.i586.rpm
http://dl.dropbox.com/u/51057819/clonezilla-2.3.58-1lightwarrior2011.src.rpm

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: make errors on src.rpms, wrong compiler setup?
« Reply #6 on: November 26, 2011, 12:08:31 PM »
Perfect lightwarrior!

I downloaded your src.rpm and it builds clean, the spec is flawless :-)

Send a pm to texstar to get access to the packagers dropbox and put the src.rpm there. Job done.

I have updated the rest of the drbl packages and just need to test them (i.e. find 2-3 computers that can be multicast cloned) and I send my packages to Tex dropbox as well,

for now I don't have any packages that need an update, you can look at packages in Package Suggest and send them to Tex' dropbox. If you run into any issues feel free to pm me,

welcome to packagers :-)

cheers,
MBantz

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8583
  • Aurum nostrum non est aurum vulgi.
Re: make errors on src.rpms, wrong compiler setup?
« Reply #7 on: November 26, 2011, 04:55:46 PM »
Big kudos, LW! If Martin gives you a perfect, that's good enough for me.
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline lightwarrior

  • Jr. Member
  • **
  • Posts: 25
Re: make errors on src.rpms, wrong compiler setup?
« Reply #8 on: November 26, 2011, 09:51:54 PM »
Thanks MBantz!  ;D
I greatly appreciate all your help, everything went smooth with your directions.
FYI, I will post here again when package is at packagers dropbox.

Thanks Archie  8)