Opened 15 years ago
Closed 14 years ago
#24064 closed defect (fixed)
kdelibs3-3.5.10-4 doesn't build with zlib 1.2.4
Reported by: | Garfield-fr (Bertrand Zuchuat) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | kdelibs3, zlib |
Description
kdelibs3-3.5.10-4 make failed! Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all " returned error 1 DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10" && ./CompileScript.sh all " returned error 1 while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" Warning: the following items did not execute (for kdelibs3): org.macports.destroot org.macports.build DEBUG: Registry error: poll-emulator not registered as installed & active. while executing "registry::active $portname" Error: Unable to upgrade port: 1
Attachments (1)
Change History (5)
comment:1 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Port: | kdelibs3 added |
Changed 15 years ago by Garfield-fr (Bertrand Zuchuat)
Attachment: | kdelibs3.txt.bz2 added |
---|
comment:2 Changed 15 years ago by SBauer3@…
I had the same problem and by trial and error found the following workaround by systematically replacing certain ports by older versions as
explained in
InstallingOlderPort
One main culprit seems to be the new version of zlib, but also libxml2
Here is the list of ports I replaced by the older versions:
libxml2 @2.7.6_0 xorg-libXt @1.0.7_1 zlib @1.2.3_4 kdelibs3 @3.5.10_3 jpeg @7_0 jasper @1.900.1_6 tiff @3.9.2_2+macosx qt3 @3.3.8_8+darwin_10
My guess is that the latter four files might also work in the most recent versions. But I do not want to waste more time in checking.
comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | zlib added |
---|---|
Summary: | Error on compilation: kdelibs3-3.5.10-4 → kdelibs3-3.5.10-4 doesn't build with zlib 1.2.4 |
The debug log says:
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs3/work/kdelibs-3.5.10/kio/kio/kzip.cpp:53: /opt/local/include/zlib.h:1561: error: 'off64_t' does not name a type /opt/local/include/zlib.h:1562: error: 'off64_t' does not name a type /opt/local/include/zlib.h:1563: error: 'off64_t' does not name a type /opt/local/include/zlib.h:1564: error: 'off64_t' has not been declared /opt/local/include/zlib.h:1565: error: 'off64_t' has not been declared Error creating ./kio/kio/kzip.lo. Exit status 1.
So this is another port suffering from zlib 1.2.4 syndrome.
comment:4 Changed 14 years ago by mkae (Marko Käning)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This is an ancient and duplicate bug, still being shown as "new". Herewith marked as fixed, since irrelevant.
Note: See
TracTickets for help on using
tickets.
I don't see a lot of info to go on here. Can you please clean the port and try again with the debug switch?
Then attach kdelibs3.txt.bz2 from your desktop to this ticket.