bootcd FTBFS on hardy

Bug #165030 reported by Nicolas Valcarcel
4
Affects Status Importance Assigned to Milestone
bootcd (Debian)
Fix Released
Unknown
bootcd (Ubuntu)
Fix Released
Undecided
Luke Yelavich

Bug Description

Binary package hint: bootcd

bootcd FTBFS on hardy at:

 chmod 755 bootcdmk2diskconf
./bootcdmk2diskconf -checktemplate
./bootcdmk2diskconf: 807: Syntax error: Missing '))'

Changed in bootcd:
assignee: nobody → nxvl
status: New → Confirmed
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

bootcdmk2diskconf is a bash script, and since "sh" points to "dash" it FTBFS i have just ping Bernd Schumacher and he tells he has always used bash, and he will fix it on the next release.

Changed in bootcd:
status: Confirmed → In Progress
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Attaching patch which solves the FTBFS

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your effort to fix this FTBFS.
Since your change is limited to bootcdmk2diskconf.src shebang (and just one line), applying it inline should be good enough.
Also, version should be 3.08ubuntu1.

Consider to report this to Debian Maintainer, so we can eventually sync bootcd in the future.

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

I have discussed it with norsetto yesterday and we agreed that it's a better practice to use patch systems always.
I have already ping the debian maintainer and report the bug, he said that in debian isn't it because sh links to bash, but he will fix it on next release.

I'm attaching a new patch.

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Sorry about last debdiff, here is the correct one

Changed in bootcd:
assignee: nxvl → nobody
status: In Progress → Confirmed
Revision history for this message
Cesare Tirabassi (norsetto) wrote :

@luca: Please don't block uploads on the basis of using a patch system; I would block uploads quite for the contrary (note as well that this is a native package).

@nicolas: If bash is needed during build than the package should also build-depends on bash. Why do you add quilt as both build-depends and build-depends-indep? Check this for more details on build dependencies:

http://www.debian.org/doc/debian-policy/ch-relationships.html

I'm not particularly happy about making just one change to one script, they are all !/bin/sh scripts.
Can you check with the DD when he will upload a new package? If its not too late we could even wait and sync then.

Changed in bootcd:
assignee: nobody → nxvl
status: Confirmed → In Progress
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote : Re: [Bug 165030] Re: bootcd FTBFS on hardy

Ok i will ask the DM when he will also i will check the other sh scripts,
but i don't think they need to be changed because they work fine.
About adding bash as build dep i think i forget it :P
and thanks for the link, i was unsure about it so i added to the two of them
:P
Thanks for your time.

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Here is a new patch.

i've also report it to debian.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453263

Changed in bootcd:
assignee: nxvl → nobody
status: In Progress → Confirmed
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

The DM tell me he will release next version with the changes this year, and he can't be more exactly, also tell me there is no need to use bash, it only has a dash syntax error which y have fix and test in this new patch.

Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

sorry about last patch!

Luke Yelavich (themuso)
Changed in bootcd:
assignee: nobody → themuso
status: Confirmed → In Progress
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

Sorry once again

Revision history for this message
Luke Yelavich (themuso) wrote :

Uploaded, thanks for your work. Please ensure this gets synced from Debian as soon as this fix hits there.

Changed in bootcd:
status: In Progress → Fix Committed
Revision history for this message
Nicolas Valcarcel (nvalcarcel) wrote :

bootcd (3.08ubuntu1) hardy; urgency=low

  * Added 01bootcdmk2diskconf.src.diff patch:
    - Changes "((" with "( (" for dash compatibility (LP: #165030)
  * Implement quilt patch system:
    - Add quilt as a Build-Depends in debian/control
    - Add quilt support in debian/rules
  * debian/control: Update maintainer fields according to debian-
    maintainer-field spec.

 -- Nicolas Valcarcel Scerpella (aka nxvl) <email address hidden> Thu, 29 Nov 2007 11:44:40 -0500

Changed in bootcd:
status: Fix Committed → Fix Released
Changed in bootcd:
status: Unknown → New
Changed in bootcd:
status: New → Fix Committed
Changed in bootcd:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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