Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 502795 - Review Request: mcu8051ide - IDE for MCS-51 based microcontrollers
Summary: Review Request: mcu8051ide - IDE for MCS-51 based microcontrollers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Chitlesh GOORAH
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-27 09:06 UTC by Shakthi Kannan
Modified: 2009-08-04 02:28 UTC (History)
4 users (show)

Fixed In Version: 1.1-4.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-16 07:13:41 UTC
Type: ---
Embargoed:
chitlesh: fedora-review+
j: fedora-cvs+


Attachments (Terms of Use)
mcu8051 cvs commit log (15.69 KB, application/octet-stream)
2009-06-19 05:45 UTC, Shakthi Kannan
no flags Details

Description Shakthi Kannan 2009-05-27 09:06:34 UTC
Spec URL: http://shakthimaan.fedorapeople.org/SPECS/mcu8051ide.spec

SRPM URL: http://shakthimaan.fedorapeople.org/SRPMS/mcu8051ide-1.1-2.fc10.src.rpm

Description: Integrated Development Enviroment for some MCS-51 based microcontrollers (e.g. AT89S8253). Supported languages are assembly and C.

First package! Need sponsor!

Comment 1 Chitlesh GOORAH 2009-05-27 09:35:36 UTC
Package Review was started on :
https://fedorahosted.org/fedora-electronic-lab/ticket/19

and now continuing here.

Comment 2 Chitlesh GOORAH 2009-05-27 10:25:23 UTC
#01: This is a no-arch application. 
Add 
BuildArch:      noarch
to the spec file

#02: rpmlint on SRPM

rpmlint package helps to qualify a SRPM or a RPM. It should be applied to every RPM produced by the spec file. Errors and warnings should be corrected.

A common fix list of errors and warnings is listed on :
https://fedoraproject.org/wiki/Common_Rpmlint_issues

rpmlint /home/chitlesh/rpmbuild/SRPMS/mcu8051ide-1.1-2.fc10.src.rpm
mcu8051ide.src: E: description-line-too-long Integrated Development Enviroment for some MCS-51 based microcontrollers (e.g. AT89S8253). Supported languages are assembly and C.
1 packages and 0 specfiles checked; 1 errors, 0 warnings

Break it into several lines.

#03: Keeping timestamps
Can you patch the install.sh file so that during cp timestamps are preserved.

cp --> cp -p

There are some typos in the install.sh files as well : 
example: successuful, Unistallation

Then send the patch to upstream.

#04: rpmlint on the RPM

Here there are several errors and warnings. In most cases the fix should be in the %prep stage.

# rpmlint : hidden-file-or-dir, backup-file-in-package and zero-length
rm lib/.tex*
rm lib/.html

in %install
# rpmlint : non-executable-script
chmod 0755 %{buildroot}%{_datadir}/%{name}/lib/*.tcl


Tip: To check the permissions of the files of a RPM without installing the rpm

$ rpm -qvlp /home/chitlesh/rpmbuild/RPMS/noarch/mcu8051ide-1.1-2.fc10.noarch.rpm

Comment 3 Chitlesh GOORAH 2009-05-27 10:34:49 UTC
#05: dedundant BRs:
- tk-devel already requires tcl-devel,


Actually do we need BRs "tcl-devel, tk-devel, tkimg, itcl, tdom, tcllib, bwidget, rxvt-unicode" here as the rpmbuild is simply a copy process?

Comment 4 Shakthi Kannan 2009-05-27 13:43:41 UTC
#01 - Done
#02 - Done
#03 - Done
#04 - Done. But, I get:

  $ rpmlint ../RPMS/noarch/mcu8051ide-1.1-3.fc10.noarch.rpm 
  mcu8051ide.noarch: E: explicit-lib-dependency tcllib

tcllib is required runtime, so I have to explicitly specify it.

#05 The configure script calls cmake, and does BR library checks. So, it is required.

=== configure OUTPUT ===

$ ./configure 
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Check for Tcl Interpreter
-- Found Tclsh: /usr/bin/tclsh
-- Found TCL: /usr/lib/libtcl.so
-- Found TCLTK: /usr/lib/libtcl.so
-- Found TK: /usr/lib/libtk.so
Check for BWidget
Check for Itcl
Check for Tcl
Check for md5
Check for Tk
Check for img::png
Check for tdom
-- Configuring done
-- Generating done

=== END ===

Please take .spec release 3:
http://shakthimaan.fedorapeople.org/SPECS/mcu8051ide.spec
http://shakthimaan.fedorapeople.org/SRPMS/mcu8051ide-1.1-3.fc10.src.rpm

Comment 5 Peter Lemenkov 2009-05-27 16:29:41 UTC
I'm just curious - why it requires rxvt-unicode for both building and working?

Comment 6 Shakthi Kannan 2009-05-28 04:01:33 UTC
(In reply to comment #5)
| I'm just curious - why it requires rxvt-unicode for both building and working?  
\--

The upstream README mentions the same as an optional package:

"OPTIONAL PACKAGES: (Without these packages some features will not be avaliable)"

Comment 7 Shakthi Kannan 2009-05-28 10:52:41 UTC
I tried sending an e-mail to the author, but the gmail.cz address doesn't seem to exist. I got a mail daemon error.

Also, in lib/terminal.tcl and lib/editor.tcl, the AUTHOR is invoking urxvt.

Comment 8 Chitlesh GOORAH 2009-06-06 18:00:22 UTC
Shakthi, 

In order for me to sponsor you, please apply for the "packager" group on
https://admin.fedoraproject.org/accounts/group/view/packager

Comment 9 Chitlesh GOORAH 2009-06-06 18:44:12 UTC
There is a missing:  Requires: sdcc

Tip(not obliged, _makes_it_sexy_) : try to separate fedora related content and content that can be pushed to upstream by 2 empty lines above and 2 empty lines below. Sometimes it is also useful for packages of other distribution to pull some lines from your spec file :)

scratch built was successful:
http://koji.fedoraproject.org/scratch/chitlesh/task_1397139/

Update the package, for final review.

Comment 10 Shakthi Kannan 2009-06-09 04:51:43 UTC
#8 Became member of Packager group.

#9 Added Requires:sdcc -- DONE!

Take release 4:
http://shakthimaan.fedorapeople.org/SPECS/mcu8051ide.spec
http://shakthimaan.fedorapeople.org/SRPMS/mcu8051ide-1.1-4.fc10.src.rpm

Koji build is successful at:
http://koji.fedoraproject.org/koji/taskinfo?taskID=1400739

Comment 11 Chitlesh GOORAH 2009-06-09 07:54:59 UTC
- MUST: The package is named according to the Package Naming Guidelines.
- MUST: The spec file name matches the base package %{name}
- MUST: The package meets the Packaging Guidelines.
- MUST: The package is licensed (GPL) with an open-source compatible license
and meet other legal requirements as defined in the legal section of Packaging
Guidelines.
- MUST: The License field in the package spec file matches the actual license.
- MUST: the source package includes the text of the license(s) in its own file,
then that file, containing the text of the license(s) for the package is
included in %doc.
- MUST: The spec file must be written in American English.
- MUST: The spec file for the package is be legible. 
- MUST: The sources used to build the package must matches the upstream source,
as provided in the spec URL.
- MUST: The package successfully compiles and builds into binary rpms on at
least i386.
- MUST: All build dependencies is listed in BuildRequires.
- MUST: The spec file handles locales properly.
- MUST: If the package does not contain shared library files located in the
dynamic linker's default paths
- MUST: the package is not designed to be relocatable
- MUST: the package owns all directories that it creates.
- MUST: the package does not contain any duplicate files in the %files listing.
- MUST: Permissions on files are set properly.
- MUST: The package has a %clean section, which contains rm -rf %{buildroot}
(or $RPM_BUILD_ROOT).
- MUST: The package consistently uses macros, as described in the macros
section
of Packaging Guidelines.
- MUST: The package contains code, or permissable content. This is described in
detail in the code vs. content section of Packaging Guidelines.
- MUST: There are no Large documentation files
- MUST: %doc does not affect the runtime of the application. To summarize: If
it is in %doc, the program must run properly if it is not present.
- MUST: There are no Header files or static libraries 
- MUST: The package does not contain library files with a suffix 
- MUST: Package does NOT contain any .la libtool archives
- MUST: Package containing GUI applications includes a %{name}.desktop file,
and
that file must be properly installed with desktop-file-install in the %install
section.
- MUST: Package does not own files or directories already owned by other
packages. 

SHOULD Items:

 - SHOULD: The source package does include license text(s) as LICENSE
 - SHOULD: mock builds succcessfully in i386.
 - SHOULD: The reviewer tested that the package functions as described. A
package should not segfault instead of running, for example.
 - SHOULD: No scriptlets were used, those scriptlets must be sane. 
 - SHOULD: No subpackages present.

APPROVED

Comment 12 Chitlesh GOORAH 2009-06-11 09:15:57 UTC
Ping ? can you request a CVS request ?

as mentioned in https://fedorahosted.org/fedora-electronic-lab/ticket/19

Comment 13 Shakthi Kannan 2009-06-11 12:02:13 UTC
New Package CVS Request
=======================
Package Name: mcu8051ide
Short Description: IDE for MCS-51 based microcontrollers
Owners: shakthimaan chitlesh
Branches: F-10 F-11 EL-5

Comment 14 Jason Tibbitts 2009-06-11 17:04:37 UTC
CVS done.

Comment 15 Chitlesh GOORAH 2009-06-13 19:50:13 UTC
Shakthi, is there any reason why you haven't build the package ? the srpm hasn't yet being committed for any  branch.
http://cvs.fedoraproject.org/viewvc/rpms/mcu8051ide/

Comment 16 Shakthi Kannan 2009-06-15 08:01:53 UTC
No Internet connectivity for the system that I have my Fedora certificate and ssh key with, for the past few days. Will do so by this coming weekend.

Comment 17 Shakthi Kannan 2009-06-19 05:44:31 UTC
Added mcu8051ide to FC-10, FC-11 and EL-5. Check attached log.

Comment 18 Shakthi Kannan 2009-06-19 05:45:39 UTC
Created attachment 348604 [details]
mcu8051 cvs commit log

Comment 19 Chitlesh GOORAH 2009-06-19 07:12:04 UTC
The commit logs are also sent to cvsextras_

Comment 20 Chitlesh GOORAH 2009-07-05 11:50:27 UTC
Shakthi, this is NOT serious. You have not yet build the package on the build system. It is already 2 weeks since you committed.

https://admin.fedoraproject.org/updates/search/mcu8051ide

Is there any blocker I am not aware of ?

Comment 21 Shakthi Kannan 2009-07-06 05:03:46 UTC
I didn't know I had to build the package. Till which part should I do from here:
http://fedoraproject.org/wiki/PackageMaintainers/Join#Tag_Or_Update_Your_Branches

Should I enter into each directory (devel, EL-5, F-10, F-11) and do the following?:

  cvs up
  make tag
  make build

No wonder, my documentation stopped at this:
http://shakthimaan.com/downloads/glv/howtos/packaging-rpm-workflow.html

Comment 22 Shakthi Kannan 2009-07-06 05:54:00 UTC
Ok, I have built it under devel/ (it also built for EL-5), FC-10, FC-11. Just had to use 'make build' since this is the first build.

Updated my documentation revision 1.2:
http://shakthimaan.com/downloads/glv/howtos/packaging-rpm-workflow.html

Comment 23 Chitlesh GOORAH 2009-07-06 08:26:59 UTC
Once the package has been approved and cvs access is granted (this also applies for the eventual updates of the package),

- commit the SRPM
- build the package
- send the package to the respective repos

Now that you have built the package, you will need to send it to the repositories

https://admin.fedoraproject.org/updates/new/

Don't forget to add the bugzilla number of this package review in the "Bugs" section of the above url.

This will automatically, update the status of this package review.

The fedora packaging guidelines (which is being used even by OpenSuse) is a set of guidelines that are constantly reviewed by FESCo. Sometimes new guidelines are added, please stay tuned on the fedora devel mailing list.

Comment 24 Fedora Update System 2009-07-09 07:53:03 UTC
mcu8051ide-1.1-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/mcu8051ide-1.1-4.fc10

Comment 25 Fedora Update System 2009-07-09 07:53:09 UTC
mcu8051ide-1.1-4.el5 has been submitted as an update for Fedora EPEL 5.
http://admin.fedoraproject.org/updates/mcu8051ide-1.1-4.el5

Comment 26 Fedora Update System 2009-07-09 07:53:15 UTC
mcu8051ide-1.1-4.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/mcu8051ide-1.1-4.fc11

Comment 27 Fedora Update System 2009-07-10 01:54:35 UTC
mcu8051ide-1.1-4.el5 has been pushed to the Fedora EPEL 5 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update mcu8051ide'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/EL-5/FEDORA-EPEL-2009-0040

Comment 28 Fedora Update System 2009-07-16 07:13:35 UTC
mcu8051ide-1.1-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 29 Fedora Update System 2009-07-16 07:18:51 UTC
mcu8051ide-1.1-4.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 30 Fedora Update System 2009-08-04 02:28:07 UTC
mcu8051ide-1.1-4.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.


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