← Back to Pull requests

gnunet: remove incompatible getenv declaration #31519

Open
unknown opened this pull request with 201 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 29, 2026 17:52 UTC
Author

📦 Package Details

Maintainer: @dangowrt

Description:

The bundled option parser redeclares getenv with an empty parameter list that conflicts with the libc declaration in C23. Remove the duplicate and use the stdlib.h declaration already included by platform.h.

Related source or failure log

Build-tested only: OpenWrt snapshot SDK r38597-088e490be1 on armsr/armv8 (aarch64_generic, GCC 15.3.0, musl 1.2.6). Targeted goal package/feeds/packages/gnunet/compile with make -j17 IGNORE_ERRORS=m V=s. The post-review target build produced gnunet-0.29.0-r3.apk, gnunet-communicator-tcp-0.29.0-r3.apk, gnunet-communicator-udp-0.29.0-r3.apk, gnunet-curl-0.29.0-r3.apk, gnunet-dhtcache-heap-0.29.0-r3.apk, and 4 more APKs.

LLM assistance was used for the investigation, patch preparation or refresh, and draft wording.

---

🔬 Run Testing Details

No runtime test performed.

---

✅ Formalities

  • I have reviewed the contributing guidelines.

  • I have reviewed the AI policy.

  • - [x] I have used AI or LLM in my pull request, description, or commit
    messages, and the description says what it was used for.

    If your PR contains a patch:

  • It can be applied using git am

  • It has been refreshed to avoid offsets, fuzzes, etc.

  • - [x] It is structured in a way that it is potentially upstreamable

    Diff: 201 lines (+150 / -51) across 2 files Reviewer: openwrt-ai Review duration: 1898m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.41) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.41 · 201 lines diff across 2 files
    0.41
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.318
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #31519"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41.2% (MEDIUM) · Higher = larger blast radius
    41.2%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.0% · Safe to merge
    22.0%