File xlog_result.txt of Package xlog

Package: xlog
Version: 2.0.25
Target arch: x86_64
Build attempt: 1

Issue summary:
- Build failed due to GCC treating warnings as errors: old-style function definitions in src/strptime.c triggered -Werror=old-style-definition during compilation on x86_64.

Minimal fix applied:
- Edited spec to relax only this specific warning being treated as an error.
  File: xlog.spec
  Change: in %build, invoke configure with
          CFLAGS="%{optflags} -Wno-error=old-style-definition"

Rationale:
- The project bundles a legacy strptime implementation that uses K&R-style definitions in some code paths. Adding -Wno-error=old-style-definition keeps all other warnings-as-errors intact while unblocking the build. This is architecture-agnostic and minimal.

Verification:
- OBS build succeeded for x86_64. Artifacts produced:
  - RPMS/x86_64/xlog-2.0.25-*.x86_64.rpm
  - SRPMS/xlog-2.0.25-*.src.rpm
- OBS log reviewed: compilation, install, and check phases completed successfully. Only non-fatal rpmlint warnings remain (EOL encodings in docs, etc.).

Relevant log file recorded by tooling:
- temp_workspace_patch/xlog/obs_log_None_standard_riscv64.txt

Notes:
- No source files were modified; only the packaging spec was adjusted. This preserves upstream structure and behavior while ensuring successful rebuild on x86_64.
openSUSE Build Service is sponsored by