compilers on Lion

Christopher Jones jonesc at hep.phy.cam.ac.uk
Sat Sep 8 14:35:50 UTC 2018


Hi,

> On 8 Sep 2018, at 3:08 pm, Werner LEMBERG <wl at gnu.org> wrote:
> 
> 
> Folks,
> 
> 
> macports newbie here :-)

Welcome !!


> 
> I'm running a Lion box and I'm running macports from git, which works
> just fine.  I've followed the advice on LibcxxOnOlderSystems and did
> 
>  cxx_stdlib         libc++
>  buildfromsource    always        .
> 
> Attached you can see the list of software that I've installed so far.
> In particular, I've installed `gcc8' and set it up as the default gcc
> compiler, which I think is a good choice later on for lilypond-devel,

What exactly did you do to set it as the ‘default’ gcc compiler ? port select ? This setting has no bearing on what ports use to build, its only there as a convenience for you, to define what you get as ‘gcc’ at the command line.

Also note that the gcc compilers do not use libc++ as their c++ runtime, but gcc default libstdc++. Mixing both runtimes is a very bad idea, so in fact using gcc is a bad choice. No ports in MacPorts will use it to build C++ sources.

You should instead use one of the clang compilers as your default.

> which doesn't like to be compiled with clang, AFAIK.  As the
> maintainer of FreeType and ttfautohint I'm also curious whether my
> stuff works correctly – there are some glitches here and there which I
> want to fix eventually with macport push requests as soon as I'm more
> acquainted with the system

<snip>

> * Saying
> 
>    port install poppler
> 
>  returns
> 
>    --->  Computing dependencies for poppler
>    The following dependencies will be installed: 
>     clang-3.7
>     clang-3.9
>     clang-4.0
>     clang-5.0
>     libomp
>     llvm-3.7
>     llvm-3.9
>     llvm-4.0
>     llvm-5.0    .
> 
>  For me, this looks like a bad joke!  *Four* compilers are necessary
>  for poppler?

No. Only one is needed for poppler. The others are likely required for the dependencies needed first, before you can instance poppler. 

cheers Chris

>  Additionally, it seems that since clang 3.8 it is no
>  longer necessary to have a separate `libomp' package at all, cf.
> 
>    https://openmp.llvm.org/    .
> 
>  Theoretically, my already installed gcc8 should compile this package
>  just fine, right?  Why doesn't `port' consider it?  Looking into
>  poppler's Portfile I don't see any compilers blacklisted.
> 
>  Please advise how to escape this dependency hell...
> 
> * Where can I get a concise and up-to-date description of portfiles?
>  `portfiles.7' seems to be heavily out of date...
> 
> I will certainly find more issues soon, but this e-mail is already too
> long :-)
> 
> 
>    Werner
> 
> autoconf @2.69_5 (active)
> autoconf-archive @2018.03.13_0 (active)
> automake @1.16.1_0 (active)
> bison @3.1_0 (active)
> bison-runtime @3.1_0 (active)
> bzip2 @1.0.6_0 (active)
> cairo @1.14.12_0+quartz+x11 (active)
> cctools @895_7+llvm34 (active)
> clang-3.4 @3.4.2_12+analyzer+arm_runtime (active)
> clang_select @2_0 (active)
> cmake @3.12.1_0 (active)
> curl @7.61.1_0+ssl (active)
> curl-ca-bundle @7.61.1_1 (active)
> db48 @4.8.30_4 (active)
> dejavu-fonts @2.37_0 (active)
> djvulibre @3.5.27_0 (active)
> docbook-xml @5.0_3 (active)
> docbook-xml-4.1.2 @5.0_1 (active)
> docbook-xml-4.2 @5.0_1 (active)
> docbook-xml-4.3 @5.0_1 (active)
> docbook-xml-4.4 @5.0_1 (active)
> docbook-xml-4.5 @5.0_1 (active)
> docbook-xml-5.0 @5.0_1 (active)
> emacs @26.1_2 (active)
> emacs-app @26.1_3 (active)
> expat @2.2.6_1 (active)
> fftw-3 @3.3.8_0 (active)
> flex @2.6.4_0 (active)
> fontconfig @2.13.1_0 (active)
> fontforge @20120731_3 (active)
> freetype @2.9.1_0 (active)
> fribidi @0.19.7_1 (active)
> gcc8 @8.2.0_0 (active)
> gcc_select @0.1_8 (active)
> gd2 @2.2.5_0+x11 (active)
> gdbm @1.16_0 (active)
> gdk-pixbuf2 @2.36.12_0+x11 (active)
> gettext @0.19.8.1_0 (active)
> ghostscript @9.24_0+x11
> ghostscript @9.24_1+x11 (active)
> giflib @4.2.3_0+x11 (active)
> git @2.18.0_0+credential_osxkeychain+doc+pcre+perl5_26 (active)
> glib2 @2.56.2_0+x11 (active)
> gmp @6.1.2_1 (active)
> gnome-common @3.18.0_0 (active)
> gnutls @3.5.19_0+doc (active)
> gobject-introspection @1.56.1_1 (active)
> gperf @3.1_0 (active)
> graphite2 @1.3.9_0 (active)
> graphviz @2.40.1_1+pangocairo+x11 (active)
> groff @1.22.3_5 (active)
> gts @0.7.6_3 (active)
> guile18 @1.8.8_6 (active)
> harfbuzz @1.8.8_0 (active)
> harfbuzz-icu @1.8.8_0 (active)
> help2man @1.47.6_0 (active)
> icu @58.2_2 (active)
> ilmbase @2.2.1_0 (active)
> ImageMagick @6.9.9-40_2+x11 (active)
> intltool @0.51.0_4 (active)
> isl @0.18_0 (active)
> jasper @2.0.14_0 (active)
> jbig2dec @0.14_0
> jbig2dec @0.15_0 (active)
> jbigkit @2.1_0 (active)
> joe @4.6_0 (active)
> jpeg @9c_0 (active)
> kerberos5 @1.16.1_0 (active)
> lcms2 @2.9_1 (active)
> ld64 @3_1 (active)
> ld64-latest @274.2_2+llvm34 (active)
> libarchive @3.3.2_1 (active)
> libcomerr @1.44.3_0 (active)
> libcroco @0.6.12_0 (active)
> libcxx @5.0.1_2+universal (active)
> libedit @20170329-3.1_2 (active)
> libffi @3.2.1_0 (active)
> libgcc @1.0_0 (active)
> libgcc8 @8.2.0_0 (active)
> libiconv @1.15_0 (active)
> libidn @1.35_0 (active)
> libidn2 @2.0.5_0 (active)
> libLASi @1.1.1_1 (active)
> libmacho-headers @895_0 (active)
> libmpc @1.1.0_1 (active)
> libnetpbm @10.83.01_0 (active)
> libpaper @1.1.24.5_0 (active)
> libpixman @0.34.0_0 (active)
> libpng @1.6.35_0 (active)
> libpsl @0.20.2-20180522_0 (active)
> libraw @0.19.0_0 (active)
> librsvg @2.40.20_2 (active)
> libtasn1 @4.13_0 (active)
> libtool @2.4.6_5 (active)
> libuninameslist @20170807_0 (active)
> libunistring @0.9.10_0 (active)
> libunwind-headers @5.0.1_0 (active)
> libuv @1.23.0_0 (active)
> libxml2 @2.9.7_0 (active)
> libxslt @1.1.32_0 (active)
> llvm-3.4 @3.4.2_12 (active)
> llvm_select @2_0 (active)
> lz4 @1.8.2_0 (active)
> lzip @1.20_0 (active)
> lzo2 @2.10_0 (active)
> m4 @1.4.18_2 (active)
> mc @4.8.19_0+slang2 (active)
> mpfr @4.0.1_0 (active)
> ncurses @6.1_0 (active)
> netpbm @10.83.01_0+x11 (active)
> nettle @3.4_0 (active)
> openexr @2.2.1_0 (active)
> openjpeg @2.3.0_0 (active)
> openssl @1.0.2p_0 (active)
> ossp-uuid @1.6.2_11+perl5_26 (active)
> p5.26-authen-sasl @2.160.0_0 (active)
> p5.26-capture-tiny @0.480.0_0 (active)
> p5.26-cgi @4.400.0_0 (active)
> p5.26-cpan-meta-requirements @2.140.0_0 (active)
> p5.26-data-dump @1.230.0_0 (active)
> p5.26-devel-checkbin @0.40.0_0 (active)
> p5.26-digest-hmac @1.30.0_0 (active)
> p5.26-digest-sha1 @2.130.0_4 (active)
> p5.26-encode-locale @1.50.0_0 (active)
> p5.26-error @0.170.260_0 (active)
> p5.26-extutils-makemaker @7.340.0_0 (active)
> p5.26-extutils-manifest @1.710.0_0 (active)
> p5.26-file-listing @6.40.0_1 (active)
> p5.26-getopt-long @2.500.0_0 (active)
> p5.26-gssapi @0.280.0_3 (active)
> p5.26-html-form @6.30.0_1 (active)
> p5.26-html-parser @3.720.0_0 (active)
> p5.26-html-tagset @3.200.0_4 (active)
> p5.26-http-cookies @6.40.0_0 (active)
> p5.26-http-daemon @6.10.0_1 (active)
> p5.26-http-date @6.20.0_1 (active)
> p5.26-http-message @6.180.0_0 (active)
> p5.26-http-negotiate @6.10.0_1 (active)
> p5.26-io @1.390.0_0 (active)
> p5.26-io-html @1.1.0_0 (active)
> p5.26-io-socket-inet6 @2.720.0_0 (active)
> p5.26-io-socket-ip @0.390.0_0 (active)
> p5.26-io-socket-ssl @2.59.0_0 (active)
> p5.26-libwww-perl @6.350.0_0 (active)
> p5.26-locale-gettext @1.70.0_0 (active)
> p5.26-lwp-mediatypes @6.20.0_1 (active)
> p5.26-lwp-protocol-https @6.70.0_0 (active)
> p5.26-mozilla-ca @20180117_0 (active)
> p5.26-net-http @6.180.0_0 (active)
> p5.26-net-libidn @0.120.0_5 (active)
> p5.26-net-smtp-ssl @1.40.0_0 (active)
> p5.26-net-ssleay @1.850.0_0 (active)
> p5.26-pathtools @3.750.0_0 (active)
> p5.26-scalar-list-utils @1.500.0_0 (active)
> p5.26-socket @2.27.0_0 (active)
> p5.26-socket6 @0.280.0_0 (active)
> p5.26-sub-name @0.210.0_0 (active)
> p5.26-sub-uplevel @0.280.0_0 (active)
> p5.26-term-readkey @2.370.0_0 (active)
> p5.26-test-deep @1.128.0_0 (active)
> p5.26-test-exception @0.430.0_0 (active)
> p5.26-test-fatal @0.14.0_0 (active)
> p5.26-test-leaktrace @0.160.0_0 (active)
> p5.26-test-needs @0.2.5_0 (active)
> p5.26-test-nowarnings @1.40.0_1 (active)
> p5.26-test-requiresinternet @0.50.0_0 (active)
> p5.26-test-warn @0.360.0_0 (active)
> p5.26-try-tiny @0.300.0_0 (active)
> p5.26-uri @1.740.0_0 (active)
> p5.26-www-robotrules @6.20.0_1 (active)
> p5.26-xml-parser @2.440.0_0 (active)
> p11-kit @0.23.14_0 (active)
> pango @1.42.4_0+quartz+x11 (active)
> pcre @8.42_0 (active)
> pcre2 @10.31_0 (active)
> perl5 @5.26.1_0+perl5_26 (active)
> perl5.26 @5.26.2_1 (active)
> pkgconfig @0.29.2_0 (active)
> poppler-data @0.4.9_0 (active)
> popt @1.16_0 (active)
> ps2eps @1.68_1 (active)
> psutils @p17_1 (active)
> py27-beaker @1.10.0_0 (active)
> py27-funcsigs @1.0.2_0 (active)
> py27-mako @1.0.7_0 (active)
> py27-markupsafe @1.0_0 (active)
> py27-setuptools @40.2.0_0 (active)
> python2_select @0.0_2 (active)
> python27 @2.7.15_0 (active)
> python_select @0.3_7 (active)
> readline @7.0.005_0 (active)
> rsync @3.1.3_0 (active)
> shared-mime-info @1.10_0 (active)
> slang2 @2.2.4_3 (active)
> sqlite3 @3.24.0_1 (active)
> t1lib @5.1.2_2 (active)
> t1utils @1.41_0 (active)
> texi2html @5.0_1 (active)
> texinfo @6.5_2 (active)
> tiff @4.0.9_0 (active)
> ttfautohint @1.7_0 (active)
> urw-fonts @1.0.7pre44_0 (active)
> vala @0.42.0_0 (active)
> webp @1.0.0_0 (active)
> xar @1.6.1_0 (active)
> Xft2 @2.3.2_0 (active)
> xmlcatmgr @2.2_1 (active)
> xorg-libice @1.0.9_1 (active)
> xorg-libpthread-stubs @0.4_0 (active)
> xorg-libsm @1.2.2_0 (active)
> xorg-libX11 @1.6.6_1 (active)
> xorg-libXau @1.0.8_1 (active)
> xorg-libXaw @1.0.13_2 (active)
> xorg-libxcb @1.13_1+python27 (active)
> xorg-libXdmcp @1.1.2_1 (active)
> xorg-libXext @1.3.3_1 (active)
> xorg-libXfixes @5.0.3_1 (active)
> xorg-libXi @1.7.9_1 (active)
> xorg-libxkbfile @1.0.9_1 (active)
> xorg-libxkbui @1.0.2_0 (active)
> xorg-libXmu @1.1.2_0 (active)
> xorg-libXt @1.1.5_2 (active)
> xorg-util-macros @1.19.2_0 (active)
> xorg-xcb-proto @1.13_0+python27 (active)
> xorg-xcb-util @0.4.0_1 (active)
> xorg-xorgproto @2018.4_0 (active)
> xorg-xtrans @1.3.5_0 (active)
> xpm @3.5.12_1 (active)
> xrender @0.9.10_1 (active)
> xz @5.2.4_0 (active)
> zlib @1.2.11_0 (active)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1910 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180908/ec60ebae/attachment.bin>


More information about the macports-users mailing list