First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 179280
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Maurice van der Pot <griffon26@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mDNSResponder-107.6-debug-Makefiles.diff mDNSResponder-107.6-debug-Makefiles.diff patch KOVACS Tamas 2007-07-16 00:25 0000 321 bytes Details | Diff
mDNSResponder-107.6-r6.ebuild mDNSResponder-107.6-r6.ebuild text/plain KOVACS Tamas 2007-07-16 00:30 0000 3.54 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 179280 depends on: Show dependency tree
Bug 179280 blocks: 176297
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-05-20 22:29 0000
The reason for it seems to be that the build looks for the dns_sd in
../mDNSPosix/build/prod/ while it has just been created in
../mDNSPosix/build/debug/ (see below).
Building without the debug use flag works without problems.

Responder daemon done
i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall
-DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\"
-DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 
-march=pentium4 -O2 -pipe -g -fstack-protector -c -fPIC -o
objects/debug/dnssd_clientlib.c.so.o ../mDNSShared/dnssd_clientlib.c
i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall
-DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\"
-DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 
-march=pentium4 -O2 -pipe -g -fstack-protector -c -fPIC -o
objects/debug/dnssd_clientstub.c.so.o ../mDNSShared/dnssd_clientstub.c
i686-pc-linux-gnu-gcc -I. -I../mDNSCore -I../mDNSShared -W -Wall
-DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\"
-DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -g -DMDNS_DEBUGMSGS=2 
-march=pentium4 -O2 -pipe -g -fstack-protector -c -fPIC -o
objects/debug/dnssd_ipc.c.so.o ../mDNSShared/dnssd_ipc.c
build/debug/libdns_sd.so
Client library done
make[1]: Entering directory
`/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work/mDNSResponder-107.6/Clients'
mkdir build
cc dns-sd.c -L../mDNSPosix/build/prod/ -ldns_sd -I../mDNSShared -o build/dns-sd
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -ldns_sd
collect2: ld returned 1 exit status
make[1]: *** [build/dns-sd] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/work/mDNSResponder-107.6/Clients'
make: *** [../Clients/build/dns-sd] Error 2

!!! ERROR: net-misc/mDNSResponder-107.6-r5 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mDNSResponder-107.6-r5.ebuild, line 46:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/net-misc/mDNSResponder-107.6-r5/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info

------- Comment #1 From Marcin Gryszkalis 2007-06-01 17:25:31 0000 -------
Confirming, without debug builds ok, with debug fails on linking with dns_sd

------- Comment #2 From Marcus D. Hanwell 2007-07-15 17:35:52 0000 -------
Looks like this will require the build system files to be patched. Anyone have
the time to do the honours?

------- Comment #3 From KOVACS Tamas 2007-07-16 00:25:32 0000 -------
Created an attachment (id=124978) [details]
Fixing object directory in case of building with debug

------- Comment #4 From KOVACS Tamas 2007-07-16 00:28:16 0000 -------
(From update of attachment 124978 [details])
Fixing object directory in case of building with debug

------- Comment #5 From KOVACS Tamas 2007-07-16 00:30:42 0000 -------
Created an attachment (id=124979) [details]
Updated ebuild, integrating mDNSResponder-107.6-debug-Makefiles.diff

------- Comment #6 From KOVACS Tamas 2007-07-16 00:32:28 0000 -------
(From update of attachment 124979 [details])
mDNSResponder-107.6-r6.ebuild

Updated ebuild, integrating mDNSResponder-107.6-debug-Makefiles.diff

------- Comment #7 From KOVACS Tamas 2007-07-16 00:40:23 0000 -------
On a second thought, you might want to overwrite -r5 instead of adding -r6,
sparing a rebuild for those who built it with -debug, they are not affected by
the update anyways.

And feel free to flame me about the submission screwups or the submissions
themselves, I'm new.

------- Comment #8 From Marcus D. Hanwell 2007-07-17 18:52:53 0000 -------
Diffs to the existing ebuild are far more useful than posting the whole ebuild.
We are mostly interested in what you have changed and can apply the patch
ourselves. I will look into this shortly and look at integrating it. Thanks for
taking the time to work on this - much appreciated :)

------- Comment #9 From Marcus D. Hanwell 2007-07-20 20:24:01 0000 -------
Thanks for the patches - went with a slight variant but it seems to work well
and should be easier to maintain using a sed statement. Ideally the Makefile
should be patched in a form that could be applied upstream...

------- Comment #10 From Michal Suchanek 2007-09-06 21:00:20 0000 -------
still does not work for me

First Last Prev Next    No search results available      Search page      Enter new bug