Import package from a ppa from Precise to Xenial

Asked by Nicoali

i want to import all these packages:
https://launchpad.net/~cartodb/+archive/ubuntu/gis

in my launchpad:
https://launchpad.net/~nicoaliotta/+archive/ubuntu/cartodbrpi3

where i need packages for armhf Xenial
because i want to use them on a raspberrypi3 with ubuntu mate arm

When i copy packages they faile building

Question information

Language:
English Edit question
Status:
Answered
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Check the error messages and the buildlogs.

e.g.
precise had libruby1.8-dev; this package does not exist on xenial, but has been replaced by ruby2.3-dev etc.

nodejs:
  cc '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DHAVE_CONFIG_H' '-DCARES_STATICLIB' -I../deps/cares/include -I../deps/cares/src -I../deps/cares/config/linux -Wall -Wextra -Wno-unused-parameter -pthread -m32 -g --std=gnu89 -pedantic -Wall -Wextra -Wno-unused-parameter -O2 -fno-strict-aliasing -fno-tree-vrp -fno-omit-frame-pointer -MMD -MF /«PKGBUILDDIR»/out/Release/.deps//«PKGBUILDDIR»/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o.d.raw -c -o /«PKGBUILDDIR»/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o ../deps/cares/src/ares_cancel.c

cc: error: unrecognized command line option ‘-m32’

Apparently the cc compiler on arm64 does not have such option.

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

Why do you import versions for precise to a xenial system, if there are packages for xenial already existing (even precompiled for arm64)?
Just click on the 'Newer version available# links in the package table on https://launchpad.net/~nicoaliotta/+archive/ubuntu/cartodbrpi3

Revision history for this message
Nicoali (nicoaliotta) said :
#3

how to import in my ppa the 'Newer version available' packages??

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

Why do you want to create duplicate of these packages in your PPA, if there is a newer version available in the official repositories?

Revision history for this message
Nicoali (nicoaliotta) said :
#5

I think that the software that i'm tryng to install needs the version of
their ppa not the newest version.
So i was tryng to "port" the precise version into Xenial version. But i'm
not able to do that.

2016-07-10 21:12 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #296025 on Launchpad itself changed:
> https://answers.launchpad.net/launchpad/+question/296025
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Why do you want to create duplicate of these packages in your PPA, if
> there is a newer version available in the official repositories?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/launchpad/+question/296025
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

"So I was trying to "port" the precise version into Xenial version. But I'm not able to do that."

This will not work due to dependency issues.
Some packages for precise will depend on other packages that are available only in precise but not in xenial.

You should decide for your self:
Either stick to precise, there you should be able to work with the package version for precise
or
jump to xenial, but then you most probably have to use the source for xenial.

Revision history for this message
Nicoali (nicoaliotta) said :
#7

So if i'll compile from source that versions for Xenial arm64 they can work?

if yes all source of that packages are available?

2016-07-10 22:07 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #296025 on Launchpad itself changed:
> https://answers.launchpad.net/launchpad/+question/296025
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> "So I was trying to "port" the precise version into Xenial version. But
> I'm not able to do that."
>
> This will not work due to dependency issues.
> Some packages for precise will depend on other packages that are available
> only in precise but not in xenial.
>
> You should decide for your self:
> Either stick to precise, there you should be able to work with the package
> version for precise
> or
> jump to xenial, but then you most probably have to use the source for
> xenial.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/launchpad/+question/296025/+confirm?answer_id=5
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/launchpad/+question/296025
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

There seems to be some misunderstanding.

1. The standard Ubuntu repositories contain a consistent set of source and binary packages. They should all be able to compile, and all dependencies should be met - within one release series.

2. If you try to transfer the source for one release series (e.g. precise) to another one (e.g. xenial), you may have to update the package, because the dependencies might not be met in the new release any more (as already written above, precise had libruby1.8-dev; this package does not exist on xenial, but has been replaced by ruby2.3-dev etc.)

3. If you import the source from another PPA, you have to examine the prerequisites of that package in the PPA and care for meeting them:
e.g. compiling node-mapnik failed in your PPA, because it depends on libmapnik-dev (>= 3.0.11~) for xenial which is not available in the standard Ubuntu repositories. but only in ppa:ubuntugis/ubuntugis-testing.
Maybe importing mapnik from that PPA and building it first is sufficient that node-mapnik will then also compile (or you might to have to import other packages as well, or you might run into other problems).

4. The standard Ubuntu repositories for xenial provide pre-built packages for arm (arm64, armhf) architecture (but not all PPAs do).

Can you help with this problem?

Provide an answer of your own, or ask Nicoali for more information if necessary.

To post a message you must log in.