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

Not able to build pulseaudio #6

Open
eiddor opened this issue May 12, 2021 · 12 comments
Open

Not able to build pulseaudio #6

eiddor opened this issue May 12, 2021 · 12 comments

Comments

@eiddor
Copy link

eiddor commented May 12, 2021

I'm not able to build an image from the repo source for some reason - The image on Docker hub works, but I need to change something in etc/supervisor/supervisord.conf so that it will run on a Cisco Catalyst switch.

During Step 18/63 : RUN abuild build I get this:

Configuring doxygen.conf using configuration
doxygen/meson.build:3: WARNING: The variable(s) 'srcdir' in the input file 'doxygen/doxygen.conf.in' are not present in the given configuration data.
Program doxygen found: NO

doxygen/meson.build:9:0: ERROR: Program 'doxygen' not found

A full log can be found at /tmp/aports/community/pulseaudio/src/pulseaudio-14.2/output/meson-logs/meson-log.txt
>>> ERROR: pulseaudio: build failed
The command '/bin/sh -c abuild build' returned a non-zero code: 1

Thanks!

@danielguerra69
Copy link
Owner

I experience the same. Alpine is changing very fast. I'm rebuilding my sdk builder, maybe that helps.

@danielguerra69
Copy link
Owner

With the Dockerfile changed like this pulseaudio builds. Next problem the audio drivers ...
RUN echo sdk | sudo -S apk --update --no-cache add doxygen
WORKDIR /tmp/aports/community/pulseaudio
RUN abuild fetch
RUN abuild unpack
RUN abuild deps
RUN abuild prepare
RUN sed -i 's|implicit_include_directories : false||' /tmp/aports/community/pulseaudio/src/pulseaudio-14.2/src/modules/meson.build

@eiddor
Copy link
Author

eiddor commented May 14, 2021

Thanks @danielguerra69! I had to get a demo up and running so I grabbed a more simple container for now, but I'll keep an eye on this one in case you are able to get it to build.

I had even commented out all of the pulseaudio and audio stuff since I didn't need them, but I ran into other APKBUILD errors later.

@danielguerra69
Copy link
Owner

danielguerra69 commented May 14, 2021

@eiddor
Copy link
Author

eiddor commented May 14, 2021

It runs on a "normal" machine, but I need to modify etc/supervisor/supervisord.conf and change port = :9001 to port = 0.0.0.0:9001 to get it to run on a Cat9K Docker container, so I need to rebuild for that.

Not a huge hairy deal, though - I appreciate that you had a look! I know that alpine can be a moving target.

@danielguerra69
Copy link
Owner

supervisor port 9001 is only needed for process management. RDP runs on 3389

@eiddor
Copy link
Author

eiddor commented May 14, 2021

Understood, but the container won't start because it can't bind using port = :9001

This is pretty much what I'm seeing: https://serverfault.com/questions/610726/supervisord-inet-http-server-all-iface-error

@danielguerra69
Copy link
Owner

you can mount a different supervisor config, in which this web feature is deleted

@eiddor
Copy link
Author

eiddor commented May 14, 2021

That's actually a clever idea - I'm not sure if it's supported in this platform (there's no "host" filesystem per se), but I'll poke around and see.

As I said, I have an alternate solution running for my purposes, I just wanted to give you a heads-up about the image no longer building in case you weren't aware.

Thanks again for the tips!

@danielguerra69
Copy link
Owner

Something is wrong with alpine, just tried a no-sound version. Now supervisor is causing trouble, even with the standard distro version.

@eiddor
Copy link
Author

eiddor commented May 14, 2021

Oh! Same error that I linked to above? I'm glad I'm not completely crazy here.

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

No branches or pull requests

2 participants