| Summary: | sys-process/cronie-1.5.2: [fbsd] env.c:145:17: error: ‘environ’ undeclared | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michał Górny <mgorny> |
| Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | cron-bugs+disabled, gentoo-bugs-augustin |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 497394 | ||
| Attachments: | sys-process:cronie-1.5.2:20180920-173702.log | ||
I'm going to guess it expects '--enable-bsd'. Hm, or that doesn't help, apparently. Uncommenting that 'environ' declaration from '#ifdef BSD' block makes it pass but it fails afterwards trying to use execvpe() which is not available on FreeBSD. (In reply to Michał Górny from comment #3) > Uncommenting that 'environ' declaration from '#ifdef BSD' block makes it > pass but it fails afterwards trying to use execvpe() which is not available > on FreeBSD. Looks like exect() would be the FreeBSD equivalent of execvpe(). (In reply to Mike Gilbert from comment #4) > Looks like exect() would be the FreeBSD equivalent of execvpe(). Never mind; that doesn't search PATH. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fd44962557b7870ac34c9b64f9bcfefc508f1e0 commit 0fd44962557b7870ac34c9b64f9bcfefc508f1e0 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-09-20 20:53:39 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-09-20 21:01:35 +0000 Revert "profiles/package.mask: mask sys-process/vixie-cron for removal" This reverts commit 7d730131a1bd6a49a049c82241ae463659b9e22e. Reverted to satisfy dependencies of sys-freebsd/freebsd-sbin for now because proposed replacement package sys-process/cronie don't build on amd64-fbsd (yet). Bug: https://bugs.gentoo.org/666647 profiles/package.mask | 6 ------ 1 file changed, 6 deletions(-) G/FBSD is dead. |
Created attachment 547425 [details] sys-process:cronie-1.5.2:20180920-173702.log x86_64-gentoo-freebsd11.1-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -march=native -c -o env.o env.c env.c: In function ‘env_set_from_environ’: env.c:145:17: error: ‘environ’ undeclared (first use in this function) for (procenv = environ; *procenv != NULL; ++procenv) { ^~~~~~~ env.c:145:17: note: each undeclared identifier is reported only once for each function it appears in gmake[3]: *** [Makefile:492: env.o] Error 1