Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828902 - net-misc/bridge-utils-1.7.1 - libbridge_devif.c: error: PATH_MAX undeclared (first use in this function)
Summary: net-misc/bridge-utils-1.7.1 - libbridge_devif.c: error: PATH_MAX undeclared (...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2021-12-11 10:10 UTC by Toralf Förster
Modified: 2022-02-04 15:19 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.60 KB, text/plain)
2021-12-11 10:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,70.63 KB, text/plain)
2021-12-11 10:10 UTC, Toralf Förster
Details
environment (environment,87.19 KB, text/plain)
2021-12-11 10:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,10.43 KB, application/x-bzip)
2021-12-11 10:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.89 KB, application/x-bzip)
2021-12-11 10:10 UTC, Toralf Förster
Details
net-misc:bridge-utils-1.7.1:20211211-093345.log (net-misc:bridge-utils-1.7.1:20211211-093345.log,6.76 KB, text/plain)
2021-12-11 10:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.10 KB, application/x-bzip)
2021-12-11 10:10 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-11 10:10:35 UTC
x86_64-gentoo-linux-musl-gcc -Wall -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include  -c libbridge_if.c
x86_64-gentoo-linux-musl-gcc -Wall -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include  -c libbridge_init.c
x86_64-gentoo-linux-musl-gcc -Wall -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include  -c libbridge_misc.c
libbridge_devif.c: In function 'fpopen':
libbridge_devif.c:33:19: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'AF_MAX'?
   33 |         char path[PATH_MAX];
      |                   ^~~~~~~~
      |                   AF_MAX
libbridge_devif.c:33:19: note: each undeclared identifier is reported only once for each function it appears in

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4-20211210-222208

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang version 13.0.0
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.57.0 *
php cli:

  HEAD of ::gentoo
commit 64b15847d5c70b17022f64e296bc318fcf19811c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 11 09:21:44 2021 +0000

    2021-12-11 09:21:43 UTC

emerge -qpvO net-misc/bridge-utils
[ebuild  N    ] net-misc/bridge-utils-1.7.1  USE="(-selinux)"
Comment 1 Toralf Förster gentoo-dev 2021-12-11 10:10:36 UTC
Created attachment 758434 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-11 10:10:37 UTC
Created attachment 758435 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-11 10:10:40 UTC
Created attachment 758436 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-11 10:10:42 UTC
Created attachment 758437 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-11 10:10:43 UTC
Created attachment 758438 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-11 10:10:44 UTC
Created attachment 758439 [details]
net-misc:bridge-utils-1.7.1:20211211-093345.log
Comment 7 Toralf Förster gentoo-dev 2021-12-11 10:10:45 UTC
Created attachment 758440 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-02-04 15:19:49 UTC
The bug has been closed via the following commit(s):

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

commit 36d4c4e69edfc56c9c515bb29af7abd39cb02c7c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-02-04 15:19:42 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-02-04 15:19:42 +0000

    net-misc/bridge-utils-1.7.1-r1: fix compilation on musl
    
    Closes: https://bugs.gentoo.org/828902
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 net-misc/bridge-utils/bridge-utils-1.7.1-r1.ebuild | 56 ++++++++++++++++++++++
 .../files/bridge-utils-1.7.1-musl.patch            | 10 ++++
 2 files changed, 66 insertions(+)