Bug 277600 - databases/mysql81-client: fix package without SASLCLIENT
Summary: databases/mysql81-client: fix package without SASLCLIENT
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jochen Neumeister
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-09 18:52 UTC by Denis Shaposhnikov
Modified: 2024-03-15 20:46 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (joneum)


Attachments
fix package without SASLCLIENT (574 bytes, patch)
2024-03-09 18:52 UTC, Denis Shaposhnikov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Shaposhnikov 2024-03-09 18:52:15 UTC
Created attachment 249052 [details]
fix package without SASLCLIENT

Hi,

this patch fixes

```
===>   Building mysql81-client-8.1.0
pkg-static: Unable to access file /wrkdirs/usr/ports/databases/mysql81-client/work/stage/usr/local/lib/mysql/plugin/authentication_ldap_sasl_client.so:No such file or directory
```
Comment 1 Harald Langner 2024-03-15 20:06:25 UTC
Sorry I'm new to bugzilla. 
I have found another problem but I dont' know how to write a new bug.

in short:
in /usr/ports/databases/mysql81-server
% make config
--> I select 
[X] INNOBASE   Compile "InnoDB Storage" statically in server
then "% make build"

error:
[ 23%] Building CXX object storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/ut.cc.o
...a huge lot of instructions ...
until
[--- storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o ---
/usr/ports/databases/mysql81-server/work/mysql-8.1.0/storage/innobase/ut/crc32.cc:448:10: error: always_inline function '_mm_crc32_u16' requires target feature 'crc32', but would be inlined into function 'update' that is compiled without support for 'crc32'
  return _mm_crc32_u16(crc, data);
         ^
]
4 errors generated.
*** [storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o] Error code 1

make[2]: stopped in /usr/ports/databases/mysql81-server/work/.build
*** [all] Error code 6

% set MAKE_JOBS_UNSAFE=yes
doesn't help.
Comment 2 Harald Langner 2024-03-15 20:11:55 UTC
Sorry I'm new to bugzilla. 
I have found another problem but I dont' know how to write a new bug.

in short:
in /usr/ports/databases/mysql81-server
% make config
--> I select 
[X] INNOBASE   Compile "InnoDB Storage" statically in server
then "% make build"

error:
[ 23%] Building CXX object storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/ut.cc.o
...a huge lot of instructions ...
until
[--- storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o ---
/usr/ports/databases/mysql81-server/work/mysql-8.1.0/storage/innobase/ut/crc32.cc:448:10: error: always_inline function '_mm_crc32_u16' requires target feature 'crc32', but would be inlined into function 'update' that is compiled without support for 'crc32'
  return _mm_crc32_u16(crc, data);
         ^
]
4 errors generated.
*** [storage/innobase/CMakeFiles/innodb_zipdecompress.dir/ut/crc32.cc.o] Error code 1

...innobase/ut/crc32.cc:448:10: error:...
...innobase/ut/crc32.cc:452:10: error:...
...innobase/ut/crc32.cc:456:10: error:...
...innobase/ut/crc32.cc:444:10: error:...


make[2]: stopped in /usr/ports/databases/mysql81-server/work/.build
*** [all] Error code 6

% set MAKE_JOBS_UNSAFE=yes
doesn't help.
Comment 3 Harald Langner 2024-03-15 20:46:23 UTC
(In reply to Harald Langner from comment #2)
I'm wrong
without 
[ ] INNOBASE   Compile "InnoDB Storage" statically in server
its the same error.

The port is broken!