Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930561 - www-servers/nginx-1.24.0-r1 fails to compile
Summary: www-servers/nginx-1.24.0-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 11:12 UTC by Thomas Capricelli
Modified: 2024-04-24 12:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,86.55 KB, text/x-log)
2024-04-24 11:12 UTC, Thomas Capricelli
Details
nginx-1.24.0-r1.ebuild (nginx-1.24.0-r1.ebuild,39.51 KB, text/plain)
2024-04-24 11:50 UTC, Conrad Kostecki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2024-04-24 11:12:00 UTC
Using x86_64-pc-linux-gnu-13

Reproducible: Always

Actual Results:  
src/njs_iterator.c:358:25: error: storing the address of local variable 'string_obj' in '*args.value' [-Werror=dangling-pointer=]
  358 |             args->value = &string_obj;
Comment 1 Thomas Capricelli 2024-04-24 11:12:38 UTC
Created attachment 891639 [details]
build.log
Comment 2 Conrad Kostecki gentoo-dev 2024-04-24 11:50:12 UTC
Created attachment 891643 [details]
nginx-1.24.0-r1.ebuild

Could you please try this updated ebuild, if it solves the issue for you?
Comment 3 Thomas Capricelli 2024-04-24 12:24:47 UTC
It's tricky, because current portage already has 1.24.0-r1 and also -r2.

So i renamed you ebuild to nginx-1.24.0-r3.ebuild


And then, yes, it works
Comment 4 Conrad Kostecki gentoo-dev 2024-04-24 12:34:43 UTC
(In reply to Thomas Capricelli from comment #3)
> And then, yes, it works

Thanks for confirming. I will commit it.
Comment 5 Larry the Git Cow gentoo-dev 2024-04-24 12:42:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd07ea97ad320a0ca7bbcb12d9887d01493d0f93

commit cd07ea97ad320a0ca7bbcb12d9887d01493d0f93
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-04-24 12:37:56 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-04-24 12:41:47 +0000

    www-servers/nginx: update njs to 0.8.4
    
    Closes: https://bugs.gentoo.org/930561
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 www-servers/nginx/Manifest                                           | 1 -
 www-servers/nginx/{nginx-1.24.0-r1.ebuild => nginx-1.24.0-r3.ebuild} | 4 ++--
 www-servers/nginx/{nginx-1.24.0-r2.ebuild => nginx-1.24.0-r4.ebuild} | 2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)