#1136761 asmixer: FTBFS: asmixer.c:107:7: error: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]

#1136761#5
Date:
2026-05-15 18:09:46 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202605/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:asmixer, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_auto_clean
	make -j2 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f asmixer
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
	make -j2 INSTALL="install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -O2 -fno-strength-reduce     -I/usr/X11R6/include  -Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DX_LOCALE  -DFUNCPROTO=15 -DNARROWPROTO   -Wdate-time -D_FORTIFY_SOURCE=2  -c -o asmixer.o asmixer.c
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:28,
                 from asmixer.c:16:
/usr/include/features.h:199:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
  199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~
asmixer.c: In function ‘getvol’:
asmixer.c:107:7: error: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration]
  107 |    fd=open(device,0);
      |       ^~~~
      |       popen
make[1]: *** [<builtin>: asmixer.o] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 INSTALL="install --strip-program=true" returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1136761#10
Date:
2026-06-13 05:05:04 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
asmixer, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1136761@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated asmixer package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 13 Jun 2026 07:49:13 +0300
Source: asmixer
Architecture: source
Version: 0.5-21
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1136761
Changes:
 asmixer (0.5-21) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS. (Closes: #1136761)
Checksums-Sha1:
 13d7fa1c9036decd29677506ed55b715c4e2bf99 1906 asmixer_0.5-21.dsc
 4e66cc53cba1f245e2602a05a370270579fd4aaa 4468 asmixer_0.5-21.debian.tar.xz
Checksums-Sha256:
 5b7b7058d72870633518f053705d3b4cdfe5683be72c96441dfa9e92a06ff8ae 1906 asmixer_0.5-21.dsc
 74ba61ee61f2ab2488a4ae76337c27a30fa2d4af92d23a7c79879b72c631fdea 4468 asmixer_0.5-21.debian.tar.xz
Files:
 f08112e9b57a60569364414ad0b82af0 1906 sound optional asmixer_0.5-21.dsc
 3fdcccdd92e46801589815f321adde88 4468 sound optional asmixer_0.5-21.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmos4dwACgkQiNJCh6LY
mLG5gA/8COmsQv64d0ElyZcCsUXr++QdOb8dhompEZR1Lz6fG0h5vk4NKEIaXKoY
WiDz5JUdKl6bxd2KlA16NUfvueHIi7H7l9FPrEIh5yaSw6eR2MwoxNXh1C1H2Srx
asoUzk52qL8eM5LbxQ0k+Xj8LKSYn7bBer++gXXDQZ1WBJQeH+JzPumg5X2+agPB
yYDvE1dnNHjuvI7nbMO8EtCLCA2CAD+zNqJbtd8bYvUM1in8KBc3JIjO8GYG5bDS
kGDM9qUq8qTDKX2/ZxJ94OlCQ0gDM4vv0arfht5EK6MDQ8K+TU3/xf9FFPSmG9tV
mTHYJdTze1suqLXq8EkxfgCaKYXCj19NJWMJ0F8C4u78ZJ/YpOjtdpCC+PxUOsZR
dnlQpmXtrZqzMaiP/MWh4Fa/3Rx4qmSRuALl/CaSmCP79fjlEJTl0t1epS9Yg4r9
enh6rWrY5jr3xxdjegLRnOea6hcq1pbj/27IQWI9WohMkpd8GHj3y5GxLpCC4UGd
4RKM2M7LaZhEV3nCLrOvpzZrPNFdQODKFld4y8Fhi1efPK5xDE109YlbHhj6Rgyu
lG3m8Xr3DtPIG8V2maUvs7AzS17KiuWfDZs6qBBRnuXmST8GcoKLVQvWq5Oa6N5t
8X3KfO3g8lbnsVMOzzgfy2aSNQQGxK2jIHJb6t/iJT98RBQzp1M=
=Zm4k
-----END PGP SIGNATURE-----