Opened 9 years ago
Closed 9 years ago
#49541 closed defect (worksforme)
pango 1.38.1_0 build failure
Reported by: | george.dobbs@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | pango |
Description
This is part of the gtk2 build needed for the XtrackCAD program. I built the same on another machine and it worked fine. Both were running Yosemite 10.10.5. However this machine has been through more upgrades. The problem seems be around some kind of conflict between the +x11 and the +quartz variants. I've tried a number of things including various combinations of the variants. I also removed the slightly dated XQuartz version (I think it was 2.7.7) and installed the recent 2.7.8 version.
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/work/pango-1.38.1" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" :info:build Exit code: 2 :error:build org.macports.build for port pango returned: command execution failed :debug:build Error code: CHILDSTATUS 74715 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "portbuild::build_main org.macports.build" ("eval" body line 1) invoked from within "eval $procedure $targetname"
~ > xcodebuild -version Xcode 7.1 Build version 7B91b
Any help greatly appreciated.... George Dobbs
Attachments (1)
Change History (8)
Changed 9 years ago by george.dobbs@…
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… openmaintainer@… removed |
---|---|
Keywords: | pango yosemite x11 xquartz removed |
Owner: | changed from macports-tickets@… to ryandesign@… |
The relevant error in the log is:
:info:build grep: /opt/local/lib/libintl.la: No such file or directory :info:build sed: /opt/local/lib/libintl.la: No such file or directory :info:build libtool: error: '/opt/local/lib/libintl.la' is not a valid libtool archive
It is normal on OS X 10.9 and later for there to be no .la files. The problem is that something on your system still thinks there should be.
You could run into this type of problem if you upgraded from OS X 10.8 or earlier to OS X 10.9 or later and did not uninstall all ports per the migration instructions. Is it possible that this is what happened?
comment:2 Changed 9 years ago by george.dobbs@…
This definitely sounds like it could be the case. This machine has gone through a number of upgrades. I actually had never heard of macports before this, but something seems like it was using it. I'll go through the steps in the migration instructions and let you know. Thanks for the fantastically quick response.
comment:3 Changed 9 years ago by george.dobbs@…
I ran the migration instructions and then reran
sudo port install gtk2
Which produced
---> Computing dependencies for gtk2 ---> Dependencies to be installed: pango perl5 perl5.16 xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto ---> Fetching archive for pango ---> Attempting to fetch pango-1.38.1_0+quartz+x11.darwin_14.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/pango ---> Attempting to fetch pango-1.38.1_0+quartz+x11.darwin_14.x86_64.tbz2 from http://packages.macports.org/pango ---> Attempting to fetch pango-1.38.1_0+quartz+x11.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/pango ---> Fetching distfiles for pango ---> Verifying checksums for pango ---> Extracting pango ---> Applying patches to pango ---> Configuring pango ---> Building pango Error: org.macports.build for port pango returned: command execution failed Error: Failed to install pango Please see the log file for port pango for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_pango/pango/main.log Error: The following dependencies were not installed: pango perl5 perl5.16 xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-inputproto xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gtk2 failed
The log repeats the same error which you noted before
:info:build grep: /opt/local/lib/libintl.la: No such file or directory :info:build sed: /opt/local/lib/libintl.la: No such file or directory :info:build libtool: error: '/opt/local/lib/libintl.la' is not a valid libtool archive
I did a finder search for libintl.la. The only place I found it (outside of the macports files) was in gettext.m4 located in /opt/local/share/aclocal
/opt/local/share/aclocal > ls -l gettext.m4 -rw-r--r-- 1 root admin 15355 Sep 14 03:36 gettext.m4
gettext does occur in myports.txt
gettext @0.19.6_0 (active) platform='darwin 14' archs='x86_64'
Is there any chance this could be the offender? If not, can you think of a way to locate the problem?
-- George Dobbs
comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
The only reference I see to libintl.la in gettext.m4 is on a comment line (i.e. one that begins with the characters "dnl") so that wouldn't do anything.
Just to confirm: when you say you "ran the migration instructions", that means you uninstalled all ports?
comment:5 Changed 9 years ago by george.dobbs@…
Ha. Shows what I know about M4!
I did uninstall all ports and then re-installed them, according to the directions.
comment:6 Changed 9 years ago by george.dobbs@…
The solution was to rebuild the machine with a new installation of OS X. Then everything worked fine. Thanks for your help. Please close ticket.
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
log of sudo port install pango