Arch Linux

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!
Tasklist

FS#36230 - [habak] Fails to link.

Attached to Project: Arch Linux
Opened by Mike Brown (xenoxaos) - Sunday, 21 July 2013, 15:17 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 06 July 2015, 04:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
attempt to build

==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading habak-0.2.5.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 28747 100 28747 0 0 33337 0 --:--:-- --:--:-- --:--:-- 33310
==> Validating source files with md5sums...
habak-0.2.5.tar.gz ... Passed
==> Extracting sources...
-> Extracting habak-0.2.5.tar.gz with bsdtar
==> Starting build()...
make -C src
make[1]: Entering directory `/build/tmp/abs/extra/habak/src/habak-0.2.5/src'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/X11R6/include -Wall -c xcore.c -o xcore.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/X11R6/include -Wall -c random.c -o random.o
gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -I/usr/X11R6/include -Wall -c habak.c -o habak.o
habak.c: In function 'main':
habak.c:564:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
while (multxt10=strchr(multxt,10)) {
^
gcc -Wl,-O1/,-z,relro -L/usr/X11R6/lib -lImlib2 -lm -o habak xcore.o random.o habak.o
/usr/bin/ld: xcore.o: undefined reference to symbol 'XSetWindowBackgroundPixmap'
/usr/bin/ld: note: 'XSetWindowBackgroundPixmap' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [habak] Error 1
make[1]: Leaving directory `/build/tmp/abs/extra/habak/src/habak-0.2.5/src'
make: *** [all] Error 2
==> ERROR: A failure occurred in bu
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 06 July 2015, 04:24 GMT
Reason for closing:  No response
Comment by Ashley Whetter (AWhetter) - Wednesday, 24 July 2013, 20:13 GMT
Attached a patch for the source and PKGBUILD that fixes this.
The project doesn't seem to exist any more though, and the project site leads to a Russian website.
Comment by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 04:15 GMT
Fixed in habak 0.2.5-5?

Loading...