Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: aacgain: autoreconf: error: 'configure.ac' is required #273907

Closed
jfly opened this issue Dec 13, 2023 · 14 comments · Fixed by #275682
Closed

Build failure: aacgain: autoreconf: error: 'configure.ac' is required #273907

jfly opened this issue Dec 13, 2023 · 14 comments · Fixed by #275682

Comments

@jfly
Copy link
Contributor

jfly commented Dec 13, 2023

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build nixpkgs/a9bf124c46ef298113270b1f84a164865987a91c#aacgain

Build log

https://gist.github.com/jfly/d4bae05f403db731c1d1d8dee877ea3e

I believe this is the most important bit from the logs:

autoreconf: error: 'configure.ac' is required

Notify maintainers

@robbinch

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.67, NixOS, 24.05 (Uakari), 24.05pre-git`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - nixpkgs: `/nix/store/lqk88hgqkrpxgyvsy6lq0sfy1whxzcdg-hx7g6qly87bhq1mf53gmy2bx9nr10qm2-nixos-unstable-patched`
@jcollie
Copy link

jcollie commented Dec 13, 2023

The build log linked above does not seem to be complete. This should be a more complete log: https://pastebin.com/dhscSsFM

@jfly
Copy link
Contributor Author

jfly commented Dec 13, 2023

Oops, thanks @jcollie. I've fixed the gist. For the record, the permissions on your pastebin seem to be wrong, I get this error when I try to view it: "This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff."

@jcollie
Copy link

jcollie commented Dec 13, 2023

Hmm not sure what happened there but now that you've updated the gist I don't think that I need to fix the pastebin link.

@pimeys
Copy link
Contributor

pimeys commented Dec 13, 2023

Happens here too. Can't upgrade beets due to the build failure.

https://gist.github.com/pimeys/3c71f04f36f28131db623ed49ac57cfa

@MarkRijckenberg
Copy link

MarkRijckenberg commented Dec 13, 2023

Same issue here: output of nix-shell -p nix-info --run "nix-info -m" :

 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.5, NixOS, 24.05 (Uakari), 24.05.20231209.666fc80`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Using following input in my /etc/nixos/flake.nix:
inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz";

nix log /nix/store/lkkpqfx0vqihnnfjwdnxqwrb0z68p61y-aacgain-2.0.0.drv |grep configure.ac
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/lkkpqfx0vqihnnfjwdnxqwrb0z68p61y-aacgain-2.0.0.drv^*'
autoreconf: error: 'configure.ac' is required
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
configure.ac:83: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:83: You should run autoupdate.
configure.ac:83: the top level
configure.ac:229: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:229: You should run autoupdate.
configure.ac:229: the top level
configure.ac:83: installing 'autoaux/compile'


@MarkRijckenberg
Copy link

Apparently this issue was mentioned 3 days ago: #271377 (comment)

@jansol
Copy link
Contributor

jansol commented Dec 14, 2023

Is there even any more reason for beets to depend on aacgain (nor mp3gain for that matter) since AFAIK the default replaygain backend was changed to ffmpeg? @aszlig @doronbehar @lovesegfault @pjones

@MarkRijckenberg
Copy link

MarkRijckenberg commented Dec 14, 2023

Is there even any more reason for beets to depend on aacgain (nor mp3gain for that matter) since AFAIK the default replaygain backend was changed to ffmpeg? @aszlig @doronbehar @lovesegfault @pjones

Adding @jackwilsdon (beets) and @Artturin (aacgain) and @wegank (aacgain)

@MarkRijckenberg
Copy link

@wegank wegank mentioned this issue Dec 14, 2023
13 tasks
@doronbehar
Copy link
Contributor

By observing the aacgain's Nix expression, I think it'd be ideal to make it link to the "system"'s faad2 and mp4v2 libraries. Regarding beets, it still supports using aacgain, both in the unstable and stable flavors. If you won't be able to fix the issue and you'd mark it as broken or something, we'll get along without it, I'd only ask you to notify us so we could propose something in the same PR marking it as broken.

@jackwilsdon
Copy link
Contributor

jackwilsdon commented Dec 14, 2023

Is there even any more reason for beets to depend on aacgain (nor mp3gain for that matter) since AFAIK the default replaygain backend was changed to ffmpeg?

@jansol

The default replaygain backend looks to still be mp3gain/aacgain (depending on which is available):

https://github.com/beetbox/beets/blob/60ad1ba0d2ba9bf117f5dacd798f184e77b881c7/beetsplug/replaygain.py#L1228

https://github.com/beetbox/beets/blob/60ad1ba0d2ba9bf117f5dacd798f184e77b881c7/beetsplug/replaygain.py#L603-L609

@mt103vps
Copy link

error: getting status of /nix/var/nix/daemon-socket/socket: Permission denied

i got these

@mt103vps
Copy link

error:

     at «none»:0: (source not available)

   … while calling the 'import' builtin

     at «string»:1:18:

        1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCCr pkgs.runCommand) "shell" { buildInputs = [ (nix-info) ]; } ""
         |                  ^

   (stack trace truncated; use '--show-trace' to show the full trace)

   error: file 'nixpkgs' was not found in the Nix search path (add itsing $NIX_PATH or -I)

   at «none»:0: (source not available)

@dschrempf
Copy link
Contributor

@mt103vps , this issue was closed about half a year ago. Could you please open a new issue and provide a bit more context? I just tried building aacgain on nixos-unstable, and everything worked out fine. Also, beets-unstable has been updated recently and works fine here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants