Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713952 - net-ftp/vsftpd-3.0.3-r3 : sysdeputil.c: error: WTMPX_FILE undeclared (first use in this function)
Summary: net-ftp/vsftpd-3.0.3-r3 : sysdeputil.c: error: WTMPX_FILE undeclared (first u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-22 12:39 UTC by Toralf Förster
Modified: 2021-08-14 16:51 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.09 KB, text/plain)
2020-03-22 12:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,253.28 KB, text/plain)
2020-03-22 12:39 UTC, Toralf Förster
Details
environment (environment,86.75 KB, text/plain)
2020-03-22 12:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.68 KB, application/x-bzip)
2020-03-22 12:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,237 bytes, application/x-bzip)
2020-03-22 12:39 UTC, Toralf Förster
Details
net-ftp:vsftpd-3.0.3-r3:20200322-031748.log (net-ftp:vsftpd-3.0.3-r3:20200322-031748.log,13.04 KB, text/plain)
2020-03-22 12:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.79 KB, application/x-bzip)
2020-03-22 12:39 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 2020-03-22 12:39:31 UTC
x86_64-gentoo-linux-musl-gcc -c sysdeputil.c -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wshadow -Wformat-security -D_FORTIFY_SOURCE=2  -idirafter dummyinc
sysdeputil.c: In function vsf_insert_uwtmp:
sysdeputil.c:1223:12: error: WTMPX_FILE undeclared (first use in this function); did you mean MAP_FILE?
 1223 |   updwtmpx(WTMPX_FILE, &s_utent);
      |            ^~~~~~~~~~
      |            MAP_FILE

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 22 01:39:50 UTC 2020
/var/db/repos/musl	Sat Mar 21 19:55:55 UTC 2020

emerge -qpvO net-ftp/vsftpd
[ebuild  N    ] net-ftp/vsftpd-3.0.3-r3  USE="pam ssl tcpd -caps -libressl (-selinux) -xinetd"
Comment 1 Toralf Förster gentoo-dev 2020-03-22 12:39:34 UTC
Created attachment 624248 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-22 12:39:36 UTC
Created attachment 624250 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-22 12:39:39 UTC
Created attachment 624252 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-22 12:39:42 UTC
Created attachment 624254 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-22 12:39:44 UTC
Created attachment 624256 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-22 12:39:47 UTC
Created attachment 624258 [details]
net-ftp:vsftpd-3.0.3-r3:20200322-031748.log
Comment 7 Toralf Förster gentoo-dev 2020-03-22 12:39:49 UTC
Created attachment 624260 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-08-14 16:51:50 UTC
The bug has been closed via the following commit(s):

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

commit 13c65659bbc9bc59314e972b69578014711663c3
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-08-14 16:51:09 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-08-14 16:51:21 +0000

    net-ftp/vsftpd: fix build on musl
    
    Closes: https://bugs.gentoo.org/713952
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-ftp/vsftpd/vsftpd-3.0.5.ebuild | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)