All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv
@ 2019-07-11  6:23 bugzilla at busybox.net
  2019-07-12 18:52 ` [Buildroot] [Bug 12031] " bugzilla at busybox.net
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-11  6:23 UTC (permalink / raw)
  To: buildroot

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

            Bug ID: 12031
              Host: i386
             Build: amd64 Linux
           Summary: Build of cups-filters fails while linking, apparently
                    due to missing libiconv
           Product: buildroot
           Version: 2019.05.1
          Hardware: All
                OS: Linux
            Status: NEW
          Keywords: link-failure
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: jakobcornell at gmail.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

The command `make` fails with the following output:

[7m>>> cups-filters 1.21.3 Building[27m
PATH="/home/jakob/buildroot-2019.05.1/output/host/bin:/home/jakob/buildroot-2019.05.1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/jakob/.cargo/bin"
 /usr/bin/make -j3  -C
/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3/
make[1]: Entering directory
'/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3'
/usr/bin/make  all-am
make[2]: Entering directory
'/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3'
sed -e "s/Braille transcription/Additional Braille transcription (2)/" \
    -e "s/^  \\*Choice /  Choice /" \
    -e "s/^  Choice \"HyphLocale\//  *Choice \"HyphLocale\//" \
    -e s/LibLouis/LibLouis2/ \
    < filter/braille/filters/liblouis1.defs >
filter/braille/filters/liblouis2.defs
sed -e "s/Braille transcription/Additional Braille transcription (3)/" \
    -e "s/^  \\*Choice /  Choice /" \
    -e "s/^  Choice \"None\//  *Choice \"None\//" \
    -e s/LibLouis/LibLouis3/ \
    < filter/braille/filters/liblouis1.defs >
filter/braille/filters/liblouis3.defs
  CCLD     texttotext
sed -e "s/Braille transcription/Additional Braille transcription (4)/" \
    -e "s/^  \\*Choice /  Choice /" \
    -e "s/^  Choice \"None\//  *Choice \"None\//" \
    -e s/LibLouis/LibLouis4/ \
    < filter/braille/filters/liblouis1.defs >
filter/braille/filters/liblouis4.defs
/home/jakob/buildroot-2019.05.1/output/host/lib/gcc/i686-buildroot-linux-uclibc/7.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld:
texttotext-texttotext.o: in function `main':
texttotext.c:(.text.startup+0xdf3): undefined reference to `libiconv_open'
/home/jakob/buildroot-2019.05.1/output/host/lib/gcc/i686-buildroot-linux-uclibc/7.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld:
texttotext.c:(.text.startup+0xfb0): undefined reference to `libiconv'
/home/jakob/buildroot-2019.05.1/output/host/lib/gcc/i686-buildroot-linux-uclibc/7.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld:
texttotext.c:(.text.startup+0xfe9): undefined reference to `libiconv'
/home/jakob/buildroot-2019.05.1/output/host/lib/gcc/i686-buildroot-linux-uclibc/7.4.0/../../../../i686-buildroot-linux-uclibc/bin/ld:
texttotext.c:(.text.startup+0x16eb): undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
Makefile:2541: recipe for target 'texttotext' failed
make[2]: *** [texttotext] Error 1
make[2]: Leaving directory
'/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3'
Makefile:1968: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory
'/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3'
package/pkg-generic.mk:238: recipe for target
'/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3/.stamp_built'
failed
make: ***
[/home/jakob/buildroot-2019.05.1/output/build/cups-filters-1.21.3/.stamp_built]
Error 2

My Buildroot config is attached. I'm using uClibc in the toolchain, and
libiconv is selected as a dependency in the target package list.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
@ 2019-07-12 18:52 ` bugzilla at busybox.net
  2019-07-18 20:34 ` bugzilla at busybox.net
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-12 18:52 UTC (permalink / raw)
  To: buildroot

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

--- Comment #1 from jakobcornell at gmail.com ---
I've enabled Iconv in the uClibc config as well and done a clean build. The
same error appears.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
  2019-07-12 18:52 ` [Buildroot] [Bug 12031] " bugzilla at busybox.net
@ 2019-07-18 20:34 ` bugzilla at busybox.net
  2019-07-19  4:25 ` bugzilla at busybox.net
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-18 20:34 UTC (permalink / raw)
  To: buildroot

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

Carlos Santos <unixmania@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at buildroot.uclibc |unixmania at gmail.com
                   |.org                        |

--- Comment #2 from Carlos Santos <unixmania@gmail.com> ---
Please run the following commands

    $ make savedefconfig BR2_DEFCONFIG=/tmp/bz12031.defconfig
    $ gzip /tmp/bz12031.defconfig

Then attach the resulting /tmp/bz12046.defconfig.gz file to this bug.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
  2019-07-12 18:52 ` [Buildroot] [Bug 12031] " bugzilla at busybox.net
  2019-07-18 20:34 ` bugzilla at busybox.net
@ 2019-07-19  4:25 ` bugzilla at busybox.net
  2019-07-19 17:11 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-19  4:25 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from jakobcornell at gmail.com ---
Created attachment 8161
  --> https://bugs.busybox.net/attachment.cgi?id=8161&action=edit
requested config

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2019-07-19  4:25 ` bugzilla at busybox.net
@ 2019-07-19 17:11 ` bugzilla at busybox.net
  2019-07-19 18:56 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-19 17:11 UTC (permalink / raw)
  To: buildroot

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

jakobcornell at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #8161|requested config            |incorrect config - do not
        description|                            |use
   Attachment #8161|0                           |1
        is obsolete|                            |

--- Comment #4 from jakobcornell at gmail.com ---
Comment on attachment 8161
  --> https://bugs.busybox.net/attachment.cgi?id=8161
incorrect config - do not use

I'd changed some config parameters since getting the issue, so this config
doesn't cause the error. Stay tuned for the proper config.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2019-07-19 17:11 ` bugzilla at busybox.net
@ 2019-07-19 18:56 ` bugzilla at busybox.net
  2019-07-22  6:52 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-19 18:56 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from jakobcornell at gmail.com ---
Created attachment 8166
  --> https://bugs.busybox.net/attachment.cgi?id=8166&action=edit
Buildroot config

Here's the original config which causes the issue.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2019-07-19 18:56 ` bugzilla at busybox.net
@ 2019-07-22  6:52 ` bugzilla at busybox.net
  2019-07-22  7:16 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-22  6:52 UTC (permalink / raw)
  To: buildroot

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

jakobcornell at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor

--- Comment #6 from jakobcornell at gmail.com ---
I've worked around the problem for now by adding `-liconv` to the `CUPS_LIBS`
definition in `output/build/cups-filters-1.21.3/Makefile`. But I wonder how one
would go about patching this so the dependency is used automatically under a
uClibc toolchain.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2019-07-22  6:52 ` bugzilla at busybox.net
@ 2019-07-22  7:16 ` bugzilla at busybox.net
  2019-07-22  7:35 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-22  7:16 UTC (permalink / raw)
  To: buildroot

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

--- Comment #7 from Carlos Santos <unixmania@gmail.com> ---
(In reply to jakobcornell from comment #6)

A patch fixing the problem was submitted:

    https://patchwork.ozlabs.org/patch/1134738/

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2019-07-22  7:16 ` bugzilla at busybox.net
@ 2019-07-22  7:35 ` bugzilla at busybox.net
  2019-07-22 11:05 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-22  7:35 UTC (permalink / raw)
  To: buildroot

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

jakobcornell at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #8 from jakobcornell at gmail.com ---
Great, thanks!

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2019-07-22  7:35 ` bugzilla at busybox.net
@ 2019-07-22 11:05 ` bugzilla at busybox.net
  2019-07-22 20:59 ` bugzilla at busybox.net
  2019-09-21 17:09 ` bugzilla at busybox.net
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-22 11:05 UTC (permalink / raw)
  To: buildroot

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

Carlos Santos <unixmania@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #9 from Carlos Santos <unixmania@gmail.com> ---
Reopening, since the patch was not committed yet, just submitted for review.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (8 preceding siblings ...)
  2019-07-22 11:05 ` bugzilla at busybox.net
@ 2019-07-22 20:59 ` bugzilla at busybox.net
  2019-09-21 17:09 ` bugzilla at busybox.net
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-07-22 20:59 UTC (permalink / raw)
  To: buildroot

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

jakobcornell at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Alias|build, cups-filters,        |
                   |failure:, libiconv          |

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] [Bug 12031] Build of cups-filters fails while linking, apparently due to missing libiconv
  2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
                   ` (9 preceding siblings ...)
  2019-07-22 20:59 ` bugzilla at busybox.net
@ 2019-09-21 17:09 ` bugzilla at busybox.net
  10 siblings, 0 replies; 12+ messages in thread
From: bugzilla at busybox.net @ 2019-09-21 17:09 UTC (permalink / raw)
  To: buildroot

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

Carlos Santos <unixmania@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #10 from Carlos Santos <unixmania@gmail.com> ---
Fixed by https://patchwork.ozlabs.org/patch/1164349/

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-09-21 17:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-11  6:23 [Buildroot] [Bug 12031] New: Build of cups-filters fails while linking, apparently due to missing libiconv bugzilla at busybox.net
2019-07-12 18:52 ` [Buildroot] [Bug 12031] " bugzilla at busybox.net
2019-07-18 20:34 ` bugzilla at busybox.net
2019-07-19  4:25 ` bugzilla at busybox.net
2019-07-19 17:11 ` bugzilla at busybox.net
2019-07-19 18:56 ` bugzilla at busybox.net
2019-07-22  6:52 ` bugzilla at busybox.net
2019-07-22  7:16 ` bugzilla at busybox.net
2019-07-22  7:35 ` bugzilla at busybox.net
2019-07-22 11:05 ` bugzilla at busybox.net
2019-07-22 20:59 ` bugzilla at busybox.net
2019-09-21 17:09 ` bugzilla at busybox.net

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.