Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-dev] backporting and building?
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Sun, 7 Jun 2020 22:07:39 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SeakmdOatdv4xOXpdFce+5GCey2Js0HuhCUr2jenAcM=; b=ZYNvTfid0tVcsNmekY6A2o1/wR8Urt2xHDsD96bIgaP7x2tDPTqfZWMflYrI+0k+xCFe3WK991a4ic1tHG4mwX2btBOZS4Z0dAP1Ag5Pkdf2X7izUNf0wOfU3CEwGAfFnlns7Xv95A9P3fv7nIzL+lDtXM2tZCrW99eAVzVnrMfUe3XiNgmfCp4eJOr2ELRwD67SpJWodoqSxRl7eBtSdECW5vKWSOuk96x9MTR7WC1gMc+g56WJad73u0bdhQ6Z0xZmrAsylhXVRFvtaWGz2AVzkbyLfsRAteKzTU/EKhzpbk3iblA+pa/k4V7iz2gnQKPPglWFXpccOyF6Vmaydw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Nx8pBglRd2Yq4Q5zLEgl5bh0u6fKlxSBpW30UfbYux3pmKgTzhnaaaXcZ84XQWj1Az1s3syIkUXdRiImOdEEwkoZIv6PMLgg0uaqZSq7YBf/7t1fAGtbJmXtytie6NavTx9eVgiUWAMsZtIeze8296TTi68iYViGwl6UtQX7hFr/o2O6jIt0BewXAEx0k0YcZ99m3tbQITbKZB/ahCQ9eTGuS5V4Q+7qKjkD0Xomarw/I8F8GPtuq01+LtG5qvvG/NYw35AuRMptVthdu2Sdkg5/Qoe7HsGf9VmFebOdU8qdAz50DScpdCqL1Zw3V7Vm4jBJwho8cu81iZHdbQmjtg==
  • Delivered-to: platform-dev@xxxxxxxxxxx
  • Ironport-sdr: dtIn1zwe+0OtoXxcq+1wChGJ7g08PUMw1XALiVD5KIaaTsp/tsgC8GmTw0NsqTFY8WLkPwLnwi zIr+FN8GtBKQ==
  • Ironport-sdr: W99hHm6nrUtdK7836SiUoxy31tAVpOUg9a6IeR8F9Nb4fFgSbypFW8tfqna71fU8nKQQZINjHC QS5Tewb+CbzA==
  • List-archive: <https://www.eclipse.org/mailman/private/platform-dev>
  • List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWPRgOMBTIvUiotkaRqG4EDJl7Ng==
  • Thread-topic: [platform-dev] backporting and building?
  • User-agent: Microsoft-MacOutlook/16.37.20051002

FWIW, build succeeded after making the mentioned change.
Still just wondering if it is expected that such a change would be needed.

tony@tony-tower-bionic:~/spinny_mount/development/eclipse.platform.releng.aggregator$ git diff
diff --git a/eclipse-platform-parent/pom.xml b/eclipse-platform-parent/pom.xml
index 59d5eb53..f1149f54 100644
--- a/eclipse-platform-parent/pom.xml
+++ b/eclipse-platform-parent/pom.xml
@@ -89,9 +89,9 @@
       'eclipiserun-repo' repository, such as for computing .api-descriptions and
       generating API Tools reports.
     -->
-    <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.15-I-builds/</eclipserun-repo>
+    <eclipserun-repo>https://download.eclipse.org/eclipse/updates/4.15/</eclipserun-repo>
     
-    <comparator.repo>https://download.eclipse.org/eclipse/updates/4.15-I-builds</comparator.repo>
+    <comparator.repo>https://download.eclipse.org/eclipse/updates/4.15</comparator.repo>
 
     <!--
       NOTE: this EMF and ECF URL must match exactly what is in the eclipse-sdk-prereqs.target file.
@@ -635,7 +635,7 @@
           For maintenance streams should always be "M-builds".
           Ideally, this value would be provided by the environment, see bug 489789.
         -->
-        <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.15-I-builds</eclipse-p2-repo.url>
+        <eclipse-p2-repo.url>https://download.eclipse.org/eclipse/updates/4.15</eclipse-p2-repo.url>
       </properties>
       <repositories>
         <repository>

On 6/7/20 , 2:53 PM, "platform-dev-bounces@xxxxxxxxxxx on behalf of Homer, Tony" <platform-dev-bounces@xxxxxxxxxxx on behalf of tony.homer@xxxxxxxxx> wrote:

    Thanks for the guidance, Lars.

    I started with a fresh repo and followed the instructions on https://wiki.eclipse.org/Platform-releng/Platform_Build#cloning_platform_source_tree (which I found linked to from the tutorial you linked).

    git clone -b master --recursive git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
    cd eclipse.platform.releng.aggregator

    Then I checked out a new branch based on R4_15:
    git checkout -b R4_15 R4_15

    Then I continued with the steps on the page:
    git pull --recurse-submodules
    git submodule update

    Then I attempted to build eclipse.platform:
    cd eclipse.platform
    mvn -Pbuild-individual-bundles clean verify

    I got an error:
    [ERROR] Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'eclipse' from location https://download.eclipse.org/eclipse/updates/4.15-I-builds: No repository found at https://download.eclipse.org/eclipse/updates/4.15-I-builds. -> [Help 1]
    org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Failed to load p2 repository with ID 'eclipse' from location https://download.eclipse.org/eclipse/updates/4.15-I-builds

    I understand this is because the I-build directory is not there anymore, but I was wondering if this is expected?
    That is, is it expected that tagged builds will fail?

    I think I know how to fix it: search for https://download.eclipse.org/eclipse/updates/4.15-I-builds and replace with https://download.eclipse.org/eclipse/updates/4.15/.
    Is that correct?

    Thanks!
    Tony Homer

    On 6/7/20 , 7:54 AM, "platform-dev-bounces@xxxxxxxxxxx on behalf of Lars Vogel" <platform-dev-bounces@xxxxxxxxxxx on behalf of lars.vogel@xxxxxxxxxxx> wrote:

        Hi Tony,

        individual repos can be built with the following command. See for
        example https://www.vogella.com/tutorials/EclipsePlatformDevelopment/article.html#eclipse-platform-hudson-builds

        mvn -Pbuild-individual-bundles clean verify

        Best regards, Lars

        On Sun, Jun 7, 2020 at 4:45 PM Homer, Tony <tony.homer@xxxxxxxxx> wrote:
        >
        > Hi Dani-
        >
        >
        >
        > Thanks for responding.
        >
        > Yes, updating to Ant 1.10.8 mitigates https://nvd.nist.gov/vuln/detail/CVE-2020-1945, which is what I need to do.
        >
        >
        >
        > Tony Homer
        >
        >
        >
        > From: <platform-dev-bounces@xxxxxxxxxxx> on behalf of Daniel Megert <daniel_megert@xxxxxxxxxx>
        > Reply-To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
        > Date: Sunday, June 7, 2020 at 1:23 AM
        > To: "Eclipse platform general developers list." <platform-dev@xxxxxxxxxxx>
        > Subject: Re: [platform-dev] backporting and building?
        >
        >
        >
        > Hi Tony
        >
        > That commit only changes the Ant version in a test class. Is this really what you want to backport?
        >
        > Dani
        >
        >
        >
        > From:        "Homer, Tony" <tony.homer@xxxxxxxxx>
        > To:        "platform-dev@xxxxxxxxxxx" <platform-dev@xxxxxxxxxxx>
        > Date:        06.06.2020 22:51
        > Subject:        [EXTERNAL] [platform-dev] backporting and building?
        > Sent by:        platform-dev-bounces@xxxxxxxxxxx
        >
        > ________________________________
        >
        >
        >
        > I have an RCP product that is currently building against 4.15 and due to release timing I cannot update to 4.16 until after the current release cycle.
        >
        >
        >
        > I’d like to backport this fix to 4.15:
        >
        > https://git.eclipse.org/c/platform/eclipse.platform.git/commit/?id=4a27c8ad20b921af8df9731037aa756d70d6875f
        >
        >
        >
        > Applying the patch is no problem, but I’ve never built platform before.
        >
        > I’m not sure if I need to check out all the repos or can just checkout one of them.
        >
        > I’m not sure what build command to use.
        >
        >
        >
        > I looked for instructions, but there are none listed on the developer resources page:
        >
        > https://projects.eclipse.org/projects/eclipse.platform/developer
        >
        >
        >
        > I also looked at ci and it helped with the build command, but I couldn’t work out what I need to do to setup my environment:
        >
        > https://ci.eclipse.org/linuxtools/job/linuxtools-master/142/console
        >
        >
        >
        > Is there a doc that explains which repos to checkout and what build command to use?
        >
        >
        >
        > Thanks!
        >
        > Tony Homer_______________________________________________
        > platform-dev mailing list
        > platform-dev@xxxxxxxxxxx
        > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev
        >
        >
        >
        > _______________________________________________
        > platform-dev mailing list
        > platform-dev@xxxxxxxxxxx
        > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev



        -- 
        Eclipse Platform project co-lead
        CEO vogella GmbH

        Haindaalwisch 17a, 22395 Hamburg
        Amtsgericht Hamburg: HRB 127058
        Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
        USt-IdNr.: DE284122352
        Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
        _______________________________________________
        platform-dev mailing list
        platform-dev@xxxxxxxxxxx
        To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev

    _______________________________________________
    platform-dev mailing list
    platform-dev@xxxxxxxxxxx
    To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/platform-dev


Back to the top