Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#38093 closed defect (fixed)

kerberos5 1.11_1 darwin8 - build failed

Reported by: dinobot@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: marco.comini@…, cooljeanius (Eric Gallager)
Port: kerberos5

Description (last modified by larryv (Lawrence Velázquez))

:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_ma
cports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/kerberos5
/work/krb5-krb5-af092d6/src" && /usr/bin/make -w all

Build fails at:

+ /usr/bin/gcc-4.0 -undefined error -dead_strip -dynamiclib -compatibility_version 0 -current_version 0.0 -install_name /opt/local/lib/libverto.0.0.dylib -exported_symbols_list darwin.exports -pipe -O2 -arch ppc -fno-common -o libverto.0.0.dylib verto.so module.so verto-k5ev.so -lcrypto -lintl -lresolv -lm -arch ppc -Wl,-search_paths_first -dylib_file /opt/local/lib/libkrb5support.1.1.dylib:../../lib/libkrb5support.1.1.dylib -dylib_file /opt/local/lib/libkadm5srv.5.1.dylib:../../lib/libkadm5srv.5.1.dylib -dylib_file /opt/local/lib/libkdb5.4.0.dylib:../../lib/libkdb5.4.0.dylib
'''/usr/bin/libtool: can't locate file for: -lintl
/usr/bin/libtool: file: -lintl is not an object file (not allowed in a library)'''
make[2]: *** [libverto.0.0.dylib] Error 1

Attachments (1)

main.log (94.5 KB) - added by dinobot@… 11 years ago.

Download all attachments as: .zip

Change History (19)

comment:1 in reply to:  description Changed 11 years ago by dinobot@…

/usr/bin/libtool: can't locate file for: -lintl
/usr/bin/libtool: file: -lintl is not an object file (not allowed in a library)

libtool configured properly and I have libs for -linitl

please help.

Last edited 11 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Keywords: libtool -lintl removed
Priority: HighNormal

Thanks for the ticket. In the future, please don’t set the Priority field, as it is reserved for the use of the MacPorts team.

comment:3 Changed 11 years ago by larryv (Lawrence Velázquez)

We will need more information than this. Please run the following commands, then attach the main.log file that is mentioned upon build failure.

sudo port clean kerberos5
sudo port install kerkeros5

Changed 11 years ago by dinobot@…

Attachment: main.log added

comment:4 Changed 11 years ago by jmroot (Joshua Root)

The log doesn't contain the error you reported originally, but rather:

ld: -dylib_compatibility_version must be greater than zero
Last edited 11 years ago by jmroot (Joshua Root) (previous) (diff)

comment:5 Changed 11 years ago by dinobot@…

anyway, kerberos5 port must build, but it's not. Could you help me build it?

comment:6 Changed 11 years ago by marco.comini@…

Cc: marco.comini@… added

Cc Me!

comment:7 in reply to:  4 Changed 11 years ago by marco.comini@…

Replying to jmr@…:

The log doesn't contain the error you reported originally, but rather:

ld: -dylib_compatibility_version must be greater than zero

I have the same error. And now got my group's SVN server broken and all people cannot work...

I've tied several clean&install but some error... is there some kind of info I could give you to help finding a solution?

Thnx

comment:8 Changed 11 years ago by neverpanic (Clemens Lang)

You could try a different compiler, e.g. the llvm-gcc42 port.

comment:9 in reply to:  8 Changed 11 years ago by marco.comini@…

Replying to cal@…:

You could try a different compiler, e.g. the llvm-gcc42 port.

Mmmm... the only possible solution is to install llvm-gcc42 port? Ghosh, that is quite a pain in the ... The machine where I have this SVN server is an (old) G4 400Mhz and I presume this will take quite an eternity to finish. Since I don't see many chances that it would be resolutive, I think I'll just try to install the old version and no longer update.

Thanks anyway.

comment:10 Changed 11 years ago by neverpanic (Clemens Lang)

This can probably be also fixed by patching the offending value to not be zero… but given that I have no box where I can test this, I'm probably not going to do this. If you can come up with a patch that will fix the issue I'm happy to apply it, or even try to take it upstream.

comment:11 Changed 11 years ago by cooljeanius (Eric Gallager)

A user in irc was having a similar problem, and posted this log: http://pastebin.com/zRZkL46N

(not sure if it is actually the exact same thing though, but it's close enough to be relevant)

comment:12 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:13 Changed 11 years ago by neverpanic (Clemens Lang)

Turns out the fix is actually trivial. r103210.

comment:14 Changed 11 years ago by neverpanic (Clemens Lang)

Owner: changed from macports-tickets@… to cal@…
Status: newassigned

comment:15 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

comment:16 in reply to:  13 ; Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to cal@…:

Turns out the fix is actually trivial. r103210.

Shouldn't the patch only be applied on darwin 8? Considering that that's what people in this issue were reporting...

comment:17 in reply to:  16 ; Changed 11 years ago by neverpanic (Clemens Lang)

Replying to egall@…:

Shouldn't the patch only be applied on darwin 8? Considering that that's what people in this issue were reporting...

It doesn't harm other platforms. It doesn't even require rev-bumping dependents, because kerberos5 is the only port using this specific library. I could probably have avoided a rev-bump by only applying on darwin8, but then next week sureley somebody would have come up with darwin9…

comment:18 in reply to:  17 Changed 11 years ago by marco.comini@…

Replying to cal@…:

Replying to egall@…:

Shouldn't the patch only be applied on darwin 8? Considering that that's what people in this issue were reporting...

It doesn't harm other platforms. It doesn't even require rev-bumping dependents, because kerberos5 is the only port using this specific library. I could probably have avoided a rev-bump by only applying on darwin8, but then next week sureley somebody would have come up with darwin9…

Hi all, just to confirm that now it compiles under darwin8, 9, 10 and 12; just don't know 11 :)

Thnx

Note: See TracTickets for help on using tickets.