Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16121 - [pulseaudio] PKGBUILD doesn't quite work
Attached to Project:
Community Packages
Opened by Chris Giles (Chris.Giles) - Thursday, 10 September 2009, 04:11 GMT
Last edited by Ionut Biru (wonder) - Sunday, 03 January 2010, 15:09 GMT
Opened by Chris Giles (Chris.Giles) - Thursday, 10 September 2009, 04:11 GMT
Last edited by Ionut Biru (wonder) - Sunday, 03 January 2010, 15:09 GMT
|
DetailsFirstly, there's no "Packages: Community" category; it probably should be added to the list.
The PulseAudio PKGBUILD doesn't quite work; so, I've made a few fixes. Please use the attached PKGBUILD, from now on. |
This task depends upon
Closed by Ionut Biru (wonder)
Sunday, 03 January 2010, 15:09 GMT
Reason for closing: Fixed
Additional comments about closing: in 0.9.21-1
Sunday, 03 January 2010, 15:09 GMT
Reason for closing: Fixed
Additional comments about closing: in 0.9.21-1
PKGBUILD
About the /etc/pulse question, there's no error: in ./configure I specify --sysconfdir=/etc and when 'make install' is executed, it gets created (quite obviously: it copies there default.pa, client.conf and the rest). So the echo line will work. If you don't even get /etc/pulse created, then you definitely have issues with your PKGBUILD/build system.
What kind of error are you getting? And again, are you using a clean chroot? Are you on i686 or on x86_64?
I'm tempted to close this bug again, you still don't explain what are your problems, and give no details about your setup.
The building error is listed in the attached text file. I've not been using a clean 'chroot', because I want to avoid building with root privileges; you're welcome to let me know how I can get around this. I'm on an 'i686' machine and all of my other packages build correctly.
By the way, there's nothing wrong in building as root if using mkarchroot/makechrootpkg, which ensures nothing gets out of it. This is especially true if you rebuild a package you probably also installed in binary form, which could have any instruction in .install files :)
also you might want to add -fno-strict-aliasing to CFLAGS to fix warnings about: "dereferencing pointer $something does break strict-aliasing rules"
[root@forty-two ~]# grep LDFLAGS /home/bardo/tu/chroot/root/etc/makepkg.conf
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
Works like a charm, on both architectures.
Is there a real need to remove strict aliasing or is it just a cosmetic option? Because if it only suppresses the warnings, then I'd prefer to keep it turned on, I don't want to hide anything in the build process.
FS#15189