Opened 10 years ago

Closed 6 years ago

#47836 closed defect (fixed)

i386-mingw32-gcc @3.4.5-20060117-2 Fails to build

Reported by: rpspringuel (Fr. Samuel Springuel) Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mojca (Mojca Miklavec)
Port: i386-mingw32-gcc

Description

I'm running MacPorts 2.3.3 on Yosemite 10.10.3 with Xcode Version 6.3.2 (6D2105). Attempting to install i386-mingw32-gcc results in the following error:

Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for i386-mingw32-gcc
--->  Building i386-mingw32-gcc
Error: org.macports.build for port i386-mingw32-gcc returned: command execution failed
Please see the log file for port i386-mingw32-gcc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386-mingw32-gcc/i386-mingw32-gcc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port i386-mingw32-gcc failed

The complete log file is attached.

Attachments (1)

main.log (2.2 MB) - added by rpspringuel (Fr. Samuel Springuel) 9 years ago.
Log file of failed install

Change History (7)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: landonf@… openmaintainer@… removed
Owner: changed from macports-tickets@… to landonf@…

The log is not complete. Please clean and try again.

But I'm not surprised at all that software from 2006 doesn't build anymore in 2015. It might help if we updated the port.

comment:2 Changed 9 years ago by rpspringuel (Fr. Samuel Springuel)

Sorry about forgetting the clean step. I had encountered the problem while trying to install a bunch of ports and repeated the install for just this port in order to keep the bug report to just the pertinent information.

The error repeated after clean:

rps-mac:gregorio RPS$ sudo port clean i386-mingw32-gcc
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Cleaning i386-mingw32-gcc
rps-mac:gregorio RPS$ sudo port install i386-mingw32-gcc
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for i386-mingw32-gcc
--->  Fetching archive for i386-mingw32-gcc
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch i386-mingw32-gcc-3.4.5-20060117-2_1.darwin_14.x86_64.tbz2 from http://packages.macports.org/i386-mingw32-gcc
--->  Attempting to fetch i386-mingw32-gcc-3.4.5-20060117-2_1.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/i386-mingw32-gcc
--->  Attempting to fetch i386-mingw32-gcc-3.4.5-20060117-2_1.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/i386-mingw32-gcc
--->  Fetching distfiles for i386-mingw32-gcc
--->  Verifying checksums for i386-mingw32-gcc
--->  Extracting i386-mingw32-gcc
--->  Applying patches to i386-mingw32-gcc
--->  Configuring i386-mingw32-gcc
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Building i386-mingw32-gcc
Error: org.macports.build for port i386-mingw32-gcc returned: command execution failed
Please see the log file for port i386-mingw32-gcc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386-mingw32-gcc/i386-mingw32-gcc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port i386-mingw32-gcc failed

I've now replaced the attachment.

Changed 9 years ago by rpspringuel (Fr. Samuel Springuel)

Attachment: main.log added

Log file of failed install

comment:7 in reply to:  description Changed 9 years ago by peica@…

I change the 'CXXFLAGS_FOR_TARGET' as '-pipe -Os' within its Makefile. and the building done.

Replying to rpspringuel@…:

I'm running MacPorts 2.3.3 on Yosemite 10.10.3 with Xcode Version 6.3.2 (6D2105). Attempting to install i386-mingw32-gcc results in the following error:

Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option
--->  Computing dependencies for i386-mingw32-gcc
--->  Building i386-mingw32-gcc
Error: org.macports.build for port i386-mingw32-gcc returned: command execution failed
Please see the log file for port i386-mingw32-gcc for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_i386-mingw32-gcc/i386-mingw32-gcc/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port i386-mingw32-gcc failed

The complete log file is attached.

comment:8 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca added
Version: 2.3.3

The error was:

error: unrecognized command line option "-stdlib=libc++"

I would suggest you to install i686-w64-mingw32-gcc instead.

See:

#40174
MinGW-w64: add win64 cross-compiler
#53061
i386-mingw32: remove ports, replaced by i686-w64-mingw32

I don't think that spending any time fixing the ancient beast is worth any effort. I needed a cross-compiler, but this one wasn't able to compile any slightly more modern C++ code.

comment:9 Changed 7 years ago by mf2k (Frank Schima)

Owner: landonf@… deleted
Status: newassigned

comment:10 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: assignedclosed

In 517d24224aaf2c8921cf5956baa43b08d0ebec45/macports-ports (master):

i386-mingw32: remove obsolete port

Port was scheduled for removal in 615abad779

Closes: #47836

Note: See TracTickets for help on using tickets.