Fwd: ERRORS: xbelld.spec
Lukasz Glebicki
lukaszgl at post.pl
Wed Jun 5 16:40:09 CEST 2013
Why this package is not able to link on builders?
I suppose a flag "--as-needed", but my personal builder, which is up to date,
can build this.
Regards,
---------- Forwarded Message ----------
Subject: ERRORS: xbelld.spec
Date: Tuesday 04 of June 2013, 14:31:09
From: PLD th-x86_64 builder <builder-th-amd at pld-linux.org>
To: lukaszgl at post.pl
CC: pld-logs-th at lists.pld-linux.org
xbelld.spec (HEAD): FAILED
--- xbelld.spec:HEAD:
Build-Time: user:1.35s sys:0.10s real:2.36s (faults io:0 non-io:99186)
*** buildlog for xbelld.spec
request from: blekot
checking if we should skip the build
started at: Tue Jun 4 16:31:06 2013
fetching http://src.th.pld-linux.org//srpms/4cb80c46-bbc6-40ce-bab7-5de94e3b99b7/xbelld-0.3.4-1.src.rpm
fetched 18698 bytes, 97.7 K/s
installing srpm: xbelld-0.3.4-1.src.rpm
+ install -d /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/RPMS
+ rpm -Uhv --nodeps --define '_topdir /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355' --define '_specdir %{_topdir}' --define
'_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define
'_builddir %{_topdir}/BUILD' xbelld-0.3.4-1.src.rpm
Preparing... ##################################################
xbelld ##################################################
+ rm -f xbelld-0.3.4-1.src.rpm
+ install -m 700 -d /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/tmp
+ TMPDIR=/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/tmp
+ exec nice -n 0 rpmbuild -bp --short-circuit --nodeps --define '_topdir
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355' --define '_specdir %{_topdir}' --
define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define
'_builddir %{_topdir}/BUILD' --target x86_64-pld-linux --define 'prep exit 0'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/xbelld.spec
Building target platforms: x86_64-pld-linux
checking BuildConflict-ing packages
no BuildConflicts found
checking BR
rpm: Building target platforms: x86_64-pld-linux
no BR needed
building RPM using: set -ex; : build-id: 4cb80c46-bbc6-40ce-bab7-5de94e3b99b7;
TMPDIR=/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/tmp exec nice -n 0
rpmbuild -bb --define '_smp_mflags -j5' --define '_topdir /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355' --define '_specdir %{_topdir}' --define
'_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define
'_builddir %{_topdir}/BUILD' --target x86_64-pld-linux /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/xbelld.spec
+ : build-id: 4cb80c46-bbc6-40ce-bab7-5de94e3b99b7
+ TMPDIR=/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/tmp
+ exec nice -n 0 rpmbuild -bb --define '_smp_mflags -j5' --define '_topdir
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355' --define '_specdir %{_topdir}' --
define '_sourcedir %{_specdir}' --define '_rpmdir %{_topdir}/RPMS' --define
'_builddir %{_topdir}/BUILD' --target x86_64-pld-linux /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/xbelld.spec
Building target platforms: x86_64-pld-linux
Executing(%prep): /bin/sh -e /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/BUILD/tmp/rpm-tmp.5321
+ umask 022
+ cd /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD
+ cd /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD
+ rm -rf xbelld-0.3.4
+ /usr/bin/bzip2 -dc /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/xbelld-0.3.4.tbz2
+ /bin/tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd xbelld-0.3.4
+ /bin/id -u
+ [ 1000 = 0 ]
+ /bin/id -u
+ [ 1000 = 0 ]
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/BUILD/tmp/rpm-tmp.5321
+ umask 022
+ cd /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD
+ cd xbelld-0.3.4
+ /usr/bin/make -j5 CFLAGS=-O2 -fwrapv -pipe -Wformat -Werror=format-security
-gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2 -Wp,-
D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fPIC -
march=x86-64 -gdwarf-4 -fno-debug-types-section -fvar-tracking-assignments -g2
-Wall -DVERSION=\"0.3.4\" -DHAVE_ALSA LDFLAGS=-Wl,--as-needed -Wl,--no-copy-
dt-needed-entries -Wl,-z,relro -Wl,-z,combreloc -lm
cc -c -O2 -fwrapv -pipe -Wformat -Werror=format-security -gdwarf-4 -fno-debug-
types-section -fvar-tracking-assignments -g2 -Wp,-D_FORTIFY_SOURCE=2 -fstack-
protector --param=ssp-buffer-size=4 -fPIC -march=x86-64 -gdwarf-4 -fno-debug-
types-section -fvar-tracking-assignments -g2 -Wall -DVERSION=\"0.3.4\" -
DHAVE_ALSA xbelld.c -o xbelld.o
cc -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-z,relro -Wl,-
z,combreloc -lm -lX11 -lasound xbelld.o -o xbelld
xbelld.o: In function `playSineWave':
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:452:
undefined reference to `snd_pcm_open'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:459:
undefined reference to `snd_pcm_set_params'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:471:
undefined reference to `snd_pcm_frames_to_bytes'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:488:
undefined reference to `sin'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:501:
undefined reference to `snd_pcm_writei'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:517:
undefined reference to `snd_pcm_drain'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:518:
undefined reference to `snd_pcm_close'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:503:
undefined reference to `snd_pcm_recover'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:507:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:522:
undefined reference to `snd_pcm_close'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:467:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:455:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:472:
undefined reference to `snd_pcm_frames_to_bytes'
xbelld.o: In function `playSoundBuffer':
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:541:
undefined reference to `snd_pcm_open'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:548:
undefined reference to `snd_pcm_set_params'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:558:
undefined reference to `snd_pcm_bytes_to_frames'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:560:
undefined reference to `snd_pcm_writei'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:574:
undefined reference to `snd_pcm_drain'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:575:
undefined reference to `snd_pcm_close'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:554:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:579:
undefined reference to `snd_pcm_close'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:544:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:562:
undefined reference to `snd_pcm_recover'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:566:
undefined reference to `snd_strerror'
xbelld.o: In function `playSoundFile':
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:609:
undefined reference to `snd_pcm_open'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:616:
undefined reference to `snd_pcm_set_params'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:636:
undefined reference to `snd_pcm_bytes_to_frames'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:639:
undefined reference to `snd_pcm_writei'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:654:
undefined reference to `snd_pcm_drain'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:655:
undefined reference to `snd_pcm_close'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:641:
undefined reference to `snd_pcm_recover'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:645:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:660:
undefined reference to `snd_pcm_close'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:612:
undefined reference to `snd_strerror'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:622:
undefined reference to `snd_strerror'
xbelld.o: In function `main':
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:271:
undefined reference to `XkbOpenDisplay'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:304:
undefined reference to `XGetKeyboardControl'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:320:
undefined reference to `XkbSelectEvents'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:342:
undefined reference to `XNextEvent'
/tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD/xbelld-0.3.4/xbelld.c:326:
undefined reference to `XkbChangeEnabledControls'
collect2: error: ld returned 1 exit status
make: *** [xbelld] Error 1
error: Bad exit status from /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/BUILD/tmp/rpm-tmp.5321 (%build)
RPM build errors:
Bad exit status from /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/BUILD/tmp/rpm-tmp.5321 (%build)
ended at: Tue Jun 4 16:31:08 2013, done in 0:00:00.616662
error: No files produced.
+ chmod -R u+rwX /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/BUILD
+ rm -rf /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355/tmp /tmp/B.3034129c-
d55a-418d-8943-0b85a94bd355/BUILD
+ rm -rf /tmp/B.3034129c-d55a-418d-8943-0b85a94bd355
Begin-PLD-Builder-Info
Build-Time: user:1.35s sys:0.10s real:2.36s (faults io:0 non-io:99186)
End-PLD-Builder-Info
-----------------------------------------
--
Łukasz Głębicki mail/rot13:yhxnfmty at cbfg.cy PLD/Linux Team
gg:246267 Linux Registered User #318551 blekot:{irc,skype}
More information about the pld-devel-en
mailing list