New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24064 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

kdelibs3-3.5.10-4 doesn't build with zlib 1.2.4

Reported by: bertrand.zuchuat@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign@…
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

kdelibs3.txt.bz2 (25.6 KB) - added by bertrand.zuchuat@… 3 years ago.

Change History

comment:1 Changed 3 years ago by ryandesign@…

  • Cc ryandesign@… added
  • Port set to kdelibs3

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?

sudo port clean kdelibs3
sudo port -d install kdelibs3 2>&1 | tee ~/Desktop/kdelibs3.txt
bzip2 ~/Desktop/kdelibs3.txt

Then attach kdelibs3.txt.bz2 from your desktop to this ticket.

Changed 3 years ago by bertrand.zuchuat@…

comment:2 Changed 3 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 3 years ago by ryandesign@…

  • Port changed from kdelibs3 to kdelibs3, zlib
  • Summary changed from Error on compilation: kdelibs3-3.5.10-4 to 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 3 years ago by mk@…

  • Status changed from new to closed
  • Resolution set to fixed

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.