perfsonar / perfsonar/i2util

Reproducible builds

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
10
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Compiling the source code from this repository we get a lot of warnings like:

../I2util/errlog.h:105:33: warning: macro "__DATE__" might prevent reproducible builds [-Wdate-time]
 #define I2ErrLog I2ErrLocation_(__FILE__, __DATE__, __LINE__); \

We could either just remove the usage of the __DATE__ macro or, better, replace it with the i2util version number. See the function definition.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the I2ErrLog macro in I2util/errlog.h around line 105, then read the function definition in I2util/ErrLog.c around line 607. Choose between removing DATE and replacing it with the i2util version number, then compile the source and confirm the reproducible-build warning is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.