freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #66677] rpmbuild errors: bmc-watchdog: No such file or directory


From: Ole Holm Nielsen
Subject: [bug #66677] rpmbuild errors: bmc-watchdog: No such file or directory
Date: Fri, 17 Jan 2025 02:23:30 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?66677>

                 Summary: rpmbuild errors: bmc-watchdog: No such file or
directory
                   Group: GNU FreeIPMI
               Submitter: oleholmnielsen
               Submitted: Fri 17 Jan 2025 07:23:27 AM UTC
                Category: bmc-watchdog
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation Problem
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: GNU/Linux


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 17 Jan 2025 07:23:27 AM UTC By: Ole Holm Nielsen <oleholmnielsen>
On our RockyLinux 8.10 systems I tried to build the v1.6.15 RPMs by:

$ rpmbuild -ta freeipmi-1.6.15.tar.gz

but it fails with the error: bmc-watchdog': No such file or directory 

(lines deleted)
+ mkdir -p
/root/rpmbuild/BUILDROOT/freeipmi-1.6.15-1.el8.x86_64//etc/rc.d/init.d/
+ [[ /etc/init.d != \/\e\t\c\/\r\c\.\d\/\i\n\i\t\.\d ]]
+ mv
/root/rpmbuild/BUILDROOT/freeipmi-1.6.15-1.el8.x86_64//etc/init.d/bmc-watchdog
/root/rpmbuild/BUILDROOT/freeipmi-1.6.15-1.el8.x86_64//etc/rc.d/init.d/bmc-watchdog
mv: cannot stat
'/root/rpmbuild/BUILDROOT/freeipmi-1.6.15-1.el8.x86_64//etc/init.d/bmc-watchdog':
No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.vjqsOl (%install)


RPM build errors:
    bogus date in %changelog: Wed May 28 2021 Albert Chu <chu11@llnl.gov>
1.7.0
    bogus date in %changelog: Mon May 3 2012 Albert Chu <chu11@llnl.gov>
1.2.1
    bogus date in %changelog: Tue Sep 29 2008 Albert Chu <chu11@llnl.gov>
0.7.0
    bogus date in %changelog: Sat May 21 2008 Albert Chu <chu11@llnl.gov>
0.7.0
    bogus date in %changelog: Tue Mar 27 2008 Albert Chu <chu11@llnl.gov>
0.6.0
    bogus date in %changelog: Wed Nov 19 2007 Albert Chu <chu11@llnl.gov>
0.5.0
    bogus date in %changelog: Wed Nov 19 2007 Phil Knirsch
<pknirsch@redhat.com> 0.5.0
    bogus date in %changelog: Fri Feb 28 2007 Albert Chu <chu11@llnl.gov>
0.4.beta0-1
    Bad exit status from /var/tmp/rpm-tmp.vjqsOl (%install)

In addition, there are several of these warnings during the building process:

libtool: warning: '../libipmiconsole/libipmiconsole.la' has not been installed
in '/usr/lib64'
libtool: warning: '../libfreeipmi/libfreeipmi.la' has not been installed in
'/usr/lib64'
libtool: warning: '../libipmidetect/libipmidetect.la' has not been installed
in '/usr/lib64'

The compiler also issued some warnings (this is a partial list only):

util/ipmi-rmcpplus-util.c: In function
'ipmi_rmcpplus_check_packet_session_authentication_code':
util/ipmi-rmcpplus-util.c:1251:16: warning: variable 'expected_digest_len' set
but not used [-Wunused-but-set-variable]
   unsigned int expected_digest_len, compare_digest_len, hash_data_len = 0;
                ^~~~~~~~~~~~~~~~~~~


scbuf.c: In function 'scbuf_peek_line':
scbuf.c:701:15: warning: variable 'l' set but not used
[-Wunused-but-set-variable]
     int n, m, l;
               ^
scbuf.c: In function 'scbuf_read_line':
scbuf.c:737:15: warning: variable 'l' set but not used
[-Wunused-but-set-variable]
     int n, m, l;
               ^
scbuf.c: In function 'scbuf_replay_line':
scbuf.c:774:15: warning: variable 'l' set but not used
[-Wunused-but-set-variable]
     int n, m, l;
               ^
scbuf.c: In function 'scbuf_write_line':
scbuf.c:848:23: warning: variable 'n' set but not used
[-Wunused-but-set-variable]
     int nfree, ncopy, n;
                       ^


ipmi_monitoring_sdr_cache.c: In function
'_ipmi_monitoring_sdr_cache_filename.constprop':
ipmi_monitoring_sdr_cache.c:195:16: warning: '/' directive output may be
truncated writing 1 byte into a region of size between 0 and 4096
[-Wformat-truncation=]
             "%s/%s",
                ^
In file included from /usr/include/stdio.h:873,
                 from ipmi_monitoring_sdr_cache.c:31:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output
between 2 and 8194 bytes into a destination of size 4096
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~


ipmi-config-category-sensors-threshold-section.c: In function
'ipmi_config_sensors_threshold_section':
ipmi-config-category-sensors-threshold-section.c:1372:63: warning: '%s'
directive output may be truncated writing up to 1024 bytes into a region of
size between 967 and 979 [-Wformat-truncation=]
               "Give valid input for sensor type = %s; units = %s",
                                                               ^~
ipmi-config-category-sensors-threshold-section.c:1374:15:
               sensor_units_buf);
               ~~~~~~~~~~~~~~~~                                 
In file included from /usr/include/stdio.h:873,
                 from ipmi-config-category-sensors-threshold-section.c:23:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 46
or more bytes (assuming 1082) into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~
ipmi-config-category-sensors-threshold-section.c:1223:16: warning: '; 'None'
to not use hysteresis' directive output may be truncated writing 30 bytes into
a region of size between 0 and 1024 [-Wformat-truncation=]
             "%s; 'None' to not use hysteresis",
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:873,
                 from ipmi-config-category-sensors-threshold-section.c:23:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output
between 31 and 1055 bytes into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~


ipmi-oem.c: In function 'run_cmd_args':
ipmi-oem.c:1810:30: warning: variable 'args' set but not used
[-Wunused-but-set-variable]
   struct ipmi_oem_arguments *args;
                              ^~~~
ipmi-oem-ibm.c: In function '_get_led_name.constprop':
ipmi-oem-ibm.c:351:19: warning: '__builtin_snprintf' output may be truncated
before the last format character [-Wformat-truncation=]
                "%s",
                   ^
In file included from /usr/include/stdio.h:873,
                 from ipmi-oem-ibm.c:23:
/usr/include/bits/stdio2.h:68:10: note: '__builtin_snprintf' output between 3
and 18 bytes into a destination of size 17
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~
ipmi-oem-ibm.c: In function '_get_led_sdr_callback':
ipmi-oem-ibm.c:770:41: warning: '%s' directive output may be truncated writing
up to 1024 bytes into a region of size between 992 and 1002
[-Wformat-truncation=]
             "%%-%du | %%-%ds | %%-%ds | %s\n",
                                         ^~
ipmi-oem-ibm.c:774:13:
             led_info);
             ~~~~~~~~                     
In file included from /usr/include/stdio.h:873,
                 from ipmi-oem-ibm.c:23:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output
between 24 and 1058 bytes into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~


ipmidetectd.c: In function '_nodes_setup':
ipmidetectd.c:297:33: warning: '%s' directive output may be truncated writing
up to 1024 bytes into a region of size 1017 [-Wformat-truncation=]
                         "::ffff:%s", tmpipv4buf);
                                 ^~   ~~~~~~~~~~
In file included from /usr/include/stdio.h:873,
                 from ipmidetectd.c:31:
/usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output
between 8 and 1032 bytes into a destination of size 1024
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __glibc_objsize (__s), __fmt,
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~


FYI: EL8 has this GCC version:

# gcc --version
gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-22)








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66677>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]