From owner-freebsd-ports@freebsd.org Mon Sep 24 14:18:19 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 487BF10AD4F9 for ; Mon, 24 Sep 2018 14:18:19 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it1-x144.google.com (mail-it1-x144.google.com [IPv6:2607:f8b0:4864:20::144]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CFCBF826F4 for ; Mon, 24 Sep 2018 14:18:18 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it1-x144.google.com with SMTP id w200-v6so2485426itc.4 for ; Mon, 24 Sep 2018 07:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eWLtmroVdEsYs4ewfONEWD69++kTbFolMgdYgeHrBJg=; b=vXTuNgk6AS98vC4UwwHOsVgwPB9jMCqDQDbtiQxjG3bdpJw0DkAqR1r2tX6dfvOKGC IlxmXgUUTOw5khoR4z50oDcPe+Pub7dFrSBqghw9gTbLu+vVJJK7vpA5oyjYNnc8tHgS Hr5S9hEA4ot9I0jp5x9JZhnoakJ1HMtCw1AHEDw5MmHozwkJYBP3XnjRSKcG6gfuHD6r 0OLiZza4HMe1JiIfNrXvEOtwcRbsiNn54bTYLcc15KcohTtOO9yYByWmjZBUOgh4zN1G sxM2OJ4m7VAU3zC6UOYnL6Zzt/ZY01Mazmab5FSq+n4ZGN4vZ4PA1t5pE645Olj/lUMa lUXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eWLtmroVdEsYs4ewfONEWD69++kTbFolMgdYgeHrBJg=; b=uY+dbgYZ0d89EwjbR57NJw10UNkgtCIt/MvgTUVZsiOd6z+81XAeXZ970CxGW2TiNC hfWHcDxzmyvrePwhxygy0y37ma13PalnQ2BldW1ErQGas1g/eyufUTygHYtybQ8Nc+C3 Ecwxw8l31aZPHD749nsVWNxvDXQ6ha88rVU7KWUnV/H9wRtaVq3OTUbrLZhdaYy1iiEn J14fYCLvTnVUMBP54hHe9u1ftAXXKsqp4ESaLmR671yNzjoAiDitNGqBILryBw5/FE07 BmRor5sJQtuVbS2qYrP8VajVfb9uoOVRnKvPUQZgFzq5Y9/W31xv2BrMVDp17yviFoRx GyxQ== X-Gm-Message-State: APzg51BiNazFbX8d0UQpIZe4fBXnlO9qjhsC4CVGaVSCuebFlVMT2BlB +qdiFMMqM+RW6Eh9evDJDwyzboD1/i8IER/1ASGnCA== X-Google-Smtp-Source: ANB0VdZ6tG/wkiEHg4VHExwJnZxQpPZdkUDDgcXoCjTjr9vGlEw9PwQRw6aGNiRb/4fcdlVqmEM3JXox6Tw//bjWlIw= X-Received: by 2002:a02:38c:: with SMTP id e12-v6mr7980020jae.71.1537798698104; Mon, 24 Sep 2018 07:18:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: blubee blubeeme Date: Mon, 24 Sep 2018 22:19:14 +0800 Message-ID: Subject: Re: error: undefined symbol: main in poudriere jail To: Lorenzo Salvadore Cc: FreeBSD Ports Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 14:18:19 -0000 On Mon, Sep 24, 2018, 22:04 Lorenzo Salvadore via freebsd-ports < freebsd-ports@freebsd.org> wrote: > > I am trying to update cad/brlcad there's an open issue on the Bugzilla > that > > I'd like to resolve. > > > > I'm getting this error both in poudriere but now it's also showing up > when > > trying to build outside of poudriere. > > > > Here is the build log > > https://transfer.sh/bn41v/brlcad-7.26.4_8.log > > > > this is a .shar file with the changes > > https://transfer.sh/wVh1c/brlcad-7.26.4.shar > > > > both my machine and poudriere are on r338902 > > > > Is this link error only affecting me? > > I am testing both the actual version of brlcad and your changes. Since I > have a > slow computer, this will take some time (if someone else with a more > powerful > computer can perform the tests in less time it is welcomed). > I have been unofficially maintaining this port for a while now. > > While we wait the results, here are two suggestions: > - ask the mantainer: he is the probably the one that knows better the port > and hence > the best person that can help you (since you are dealing with a bug > report, you might > like to contact him through this same bug report); > - I gave a quick look to your changes and seen the line > CMAKE_ARGS+= -DBRLCAD_BUNDLED_LIBS=ON. Bundled libraries often bring > problems > and, since you are having a linking problem, this might be the cause; > anyway, you should > avoid using them if you can > (see > https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html ) > I typically port all required libs but brlcad is a special set of tools. The linker worked to find earlier but recently stopped. I have want to use native libs but that's a much larger project that needs to be coordinated with the upstream devs. > > If someone else wants to help, it might be useful to give the link to the > bug report that you are working > on. Probably this is the link (it is the only open issue on cad/brlcad > that I found): > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211921 That is indeed the bug report and I've been patching things slowly, yes there were some issues with man pages, those were fixed and then I updated my jail to do one last test before submitting this new patch but then this issue shows up. > > > Lorenzo Salvadore. > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >