[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811238: FTBFS: error: ld returned 1 exit status



Martin Michlmayr wrote:
> > --- libutil-freebsd.so.9 ---
> > building shared library libutil-freebsd.so.9
> > fparseln.So: In function `fparseln':
> > /<<PKGBUILDDIR>>/lib/libutil/fparseln.c:115: warning: This functions cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008.
> > collect2: error: ld returned 1 exit status
> > *** [libutil-freebsd.so.9] Error code 1

The package build unfortunately does not show the linker invocation,
but here it is:

| cc -fstack-protector -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libutil-freebsd.so.9 -Wl,-soname,libutil-freebsd.so.9 auth.So expand_number.So fparseln.So gr_util.So hexdump.So humanize_number.So login_class.So pidfile.So stub.So trimdomain.So uucplock.So login_cap.So flopen.So _secure_path.So -lbsd -lfreebsd-glue
| fparseln.So: In function `fparseln':
| lib/libutil/fparseln.c:115: warning: This functions cannot be safely ported, use getline(3) instead, as it is supported by GNU and POSIX.1-2008.
| collect2: error: ld returned 1 exit status

The warning is fatal due to -Wl,--fatal-warnings, and is coming from
libbsd-dev;  this should be fairly straightforward to fix.

Thanks for the report,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: