Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225413 - [gcc-4.3] sys-fs/lufs-0.9.7-r3 fails to compile with gcc-4.3
Summary: [gcc-4.3] sys-fs/lufs-0.9.7-r3 fails to compile with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-06-08 18:18 UTC by Marek Miller
Modified: 2008-06-29 12:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
lufs-0.9.7-gcc43.patch (lufs-0.9.7-gcc43.patch,877 bytes, patch)
2008-06-08 18:19 UTC, Marek Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Miller 2008-06-08 18:18:59 UTC
Again missing headers.

Steps to reproduce:
1. USE="debug" emerge -v1 =sys-fs/lufs-0.9.7-r3

The error messages:
1. 
> ftplib.cpp: In member function 'int FTPConnection::connect()':
> ftplib.cpp:93: error: 'memset' was not declared in this scope
> ftplib.cpp:98: error: 'memcpy' was not declared in this scope

	
2.
> ftpfs.cpp: In member function 'int FTPFS::do_mount()':
> ftpfs.cpp:218: error: 'strcmp' was not declared in this scope
> ftpfs.cpp: In member function 'int FTPFS::do_readlink(char*, char*, int)':
> ftpfs.cpp:350: error: 'strlen' was not declared in this scope

3.
> sftplib.cpp: In member function 'int SConnection::connect(char*, char*, int)':
> sftplib.cpp:192: error: 'exit' was not declared in this scope

> sftplib.cpp: In member function 'std::string SConnection::opendir(char*)':
> sftplib.cpp:414: error: 'strlen' was not declared in this scope

My emerge --info: as in bug 225387.
I include the patch.
Comment 1 Marek Miller 2008-06-08 18:19:33 UTC
Created attachment 155981 [details, diff]
lufs-0.9.7-gcc43.patch
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-29 12:20:56 UTC
+  29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
+  +files/lufs-0.9.7-gcc43.patch, lufs-0.9.7-r3.ebuild:
+  Fix for gcc-4.3 bug #225413, thanks to Marek Miller <mlm@shells.pl>.
+