Bug 203662 - Review Request: dx - Open source version of IBM's Visualization Data Explorer
Review Request: dx - Open source version of IBM's Visualization Data Explorer
Product: Fedora
Classification: Fedora
Component: Package Review (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul F. Johnson
Fedora Package Reviews List
Depends On:
Blocks: FE-ACCEPT 205057
  Show dependency treegraph
Reported: 2006-08-22 17:12 EDT by Dominik 'Rathann' Mierzejewski
Modified: 2008-02-08 13:23 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-17 07:32:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
dennis: fedora‑cvs+

Attachments (Terms of Use)
rpmlint errors from main dx package (206.02 KB, text/plain)
2006-09-03 14:57 EDT, Paul F. Johnson
no flags Details

  None (edit)
Description Dominik 'Rathann' Mierzejewski 2006-08-22 17:12:55 EDT
Spec URL: http://rpm.greysector.net/extras/dx.spec
SRPM URL: http://rpm.greysector.net/extras/dx-4.4.0-1.src.rpm
OpenDX is a uniquely powerful, full-featured software package for the
visualization of scientific, engineering and analytical data: Its open
system design is built on familiar standard interface environments. And its
sophisticated data model provides users with great flexibility in creating
Comment 1 Dominik 'Rathann' Mierzejewski 2006-08-22 19:08:16 EDT
For the record, it builds with lesstif (bugzilla #203274), so the transition
after openmotif is dropped will be quite painless.
Comment 2 Paul F. Johnson 2006-08-23 17:01:49 EDT
Quick notes...

Release: 1 - needs the dist
License: IBM Public License - is this a valid licence Fedora is happy with?
%{__libtoolize} --force
%{__automake} -a

Is this lot really needed or can the relibtoolize thing work?

	--with-jni-path=%{java_home}/include \

You need something in the BR if java is going to be used

You have 

%{_libdir}/%{name}/ in files and %{_libdir}/%{name}/samples in samples. As the
files has already taken ownership of %{_libdir}/%{name}, does the second one
need to be in there?
Comment 3 Dominik 'Rathann' Mierzejewski 2006-08-23 17:07:14 EDT
dist - ACK, will fix

License is OSI-approved: http://www.opensource.org/licenses/ibmpl.php

%prep - I prefer to spell them out, autoreconf never worked for me

java support is in todo it doesn't build currently, hence commented out
BuildRequires: java-devel

I have %exclude %{_libdir}/dx/samples in main
and %{_libdir}/dx/samples in -samples
Comment 4 Paul F. Johnson 2006-08-28 17:42:32 EDT
build fails

memory.c:69:23: error: linux/sys.h: No such file or directory
Comment 5 Dominik 'Rathann' Mierzejewski 2006-08-29 16:08:04 EDT
Build successfuly in fc5 mock. It's a bug in kernel-headers in devel (missing
sys.h). Filed bug #204538.
Comment 6 Dominik 'Rathann' Mierzejewski 2006-08-30 04:35:14 EDT
According to David, dx is to blame for using a private kernel header. I'll try
patching it out of it then.
Comment 7 Dominik 'Rathann' Mierzejewski 2006-08-30 17:18:10 EDT

And success! It builds in fc6 mock.
Comment 8 Paul F. Johnson 2006-08-31 19:21:47 EDT
And completely fails to build here. Dies when it gets to compiling the java stuff 

   import netscape.javascript.JSObject; (netscape doesn't exist)
   import vrml.external.Node; (vrml doesn't exist)
   extends DXLinkApplication implements vrml... (vrml can't be resolved to type)
   private EventOutSFTime touchTimeEO; (EventOutSFTime can't resolved to type)
   private EventOutSFVec3f vps_tp = null; (as above for EventOutSFVec3f)
   private JSObject window; (JSObject can't be resolved to type)

There plenty of these. Is the spec missing a BR or two?
Comment 9 Dominik 'Rathann' Mierzejewski 2006-08-31 20:58:13 EDT
Hm. Java parts are not supposed to build. I've intentionally commented out java
BRs from the spec. Are you building in mock? If not, you probably have
java-devel installed and configure picks that up and tries to build the java
parts. It builds fine in mock for me.
Comment 10 Ville Skyttä 2006-09-01 04:18:57 EDT
(In reply to comment #9)
> Hm. Java parts are not supposed to build. I've intentionally commented out java
> BRs from the spec.

This is not good enough for reproducible builds, as demonstrated in comment 8. 
If you intend to have the java parts not built, be explicit about it, eg. using
an argument to ./configure, patch things, or as a last resort if everything else
fails, try BuildConflicts.
Comment 11 Dominik 'Rathann' Mierzejewski 2006-09-02 20:07:42 EDT

- removed -samples, will package separately
- disable java parts completely for now
- fixed build on fc6
- moved non-binary stuff to _datadir
Comment 12 Paul F. Johnson 2006-09-03 14:57:45 EDT
Created attachment 135465 [details]
rpmlint errors from main dx package

Something is seriously wrong with the package here. It builds fine and the srpm
is clean with rpmlint, but the main package gives the errors with this
attachment (piles of them!) and the devel package gives

E: dx-devel only-non-binary-in-usr-lib
W: dx-devel no-documentation (not worried by that)
Comment 13 Dominik 'Rathann' Mierzejewski 2006-09-03 15:22:15 EDT
E: dx wrong-script-interpreter /usr/share/dx/help/dxall549
E: dx non-executable-script /usr/share/dx/help/dxall549 0644

These errors are to be ignored, IMHO. Those are help files, not scripts.

E: dx-devel only-non-binary-in-usr-lib
This is caused by arch.mak file being in %_libdir, I'll move it to %_includedir/dx
Comment 14 Paul F. Johnson 2006-09-10 11:00:39 EDT
Have you updated the spec and srpms? If you have, please can you post the URL
for them? If it's only the spec file which has altered, you only need to upload
Comment 15 Dominik 'Rathann' Mierzejewski 2006-09-12 09:37:07 EDT

- moved arch.mak to _includedir/dx
- fixed program startup from the main ui
Comment 16 Paul F. Johnson 2006-09-16 19:05:27 EDT

builds fine in mock, rpmlint doesn't like the packages but on this occasion, the
errors can be ignored
Software installs and works

consistent use of macros
in US-English, UTF-8
License valid
upstream and source tarballs have same md5
correct use of dist
uses smp_mflags
contains docs
contains clean
no ownership problems
devel package doesn't need pkgconfig
no dupes in the rpms

Needs work
%configure \
	--disable-static \
	--enable-shared \
	--with-jni-path=%{java_home}/include \
	--without-javadx \
	--disable-dependency-tracking \
	--enable-smp-linux \
	--enable-new-keylayout \
	--with-rsh=%{_bindir}/ssh \

Trailing \ on the end should not be there.

If you remove this, I'm happy to approve the package as is.
Comment 17 Dominik 'Rathann' Mierzejewski 2006-09-16 19:16:39 EDT


You're really picky.
Comment 18 Paul F. Johnson 2006-09-16 19:18:58 EDT
I know, but you love me really :-)

Comment 19 Dominik 'Rathann' Mierzejewski 2006-09-16 19:20:55 EDT
Likewise, thanks!
Comment 20 Dominik 'Rathann' Mierzejewski 2006-09-16 22:11:28 EDT
Imported (wow, that took a while) and built (with a small fix) for devel, FC-5
branch requested.
Comment 21 Dominik 'Rathann' Mierzejewski 2007-07-04 06:45:06 EDT
Package Change Request
Package Name: dx
New Branches: EL-5
Comment 22 Kevin Fenzi 2007-07-04 14:04:52 EDT
cvs done.
Comment 23 Dominik 'Rathann' Mierzejewski 2008-02-08 08:26:48 EST
Package Change Request
Package Name: dx
New Branches: EL-4
Comment 24 Dennis Gilmore 2008-02-08 13:23:56 EST
cvs done 

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