[Cbc] unable to build - svn externals broken, coinbrew broken ?

Ted Ralphs ted at lehigh.edu
Wed Jan 22 11:03:29 EST 2020


I guess this is because the capability to build all projects without
installing depends on being able to find the .pc files for the uninstalled
packages. The configure script used to take care of building the pkg-config
search path so that the uninstalled packages could be found, but we now
finished a complete re-implementation and simplification of the build
harness (which is the reason for the changes you observed) and it no longer
builds that search path automatically.

A relatively easy fix would be to build the search path within coinbrew
itself, since coinbrew knows where the uninstalled packages are. The only
problem is that I noticed cbc-uninstalled.pc is no longer produced. Without
that, I guess there is no way to support building all packages before
installing anything. I personally think this is something we should
support. Stefan, what is your thinking?

Other alternatives if you want to test everything before installing are not
as nice, but workable.

   - If you don't specify a prefix, everything will get built and installed
   into a local directory dist/. Once everything looks good, you can build and
   install where you really want things to be.
   - You can also configure with --enable-relocatable, in which case the
   entire package should be relocatable and you can just move the contents of
   the dist/ directory to the final location.

 By the way, if you want to skip building of any project, you can just say,
e.g., --skip ThirdParty/Mumps or comment the line in the Dependencies file
if you want to avoid adding the argument every time.

Ted

On Wed, Jan 22, 2020 at 9:18 AM Pieter Zieschang <pieter.zieschang at modis.de>
wrote:

> Hello,
>
> your answer with "where the CoinUtils install should have been"
>
> made me try it out with installation, e.g. build install
>
> ../coinbrew build install Cbc --enable-cbc-parallel --verbosity=4 --test
> --prefix=/opt/msp/cbc-trunk-2020-01-22 --no-prompt
>
>
> Now it progresses beyond Osi compile and install, but fails on Clp.
>
>
> This on Fedora release 30 (Thirty).
>
>
> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
> reference to `dcopy_'
> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
> reference to `dger_'
> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
> reference to `idamax_'
> /bin/ld: /opt/msp/cbc-trunk-2020-01-22/lib/libcoinmumps.so: undefined
> reference to `dgemv_'
> collect2: error: ld returned 1 exit status
> make[2]: *** [Makefile:916:clp] Error 1
>
>
> So there is definitely something wrong with build only without install.
>
>
>
> Next step was to exclude mumps using --without-mumps, because it failed on
> linking within the Mumps part.
>
> It compiled and installed fine !
>
>
> So i think the build only brewcoin does not work and mumps has some issues
> in current trunk too.
>
>
> Pieter
>
>
>
> Mit freundlichen Grüßen / Kind regards
> ________________________________________
>
> *Pieter Zieschang*
>
>
> *Modis IT Outsourcing GmbH*
> Atriumstraße 1, 04315 Leipzig
>
> Amtsgericht Düsseldorf: HRB 78227
> Geschäftsführer: Martin Wimmer, Jörg Brinkmann
>
> ito.modis.de
>
>
>
>
>
>
> From:        "Stefan Vigerske" <svigerske at gams.com>
> To:        "Pieter Zieschang" <pieter.zieschang at modis.de>,
> cbc at list.coin-or.org
> Date:        22.01.2020 14:12
> Subject:        Re: [Cbc] unable to build - svn externals broken,
> coinbrew broken ?
> ------------------------------
>
>
>
> Hi,
>
> it looks like the install of CoinUtils didn't run through.
> coinbrew should build and install CoinUtils before configuring Osi.
> In the pieces from the log you posted, I only see "..." where the
> CoinUtils install should have been.
>
> Cbc requires Osi, there is no way to build Cbc without it.
>
> Stefan
>
> On 1/22/20 12:07 PM, Pieter Zieschang wrote:
> > Hello,
> >
> > Coin-CBC seems to be broken for building.
> >
> >
> > svn checkout https://projects.coin-or.org/svn/Cbc/trunk/
> >
> > does not contain the externals anymore and directory structure seems to
> > have changed, so the old simple way of just building Cbc does not work
> > anymore
> >
> > which was:
> >
> > cd build
> > ../configure --enable-cbc-parallel --prefix=/opt/cbc-trunk
> > make && make test && make install
> >
> >
> > Unfortunately coinbrew fails too, building CoinUtils and then missing it
> > !?
> >
> >
> > mkdir Cbc-trunk-2020-01-22
> > cd Cbc-trunk-2020-01-22
> > ../coinbrew fetch Cbc:trunk --verbosity=2 --no-prompt
> > ../coinbrew build Cbc --verbosity=4 --test
> > --prefix=/opt/cbc-trunk-2020-01-22
> >
> > ..
> >    CXXLD    libCoinUtils.la
> > make[2]: Leaving directory
> > '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master/src'
> > make[1]: Leaving directory
> > '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master/src'
> > make[1]: Entering directory
> > '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master'
> > make[1]: Nothing to be done for 'all-am'.
> > make[1]: Leaving directory
> > '/home/xxx/Cbc-trunk-2020-01-22/build/CoinUtils/master'
> >
> > ...
> > Configuring Osi Master
> > ...
> > checking pkgconf is at least version 0.16.0... yes: 1.6.1
> > configure: pkgconf path is "/opt/msp/cbc-trunk-2020-01-22/lib/pkgconfig:"
> > checking for package CoinUtils... no
> > configure: error: Required package CoinUtils not available.
> >
> >
> >
> > Is there any way to skip Osi Master for now?
> > Currently i only need the main CBC, nothing else.
> >
> >
> > Thanks
> >
> >
> >
> > Mit freundlichen Grüßen / Kind regards
> > ________________________________________
> >
> > Pieter Zieschang
> >
> >
> > Modis IT Outsourcing GmbH
> > Atriumstraße 1, 04315 Leipzig
> >
> > Amtsgericht Düsseldorf: HRB 78227
> > Geschäftsführer: Martin Wimmer, Jörg Brinkmann
> >
> > ito.modis.de
> >
> >
> >
> > Diese E-Mail und alle Anhänge sind vertraulich und für den Adressaten
> bestimmt und können auch privilegiert oder von der Offenlegung nach
> geltendem Recht ausgenommen sein. Wenn Sie nicht der Adressat sind oder
> diese E-Mail irrtümlicherweise erhalten haben, benachrichtigen Sie den
> Absender unverzüglich, löschen Sie die E-Mail aus Ihrem System und kopieren
> Sie keine Teile dieser E-Mail oder deren Anhänge und geben Sie sie nicht
> weiter.
> >
> > This email and any attachments are confidential and intended for the
> addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email
> in error, please notify the sender immediately, delete it from your system
> and do not copy, or disclose or otherwise act upon any part of this email
> or its attachments.
> >
> >
> > _______________________________________________
> > Cbc mailing list
> > Cbc at list.coin-or.org
> > https://list.coin-or.org/mailman/listinfo/cbc
> >
>
>
>
> Diese E-Mail und alle Anhänge sind vertraulich und für den Adressaten
> bestimmt und können auch privilegiert oder von der Offenlegung nach
> geltendem Recht ausgenommen sein. Wenn Sie nicht der Adressat sind oder
> diese E-Mail irrtümlicherweise erhalten haben, benachrichtigen Sie den
> Absender unverzüglich, löschen Sie die E-Mail aus Ihrem System und kopieren
> Sie keine Teile dieser E-Mail oder deren Anhänge und geben Sie sie nicht
> weiter.
>
> This email and any attachments are confidential and intended for the
> addressee and may also be privileged or exempt from disclosure under
> applicable law. If you are not the addressee, or have received this email
> in error, please notify the sender immediately, delete it from your system
> and do not copy, or disclose or otherwise act upon any part of this email
> or its attachments.
> _______________________________________________
> Cbc mailing list
> Cbc at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/cbc
>


-- 
Dr. Ted Ralphs
Professor, Industrial and Systems Engineering
Lehigh University
(610) 628-1280
ted 'at' lehigh 'dot' edu
coral.ie.lehigh.edu/~ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/cbc/attachments/20200122/33ca61bb/attachment-0001.html>


More information about the Cbc mailing list