Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 807821 (ns3) - Review request: ns-3 Network Simulator
Summary: Review request: ns-3 Network Simulator
Alias: ns3
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
Whiteboard: NotReady
Depends On:
TreeView+ depends on / blocked
Reported: 2012-03-28 20:10 UTC by Vedran Miletić
Modified: 2015-12-11 16:17 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-12-11 16:17:10 UTC

Attachments (Terms of Use)
ns-3.16 RPM spec file (deleted)
2012-12-29 14:34 UTC, Vedran Miletić
no flags Details
Required patches (deleted)
2012-12-29 14:36 UTC, Vedran Miletić
no flags Details
ns-3.16 RPM spec file (deleted)
2015-02-01 21:49 UTC, Vedran Miletić
no flags Details

Description Vedran Miletić 2012-03-28 20:10:21 UTC
This is F17 feature:

We are a bit late on the schedule because of coordination with upstream regarding building with GCC 4.7. It should mostly work now. Since this is not an invasive change, it shouldn't be a problem.

Package wise, ns-3 is a C++ library; aside from the fact that upstream requested versioned SONAMEs and packaging both debug and optimized libs, there is not much special stuff to see here.

I would like some general comments on the approach and structure. I know that specfile isn't ready for inclusion since too much is commented out and it needs substantial cleanup; I'm aware of that, that's the easy part that I will do once I get green light on this approach to packaging.

Be warned, since we are still packaging pre-relase stuff, the source code archive is quite large since it contains hg/bzr repodata. This will definitely be sorted out before inclusion.

x86_64 RPM:

Comment 1 Reiner Rottmann 2012-07-13 14:06:46 UTC
Above links are broken.

As no SRPM is available, I've downloaded the ns3 spec file from the F17 feature page and the source code mentioned in the spec file.

The rpmbuild fails:

Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: python(abi) = 2.7 rtld(GNU_HASH)
Processing files: ns-core-3.14-0.1hg7804.fc17.x86_64
Provides: pkgconfig(libns3.14-core-debug) = 3.14 pkgconfig(libns3.14-core-optimized) = 3.14
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: /usr/bin/pkg-config rtld(GNU_HASH)
Processing files: ns-core-devel-3.14-0.1hg7804.fc17.x86_64
error: File not found: /home/rottmrei/rpmbuild/BUILDROOT/ns-3.14-0.1hg7804.fc17.x86_64/usr/include/ns3.14/ns3/ns2-calendar-scheduler.h

RPM build errors:
    File not found: /home/rottmrei/rpmbuild/BUILDROOT/ns-3.14-0.1hg7804.fc17.x86_64/usr/include/ns3.14/ns3/ns2-calendar-scheduler.h

Comment 2 Vedran Miletić 2012-07-16 10:26:02 UTC
Sorry Reiner, I this was ignored for a long time and I forgot to update it.

Anyway, specfile is now updated and can be found here:

Comment 3 Mario Blättermann 2012-08-26 21:02:32 UTC
(In reply to comment #2)

The link is dead. Don't know if temporarily, but no connection to that server can be established, you should have a look at it. Moreover, you should also provide a srpm.

I can't find your name or mail address in the packagers group, are you a new packager and need a sponsor?

Comment 4 Mario Blättermann 2012-09-16 17:32:50 UTC
Adding FE-NEEDSPONSOR. Please remove it once you are sponsored.

Comment 5 Vedran Miletić 2012-12-29 14:34:26 UTC
Created attachment 670114 [details]
ns-3.16 RPM spec file

Massive update for 3.16.

Comment 6 Vedran Miletić 2012-12-29 14:36:24 UTC
Created attachment 670115 [details]
Required patches

Comment 7 Robin Lee 2013-02-27 04:41:12 UTC
SRPM is required for package review. Dropbox is even a choice for SPEC and SRPM hosting.

I tried to build the RPM on Fedora 18 x86_64, but finally it failed with:

RPM build errors:
    File not found: /home/cheese/rpmbuild/BUILDROOT/ns-3.16-1.fc18.x86_64/usr/lib64/
    File not found: /home/cheese/rpmbuild/BUILDROOT/ns-3.16-1.fc18.x86_64/usr/lib64/

Comment 8 Christopher Meng 2013-07-30 02:58:15 UTC
Well, from 17->20, this feature still not implemented yet.

I require this package, too.

Comment 9 Vedran Miletić 2013-07-30 06:36:00 UTC
Christopher, it is true, it wasn't pushed into Fedora. However, biggest part of the job is done. Are you willing to take over and do the rest? Unfortunately I don't have time to finish it now.

Comment 10 Christopher Meng 2013-07-31 06:37:18 UTC
I may have a try, but can you provide your spec/SRPM?

Comment 11 Vedran Miletić 2013-08-04 08:19:56 UTC
(In reply to Christopher Meng from comment #10)
> I may have a try, but can you provide your spec/SRPM?

Both are here:

Most of the plumbing work has been done, but it needs an update to ns-3.17, review against the guidelines, and a lot of testing.

Feel free to finish it and push it.

Comment 12 Christopher Meng 2013-08-05 05:00:44 UTC

But this depends on my spare time.


Comment 13 Vedran Miletić 2015-02-01 21:49:25 UTC
Created attachment 986850 [details]
ns-3.16 RPM spec file

This is the latest version of spec file I produced back in 2013. I'm just posting it here in case anyone wants to resume work.

I might need this in April-May timeframe, so if noone takes over I could do it myself. No promises however.

Comment 14 James Hogarth 2015-12-04 04:03:30 UTC
Vedran are you interested in picking this back up again?

If not let's close it as a dead review so that others can see it's not in active progression and can open a fresh ticket if they are interested.

Comment 15 James Hogarth 2015-12-11 16:17:10 UTC
It's been over a week with no response from the requestor to the NeedsInfo flag.

Closing as per policy.

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