Bug 171636 - 3ds models (starships) do not show up
Summary: 3ds models (starships) do not show up
Alias: None
Product: Fedora
Classification: Fedora
Component: celestia
Version: 5
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Steven Pritchard
QA Contact: Fedora Extras Quality Assurance
URL: http://dmf.unicatt.it/~paolini/celestia/
Keywords: Reopened
Depends On:
Blocks: FE5Target
TreeView+ depends on / blocked
Reported: 2005-10-24 16:29 UTC by Maurizio Paolini
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-05-19 21:06:32 UTC

Attachments (Terms of Use)

Description Maurizio Paolini 2005-10-24 16:29:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.2 (like Gecko)

Description of problem:
starships do not show up.  There is a problem with an optimization 
option (-fstrict-aliasing) automatically activated by "-O2" at 
build time. 

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. start celestia   
2. press <enter> 
3. enter: hubble 
4. press "g" 

Actual Results:  nothing can be viewed 

Expected Results:  you should see the hubble space telescope (this works for the same 
package for FC3 

Additional info:

The problem can be solved by adding "CXXFLAGS=-fno-strict-aliasing" 
in the source rpm spec file. 
More details in http://dmf.unicatt.it/~paolini/celestia/celestiabug.txt

Comment 1 Steven Pritchard 2006-02-12 01:20:13 UTC
Please test the current release (1.4.0-1.fc4) and re-open this bug if the
problem still exists.

Comment 2 Maurizio Paolini 2006-02-12 08:15:24 UTC
I checked and everything look fine! Thank you. 

Comment 3 Maurizio Paolini 2006-05-19 10:29:11 UTC
I am very sorry to report that this bug reappeared again in FC5
celestia-1.4.1-1.fc5.i386.rpm (and is also still present in the fedora 
development package celestia-1.4.1-1.fc6.i386.rpm).

It is a little bit sad to see that this problem cannot be fixed once
and for all :-(

Comment 4 Maurizio Paolini 2006-05-19 11:05:57 UTC
It seems that now the problem cannot be fixed in the same way as for
the 1.3.2-3 (fc4) version.  I am currently investigating, but I am not
sure to be able to find a workaround. 

Comment 5 Maurizio Paolini 2006-05-19 11:32:39 UTC
It seems that all the 3ds models are no longer packaged.  Indeed
"make install" does NOT install the 3ds models, although they are
still present in the tarball.

It is possible to work around the problem by modifying the 
models/Makefile by adding an entry for 3ds as follows:

pkgdata_DATA = \
        $(wildcard *.cms) \
        $(wildcard *.cmod) \
        $(wildcard *.pts) \
        $(wildcard *.3ds)

However I wonder if there is some legal issue that motivates the
exclusion of 3ds models.

Comment 6 Maurizio Paolini 2006-05-19 14:42:29 UTC
It appears that the reason why 3ds models are not included is
just for the sake of reducing the dimension of binary packages.
Anyway, adding a line like:

install -p -m 644 -D models/*.3ds $RPM_BUILD_ROOT%{_datadir}/celestia/models

in the spec file would solve the problem.  Another possibility could be
the creation of an additional rpm package (something like celestia-3ds,
or celestia-extra).

the rpm package with the 3ds models is 18.7 Mb large, compared to 15.1
Mb (the size of the package without the 3ds models).  Actually it doesn't
seem too bad...

Comment 7 Steven Pritchard 2006-05-19 21:06:32 UTC
Thanks for debugging that.  It is fixed in -2.

Note You need to log in before you can comment on or make changes to this bug.