strace end of output of the `dkms ldtarball ...` command :

```
...
14013 close(1)                          = 0
14013 close(2)                          = 0
14013 exit_group(0)                     = ?
14013 +++ exited with 0 +++
13918 <... wait4 resumed> [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 
14013
13918 rt_sigaction(SIGINT, {sa_handler=0x555b7f3f60, sa_mask=[], sa_flags=0}, 
{sa_handler=0x555b7d76f8, sa_mask=[], sa_flags=0}, 8) = 0
13918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13918 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=14013, 
si_uid=0, si_status=0, si_utime=0, si_stime=0} ---
13918 wait4(-1, 0x7fc3f20120, WNOHANG, NULL) = -1 ECHILD (No child processes)
13918 rt_sigreturn({mask=[]})           = 0
13918 rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
13918 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
13918 exit_group(1)                     = ?
13918 +++ exited with 1 +++
```

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to dkms in Ubuntu.
https://bugs.launchpad.net/bugs/1002657

Title:
  dkms ldtarball has bad exit status

Status in dkms package in Ubuntu:
  Confirmed

Bug description:
  On host1 I created a tarball with the command:

  dkms mktarball open-vm-tools/2011.12.20 --binaries-only

  I then trasnfered it to host2 and ran2011.12.20

  dkms ldtarball /tmp/open-vm-tools-2011.12.20-kernel3.2.0-24-generic-
  x86_64.dkms.tar.gz

  which gave the output:

  Loading tarball for open-vm-tools-2011.12.20
  Creating /var/lib/dkms/open-vm-tools/2011.12.20/source
  Copying dkms.conf to /var/lib/dkms/open-vm-tools/2011.12.20/source...
  Loading /var/lib/dkms/open-vm-tools/2011.12.20/3.2.0-24-generic/x86_64...

  DKMS: ldtarball completed.

  But the exit status says that it failed:

  echo $?
  1

  Which creates problems when trying to script module installation.

  ProblemType: Bug
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  Date: Tue May 22 07:49:19 2012
  Dependencies:
   binutils 2.22-6ubuntu1
   coreutils 8.13-3ubuntu3
   cpp 4:4.6.3-1ubuntu5
   cpp-4.6 4.6.3-1ubuntu5
   debconf 1.5.42ubuntu1
   dpkg 1.16.1.2ubuntu7
   gcc 4:4.6.3-1ubuntu5
   gcc-4.6 4.6.3-1ubuntu5
   gcc-4.6-base 4.6.3-1ubuntu5
   libacl1 2.2.51-5ubuntu1
   libattr1 1:2.4.46-5ubuntu1
   libbz2-1.0 1.0.6-1
   libc-bin 2.15-0ubuntu10
   libc6 2.15-0ubuntu10
   libgcc1 1:4.6.3-1ubuntu5
   libgmp10 2:5.0.2+dfsg-2ubuntu1
   libgomp1 4.6.3-1ubuntu5
   liblzma5 5.1.1alpha+20110809-3
   libmpc2 0.9-4
   libmpfr4 3.1.0-3ubuntu2
   libquadmath0 4.6.3-1ubuntu5
   libselinux1 2.1.0-4.1ubuntu1
   libstdc++6 4.6.3-1ubuntu5
   make 3.81-8.1ubuntu1
   module-init-tools 3.16-1ubuntu2
   multiarch-support 2.15-0ubuntu10
   patch 2.6.1-3
   perl-base 5.14.2-6ubuntu2
   tar 1.26-4ubuntu1
   tzdata 2012b-1
   xz-utils 5.1.1alpha+20110809-3
   zlib1g 1:1.2.3.4.dfsg-3ubuntu4
  DistroRelease: Ubuntu 12.04
  NonfreeKernelModules: openafs
  Package: dkms 2.2.0.3-1ubuntu3
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   TERM=screen
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   LANGUAGE=en_GB:
   LC_CTYPE=en_GB.UTF-8
  ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
  SourcePackage: dkms
  Tags:  precise
  Uname: Linux 3.2.0-24-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/1002657/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to