https://bugzilla.redhat.com/show_bug.cgi?id=1378860



--- Comment #3 from gil cattaneo <punto...@libero.it> ---
(In reply to gil cattaneo from comment #1)
> rpmlint output:
> Checking: jetty-setuid-1.0.3-1.fc26.i686.rpm
>           jetty-setuid-javadoc-1.0.3-1.fc26.i686.rpm
>           jetty-setuid-1.0.3-1.fc26.src.rpm
> jetty-setuid.i686: W: unstripped-binary-or-object
> /usr/lib/java/jetty-setuid/libsetuid-linux.so
> jetty-setuid.i686: E: missing-call-to-setgroups-before-setuid
> /usr/lib/java/jetty-setuid/libsetuid-linux.so
> jetty-setuid.src: W: file-size-mismatch LICENSE-eplv10-aslv20.html = 280721,
> https://raw.githubusercontent.com/eclipse/jetty.project/jetty-9.3.x/LICENSE-
> eplv10-aslv20.html = 30012
> 3 packages and 0 specfiles checked; 1 errors, 2 warnings.
> 
> libsetuid-linux have these entries:
> 
> <jetty-setuid-linkerStartOption>-shared -lc
> -ldl</jetty-setuid-linkerStartOption>
> maybe you shoukd change with:
> <jetty-setuid-linkerStartOption>-Wl --as-needed -lc
> -ldl</jetty-setuid-linkerStartOption>
> for avoid "unused-direct-shlib-dependency and undefined-non-weak-symbol"
Do not work

[INFO] --- native-maven-plugin:1.0-alpha-8:link (default-link) @
libsetuid-linux ---
[INFO] /bin/sh -c cd
'/home/gil/rpmbuild/BUILD/jetty.toolchain-jetty-setuid-1.0.3/jetty-setuid/libsetuid-linux'
&& 'gcc' '-Wl' '--as-needed' '-lc' '-ldl' '-o'
'/home/gil/rpmbuild/BUILD/jetty.toolchain-jetty-setuid-1.0.3/jetty-setuid/libsetuid-linux/target/libsetuid-linux.so'
'target/objs/org_eclipse_jetty_setuid_SetUID.o' '-o'
'/home/gil/rpmbuild/BUILD/jetty.toolchain-jetty-setuid-1.0.3/jetty-setuid/libsetuid-linux/target/libsetuid-linux.so'
gcc: error: unrecognized command line option '-Wl'; did you mean '-W'?
gcc: error: unrecognized command line option '--as-needed'

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@lists.fedoraproject.org
To unsubscribe send an email to package-review-le...@lists.fedoraproject.org

Reply via email to