Re: Maximum file limit for rpmbuild

Marty Ridgeway <[email protected]> Wed, 30 Jul 2008 15:38:05 -0500
Newsgroups gmane.linux.redhat.rpm.general
Message-ID <[email protected]>
I tried the modification in your note and now I get this error:

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /bin/true
D:      execv(/bin/true) pid 14448
getOutputFrom(): Broken pipe



devzero2000 wrote:
> It seems as you are only executing rpmbuild -bi and not rpmbuild -ba 
> for building the source/binary rpm.
>
> Also  probably  you are  using  a  rpm version  >=  4.1.
>
> Anyway if you are really executing rpmbuild -ba for building the 
> package and the build stop in the so called fascist check (check-file) 
> you can:
>
> - 1 ) skip check-file  (no  the check  only) altogether
>
> put
>  
> %__check_files /bin/true
>
> in ~/.rpmmacros
>
> and see what's happen with rpmbuild -ba
>
> If it work the problem is, directly or indirectly, in check-file
>
> -  2)  let suppose  that check-file have suffer from some env problem 
> (eg. disk space) and you want to trace
>
> So do
>
> rpmbuild -bi
>
> and after (for your buildroot defs)
>
> find /home/userb/rpm/tmp/Myfiles-root | sh -x 
> /usr/lib/rpm/check-files  /home/userb/rpm/tmp/Myfiles-root 
> 2>/tmp/check-file.trace
>
> and see what happens in /tmp/check-file.trace
>
>
> They are only hint for you problem. It isn't possible for me to tell 
> more only from your   description.
>
> hth
>
>
>
>
>
> On Wed, Jul 30, 2008 at 3:01 AM, Marty Ridgeway <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Here's where this thing just exits, no errors, it just stops.
>
>     D:     waitpid(17773) rc 17773 status 0
>     Provides: SecGen.so SecView.so TraceCfg.so TunnelSink.dpe
>     TunnelSource.dpe _omniidlmodule.so.4 libCOS4.so.1
>     libCOSDynamic4.so.1 libJTrafficGenerator.so libapr-1.so.0
>     libcairo.so.2 libcplex110.so libcppunit-1.10.so.2 libdb2.so.1
>     libdb2dascmn.so.1 libdb2g11n.so.1 libdb2genreg.so.1
>     libdb2install.so.1 libdb2locale.so.1 libdb2osse.so.1
>     libdb2osse_db2.so.1 libdb2trcapi.so.1 lib.sec.signature.so
>     <http://lib.sec.signature.so> lib.stg.FSUtil.so
>     <http://lib.stg.FSUtil.so> libicudata.so.28 libicui18n.so.28
>     libicuio.so.28 libicule.so.28 libiculx.so.28 libicutoolutil.so.28
>     libicuuc.so.28 libimf.so libjava_gettid.so liblber-2.3.so.0
>     libldap-2.3.so.0 libldap_r-2.3.so.0 libomniCodeSets4.so.1
>     libomniConnectionMgmt4.so.1 libomniDynamic4.so.1 libomniORB4.so.1
>     libomnithread.so.3 libsetuid.so libsigc-2.0.so.0
>     libswt-atk-gtk-3232.so libswt-awt-gtk-3232.so
>     libswt-cairo-gtk-3232.so libswt-glx-gtk-3232.so
>     libswt-gnome-gtk-3232.so libswt-gtk-3232.so
>     libswt-mozilla-gcc3-gtk-3232.so
>     libswt-mozilla-gcc3-gtk-3232.so(EXPORTED)
>     libswt-mozilla-gtk-3232.so libswt-mozilla-gtk-3232.so(EXPORTED)
>     libswt-pi-gtk-3232.so libtaf-1.4.4.so <http://libtaf-1.4.4.so>
>     libtecla.so.1 libtecla.so.1(tecla_1.2) libtecla.so.1(tecla_1.3)
>     libtecla.so.1(tecla_1.4) libtecla.so.1(tecla_1.6)
>     libtecla.so.1(tecla_l.5) libtecla_r.so.1
>     libtecla_r.so.1(tecla_1.2) libtecla_r.so.1(tecla_1.3)
>     libtecla_r.so.1(tecla_1.4) libtecla_r.so.1(tecla_1.6)
>     libtecla_r.so.1(tecla_l.5) libxerces-c.so.27
>     libxerces-depdom.so.27 perl(Attribute) perl(Cfg) perl(Cfg::ICS)
>     perl(CodeGen) perl(Common) perl(Dna) perl(Dna::Client)
>     perl(DnaDaemonUtils) perl(DnaDaemonUtils::Config) perl(DnaJmn)
>     perl(DnaSpc) perl(DnaStg) perl(Drun) perl(ExtLibSupport)
>     perl(InputStream) perl(Inq) = 1.00 perl(Jmn) perl(Operator)
>     perl(OperatorContext) perl(OutputStream) perl(Parameter)
>     perl(SpadeGraph) perl(SpadeOperator) perl(SpadeStats)
>     perl(TraceCfg) perl(TrcLogger) perl(Window)
>     Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
>     rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>     rpmlib(VersionedDependencies) <= 3.0.3-1
>     Requires: /bin/bash /bin/sh /usr/bin/env /usr/bin/expect
>     /usr/bin/perl /usr/bin/python ld-linux.so.2
>     ld-linux.so.2(GLIBC_2.3) libapr-1.so.0 libc.so.6
>     libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.2)
>     libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.2.4)
>     libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.3)
>     libc.so.6(GLIBC_2.3.4) libcom_err.so.2 libcrypt.so.1
>     libcrypt.so.1(GLIBC_2.0) libcrypto.so.4 libcurl.so.3 libdb2.so.1
>     libdb2dascmn.so.1 libdb2g11n.so.1 libdb2genreg.so.1
>     libdb2install.so.1 libdb2locale.so.1 libdb2osse.so.1
>     libdb2osse_db2.so.1 libdb2trcapi.so.1 libdl.so.2
>     libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libgcc_s.so.1
>     libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0)
>     libgssapi_krb5.so.2 libicudata.so.28 libicui18n.so.28
>     libicuio.so.28 libicutoolutil.so.28 libicuuc.so.28 libidn.so.11
>     libimf.so libk5crypto.so.3 libkrb5.so.3 liblber-2.2.so.7
>     liblber-2.3.so.0 libldap-2.3.so.0 libldap_r-2.2.so.7
>     libldap_r-2.3.so.0 libm.so.6 libm.so.6(GLIBC_2.0)
>     libm.so.6(GLIBC_2.1) libncurses.so.5 libnsl.so.1 libomniORB4.so.1
>     libomnithread.so.3 libpcap.so.0.8.3 libperl.so libpthread.so.0
>     libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1)
>     libpthread.so.0(GLIBC_2.1.1) libpthread.so.0(GLIBC_2.2)
>     libpthread.so.0(GLIBC_2.3.2) libreadline.so.4 libresolv.so.2
>     librt.so.1 librt.so.1(GLIBC_2.2) libsasl2.so.2 libsigc-2.0.so.0
>     libssl.so.4 libstdc++.so.5 libstdc++.so.5(CXXABI_1.2)
>     libstdc++.so.5(GLIBCPP_3.2) libstdc++.so.6
>     libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4)
>     libtaf-1.4.4.so <http://libtaf-1.4.4.so> libtecla.so.1
>     libtecla.so.1(tecla_1.2) libtecla.so.1(tecla_1.4) libtecla_r.so.1
>     libtecla_r.so.1(tecla_1.2) libtecla_r.so.1(tecla_l.5) libutil.so.1
>     libuuid.so.1 libxerces-c.so.27 libxml2.so.2 libz.so.1 perl >=
>     0:5.008005 perl(Attribute) perl(Cfg) perl(CodeGen) perl(Config)
>     perl(Cwd) perl(Data::Dumper) perl(DnaDaemonUtils) perl(DnaJmn)
>     perl(Drun) perl(Exporter) perl(File::Basename) perl(File::Find)
>     perl(File::Path) perl(File::Spec) perl(FindBin) perl(Getopt::Long)
>     perl(Getopt::Std) perl(HTTP::Daemon) perl(HTTP::Request)
>     perl(HTTP::Status) perl(IO::Pipe) perl(IO::Select)
>     perl(InputStream) perl(Jmn) perl(LWP::UserAgent)
>     perl(Math::BigInt) perl(Operator) perl(OperatorContext)
>     perl(OutputStream) perl(POSIX) perl(Parameter) perl(Socket)
>     perl(SpadeOperator) perl(Statistics::Descriptive)
>     perl(Sys::Hostname) perl(Time::Local) perl(TraceCfg)
>     perl(TrcLogger) perl(URI::Escape) perl(Window) perl(XML::Simple)
>     perl(XSLoader) perl(base) perl(lib) perl(strict) perl(warnings)
>     Checking for unpackaged file(s): /usr/lib/rpm/check-files
>     /home/userb/rpm/tmp/Myfiles-root
>     D:     execv(/usr/lib/rpm/check-files) pid 17774
>     D:     waitpid(17774) rc 17774 status 0
>
>
>
>     devzero2000 wrote:
>
>         OK. If you want some help, it is necessary to have a
>         reproducer. If you post it, i can give it a look.
>
>         Regards
>
>         On Fri, Jul 25, 2008 at 9:39 PM, Marty Ridgeway
>         <[email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>>
>         wrote:
>
>            devzero2000 wrote:
>
>                On Fri, Jul 25, 2008 at 4:45 PM, Marty Ridgeway
>                <[email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>
>                <mailto:[email protected]
>         <mailto:[email protected]> <mailto:[email protected]
>         <mailto:[email protected]>>>>
>
>                wrote:
>
>                   I seem to be having a strange problem. I'm building
>         a very
>                large
>                   RPM file, 10K+ files and the build appears to go
>         along normally
>                   and then just stops. No error code, no apparent
>         failures,
>                it just
>                   stops.
>
>
>
>                How  large  ?  The  problem  in  rpm4.4.2.x.y.z  is
>         that rpm
>                can't handle file > 2Gb.
>                https://bugzilla.redhat.com/show_bug.cgi?id=433795
>
>                FYI : rpm5.org <http://rpm5.org> <http://rpm5.org>
>         <http://rpm5.org> can and
>
>                apparently also rpm4.6 (for Fedora10) also.
>
>
>                How many file ? I don't think the problem is this : I have
>                build rpm (in rpm 4.4.2.x.y.z also) with 30000 files
>
>                hth
>
>                   _______________________________________________
>                   Rpm-list mailing list
>                   [email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>
>                <mailto:[email protected]
>         <mailto:[email protected]> <mailto:[email protected]
>         <mailto:[email protected]>>>
>
>
>                   https://www.redhat.com/mailman/listinfo/rpm-list
>
>
>              
>          ------------------------------------------------------------------------
>
>
>
>                _______________________________________________
>                Rpm-list mailing list
>                [email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>
>                https://www.redhat.com/mailman/listinfo/rpm-list
>
>            I have about 10K -11K files so apparently that isn't the
>         problem.
>            My spec file doesn't even attempt to build the binaries into an
>            RPM. It just sort of exits w/o any error.
>
>
>            _______________________________________________
>            Rpm-list mailing list
>            [email protected] <mailto:[email protected]>
>         <mailto:[email protected] <mailto:[email protected]>>
>            https://www.redhat.com/mailman/listinfo/rpm-list
>
>
>         ------------------------------------------------------------------------
>
>         _______________________________________________
>         Rpm-list mailing list
>         [email protected] <mailto:[email protected]>
>         https://www.redhat.com/mailman/listinfo/rpm-list
>
>
>     _______________________________________________
>     Rpm-list mailing list
>     [email protected] <mailto:[email protected]>
>     https://www.redhat.com/mailman/listinfo/rpm-list
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rpm-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/rpm-list