[opensuse-buildservice] Packaging dpkg as .deb

Hi, I have been trying to create a .deb package of the most recent version of dpkg. It isn't going so well. I noted the following errors from the log that maybe relevent... ----- preinstalling bash... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors tar: data.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors preinstalling perl... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors tar: data.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors preinstalling perl-base... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors tar: data.tar.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Exiting with failure status due to previous errors ..... dpkg: libc6: dependency problems, but configuring anyway as you requested: libc6 depends on libc-bin (= 2.11.1-0ubuntu7); however: Package libc-bin is not installed. libc6 depends on debconf (>= 0.5) | debconf-2.0; however: Package debconf is not installed. Package debconf-2.0 is not installed. libc6 depends on libgcc1; however: Package libgcc1 is not installed. libc6 depends on tzdata; however: Package tzdata is not installed. libc6 depends on findutils (>= 4.4.0-2ubuntu2); however: Package findutils is not installed. .... dpkg: plymouth: dependency problems, but configuring anyway as you requested: plymouth depends on mountall (>= 2.0); however: Package mountall is not installed. update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools ... installing mountall Processing triggers for man-db ... configure all installed packages... removing nis flags from //etc/nsswitch.conf... now finalizing build dir... dpkg-source: warning: could not verify signature on /usr/src/packages/SOURCES/dpkg_1.16.1ubuntu1.dsc since gpg isn't installed dpkg-source: info: extracting dpkg in /usr/src/packages/BUILD dpkg-source: info: unpacking dpkg_1.16.1ubuntu1.tar.bz2 ----------------------------------------------------------------- ----- building dpkg_1.16.1ubuntu1.dsc (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package dpkg dpkg-buildpackage: source version 1.16.1ubuntu1 dpkg-buildpackage: source changed by Colin Watson <cjwatson@ubuntu.com> dpkg-buildpackage: host architecture i386 dpkg-checkbuilddeps: Unmet build dependencies: libselinux1-dev (>= 1.28-4) dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting. dpkg-buildpackage: warning: (Use -d flag to override.) [ 655.856369] Power down. Does anyone know what I can do to correct this? Thanks in advance, Nasa -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am Montag, 17. Oktober 2011, 12:19:32 schrieb Nasa:
Hi,
I have been trying to create a .deb package of the most recent version of dpkg. It isn't going so well. I noted the following errors from the log that maybe relevent...
----- preinstalling bash... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory ...
This is from you worker host. It means your local tools are not runable since basic libs are missing. Try to unpack any tar ball first to verify what kind of breakage you have there. ... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de

----- Original Message -----
Am Montag, 17. Oktober 2011, 12:19:32 schrieb Nasa:
Hi,
I have been trying to create a .deb package
of the most recent version of dpkg. It isn't going
so well. I noted the following errors from the log
that maybe relevent...
-----
preinstalling bash...
ar: error while loading shared libraries: libz.so.1: cannot open shared
object file: No such file or directory tar: control.tar.gz: Cannot open: No
such file or directory
...
This is from you worker host. It means your local tools are not runable since basic libs are missing.
Try to unpack any tar ball first to verify what kind of breakage you have there.
Adrian, Because I am slow... You said the "local tools" -- I am using the web version of OBS, and it seems to work fine for a number of other packages. Based on the 2nd statement, are you suggesting the tar file is corrupt and/or is suppose to provide libraries that aren't there? My initial reading of the log files made me think libz.so.1 was part of the web based system. Given that I am just learning the in/outs of OBS, please forgive the simplistic questions, Nasa
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am Montag, 17. Oktober 2011, 12:54:31 schrieb Nasa:
----- Original Message -----
Am Montag, 17. Oktober 2011, 12:19:32 schrieb Nasa:
Hi,
I have been trying to create a .deb package
of the most recent version of dpkg. It isn't going
so well. I noted the following errors from the log
that maybe relevent...
-----
preinstalling bash...
ar: error while loading shared libraries: libz.so.1: cannot open shared
object file: No such file or directory tar: control.tar.gz: Cannot open: No
such file or directory
...
This is from you worker host. It means your local tools are not runable since basic libs are missing.
Try to unpack any tar ball first to verify what kind of breakage you have there.
Adrian,
Because I am slow... You said the "local tools" -- I am using the web version of OBS
Uh, you use build.opensuse.org ? Which project/package in that case ?
, and it seems to work fine for a number of other packages. Based on the 2nd statement, are you suggesting the tar file is corrupt and/or is suppose to provide libraries that aren't there? My initial reading of the log files made me think libz.so.1 was part of the web based system.
I was under the impression that this is a local OBS instance. In that case you need to check the host where bs_worker is running.
Given that I am just learning the in/outs of OBS, please forgive the simplistic questions,
Nasa
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de

----- Original Message -----
Am Montag, 17. Oktober 2011, 12:54:31 schrieb Nasa:
----- Original Message -----
Am Montag, 17. Oktober 2011, 12:19:32 schrieb Nasa:
Hi,
I have been trying to create a .deb package
of the most recent version of dpkg. It isn't going
so well. I noted the following errors from the log
that maybe relevent...
-----
preinstalling bash...
ar: error while loading shared libraries: libz.so.1: cannot open
shared
object file: No such file or directory tar: control.tar.gz: Cannot
open: No
such file or directory
...
This is from you worker host. It means your local tools are not
runable since basic libs are missing.
Try to unpack any tar ball first to verify what kind of breakage you
have there.
Adrian,
Because I am slow... You said the "local tools" -- I am using the web
version of OBS
Uh, you use build.opensuse.org ? Which project/package in that case ?
Here's a link to the package: https://build.opensuse.org/package/show?package=dpkg&project=home%3Atsx-5 the project is home:tsx-5 and package is dpkg
, and it seems to work fine for a number of other packages.
Based on the 2nd statement, are you suggesting the tar file is corrupt
and/or is suppose to provide libraries that aren't there? My initial
reading of the log files made me think libz.so.1 was part of the web based
system.
I was under the impression that this is a local OBS instance. In that case you need to check the host where bs_worker is running.
My apologies, not sure how to do this (outside of looking at the monitor) Nasa
Given that I am just learning the in/outs of OBS, please forgive the
simplistic questions,
Nasa
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am Montag, 17. Oktober 2011, 13:19:32 schrieb Nasa:
----- Original Message -----
Am Montag, 17. Oktober 2011, 12:54:31 schrieb Nasa:
----- Original Message -----
Am Montag, 17. Oktober 2011, 12:19:32 schrieb Nasa:
Hi,
I have been trying to create a .deb package
of the most recent version of dpkg. It isn't going
so well. I noted the following errors from the log
that maybe relevent...
-----
preinstalling bash...
ar: error while loading shared libraries: libz.so.1: cannot open
shared
object file: No such file or directory tar: control.tar.gz: Cannot
open: No
such file or directory
...
This is from you worker host. It means your local tools are not
runable since basic libs are missing.
Try to unpack any tar ball first to verify what kind of breakage you
have there.
Adrian,
Because I am slow... You said the "local tools" -- I am using the web
version of OBS
Uh, you use build.opensuse.org ? Which project/package in that case ?
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now. You still have the problem that libselinux1-dev gets not installed. This is most likely a bug in our .dsc parser, which gets confused by the "[linux-any]" string. Michael is going to fix this in next minutes, but it will take some time until that get deployed. So please remove that string for now. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de

On Monday, October 17, 2011 08:44:46 AM Adrian Schröter wrote:
You still have the problem that libselinux1-dev gets not installed. This is most likely a bug in our .dsc parser, which gets confused by the "[linux-any]" string. Michael is going to fix this in next minutes, but it will take some time until that get deployed. So please remove that string for now.
Ubuntu package search reveals that that package exists only in oneiric which does not exist in OBS yet! -- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117

----- Original Message -----
On Monday, October 17, 2011 08:44:46 AM Adrian Schröter wrote:
You still have the problem that libselinux1-dev gets not installed. This is most likely a bug in our .dsc parser, which gets confused by the "[linux-any]" string. Michael is going to fix this in next minutes, but it will take some time until that get deployed. So please remove that string for now.
Ubuntu package search reveals that that package exists only in oneiric which does not exist in OBS yet!
Yes, I pulled these from launchpad as I wanted to add pulseaudio to 10.04... Why you may ask? I am using the very nice bodhi linux distro which is based on 10.04. I am also trying to compile navit from svn. BTW: thanks a lot for looking into this for me, I do really appreciate it! Nasa
-- Paul Elliott 1(512)837-1096 pelliott@BlackPatchPanel.com PMB 181, 11900 Metric Blvd Suite J http://www.free.blackpatchpanel.com/pme/ Austin TX 78758-3117
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Was this fixed with 10.04 as well?
You still have the problem that libselinux1-dev gets not installed. This is most likely a bug in our .dsc parser, which gets confused by the "[linux-any]" string. Michael is going to fix this in next minutes, but it will take some time until that get deployed. So please remove that string for now.
Does this apply for both 10.04 and 11.04? Thanks again, Nasa -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

You still have the problem that libselinux1-dev gets not installed. This is most likely a bug in our .dsc parser, which gets confused by the "[linux-any]" string. Michael is going to fix this in next minutes, but it will take some time until that get deployed. So please remove that string for now.
Adrian, I did as you suggested... Unfortunately, libselinux1-dev still did not get installed. Nasa
bye
adrian
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04? Nasa
bye
adrian
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am Mittwoch, 19. Oktober 2011, 10:07:50 schrieb Nasa:
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3A tsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04?
It seems you have already a successfull build for it, no ? bye adrian
Nasa
bye
adrian
--
Adrian Schroeter
SUSE Linux Products GmbH
email: adrian@suse.de
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

----- Original Message -----
Am Mittwoch, 19. Oktober 2011, 10:07:50 schrieb Nasa:
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3A tsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04?
It seems you have already a successfull build for it, no ?
bye adrian
No, infact, all the packages for 10.04 now show "failed" or "unresolvable" due to the same error as was for 11.04 (11.04 seems to be working fine now). Nasa BTW: thanks for the help, I do appreciate it. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

----- Original Message -----
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04?
Sorry to keep bothering you all on this one... But I'm unclear if Ubuntu 10.04 can get the fix you applied to the 11.04 build. It does exhibit the same problems as 11.04 did. ie: preinstalling bash... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory Nasa -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

----- Original Message -----
----- Original Message -----
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project=home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04?
Sorry to keep bothering you all on this one... But I'm unclear if Ubuntu 10.04 can get the fix you applied to the 11.04 build. It does exhibit the same problems as 11.04 did. ie:
preinstalling bash... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory
Sorry to keep bother people about this... Hopefully, someone can give me a clue on how to address it. Nasa -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am Montag, 24. Oktober 2011, 08:00:57 schrieb Nasa:
----- Original Message -----
----- Original Message -----
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project =home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04?
Sorry to keep bothering you all on this one... But I'm unclear if Ubuntu 10.04 can get the fix you applied to the 11.04 build. It does exhibit the same problems as 11.04 did. ie:
preinstalling bash... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory
Sorry to keep bother people about this... Hopefully, someone can give me a clue on how to address it.
it seems your project did build it successfully, but it is currently disabled, so I can't check the current state.
Nasa
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

----- Original Message -----
Am Montag, 24. Oktober 2011, 08:00:57 schrieb Nasa:
----- Original Message -----
----- Original Message -----
Here's a link to the package:
https://build.opensuse.org/package/show?package=dpkg&project =home%3Atsx-5
the project is home:tsx-5 and package is dpkg
okay, it was a not complete configuration in Ubuntu:11.04 project, which did not keep the libdpkg-perl package when building dpkg. This is fixed now.
Thanks for this fix, it has improved things significantly. Could this fix also be applied to Ubuntu:10.04?
Sorry to keep bothering you all on this one... But I'm unclear if Ubuntu 10.04 can get the fix you applied to the 11.04 build. It does exhibit the same problems as 11.04 did. ie:
preinstalling bash... ar: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory tar: control.tar.gz: Cannot open: No such file or directory
Sorry to keep bother people about this... Hopefully, someone can give me a clue on how to address it.
it seems your project did build it successfully, but it is currently disabled, so I can't check the current state.
Thanks for taking the time to get back with me. If you look at https://build.opensuse.org/package/show?package=debhelper&project=home%3Atsx... you'll see that for 10.04 it's enabled, however, it has the same errors as previously reported (just checked as I was writing this email). I do have a number of things diabled, but mostly for newer versions of Ubuntu. Again, thanks for looking at this for me. Nasa BTW: hit reply vs reply all earlier, fixing that by adding this to the list. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Nasa
-
Paul Elliott