Hi,
It has been about four years since my last build of (b)lfs. There are
reasons (I went walkabout, and the got a job). I haven't finished yet,
but here are some comments up to now. I have not gone through the
archives to check if any of these issues have been raised. Should any
be of my doing, resolved, reported or otherwise, I sincerely
apologise.
Using LFS-6.7 and blfs-svn-2010-11-13
First some typos:
D-BUS-1.2.16: sed 's/possibly used with/possibly be used with/'
Fcron-3.0.4: sed 's/exiting/existing/'
Xorg Libraries: sed 's/Diable/Disable/'
kdelibs: sed 's/The usual building the API documentation/The usual
building of the API documentation/'
samba: sed 's/pam_winbind.somodule/pam_winbind.so module/'
(The last one is a missing space. On a text browser this is more
immediately evident.)
Other issues in no particular order.
TeTeX: This package is no longer being maintained. There is no problem
as it stands, except that the check aborts because the packaged
sources are more than 5 years old. This is easily hacked. I use LaTex
a lot (I lecture physics) and pretty much everything in TeTeX is still
ok, there is no issue updating style files from CTAN for the odd
package that has since acquired extra functionality (most notably
pstricks). Most distros go with TeXLive. I don't have internet at home
so TeXLive is a bit impractical. I will be investigating a means of
ripping the packaged sources from somewhere. I think the entire bundle
is a dvd's worth, which is also impractical and certainly no needed.
TeXLive is distributed as a xz compressed archive. Perhaps xz and 7z
can get a mention somewhere?
guile: The script that generates the documentation
(snarf-something-or-other) breaks (my note taking is slack, I'll have
the script name on hand if needed tomorrow). I believe some checking
has got stricter. I simply changed the 'error' to a 'display' in the
offending script.
gcc-4.5.1: Does anyone know why this installs
/usr/lib/libstdc++.so.6.0.14-gdb.py? Or maybe I did something wrong. I
ran all the checks in LFS. There was nothing untoward.
tcsh: When running (t)csh it inherits the LS_COLORS variable. If this
is set as in the blfs instructions, the shell won't start because tcsh
doesn't know about mh and ca. I'm sure LS_COLORS will be happy without
them.
QT: When configuring for an sql server, perhaps a hint to look in
qt-$version/plugins/src/sqldrivers is in order.
ghostscript: the --no-same-user option to tar is not recognised. Maybe
try --no-same-owner ?? I did chown -R 0:0. It was quicker than wading
through info tar.
libvpx: doesn't find nasm. Explicitly use --as=nasm
x264 wants yasm. I linked nasm to asm which compiles ok, I haven't got
round to checking if it works yet.
aspell-dict: needs which
kdelibs, kdebase, kdeadmin, kdenetwork: According to the libc
documentation, the strchr function returns (char *). There seems
nothing wrong with the way it is used in some of the files. However to
make gcc-4.5 happy, it needs to be recast explicitly. I attach
patches. There are also some redundant invokations. For kdeadmin sed
-i 's/ListView::ListView/ListView/' kpackage/packageDisplay.cpp works.
For the others this is more dangerous as a sed will break the
declarations (see patches).
kdebase wants xmkmf and imake. I needed to install
xorg/util/{imake,xorg-cf-files} to appease this one.
Kind regards,
Allard.
diff -Naur kdebase-3.5.10-orig/kcontrol/kfontinst/kfontinst/Fontmap.cpp kdebase-3.5.10/kcontrol/kfontinst/kfontinst/Fontmap.cpp
--- kdebase-3.5.10-orig/kcontrol/kfontinst/kfontinst/Fontmap.cpp 2006-01-19 19:00:49.000000000 +0200
+++ kdebase-3.5.10/kcontrol/kfontinst/kfontinst/Fontmap.cpp 2010-11-14 22:04:41.000000000 +0200
@@ -65,13 +65,13 @@
char a[constMaxLen+1],
b[constFileMaxLen+1];
- char *slash1=strchr(line, '/'),
+ char *slash1=(char*)strchr(line, '/'),
*space1=slash1 ? findSpace(slash1) : NULL, //strchr(slash1, ' ') : NULL,
- *ob=slash1 ? strchr(slash1, '(') : NULL,
- *cb=ob ? strchr(ob, ')') : NULL,
- *slash2=space1 && !ob && !cb ? strchr(space1, '/') : NULL,
+ *ob=slash1 ? (char*)strchr(slash1, '(') : NULL,
+ *cb=ob ? (char*)strchr(ob, ')') : NULL,
+ *slash2=space1 && !ob && !cb ? (char*)strchr(space1, '/') : NULL,
*space2=slash2 ? findSpace(slash2) : NULL, // strchr(slash2, ' ') : NULL,
- *semic=cb || space2 ? strchr(cb ? cb : space2, ';') : NULL;
+ *semic=cb || space2 ? (char*)strchr(cb ? cb : space2, ';') : NULL;
if(semic && space1-slash1<constMaxLen)
{
diff -Naur kdelibs-3.5.10-orig/kate/part/katehighlight.cpp kdelibs-3.5.10/kate/part/katehighlight.cpp
--- kdelibs-3.5.10-orig/kate/part/katehighlight.cpp 2007-05-14 09:52:27.000000000 +0200
+++ kdelibs-3.5.10/kate/part/katehighlight.cpp 2010-11-14 21:14:59.000000000 +0200
@@ -3225,7 +3225,7 @@
list.append(charAttribute);
KateAttribute* string = new KateAttribute();
- string->setTextColor(QColor::QColor("#D00"));
+ string->setTextColor(QColor("#D00"));
string->setSelectedTextColor(Qt::red);
list.append(string);
@@ -3242,9 +3242,9 @@
KateAttribute* alert = new KateAttribute();
alert->setTextColor(Qt::black);
- alert->setSelectedTextColor( QColor::QColor("#FCC") );
+ alert->setSelectedTextColor( QColor("#FCC") );
alert->setBold(true);
- alert->setBGColor( QColor::QColor("#FCC") );
+ alert->setBGColor( QColor("#FCC") );
list.append(alert);
KateAttribute* functionAttribute = new KateAttribute();
diff -Naur kdelibs-3.5.10-orig/kioslave/ftp/ftp.cc kdelibs-3.5.10/kioslave/ftp/ftp.cc
--- kdelibs-3.5.10-orig/kioslave/ftp/ftp.cc 2008-08-19 20:18:12.000000000 +0200
+++ kdelibs-3.5.10/kioslave/ftp/ftp.cc 2010-11-14 21:14:09.000000000 +0200
@@ -876,9 +876,9 @@
// The usual answer is '227 Entering Passive Mode. (160,39,200,55,6,245)'
// but anonftpd gives '227 =160,39,200,55,6,245'
int i[6];
- char *start = strchr(ftpResponse(3), '(');
+ char *start = (char*)strchr(ftpResponse(3), '(');
if ( !start )
- start = strchr(ftpResponse(3), '=');
+ start = (char*)strchr(ftpResponse(3), '=');
if ( !start ||
( sscanf(start, "(%d,%d,%d,%d,%d,%d)",&i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6 &&
sscanf(start, "=%d,%d,%d,%d,%d,%d", &i[0], &i[1], &i[2], &i[3], &i[4], &i[5]) != 6 ) )
@@ -931,7 +931,7 @@
return ERR_INTERNAL;
}
- char *start = strchr(ftpResponse(3), '|');
+ char *start = (char*)strchr(ftpResponse(3), '|');
if ( !start || sscanf(start, "|||%d|", &portnum) != 1)
return ERR_INTERNAL;
diff -Naur kdenetwork-3.5.10-orig/kopete/kopete/chatwindow/krichtexteditpart.cpp kdenetwork-3.5.10/kopete/kopete/chatwindow/krichtexteditpart.cpp
--- kdenetwork-3.5.10-orig/kopete/kopete/chatwindow/krichtexteditpart.cpp 2010-11-14 23:04:07.000000000 +0200
+++ kdenetwork-3.5.10/kopete/kopete/chatwindow/krichtexteditpart.cpp 2010-11-14 23:08:31.000000000 +0200
@@ -38,7 +38,7 @@
KopeteRichTextEditPart::KopeteRichTextEditPart( QWidget *wparent, const char *wname, QObject*, const char*, const QStringList& )
: KParts::ReadOnlyPart( wparent, wname ? wname : "rich_text_part" )
{
- KopeteRichTextEditPart::KopeteRichTextEditPart( wparent, wname, false );
+ KopeteRichTextEditPart( wparent, wname, false );
}
KopeteRichTextEditPart::KopeteRichTextEditPart( QWidget *parent, const char *name, int capabilities )
diff -Naur kdenetwork-3.5.10-orig/kopete/kopete/contactlist/kopetegroupviewitem.cpp kdenetwork-3.5.10/kopete/kopete/contactlist/kopetegroupviewitem.cpp
--- kdenetwork-3.5.10-orig/kopete/kopete/contactlist/kopetegroupviewitem.cpp 2005-09-10 10:20:25.000000000 +0200
+++ kdenetwork-3.5.10/kopete/kopete/contactlist/kopetegroupviewitem.cpp 2010-11-14 23:09:43.000000000 +0200
@@ -169,7 +169,7 @@
// the sorting itself is rather slow. Therefore we call delayedSort, which tries
// to group multiple sort requests into one.
using namespace Kopete::UI::ListView;
- if ( ListView::ListView *lv = dynamic_cast<ListView::ListView *>( listView() ) )
+ if ( ListView *lv = dynamic_cast<ListView *>( listView() ) )
lv->delayedSort();
else
listView()->sort();
diff -Naur kdenetwork-3.5.10-orig/kopete/protocols/groupwise/libgroupwise/rtf.cc kdenetwork-3.5.10/kopete/protocols/groupwise/libgroupwise/rtf.cc
--- kdenetwork-3.5.10-orig/kopete/protocols/groupwise/libgroupwise/rtf.cc 2005-09-10 10:20:20.000000000 +0200
+++ kdenetwork-3.5.10/kopete/protocols/groupwise/libgroupwise/rtf.cc 2010-11-14 23:21:46.000000000 +0200
@@ -2235,7 +2235,7 @@
FontDef& def = p->fonts[m_nFont-1];
- char *pp = strchr(str, ';');
+ char *pp = (char*)strchr(str, ';');
unsigned size;
if (pp != NULL)
size = (pp - str);
diff -Naur kdenetwork-3.5.10-orig/kopete/protocols/groupwise/libgroupwise/rtf.ll kdenetwork-3.5.10/kopete/protocols/groupwise/libgroupwise/rtf.ll
--- kdenetwork-3.5.10-orig/kopete/protocols/groupwise/libgroupwise/rtf.ll 2005-09-10 10:20:20.000000000 +0200
+++ kdenetwork-3.5.10/kopete/protocols/groupwise/libgroupwise/rtf.ll 2010-11-14 23:17:17.000000000 +0200
@@ -570,7 +570,7 @@
FontDef& def = p->fonts[m_nFont-1];
- char *pp = strchr(str, ';');
+ char *pp = (char*)strchr(str, ';');
unsigned size;
if (pp != NULL)
size = (pp - str);
diff -Naur kdenetwork-3.5.10-orig/kopete/protocols/oscar/liboscar/rtf.cc kdenetwork-3.5.10/kopete/protocols/oscar/liboscar/rtf.cc
--- kdenetwork-3.5.10-orig/kopete/protocols/oscar/liboscar/rtf.cc 2005-09-10 10:20:23.000000000 +0200
+++ kdenetwork-3.5.10/kopete/protocols/oscar/liboscar/rtf.cc 2010-11-14 23:30:25.000000000 +0200
@@ -2131,7 +2131,7 @@
FontDef& def = p->fonts[m_nFont-1];
- char *pp = strchr(str, ';');
+ char *pp = (char*)strchr(str, ';');
unsigned size;
if (pp != NULL)
size = (pp - str);
diff -Naur kdenetwork-3.5.10-orig/kopete/protocols/oscar/liboscar/rtf.ll kdenetwork-3.5.10/kopete/protocols/oscar/liboscar/rtf.ll
--- kdenetwork-3.5.10-orig/kopete/protocols/oscar/liboscar/rtf.ll 2005-09-10 10:20:23.000000000 +0200
+++ kdenetwork-3.5.10/kopete/protocols/oscar/liboscar/rtf.ll 2010-11-14 23:30:14.000000000 +0200
@@ -568,7 +568,7 @@
FontDef& def = p->fonts[m_nFont-1];
- char *pp = strchr(str, ';');
+ char *pp = (char*)strchr(str, ';');
unsigned size;
if (pp != NULL)
size = (pp - str);
diff -Naur kdenetwork-3.5.10-orig/kopete/protocols/testbed/testbedaccount.h kdenetwork-3.5.10/kopete/protocols/testbed/testbedaccount.h
--- kdenetwork-3.5.10-orig/kopete/protocols/testbed/testbedaccount.h 2006-10-01 19:26:55.000000000 +0200
+++ kdenetwork-3.5.10/kopete/protocols/testbed/testbedaccount.h 2010-11-14 23:12:37.000000000 +0200
@@ -59,7 +59,7 @@
/**
* 'Connect' to the testbed server. Only sets myself() online.
*/
- virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus::OnlineStatus() );
+ virtual void connect( const Kopete::OnlineStatus& initialStatus = Kopete::OnlineStatus() );
/**
* Disconnect from the server. Only sets myself() offline.
*/
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page