Program:KPortage 0.5 for kde 3.0.4 Menu' :Setting -> portage configuration Page :Build option This mask fail in read configuration file /etc/make.conf when the statement CXXFLAGS is 2 lines Statement not cerrectly read CXXFLAGS="-O3 -mcpu=athlon -pipe -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr " I've solved with a statement in one sigle line, but i think is a little bug. This work correttly. CXXFLAGS="-O3 -mcpu=athlon -pipe -fomit-frame-pointer .[cut]...." tanks
kportage is not run by Gentoo ;) root@rux0r exmh # emerge -s kportage Searching... [ Results for search key : kportage ] [ Applications found : 1 ] * app-admin/kportage Latest version available: 0.5 Latest version installed: [ Not Installed ] Homepage: http://www.freesoftware.fsf.org/kportage/ Description: A graphical frontend for portage
still an ebuild issue, though..
fixed in our cvs. thanks for submission. will leave this open until anyone confirmed it works now (would be nice if you try it, more information about our anoncvs can be found at http://savannah.nongnu.org/cvs/?group=kportage ).
this is fixed in kportage-0.5.1, please test and if it works for you, please mark this bug as resolved fixed.
now kportage-0.5.1-r1 is out, which should fix any conf problems. would be nice to hear if this works for you.
Sorry , for me kportage-0.5.1-r1 does not work correctly the error is not the same, but is similar.... This is my file make.conf #------------------------------------ USE="3dnow alsa apm arts avi berkdb crypt cups doc dvd encode fbcon gdbm gif gnome gpm gtk imap imlib innodb java jpeg kde kerberos libg++ libwww maildir mbox mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis odbc opengl oss pam pdflib perl png postgres python qt qtmt quicktime readline ruby samba sdl slang slp spell ssl svga tcltk tcpd tetex tiff truetype X x86 xml2 xmms xv zlib" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon -O3 -pipe -m3dnow -mmmx -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" AUTOCLEAN="yes" #------------------------------------ Now i Enter in Kportage,Setting,Portage-configuration,build option I Show the paramiter, i'ts correct, but NOW i clik OK button and.... DISASTER This is the new situation.... #------------------------------------ USE="3dnow alsa apm arts avi # # # # # # # # # # # # # CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=athlon -pipe -fomit-frame-pointer -ffast-math -funroll-loops -mmmx -fforce-addr " # # -falign-functions=4" # CXXFLAGS="-O3 -mcpu=athlon -pipe -fomit-frame-pointer -ffast-math -funroll-loops -mmmx -fforce-addr " MAKEOPTS="-j2" AUTOCLEAN="yes" #------------------------------------ more parameter is lost and there are some unterminated string. but no problem i've a copy of the original file.
ok, since you still have this problem, maybe you want to test our current cvs with enhanced configuration? just go to http://www.freesoftware.fsf.org/kportage and download the cvs ebuild. it currently does not write any files, it prints the make.conf it would write to stdout (for testing purposes).
Created attachment 6354 [details] Surce file and out file processed by kportage
SORRY. I've WRONG created an attachement without message. This is a message for the previus attachement Ok, for me is solved in the cvs (stdout) version, but.... I've lunch program with kportage &>kp.log The kp.log file i'ts Ok and work, but i dont like it. In the original make.conf the "use" line is easy to read, (some line with a lenght <80) The kp.log contain a single line with leng >300 and i'ts hard to read. If possible i prefere this long line is splitted on some short line (i think is not important if the format is the same of original file, but is important alfabeticaly order and len <80, for a simple 'human' comparison with list of use flag). The same problem is for compile flag. There are another little problem... (not an error) but the solution of the problem is more complex In my original file i've use this syntax CFLAGS="-mcpu=athlon -O3 -pipe ........." CXXFLAGS="${CFLAGS}" and kportage trasform it in CFLAGS="-mcpu=athlon -O3 -pipe ........." CXXFLAGS="-mcpu=athlon -O3 -pipe ........." I'ts correct, but is more complex to read or modify I think the solution of this problem is mor complex because is possible to compose CXXFLAGS like this... CXXFLAGS="${CFLAGS}" otherflag1 otherflag2 (I'm not sure of this syntax) For help you i attach mi original file and the logfile output Thans