All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 9341] New: avahi-utils does not compile with uClibc + libglib2
Date: Mon, 10 Oct 2016 15:34:19 +0000	[thread overview]
Message-ID: <bug-9341-163@https.bugs.busybox.net/> (raw)

https://bugs.busybox.net/show_bug.cgi?id=9341

            Bug ID: 9341
           Summary: avahi-utils does not compile with uClibc + libglib2
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: johan.oudinet at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Created attachment 6746
  --> https://bugs.busybox.net/attachment.cgi?id=6746&action=edit
rpi2_avahi_dbus_libglib2_defconfig

When compiling the avahi package in both buildroot 2016.08 and master (from
Today), I get the following error message:
------8<------8<------8<------8<------8<------8<------
Making all in avahi-utils
  CC       avahi_browse-avahi-browse.o
  CC       avahi_browse-sigint.o
  CC       avahi_resolve-avahi-resolve.o
  CC       avahi_resolve-sigint.o
  CC       avahi_publish-avahi-publish.o
  CC       avahi_set_host_name-avahi-set-host-name.o
  CC       avahi_publish-sigint.o
  CC       avahi_set_host_name-sigint.o
  CCLD     avahi-set-host-name
  CCLD     avahi-resolve
  CCLD     avahi-publish
  CCLD     avahi-browse
/home/johan/Documents/buildroot/output/host/usr/lib/gcc/arm-buildroot-linux-uclibcgnueabihf/5.4.0/../../../../arm-buildroot-linux-uclibcgnueabihf/bin/ld:
avahi_set_host_name-avahi-set-host-name.o: undefined reference to symbol
'libintl_dgettext'
/home/johan/Documents/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libintl.so.8:
error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:632: recipe for target 'avahi-set-host-name' failed
------8<------8<------8<------8<------8<------8<------

To reproduce this bug, start from the defconfig for RPI 2
(raspberrypi2_defconfig), then select dbus, libglib2, avahi, and avahi-daemon
(or use the attached defconfig).

Note, a workaround is to also select BR2_TOOLCHAIN_BUILDROOT_LOCALE. So,
avahi.mk adds libintl since BR2_NEEDS_GETTEXT_IF_LOCALE is defined.

I don't know how to solve this issue properly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2016-10-10 15:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-10 15:34 bugzilla at busybox.net [this message]
2016-10-11  9:42 ` [Buildroot] [Bug 9341] avahi-utils does not compile with uClibc + libglib2 bugzilla at busybox.net
2017-07-15  9:33 ` bugzilla at busybox.net

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-9341-163@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.