[Packaging New Software] Example does not build

Bug #913934 reported by sephi
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu Packaging Guide
Fix Released
High
Unassigned

Bug Description

Regarding the walk-through at http://developer.ubuntu.com/packaging/html/packaging-new-software.html;

For kqrcode 0.4, the archive appears to have file corruption.

Going with version 0.6 instead, the user will be presented with an error that "qrcodec.h" is missing. It must be extracted from the following archive and placed in the kqrcode source dir.
http://ie.archive.ubuntu.com/sourceforge/k/project/kq/kqrcode/KQRCode-dev/kqrcode-dev-0.6.0.tar.gz

This is technically a kqrcode bug, but all of this info should probably be noted here as well.

On a side note, kqrcode appears to be a moribund project. Perhaps a better-maintained example package could be substituted in later revisions?

Related branches

Revision history for this message
Daniel Holbach (dholbach) wrote :

Jonathan: do you know anything about this?

Revision history for this message
Goddard (kinggoddard) wrote :

I can verify. I just went through the steps as a new user. The 0.4 version of kqrcode is corrupted. Not only is their a problem with the qrcodec.h file I also got another error in "kqrcodewindow.cpp". I saw unreadable symbols at the end of the file.

Switching to the latest version 0.6 solved my problems. If you give me access to the document I will make the change if you don't have time.

Revision history for this message
Daniel Holbach (dholbach) wrote :

If you could help, that'd be great. The steps involved should be something like this:

bzr branch lp:ubuntu-packaging-guide
cd ubuntu-packaging-guide
<make necessary changes>
bzr commit --fixes lp:913934 -m "<explanation of what you fixed>"
bzr push lp:~kinggoddard/ubuntu-packaging-guide/913934-fix
bzr lp-open
<click on "(+) propose for merging">

Thanks in advance. I hope Jonathan can then help review it.

summary: - kqrcode example needs further instructions
+ [Packaging New Software] Example does not build
Changed in ubuntu-packaging-guide:
importance: Undecided → High
status: New → Triaged
Changed in ubuntu-packaging-guide:
status: Triaged → In Progress
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Changed in ubuntu-packaging-guide:
status: In Progress → Triaged
assignee: Andrew Starr-Bochicchio (andrewsomething) → nobody
Goddard (kinggoddard)
Changed in ubuntu-packaging-guide:
assignee: nobody → Goddard (kinggoddard)
Revision history for this message
Daniel Holbach (dholbach) wrote :

As suggested in https://code.launchpad.net/~kinggoddard/ubuntu-packaging-guide/913934-fix/+merge/91773 it might make more sense to use an example which is less likely to break, ie GNU Hello.

Revision history for this message
sephi (sskalnik) wrote : Re: [Bug 913934] Re: [Packaging New Software] Example does not build

Indeed, I found it odd that GNU Hello was not used, as it's what I have
seen in other introductions to packaging. Perhaps consistency and tradition
would provide the simplest solution.

Revision history for this message
Goddard (kinggoddard) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12-02-22 06:37 AM, Daniel Holbach wrote:
> As suggested in https://code.launchpad.net/~kinggoddard/ubuntu-
> packaging-guide/913934-fix/+merge/91773 it might make more sense to
> use an example which is less likely to break, ie GNU Hello.
>

I will use that then.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPRTB4AAoJENWEZgQzfCOJdRkIAJcrAHMTaDDR/XqT0PIQzv3R
QS8tjCuTX+oMFCOg8fYwGDWPsw5Th0hOfNN+vaBasmMkiHa0birYDNW769QpBWwv
mc7o03IwUWP+128waLL5XzX+vHmv8vRx057YqixF3IE84d8LIOpmL3H0RFxOz5y3
n/UwTTySr88eibtSZa8LoNdZpLMPTMhOS3TIUjbPBosDgxFjxSwh2jsZyqj1JW+j
QSWd8yc+f8HqoxVFJrZOI0F+Na7F7XBPPz5GT4WL4qF8Qv8Ltur3Z0ftELPdiIO0
dU/qlVKhbMdUpHy1U5TG+8p8LUvd1QXjSDW84ljjz8m+w/uSoX3Ejkr/ij4c6V0=
=9PdH
-----END PGP SIGNATURE-----

Changed in ubuntu-packaging-guide:
status: Triaged → Fix Committed
Goddard (kinggoddard)
Changed in ubuntu-packaging-guide:
assignee: Goddard (kinggoddard) → nobody
Changed in ubuntu-packaging-guide:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.