Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149229 - dev-db/gmyclient:-0.3 fails w/ gcc-4.x
Summary: dev-db/gmyclient:-0.3 fails w/ gcc-4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-09-26 14:06 UTC by Michal Machtel
Modified: 2006-10-29 01:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Machtel 2006-09-26 14:06:30 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); pl-PL; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: 

After recent revdep-rebuild, i stumbled upon trouble with reemerging gmyclient.
There is a line in html exporter plugin (in
gmyclient-3.0.tar.gz/plugins/exporter/html/html.c), which compiler fail to
compile with "html.c:1004 invalid lvalue in assigment" error. This is line
number 1004 in html.c:
row = (epd->stype != ALL_ROWS)?GPOINTER_TO_INT (rows_selection->data):row =
absolut_row_counter;
It seems to me that it should be properly:
row = (epd->stype != ALL_ROWS)?GPOINTER_TO_INT
(rows_selection->data):absolut_row_counter;
and when I corected this line, all went well.
Oddly enough, this exactly version was already installed on my system, I was
just rebuilding because revdep-rebuild told me to (and rightly so:). I don't now
how it could compile in first place?

Reproducible: Always

Steps to Reproduce:
1.emerge gmyclient
2.watch output for error
3.

Actual Results:  
emerge fails with error "invalid lvalue in assigment" in 1004 line of html.c

Expected Results:  
compile cleanly (when I suspended emerge and manualy deleted the second "row=",
after issuing fg emerge succeded).
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-10-29 01:19:01 UTC
Thanks Daniel/Francesco

From Changelog:
Added gcc-4.1 fix thanks to dsd
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-10-29 01:19:23 UTC
and closing....