Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture

2014-06-09 Thread Stephen Powell
On Sun, 08 Jun 2014 09:59:47 -0400 (EDT), maximilian attems wrote:
> 
> see scripts/package/builddeb:
> s390*)
> debarch=s390 ;;
> 
> this debarch setting very likely predates s390x

Thanks for the tip.  While looking at this file, I discovered
a circumvention.  Use the make variable

   KBUILD_DEBARCH=s390x

This works, even with an unmodified builddeb script.  In my test case,
I set CONFIG_LOCALVERSION to "-1custom01-s390x" during kernel configuration
(under "General Setup").  I also set CONFIG_DEBUG_INFO off.   (This is under
"Kernel Hacking".)  Then I issued

   make KDEB_PKGVERSION=3.14.4-1 KBUILD_PKG_ROOTCMD=fakeroot \
   INSTALL_MOD_STRIP=1 KBUILD_DEBARCH=s390x deb-pkg

as a non-root user.  It built a kernel image package just the way I wanted it.

-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture

2014-06-08 Thread Ben Hutchings
Control: tag -1 upstream patch

On Sun, 2014-06-08 at 09:30 -0400, Stephen Powell wrote:
> Package: linux
> Version: 3.14.4-1
> Severity: normal
> 
> "make deb-pkg", when issued on the s390x architecture, produces a 
> non-installable
> package.  The package is built for the s390 architecture, not the s390x
> architecture, and dpkg won't allow it to be installed, even if the package
> file is renamed to the expected naming convention (*_s390x.deb).

You can probably install it if you run 'dpkg --add-architecture s390'
first.

I previously sent a patch for this upstream in
<1381079114.2788.26.ca...@deadeye.wl.decadent.org.uk>, but this hasn't
been applied yet.

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.


signature.asc
Description: This is a digitally signed message part


Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture

2014-06-08 Thread maximilian attems
On Sun, Jun 08, 2014 at 09:30:23AM -0400, Stephen Powell wrote:
> Package: linux
> Version: 3.14.4-1
> Severity: normal
> 
> "make deb-pkg", when issued on the s390x architecture, produces a 
> non-installable
> package.  The package is built for the s390 architecture, not the s390x
> architecture, and dpkg won't allow it to be installed, even if the package
> file is renamed to the expected naming convention (*_s390x.deb).

see scripts/package/builddeb:
s390*)
debarch=s390 ;;

this debarch setting very likely predates s390x


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#750925: "make deb-pkg" produces a non-installable package on the s390x architecture

2014-06-08 Thread Stephen Powell
Package: linux
Version: 3.14.4-1
Severity: normal

"make deb-pkg", when issued on the s390x architecture, produces a 
non-installable
package.  The package is built for the s390 architecture, not the s390x
architecture, and dpkg won't allow it to be installed, even if the package
file is renamed to the expected naming convention (*_s390x.deb).
 
-- 
  .''`. Stephen Powell
 : :'  :
 `. `'`
   `-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org