[scl.org] Disabling debuginfo package generation

Remi Collet rcollet at redhat.com
Thu May 7 07:54:12 UTC 2015


Le 06/05/2015 19:16, Paul Oehler a écrit :
> Hello,
> 
> I'm trying to bundle a scl version of the ioncube php loader, but the
> rpm build process fails saying:
> 
> + /usr/lib/rpm/find-debuginfo.sh --strict-build-id
> /builddir/build/BUILD/php54iw-php-ioncube-loader-5.0.3
> extracting debug info from
> /builddir/build/BUILDROOT/php54iw-php-ioncube-loader-5.0.3-4.iworx.el6.i386/opt/iworx/php54iw/root/usr/lib/php/modules/ioncube_loader_lin_5.4.so
> 
> *** ERROR: No build ID note found in
> /builddir/build/BUILDROOT/php54iw-php-ioncube-loader-5.0.3-4.iworx.el6.i386/opt/iworx/php54iw/root/usr/lib/php/modules/ioncube_loader_lin_5.4.so
> 

See
https://github.com/remicollet/remirepo/commit/d0354b348adfabe7e3d7566135183d689f5e943f

Remi.


> 
> I've tried multiple variations of disabling the debug_package in the
> spec file, including:
> %define debug_package %{nil}
> %global debug_package %{nil}
> and placing those in various places in the spec.
> 
> I've also tried passing a define to mock to disable debug_package, but
> to no avail.  It seems like when building a package with scl, it is
> determined to try to generate a debuginfo package.  Since I'm building
> with mock I don't think I can reasonably just edit macros.scl to
> temporarily work around this.
> 
> Anybody have any suggestions?
> 
> Many thanks it advance,
> 
> Paul
> 
> _______________________________________________
> SCLorg mailing list
> SCLorg at redhat.com
> https://www.redhat.com/mailman/listinfo/sclorg


-- 
rcollet at redhat.com | Senior Software Engineer / BaseOS / WebStack team
GPG Key: 0x29F16A18
Fingerprint: 5A0E 6F54 D94D 5732 69EE  E3FF 614A 6905 29F1 6A18




More information about the SCLorg mailing list