#24 RPM build fails on CentOS4 (RHEL4)

closed
nobody
None
5
2007-10-15
2005-06-22
No

$ rpmbuild --rebuild LPRng-3.8.28-1.src.rpm
...
checking ssl server password file for private key
file... ${sysconfdir}/lpd/ssl.server/server.pwd
Kerberos checks with CFLAGS '-O2 -g -march=i386
-mcpu=i686 -D_FILE_OFFSET_BITS=64', CPPFLAGS
'-I/usr/kerberos/include -D_FILE_OFFSET_BITS=64
-I/usr/include ', LDFLAGS '-L/usr/kerberos/lib -L/usr/lib
checking krb5.h usability... yes
checking krb5.h presence... yes
checking for krb5.h... yes
configure: checking for krb5_init_context and
krb5_read_message in -lkrb5 -lcrypto -lcom_err -lssl
-lcrypto ...
found in -lkrb5 -lcrypto -lcom_err -lssl -lcrypto
checking for krb5_free_data_contents... yes
checking for krb5_xfree... no
checking for krb_xfree... no
checking for kerberos 4 krb_sendauth definition... no
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: error: cannot find input file:
po/Makefile.in.in
error: Bad exit status from /var/tmp/rpm-tmp.55790 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.55790 (%build)
$

Discussion

  • Charlie Brady

    Charlie Brady - 2005-06-22

    Logged In: YES
    user_id=345312

    po/Makefile.in.in does actually exist - but it's a dangling
    symlink:

    bash-3.00$ ls -l Makefile.in.in
    lrwxrwxrwx 1 bradyc speech 36 Jun 22 12:42 Makefile.in.in
    -> /usr/share/gettext/po/Makefile.in.in
    bash-3.00$

     
  • Charlie Brady

    Charlie Brady - 2005-06-22

    Logged In: YES
    user_id=345312

    I notice that /usr/share/gettext/po/Makefile.in.in used to
    be included in gettext RPMs, but no longer is, or at least,
    isn't with RHEL4.

    I've found some reference to Makefile.in.in
    copyright/license issues and LPRng - I guess this is what is
    behind this issue:

    http://www.iro.umontreal.ca/translation/babyl.cgi?folder=rmail/goals/extending&ordinal=16/29

    The license for po/Makefile.in.in appears to allow it to be
    distributed with LPRng - if so, then a reasonable solution
    would be to include the file verbatim rather than include a
    (useless) symlink. Here is the text from the file in question:

    # Makefile for PO directory in any package using GNU gettext.
    # Copyright (C) 1995-1997, 2000-2004 by Ulrich Drepper
    <drepper@gnu.ai.mit.edu>
    #
    # This file can be copied and used freely without
    restrictions. It can
    # be used in projects which are not available under the GNU
    General Public
    # License but which still want to provide support for the
    GNU gettext
    # functionality.
    # Please note that the actual code of GNU gettext is covered
    by the GNU
    # General Public License and is *not* in the public domain.
    #
    # Origin: gettext-0.14

     
  • Charlie Brady

    Charlie Brady - 2005-06-22

    Logged In: YES
    user_id=345312

    Just removing this section of the spec file helps:
    ...
    # set up gettext
    (
    cd po
    rm Makefile.in.in

    ln
    -s /usr/share/gettext/po/Makefile.in.in .
    )
    ...

     
  • grumpf_

    grumpf_ - 2007-10-15
    • status: open --> closed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks